[Q] Android intentservice download manager - Android Q&A, Help & Troubleshooting

Should I used intent service for downloading updates even though I'm using Download manager? Does it defeat the purpose and make things more complicated? Or should I use Java URL stream to download files instead for app? I found using download manager was easier but when it downloads, it notifies the user of download, is this acceptable user experience?

Related

[Q] Developing a non-market App with updates

Hello all,
I'm a developer (with less experience) for a company which is developing an app which will be side loaded on devices which are to be distributed. I've read about, and tested some methods with linking Android Market apps to sideloaded apps, provided they have the same signature and .apk file name, but our company does not want market exposure for this app.
My idea is as follows:
1. App checks an ftp server running in some location for a file with version info to see if the current version matches the version on the device.
2. App downloads .apk and relevant data to device
3. App then triggers some sort of "update" which will install the new .apk and replace the necessary data.
Alternatively, what is typically done in this instance when someone wants to update a non-market app? The Amazon App store is an example of a non-market app which updates itself, so I know it's been done before.
How does one go about writing a class which will update the app that it's currently running in? Are there any tutorials or code walk-throughs for this?
Any help from fellow developers is appreciated.
Look at this links:
http://stackoverflow.com/questions/...o-automatically-update-application-on-android
http://stackoverflow.com/questions/2631255/ideas-for-android-application-update
Thank you for the links - I've been toying with code since then.
But wow, it seems there is very little information out there about this . . .
If you don't want to maintain you own update server, you may try this: auto-update-apk.com
Android client is open-source under Apache 2.0 license, so you may see how it works and make any changes, if necessary, before incorporating into your own project or using it as a starting point of your project.

Issue with downloading and unpload Torrents

