Android :: File Operations Extremely Slow On Emulator - Totally Stuck
Jul 19, 2010
I am finding that file operations are extremely slow on emulator. The same operation which takes less than a few seconds in a real device, takes minutes on an emulator. I am using a ubuntu linux machine with 2.4Ghz CPU, 2 GB Ram. I would really appreciate any help in resolving this. I am totally stuck due to this.
View 2 Replies
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
Oct 11, 2010
My mytouch 3g has been running extremely slow. it would take about a year to open messaging, browsers took longer, and so on. i bought setcpu (overclocking app) and wow......it now takes nothing for me to do anything on my phone. its faster than it was when i first opened it. cant believe i never heard of this before......if you dont have it, get it....(root users)
View 5 Replies
View Related
Mar 6, 2010
Can any body give me some tutorials about operations on the android emulator ?
View 2 Replies
View Related
Jun 5, 2010
This is my first Android phone. I actually switched from Verizon to get it (something I never thought I'd do). So far it is absolutely awesome! Something that could make it more awesome, however, is to load it up with music and also get the test videos and pics I took off the phone to view on my PC.
That's where the problem lies. When I plug the phone into my PC (Win 7x64) and put the phone in disk mode it pops up and I can see everything that's on the phone. First I tried copying some music. It started copying at an abysmal 300-600 KB/s. It was going to take two hours to complete. I canceled it which subsequently froze Windows Explorer until I unplugged the phone from the USB port.
Next, I tried to copy the 40 MB video I took earlier. As soon as I click on the video (just select it, not open it) Explorer stops responding until I unplug the phone.
This doesn't make any sense. I realize I can remove the SD card and stick it in a card reader but that is a huge inconvenience since it is under the battery. Has anyone else had trouble with this?
I have tried three different PC's and multiple USB ports on each.
View 12 Replies
View Related
Jul 22, 2010
Is it just me or has BW gotten SOOOO slow that it makes me wish death upon infant bunnies?
I mean, 1 hour later still loading a blank screen... Why is it so god damn slow?
View 6 Replies
View Related
Aug 17, 2010
I am having problem with performance of SQLite database in Android application in Samsung Galaxy GT-I9000 device. The database contains 10 tables with 3 - 8 columns each.
As soon as a database file gains about 400 KB update/instert queries need much more time to execute - 2 seconds! In comparision to other devices (HTC Magic, HTC Desire) update/insert queries take about 40 msec !
The database file is located in application data directory. Moving database file to sd card increases the speed significantly.
Periodic ANALYZE and VACUUM commands do not affect the speed. As well as PRAGMA cache_size command.
Do you have any ideas how to improve the performance? for keeping the database in sd card or splitting the database into many files containing one table each.
View 4 Replies
View Related
Jan 2, 2010
Lately, my browser seems to perform very slow: it loads pages extremely slow, and it reacts real slow - sometimes i need to wait around 10 seconds for the menu to popup, after pressing the menu key. i have galaxo 1.1. i just compared my galaxo 1.1 (on II5) to a friend's samsung galaxy with his unchanged firmware and rom (dont remember which version, but older than mine 4 sure). his browser performs much better, and the way i remember mine used to perform. i cleared the cache, reset to default, nothing seems to work.
even tried dolphin, no use...
View 9 Replies
View Related
Jul 24, 2010
I have noticed that if I ever turn my captivate off and then reboot it; it will take anywhere from 3-5 minutes for the Captivate to fully boot and become usable. Prior to then it is unbelievably laggy and if I even try to dial out it freezes.
I moved my 4gb of music from the internal SD card to the external SD card thinking that may make a difference but that did not solve the problem.
View 7 Replies
View Related
Oct 4, 2010
So lately my Eris has been running extremely slow. About a week ago I got a notification for "Internal memory is getting low." So after reading through several threads of the same topic and doing all the suggested actions (delete old text messages, uninstall unnecessary apps, clearing the cache for applications) my internal phone storage now says that there is 45.61 MB free. Yet, I still have not noticed any improvement in performance.
For example, I use Handcent to text message, and lately I have been unable to open it without it force closing every time. I've tried removing it as the default and using the native SMS program, but when I go to compose a new message it won't bring in any of my contacts when I go to select one. It just stays at a loading screen and then force closes. Also, it shows the phone number of an incoming text instead of the contact name as its stored in my phone book, so I pretty much have to guess who's number it is. Any thoughts on why it would do that? The dialer is just as bad, and since I don't have any of my friend's phone numbers memorized the phone is pretty much useless now and unable to perform the most basic of functions, using it to make calls.
I'm at my wit's end pretty much, the only other thing that I can think of is performing a factory reset. Does anyone have any alternative suggestions or experience as to whether a full reset actually helps?
My phone is not rooted. I know, I know. Rooting will improve performance, but it seems like a hassle to me and I'd rather not have to deal with it (at least not yet).
View 26 Replies
View Related
Aug 8, 2010
I don't know if it's just me, but my HTC Magic becomes very laggy after few minutes of use. Cleaning the Market and Navigator's cache and stopping all background tasks with TaskPanel Lite helps, but then after few minutes of use it becomes extremely laggy again. Don't know what to do.
Note: When I clear all the background tasks and cache, TaskPanel indicates that the phone available memory is from 20 -> 24mb (seems to be to few) but after some minutes of use it goes to 3 -> 5 mb of available memory.
View 2 Replies
View Related
Sep 1, 2010
I updated to froyo with the manual link from android central. When ever I view flash video's the audio sounds like it's been slowed down 10x. The videos run at normal speeds but the audio speed is ridiculously slow and deep sounding.
View 2 Replies
View Related
Mar 30, 2010
I successfully rooted my phone with Speedrabbit 1.7 (in like 5 minutes) then I did Recovery (which took hours cause I couldn't get it to load) and now I have removed a few of the unwanted apps Sweet right? Well, not so sweet, everything is moving extremely slow and there is an even bigger lag than before! Now this was happening before I removed apps so I know I didn't mess anything up there. I thought maybe removing them would perhaps speed things up but it didn't. Am I missing something? I AM running GDE, should I delete that? Just wandering what to do next to see my Moment have that WOW factor that everyone seems to say comes with root...
View 2 Replies
View Related
Mar 23, 2010
I have some questions concerning importing contacts to the device, which is extremely slow.
First of all, if you delete all your contacts, google sync will restore it very quickly. However, when my app is adding contacts to the device, it's very slow (a few contacts per second). Even if I add almost empty contacts (with name only), it is a time-consuming process.
If I turn google sync off, importing 5000 contacts can take 1-2 hours (on HTC Magic). When google sync is on it can take up to 24hours. And this happens despite the fact, that application for the whole time is in the foreground, device is connected to charger and screen is on. I checked the logcat to make sure my app is adding the contacts the whole time, and it is.
I tried different methods and different devices. The results differ of course, yet manually adding contacts is always significantly slower that google sync. Is there any way that I can speed up the process? So that importing 5000 contacts will take less than an hour.
View 7 Replies
View Related
Jun 15, 2010
I've been getting this error near constantly the past day whenever I hit the Home button, and when the ui is working it's extremely slow to switch between screens. I can get the error near 100% of the time by opening an applicatio, then hitting the Home button. Then HTC Sense closes, sits at "loading" for a bit, then the phone is back to normal, albeit slow, till the next time I hit Home.
I had been running a live wallpaper of the Earth rotating in the background, and notice it rotates fine for about 3 seconds, pauses, then starts again, so something is eating up the processor I'd think?
I've uninstalled all recently installed applications. Stopped the live wallpaper. Stopped Locale. Stopped background sync, then turned it back on. Installed a task killer to see if there's a common element (none). Tried leaving the battery out for a minute.
View 4 Replies
View Related
Apr 19, 2010
Has anyone downloaded the swype and seem like your phone runs extremely slow when it is running. When i have the swype app running then my phone is very slow, meaning when i just hit the home bottom takes five seconds to get there with all icons showing. I return to using the stock keyboard and the lag is gone. Anyone else getting this?
View 22 Replies
View Related
Aug 1, 2010
I am trying to download a zip file using HttpCLient 4 and it is going at around .5 (kilobytes/kilobits)? per minute. The file is less than a MB large, and the download will probably take an hour! Am I doing something wrong? How else should I do this?
Here is my current implementation:
CODE:..................
View 1 Replies
View Related
Nov 11, 2009
Does anyone else have problems with the download of packages in the Android SDK? I can download the SDK with around 300 kB/sec, but downloading the packages inside the SDK reaches only around 5 kB/sec and it tells me something like "215 minutes left". I tried it a couple of times the last days but it didn't get better. From the developer site (http://developer.android.com/sdk/adding- components.html): "Adding and updating components in your Android SDK is fast and easy". Yes, it's very easy, but I liked the old all-in-one SDKs which came to me in a couple of minutes
View 6 Replies
View Related
Jun 22, 2010
This is my first post on the androidforums. I usually just read what other people wrote, but I can't seem to find a related post for my current problem.I date someone overseas in S. Korea, and since there's no way to send text msgs in Korean from here, I talk to her using activesync with a gmail account. She can check emails on her phone from Korea, and my phone sends me notification everytime I get an email from her. Basically it's same as texting except it allows me to type in Korean and doesn't cost a dime.For the reasons mentioned above, saving battery life isn't much of an option for me. I need to have activesync or gmail push running instantly. I tried using "check email every 5 minutes", but just imagine having to stay idle for 5 minutes everytime you text with your friends.
As of today, gmail push on android seems to work with 5 - 30 minutes delay (or manual refresh). However, Exchange Activesync will not even allow me to sync gmail (Different errors every time even though I'm putting the same information; gmail address,m.google.com as server address, username & password). I thought activesync just allows me to use "gmail push" on HTC mail app, so I don't quite understand why gmail app works (despite the lag), but activesync won't even let me sync my mail. Activesync last worked on 06/17/2010.Also, gmail push works with no lag when I'm on wifi. Is this normal?I'm starting to think there's a problem with the Sprint network or my phone. Gmail push also works instantly if my 3G bar is white. If it's greyed out, no emails come until the 3G bar turns white. Now I have to turn on AIM or MSN messenger to keep the data flowing and manually keep the 3G bar white. Then gmail push comes instantly. It's pretty ridiculous because the battery then lasts about 2-4 hours.
View 3 Replies
View Related
Mar 17, 2010
I was wondering how the file operations works in Android. As in J2ME it has FileConnection class that takes care of most of the File operation tasks.. and it FileConnection doesn't support Android, what is the best way to accomplish the File Operation tasks? I would appreciate if someone could send me some code snippet:
1) Create a Directory( check for its existence first, if not then create it) 2) Create a File in the newly created Directory 3) Write data into the file 4) Read from the file 5) Delete the file.............
View 8 Replies
View Related
Oct 10, 2009
few weeks ago I encountered a problem. My Android SDK 1.5 emulator became very slow and CPU consuming. This happened earlier, but was irregular just removing AVDs usually helped. Few weeks ago I installed Android SDK 1.6, tried to move my dev environment there and noticed that emulator runs very slowly. I rolled back to 1.5 and noticed that the same problem is there. What's going on: - emulator startup is pretty slow; - sometimes emulator hangs on startup; - sometimes after startup is complete I see Force close/Wait dialog for some Android applications/services (Alarm clock, messaging) - applications inside the emulator run MUCH slower than they ran before, I see delays in response even in launcher, when I just switching between icons with arrow keys (at this time CPU usage according to the task manager is from 35 to 50%, i.e. one core is completely busy). - now, when I'm typing this message, emulator (clean, newly created AVD, I haven't installed nothing there, just out of the box) occupied 50% of my CPU (and 140MB of RAM). Hardware: Intel Core2Duo T7500 (2.2GHz) + 2GB RAM. OS: Vista I don't have any problems with 1.6 on Linux (Kubuntu 7.10), emulator starts quickly, responds in a flash, and seldom consumes more than 20% of CPU time (usually in case my application is working with DB).
View 2 Replies
View Related
Aug 5, 2010
I've noticed very poor performance in the emulator (1.6 and 2.1) when trying to complete the forth statement below. It will take 5+ minutes running in the emulator. Interestingly, when I debug on my phone it's not nearly as bad at maybe a minute or so, but still not great. Running the app on my phone without debugging yields great performance (seconds). URL url = new URL(CommonProperties.BASE_SERVICE_URL + "param=1"); DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document dom = builder.parse(url.openConnection(). getInputStream()); is there something I can do to speed up network access while using the emulator? Has anyone noticed anything similar?
View 2 Replies
View Related
Sep 29, 2010
A while back I mentioned that running the imported p2p codebase I have on the emulator (on a fairly powerful laptop with plenty of mem and a fast processor) was pretty slow. I blamed all that on the codebase and in fact I was able to profile it and make it much lighter. Well still the overall app performance is slow --- and I am finding that most apps I run on the emulator are fairly slow. Is this a common trend? I do expect emulators, who are by no means a real device, to have such processing delays but are they in general this slow? Any metrics or any other feedback from anyone that depict the factor of slowdowns you would expect on an emulator vs the real device? I know a lot of this are machine dependent as well but consider an idle powerful machine. And regarding memory - I am loading Eclipse with close to 1G to be able to run the emulator and its basic services - is that normal?
View 3 Replies
View Related
May 3, 2014
I was experimenting with QEMU, x86 emulator on Android on my Asus Memo FHD tab which is already based on an x86 Atom architecture.
I see way slower speeds (unusable) than I read about arm based counterparts. I assume this is because QEMU assumes ARM architecture and the x86 atom is also emulating ARM.
-Is there an other way to emulate a complete x86 system faster on this architecture?
View 5 Replies
View Related
May 26, 2010
My milestone was working very slow so I restarted the phone and it got stuck with the following error message
Bootloader 90.73
Code Corrupt
Battery: Ok
OK to program
Transfer Mode:
USB
View 4 Replies
View Related
May 6, 2012
So I've been developing some stuff here and there for Android, and I noticed my device emulator has a RIDICULOUSLY low connection speed. I'm not talking about performance which is fine, I'm talking just about 'network speed'. What it means is that transferring files to and from the AVD using ADB (which as you may know relies on networking protocols) is EXTREMELY slow, and what's worse, internet transfers are VERY very slow. Therefore, when I'm working with online content (which my app, and let's face it - most apps are about) it's EXTREMELY slow.
It's worth mentioning that those same apps work great and about ten times faster on an actual android device.
View 2 Replies
View Related
Oct 8, 2012
Let's say you don't have internet access at the moment. Let's say all you have is fresh install of CyanogenMod 9, which for some reason, does not come with a File Manager :
Let's say you have an apk file on your SD card. How would you install the apk file? Terminal emulator, using which commands or another way?
By the way, ASTRO File Manager vs. ES File Explorer, which one and why?
View 8 Replies
View Related
Mar 19, 2010
I've followed this tutorial: http://anandhansubbiah.com/blog/writing-your-first-android-application/, but no matter what I do, and what I change, when I run the app, all I see is the image below. Is there something I must press to start developing? Did I add starting code. I'm completely stumped...
View 2 Replies
View Related
Jul 27, 2010
For some reason, and only on my Dell Vostro 1000 laptop, the Android emulator keeps thinking I have the = key pressed and continually emits a string of "=====" equal signs. This happens no matter what I'm doing in the emulator. It responds to my manual keypresses as well, interspersing them. It happens no matter which version of the Android system I run (2.1, 2.2, etc.) Strangely, it happens even running the Android emulator via a remote desktop session where the remote desktop client is the laptop and the server is another PC running the emulator. If I run the emulator on the other PC locally (not remote desktop,) the emulator functions fine!
This problem didn't occur when I first installed the SDK and as far as I know no other software has been installed since then. I tried clicking the "clear user data" from the emulator launcher and still no effect. I have also tried deleting the SDK directory and reinstalling it, but the effect is still there.
Update: I found another application that exhibits this behavior. ScummVM when opening a dialog to save the game also receives these phantom keypresses. It persists in Windows 7.
View 4 Replies
View Related
Sep 17, 2010
I am using windows XP, and my android development environment is on ubuntu installed inside vmware. all java applications I write on eclipse are running just fine, when it comes to an android app, the simulator is just killing me, it takes about 5 minutes to start my app.
View 7 Replies
View Related