HTC EVO 4G :: Data Time Out - Downloading File From Android Marketplace Surfing Web Watching Using GPS?
Jun 25, 2010
I have been having some major problems with my EVO regarding the data. If I use anything that is on the heavy side of bandwidth, like downloading a file from android marketplace, surfing the web, watching sprint tv, using the GPS, etc...the data will just time out for about 3 min at a time. For instance if I am downloading a 5mb app from android marketplace, it will maybe download a megabyte, then it will just stop downloading. If you look at the 3G symbol at the top, it will be white, but only the upstream indicator will be on. I can then open any other internet application on the phone, and nothing will work. It usually lasts for about 3 minutes at a time and happens fairly regularly. It will end up taking me 15-20 min to download a 5mb file from the marketplace. Same thing if I browse a bandwidth heavy site like digg.com. It will just time out after a while and it will just show the upstream indicator as solid and not do anything in any program.
This problem is not location dependent. I have this issue at my apartment, at work, at my friend's house, at the Sprint store...anywhere. I live in South Denver.
In chronological order, this is what I have done to troubleshoot/fix the problem:
First noticed problem
Turned off phone/Turned back on
Rooted and installed custom version of 2.1 w/ Sense
Removed battery (power cycle)
Talk to Sprint cust care. They sent signal over that reactivated the phone (2x)
Did factory reset on phone and formatted SD card
Swapped phone at Sprint store with new one
So even after swapping my EVO with a new EVO from the Sprint store and not fooling with the phone at all, I am still having the same exact issue.
I am absolutely at wit's end with this and I have no idea what to do at this point.
Update (6/25):
I have not been able to test with Wifi yet, but I just had one of my coworkers that has the same phone to replicate the issue on his phone. He is having the same exact problem as me, he just didnt realize it.
We set our phones next to each other and downloaded Space Buster 3D Lite off the Android Marketplace. Mine crapped out about 2mb in and so did his. He wasnt able to surf or do anything else on his phone for a few minutes just like mine.
I'm wondering if this a network problem in our area or if there is a problem with the phone.
Also, I downloaded a continuous ping program and did 3,000 pings with no packet loss, so it seems to only happen with heavy data usage ie. saturating your bandwidth.
View 16 Replies
Jul 9, 2010
Its crazy how much juice surfing the web takes up. Im sitting here surfing the web watching the battery meter drop atleast 3 points every 5 minutes.. Not ranting.
View 1 Replies
View Related
Oct 27, 2010
Is there a way to do it within an app without downloading the file first? Somehow stream the text content?
View 1 Replies
View Related
Sep 23, 2010
The Marketplace is not downloading anything for me? Even the Talk method isn't working. What I mean by that is that Google Talk isn't even working for my phone...
Any ideas, besides hard-resetting?
View 6 Replies
View Related
Jan 7, 2010
I am wanting to take a movie I have on DVD and put it on my droid to make the morning train commute a little nice. I found a product called Clone DVD mobile which I think will do this but do I need to download a program on the droid to view it? Are there any steps available for downloading files to the droid and how to view them?
View 12 Replies
View Related
Oct 4, 2010
I've tried to see if others have had data problems like mine, but apparently no one has posted on something of my magnitude.
I have 1 Gb of data a month...thats one of the biggest plans in Canada, and I cannot increase (student plan maximum). A few weeks ago, my 3G watchdog alerted me that I was over my 1Gb, and this was in a week span of a new billing cycle. I called Telus and they said it was a mistake, but later on my data usage on their site said I had used 500 Mb on that day!
Since then I had a few more instances where 400 or 500 Mb has been used on a day (almost all outgoing or transmitting data). This has to be a syncing problem or a bug. Not only do I not stream radio or youtube, but I usually only use facebook, twitter, read yahoo email, and weather updates.
I had to get a datablock for the rest of the billing month (since I had used up 2.2 Gb in 10 days) and now I'm monitoring my data wifi usage through data counter widget.
It would be wonderful if I could figure out what app is sucking all of my data...I have about 500 friends on facebook...I also went though and deleted almost all of my emails in my inbox (which was the problem with motorola data usage).
Yesterday, I was on the net on postsecret, and then on facebook (maybe 15 minutes total). Upon returning I saw I had used 510 Mb of transmitting data....
The only advice I got from Telus is to format my phone and start over...No other problems with the HTC desire have been reported to my provider.
View 2 Replies
View Related
May 8, 2010
I recently have been unable to download anything from marketplace although my wifi internet connection was working.
Then I remembered that being in the UK I had recently taken advantage of changing my email from googlemail to gmail, although I had changed this in my mail on the phone it seemed to upset the marketplace downloads
Changed it back to googlemail and all works fine.
View 1 Replies
View Related
Feb 11, 2010
Create a sample application with two launcher icons.
For example, two components such as:
CODE:..................
Either install the application via downloading from the Marketplace, or via AppInstaller. When the message box asks you if you would like to run the application, an exception is thrown:
CODE:.................
The crash happens because com.android.internal.app.ResolverActivity is trying to find a (single) component which resolves the following intent: <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" />
Has been tested BOTH with the AppInstaller, and the actual Marketplace on a real device.
View 4 Replies
View Related
Sep 15, 2010
I'm trying to download Beautiful Widgets and my phone is still hung up trying to authorize previous canceled order. Clearing the cache and even powering down and popping the battery doesn't help. What would happen if I choose "clear data"? Would I loose all the downloaded app info or what. Thanks, Cyn
View 2 Replies
View Related
May 1, 2010
Where did "I-music" go on the marketplace for downloading free tunes?
View 3 Replies
View Related
Jul 21, 2010
I have 40 MB file in server and i am downloading my file using
HttpURLConnection c = (HttpURLConnection) u.openConnection();
c.setRequestMethod("GET");
c.setDoOutput(true);
c.connect();
FileOutputStream f = new FileOutputStream(new File("trips.xml"));
InputStream in = c.getInputStream();
byte[] buffer = new byte[1024];
int len1 = 0;
while ( (len1 = in.read(buffer)) != -1 ) {
f.write(buffer,0, len1);
this code seems working fine but it is taking too long. is their any way I can make this process faster.
View 3 Replies
View Related
Jan 8, 2010
Any thought on how the Marketplace handles the information related to the marketplace applications? I wonder if the request is posted to the marketplace every time client is started or if some of the available applications data is stored locally and refreshed by the background service.
View 4 Replies
View Related
Aug 25, 2010
Watching a 30 min episode of a tv show, uses 25% of my Desire's battery life. Watching a 90 min movie uses 75% (funnily enough!)
Obviously, powering the lovely screen uses up a lot of juice. Just wondering whether there is any particular type of file that is more CPU intensive to decode and run, than others?
I currently use Mpeg 4 format. The program I use to convert my avi's to mpeg4, gives me different quality level options.
Would it make a difference to power consumption if I was to convert the avi's to a lower quality mpeg4 file?
View 3 Replies
View Related
Sep 28, 2010
I created a signed apk. I uploaded it to marketplace as usual. I also installed a copy of it on a device directly, perhaps as an email attachment.If I upload an updated version of the app to the marketplace, will the device be notified that a new version of the app exists on marketplace? Or does that update-alert system depend on the app being originally installed through marketplace?
View 8 Replies
View Related
Jun 6, 2010
I have to download a file and I'm using this code, which is basically an AsyncTask that is meant to update a progress bar. But, since I don't know what's the file size I've been having to use the spinner progress bar. So, how can I get the file size before start downloading it so that I can use a normal progress bar?
View 1 Replies
View Related
Nov 11, 2009
i am downloading files from web server programatically. after download is complete, i checked the file.the size ,extension and all other parameters are correct but i when i try to play that file in media player it is showing that it is corrupt.
byte[] b = null; InputStream in = null; b = new byte[Integer.parseInt(size)]; // size of the file. in = OpenHttpConnection(URL); in.read(b); in.close();
File folder = new File("/sdcard", "folder");
boolean check = folder.mkdirs();
Log.d("HttpDownload", "check " + check);
File myFile = new File("/sdcard/folder/" + name);
myFile.createNewFile();
OutputStream filoutputStream = new FileOutputStream(myFile);
filoutputStream.write(b);
filoutputStream.flush();
filoutputStream.close();
View 2 Replies
View Related
Oct 14, 2010
I run a site that offers .pkg files to my users for download to there device. The issue is instead of downloading the .pkg file it just displays the raw code of the .pkg file in the webview. How can I get this to force download to the root of the sd card? Here is what I have
package com.ps3brew.view;
import com.ps3brew.view.R;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
public class WebViewExample extends Activity {..........................
View 2 Replies
View Related
Nov 9, 2010
I have been searching for days trying to find solution to my problem. I would like to show a progress bar while downloading a file in Android. I found enough to download the file but have struggled to figure out how to display a progress bar.
Here is my download code:...............
View 2 Replies
View Related
Nov 14, 2010
When I download a file from web in android, then I want to show a progress bar in notification area of status bar through service, but I am not able to do this. How can i do it? I am not able to pass the file length in service. I am giving URL in EditText, and I am clicking Download Button. After Click A class will be called on Click Listener, this class is having a function. In that function I am doing processing or functionality of downloading, Now I want to show the progress bar in Notification Area Through service, but I can not able to do this.
View 2 Replies
View Related
Mar 19, 2010
I've got the following code:
BufferedInputStream stream = new BufferedInputStream(new URL("my url that points to a binary file").openStream(), 1024 * 1024); BufferedOutputStream fos = new BufferedOutputStream(new FileOutputStream(downloadFile)); byte buf[] = new byte[1024 * 1024]; int numBytesRead; do { numBytesRead = stream.read(buf); if (numBytesRead > 0) { fos.write(buf, 0, numBytesRead); } } while (numBytesRead > 0);
View 4 Replies
View Related
Jul 29, 2010
I am trying to download an Android APK file that is output by a php page. I have the following and it works on firefox but not on the phone. Firefox downloads with an apk extension but has a little firefox icon next to it. The phone downloads the file with a .html extension, why is this?
UPDATE: Full source
function display($tpl = null) {
//SETUP
$appId = JRequest::getInt('id', '0');
$model = &$this->getModel();
$app = $model->getApplication($appId);.................
View 2 Replies
View Related
Aug 25, 2010
I have an application that I'd like to add auto-update functionality (its not in the marketplace). I have all the code in place that would check to see if there is an update available and then i call something like this: Intent intent = new Intent(Intent.ACTION_VIEW ,Uri.parse(Configuration.APK_URL)); c.startActivity(intent); which starts downloading the file, although is there a way that I can programatically tell it to "open" the file to begin the installation process without the user having to go to the downloads and clicking on it?
View 1 Replies
View Related
Jun 10, 2010
Luckily I have the "NetCounter" network traffic counter installed, so I monitor my data usage over the 3g/2g network. Recently I've discovered my usage have increased massively. According to the month graph I've jumped from average 8 MB/day to approx 40 MB/day and my habbits haven't changed!This morning when I woke up, and my phone has been idle all night, it had already used 7MB since midnight - without me using it. What kind of a background app/service downloads that much data? According to my netcounter it is almost 99% download and 1% upload.I have a 1gb/month dataplan which should be enough, but something is appearently abusing my Connection , and with 410MB used this month so far, it can't last all month this way.I can see which date more or less the cell usage have increased, but I honestly can't recall which programs I have installed around that point! So before I try randomly uninstalling programs, I would like to hear if there is any way I can see how the network usage is distributed between the apps, so I can find the sinners?
View 8 Replies
View Related
Apr 13, 2009
I am trying to play file which is stored in SDCARD in emulator. I have Linux O/S. So i need to provide command in run configuration. I am providing following parameter.
-sdcard /usr/android/sdcard/mysdcard.iso -audio oss [i]
The following is my code to play file.
try { mMediaPlayer.setDataSource("/sdcard/test_cbr.mp3"); mMediaPlayer.prepare(); // Giving error. mMediaPlayer.start(); }
View 4 Replies
View Related
Jul 31, 2009
I have some reference data in a text file (~5MB) that I want to use with might android application.The file is of the format:
1|a|This is line 1a
1|b|This is line 1b
2|a|This is line 2a
2|b|This is line 2b
2|c|This is line 2c
What I want to know is the most efficient way (less memory, fast, size etc.) to use this file within my application.
a.) Should I save the file as a raw resource and open and read the whole file whenever I need a certain line.
b.) Should I convert the file to XML and use XPath to query the file when ever I need to look up a value
<!--sample XML -->
<data>
<line number="1">
<entry name="a">This is line 1 a</entry>
</line>
</data>
c.) Should I just copy & paste the whole file as a static string array in the application and use that.
[EDIT] I will also need to search this file and jump to arbitrary keywords e.g. "line 1a".
View 4 Replies
View Related
Mar 11, 2010
If an app needs to download some critical data (without the data it cannot function) of several MB, what is the best practice? The app would start, a prompt would be shown to confirm download, download would commence, and the user would be prevented from going further until the download successfully completes. I don't expect the download would take more than, say, 10 secs over wifi but, of course, would take much longer over 2G. Is a service absolutely essential for this? Maybe there is already some code out there that takes a URL, downloads it in a service, and broadcasts a configurable Intent when the download has completed?
View 4 Replies
View Related
Apr 14, 2010
Is it possible to copy a file located on the sdcard to a package's internal filesytem located at /data/data/packagename/files/ folder?
View 3 Replies
View Related
May 30, 2010
I have a Service that downloads a file from the internet. What I want is for the response (an InputStream in this case) to be handled by a custom handler that can be switched (like a strategy pattern) but I can't figure out how to do this. So basically the User of the API would be able to plug in different handlers for the response, some would parse XML, others might save files etc. I realise I could pass through the activity context and execute the method from this (given some interface) but I don't want to do this obviously, in case the Activity is closed in the meantime while the file is still downloaded.
UPDATE - I just had one idea it will work sort of but has problem if the DownloadRunnable gets changed between executions of the downloads.
The modified Runnable interface
interface DownloadRunnable {
void run(InputStream stream);
}
An enum
public enum ServiceHandler {.......................
View 1 Replies
View Related
Sep 20, 2010
I am having a problem where my XML files are slow to load and don't finish downloading before they start to be parsed which throws an xml not well formatted exception from my parser showing that the file downloaded incompletely. The complete error from logcat is "ERROR/Error(323): errororg.apache.harmony.xml.ExpatParser$ParseException: At line 10, column 46: not well-formed (invalid token)" I know the xml file is correct because sometimes it will work and I can also pull it up in my browser and look at it.
What would be the best way to make the parser wait for the InputSource before continuing on and parsing the xml data? The code below is the code I use to get the file and parse it.
SAXParserFactory spf = SAXParserFactory.newInstance();
SAXParser sp = spf.newSAXParser();
XMLReader xr = sp.getXMLReader();
GradeHandler gradeHandler = new GradeHandler();
xr.setContentHandler(gradeHandler);
URL url = new URL("https://url/to/xml/file");
HttpsURLConnection ucon = (HttpsURLConnection)url.openConnection();
ucon.setHostnameVerifier(new AllowAllHostnameVerifier());
xr.parse(new InputSource(new BufferedInputStream(ucon.getInputStream())));
View 1 Replies
View Related
Mar 31, 2010
I have here a function that downloads data from a remote server to file. I am still not confident with my code. My question is, what if while reading the stream and saving the data to a file and suddenly I was disconnected in the internet, will these catch exceptions below can really catch that kind of incident? If not, can you suggest how to handle this kind of incident?
I call this function in a thread so that the UI won't be blocked.
CODE:...................
View 1 Replies
View Related