I have 2 browsers installed the default and Firefox 6.0Beta, (I also have tTorrent installed for fun, maybe I'll use it some day) I have been trying to use both of them to download a torrent file, which I will then upload to a separate server via a web UI. Now I've failed with both browsers.
First neither of them like to down a torrent, they either want to open it in tTorrent (even though it is not set as the default Application for anything), or else they do not want to do anything when I click on the Download button (which work in a desktop browser), if I download them by long holding and selecting download link then I get a torrent file in downloads, but I can not upload this file to the remote server, as again neither browser wants to do that I select it and click on upload in the browser and nothing happens.
One of the major things I wanted to do with the phone was be able to select a torrent download it and then upload it to a remote server for processing. This process worked on an old WM phone, which is what has me stumped.
The remote download site can be any say ubuntu (which is what I was using as a test earlier, the upload site is running torrentflux-b4rt and it works from Chrome and FF on the Desktop. Lastly how can I change the default location of Downloads and only downloads to an external SD card? I know I can change everything, but all I want to change is the Downloads folder.
Thanks,
ERIC

[Q] How to download apk file on PC from market?

I can't download apps from market on my Android device(maybe due to a network issue), so I'm wondering how could I download the apk file of an app on my PC from market.android.com ?
Nope, it just pushes the app directly to your phone. What error is your phone giving you?
you can't download the apk file straight from market
just straight download and install
wonderfuly said:
I can't download apps from market on my Android device(maybe due to a network issue), so I'm wondering how could I download the apk file of an app on my PC from market.android.com ?
Click to expand...
Click to collapse
I believe that Google have been experiencing intermittent market issues their end over the last few days as many others in my local forum have reported issues......just give it some time and try again.
so has any one found a way to download apk files directly from the web via windows / linux with out using android phone / emulator
my phone has not been able to download new files for like a year now .. the downloads just never start ....
surly their must be a firefox plugin by now ?
unless you download it from some site like mediafire, 4shared which is not highly recommended.
there is a method to get .apk from the android market. But just a disclaimer, this doesn't apply to every app on the market.
Just click the app author's name and it will show you the list of other apps the author has on the market. On that page, there is a link saying "visit website for <author>", follow that link. If the author has his website tied directly to sites.google.com, at the bottom of that page there are options to download the .apk of his apps directly to your PC. Of course this mostly happens to apps which are free to begin with.
But just in case, you can also try going to the author's main website and check if they offer their apps as direct .apk download. HTH

Developing apps for GN2

I see that most development chat here is for system software, kernel, etc.
I would like to begin writing apps for the Android OS. I have a GN2.
I've installed Eclipse and have installed the last few SDK versions.
I eventually want to build an app that will allow a user to log into a web site and retrieve data from a database file on the web server using other phones also.
I'm an old Visual Basic programmer and have a little C# familiarity. Don't know much Java at all.
What else might I need to download and install into Eclipse to be able to write an app to access a database file on a server?
Anyone know of any app templates that can I can download and start off from to learn the process of writing such an app?
The database will be mySQL probably. Could be an Access or Sql Server file.
Thanks in advance,
Barry

Play store Downloader app

Hi there wondering if anyone can help , downloader app suddenly not working , unable to use the browser within downloader ,now has message (the page you trying to access is restricted due to a security rule) same message in the help tab , or can someone recommend an alternative compatible download manager for the shield.
Thanks in advance as a bit of a novice with this
glitch7 said:
Hi there wondering if anyone can help , downloader app suddenly not working , unable to use the browser within downloader ,now has message (the page you trying to access is restricted due to a security rule) same message in the help tab , or can someone recommend an alternative compatible download manager for the shield.
Thanks in advance as a bit of a novice with this
Click to expand...
Click to collapse
you need Downloader Browser-Plugin 1.0
Have the same problem with my new "Vodafone TV" box and couldn't find any solution in the internet. Tried loading the browser plugin suggested above but same error message! The downloader app just simply won't connect to the net, period!!!
So, anyone has a solution, or as the op said, can anyone suggest an alternative?
Pitching in, as I'm a new Shield user with the same issue. Here's the page from AFTnews explaining the issue and the work-around; includes an installation video.
aftvnews.com/browser-plugin-now-available-for-downloader-app-on-android-tv
In short, browser capability had to be removed from the Google Play version so the app could remain in the store. The dev provides an APK at browser.aftvnews.com to add the capability back in. Should be the same APK as rainman74 linked to above (Downloader-Browser-Plugin-v1.0.apk).
However, the AFTnews' recommended action of pointing the Download app's browser to browser.aftvnews.com did not work for me; I received the same web access error message from Downloader.
To get around this, I loaded another web browser (Puffin for Android TV), entered the browser.aftvnews.com URL, and Puffin downloaded the APK. I needed to relaunch Puffin, then select the APK from Puffin's download list to install. Once installed, Downloader was able to access the web.
Hope this helps.
mpwalters said:
Pitching in, as I'm a new Shield user with the same issue. Here's the page from AFTnews explaining the issue and the work-around; includes an installation video.
aftvnews.com/browser-plugin-now-available-for-downloader-app-on-android-tv
In short, browser capability had to be removed from the Google Play version so the app could remain in the store. The dev provides an APK at browser.aftvnews.com to add the capability back in. Should be the same APK as rainman74 linked to above (Downloader-Browser-Plugin-v1.0.apk).
However, the AFTnews' recommended action of pointing the Download app's browser to browser.aftvnews.com did not work for me; I received the same web access error message from Downloader.
To get around this, I loaded another web browser (Puffin for Android TV), entered the browser.aftvnews.com URL, and Puffin downloaded the APK. I needed to relaunch Puffin, then select the APK from Puffin's download list to install. Once installed, Downloader was able to access the web.
Hope this helps.
Click to expand...
Click to collapse
So what do you actually enter at the Downloader http:|| screen?
Good question. I may not have been clear, but I was not able to download the patch APK through the Download application.
Instead, I installed another web browser application (Puffin TV, available in the Android TV's play store) and put the browser.aftvnews.com URL in there. When the Puffin TV web browser loaded the URL, it automatically downloaded the APK from the site.
Once the APK was downloaded, I returned to Puffin TV's main menu and selected the file from the download list. When I selected the APK, it installed the APK to patch Downloader. After that, the Downloader app was able to again access the Internet through its browser.
Note: if you are installing Puffin TV to install the APK, you will need to tell your device to allow Puffin TV to install APK's. By default, Android doesn't grant permission for applications to install APK's. That's OK; you can do so under settings and my guess is your device will tell you how to do so.

Categories

Resources