Android :: Emulator Performance - Apps Running Slow?
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
May 23, 2010
I'm looking into writing an Android game, tough I don't curerntly own an Android device. For those of you who own a device, how does the performance on the emulator relate to real device performance? I'm especially interested in graphics related tasks.This obviously depends on both the machine running the emulator, and the specific device in question, but I'm talking rough numbers here.This question is a duplicate, but since that post is heavily outdated, I figured it's irrelevant by now.
View 3 Replies
View Related
Jun 6, 2010
I've created a device targeting 2.1 and having a screen screen size of 480x800 (WVGA). Some apps, including the one I'm currently writing, as well as the ApiDemos example, won't run fullscreen. I've uploaded a screenshot here: http://img248.imageshack.us/img248/503/emulator.png. What could cause something like this? If I run these apps on my HTC Desire (which has the same resolution), they utilize the whole screen like they should.
View 2 Replies
View Related
Aug 21, 2012
Within the last week my tablet stating running very slow.
Pages take a long time to load Apps take forever to load Apps crash every other time I open them.
I thought it was my router (netgear n600) but my iPad and cell phone.
View 13 Replies
View Related
Feb 22, 2010
I just installed the latest version of Eclipse IDE for Java Developers together with the ADT plugin on my Mac (2.8 GHz, 4 GB Ram).
- Opening new files from the package explorer.
For example, opening a layout xml file takes 1-2sec- And the mouse pointer changes.
- Switching between tabs
- Resizing views in the workspace
The performance rapidly decreases when I open more files. Are all of you developing under these circumstances? How can I speed up eclipse?
View 4 Replies
View Related
Oct 20, 2010
my app downloads a zip with about 350 files. A mix of JPG and HTML files. The function i wrote to do it works just fine but the unzipping takes for ever. At first i thought the reason might be that writing to the sd-card is slow. but when i unzip the same zip with an other app on my phone it works much faster. is there anything that i could do to optimize it?
here is the code:.................
View 1 Replies
View Related
Jun 1, 2010
I am facing the following problem: I have a big list of street names(~2000 entries), which is stored as a variable. I have an AutoCompleteTextView which should complete the names. The process takes really long time(approx. 2 - 3 seconds) to complete the suggestion. Is there any way to speed this up? I am pasting my code, if this is necessary:The getStreetsData() method simply returns the static list of the names.
View 2 Replies
View Related
Sep 16, 2009
I want to make a tile based game for android. At the moment I am drawing each tile as a separate bitmap. I have a big for loop that reads from a string and draws different tiles depending on what character it finds to draw the level. I have allowed the user to scroll the screen using scrolling gestures. However the game is too slow. It takes a long time to update the screen after the user scrolls. I presume this is because it has to draw each tile's bitmap individually. What would be a faster way to draw the level? I was thinking I could merge all the tiles into one bitmap. But I don't know how to do this.
Anyway here is my code so you can see the problem:
package org.example.tutorial2d;
import android.app.Activity;
import android.os.Bundle;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.GestureDetector.OnGestureListener;
import org.example.tutorial2d.Panel;
public class Tutorial2D extends Activity implements OnGestureListener {
GestureDetector gestureScanner; Panel main;
/** Called when the activity is first created. */
@Override public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
gestureScanner = new GestureDetector(this);
//requestWindowFeature(Window.FEATURE_NO_TITLE);
main = new Panel(this); setContentView(main); }
@Override public boolean onTouchEvent(MotionEvent me) {
return gestureScanner.onTouchEvent(me); }
@Override public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
main.handleScroll(distanceX,distanceY); return true; }
@Override public boolean onDown(MotionEvent e) { return true;
} @Override public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { return true;
} @Override public void onLongPress(MotionEvent e){
} @Override public void onShowPress(MotionEvent e) {
} @Override public boolean onSingleTapUp(MotionEvent e) { return true; } }
And the class that does all the work:
package org.example.tutorial2d;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.util.Log;
import android.view.View;
import org.example.tutorial2d.Point;
public class Panel extends View {
private int scrollX = 0; private int scrollY = 0;
public Panel(Context context) { super(context);
} @Override public void onDraw(Canvas canvas) {
/*Bitmap scratch; //Drawable scratch;
//scratch = getContext().getResources().getDrawable(
// R.drawable.icon); canvas.drawColor(Color.BLACK);
//scratch.draw(canvas); int origin = 0;
scratch = BitmapFactory.decodeResource(getResources(), R.drawable.horizontal5);
canvas.drawBitmap(scratch, origin, origin, null);
int width = scratch.getWidth(); int height = scratch.getHeight();
scratch = BitmapFactory.decodeResource(getResources(), R.drawable.room4entrynesw3x3);
canvas.drawBitmap(scratch, origin + width, origin - 32, null);
[Code]
View 3 Replies
View Related
Mar 18, 2010
Just got my N1 upgraded to unlimited web use through 3. Had to set up the APN. Did that in work and looked forward to `consuming` on the train journey home.
How cheesed off was I when I got diddly squat in the way of speed and function from the network?!
Endomondo - did not work, no maps
Google maps - never registered my position
Web - realllly slow to load anything
GPS tester - only found one or 2 satellites nd never made proper contact
Anyone else got an N1 with Three? Performace pants? Any other networks just as bad?
View 10 Replies
View Related
Oct 26, 2010
I'm rooted running CM6, have been for awhile. I was just recently installing last.fm and I guess I pressed something that caused my phone to slow way down, pretty much froze up, so I rebooted it. It booted all the way up and then rebooted itself again and now it won't go passed the white htc screen.
View 2 Replies
View Related
Jul 29, 2010
I'm getting started with Android development, but the emulator performance on my machine leaves much to be desired. In all fairness, my machine is not a powerhouse by any stretch of the imagination.
Short of upgrading my hardware or spending $$$, are there any good tips for improving Android emulator performance?
View 2 Replies
View Related
Nov 29, 2010
i've found that my x10 really disappointed me even after updated.. still alot of bugs! and so slow~==... that really irritates me alot... SE pls do something to improve the phone as i can see the specification of this phone is really good just that the software sucks. and this phone is not cheap at all. cost me almost like the price of an iphone
View 3 Replies
View Related
Jun 28, 2010
I have a project that builds against Android v2.1 . I can run it fine on a phone running 1.5 but when I try to launch it with an emulator running 1.5, the emulator doesn't show up on the list of available AVDs. I have the <uses-sdk android:minSdkVersion="3"/> tag in my manifest but it doesn't make a difference.
View 2 Replies
View Related
Aug 23, 2010
So I developed a small 3d game on Android 1.6 with JPCT, the free 3d game engine Android version. It seems the frame rate is really low on emulator(5 frames per second).... Did I miss something to speed up the emulator or it is normal, I should test the game with real device?
View 3 Replies
View Related
Mar 16, 2010
I downloaded the most recent version of Android for linux (android-sdk_r05-linux_86.tgz). I was trying to use the the Android Ant task(s) for packaging, building, and deploying my code. I should mention that I'm running AMD64, but have the 32-bit libraries installed. The Android Ant tasks are all broken.
First, the start-emulator task never gets the emulator running. It does get past starting adb, but then just sits there.
Second, the SDK is missing the aapt binary in the tools directory. So, the example notepad sample application will not even package correctly.
I have all the dependencies configured for Android. I can run it from the command line just fine.I assume the Ant code is out of sync with the recent SDK updates. Can anyone shed some light on this problem? At this point, I'm considering writing my own Python scripts to interact with the Android SDK. Ugh.
View 1 Replies
View Related
Sep 16, 2013
I have upgraded my Galaxy Grand Duos I-9082 from Jelly bean 4.1.2 to 4.2.2 and the phone hangs randomly. on 4.1.2 it was working truly commendable.
View 24 Replies
View Related
Nov 24, 2010
I am working on a compute intensive app for Android. I do not have any device yet to test performance. However, the performance on emulator is a bit slower than expected. I see an old question about some estimation of emulator vs device. What are your experiences while developing apps with recent SDK Froyo/2.2. Is performance observed on emulator is slower than actual device. Please share your experience and the specs of your dev machine and mobile devices, both.
View 3 Replies
View Related
Oct 17, 2010
I am running eclipse on my windows 7 machine, 6bit with 6gb ram and core 2 duo. I am currently running Eclipse 3.6 and android 2.2 SDK. I am running jdk 1.6. I am noticing that when coding and the context popups to list methods of a class, it hangs Eclipse for up to 15 seconds. This is very frustrating. One thing to note, when Eclipse hangs, my processor is maxed out, and is being worked by a java process. So its doing something whatever it is. But frequently everytime I finish an object with a period and the context box pops up, its becoming too painful to work with.
I changed some settings in the Eclipse.ini file such as:
-Xms1024m
-Xmx1024m
--launcher.XXMaxPermSize 512m
View 2 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
Aug 6, 2010
Just upgraded to 3.6 after this whole Sun/Oracle JVM fix/debacle and I notices that 3.6 EE runs super, duper slow. So slow to the point that code assist is unusable. Here are some changes I made to the config to make it operate a lot better:
eclipse.ini: replace the end with this:
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=512m
-Xms128m
-Xmx1024m
And turn off JAX-WS Proposals in Content Assist Window > Preferences > Java > Editor > Content Assist > Advanced. I also disabled JPA and PDE, but you might need them depending on what you're doing.
View 3 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
Apr 13, 2012
3g running insanely slow?
View 9 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
Nov 19, 2010
I'm using this code to display several images from the Internet code...
but the application became slow in running why?
does the Internet connection is the reason? or because i input several input stream to display each image?
View 1 Replies
View Related
Aug 2, 2010
Has anyone noticed that their incredible gets bogged down and runs super slow from time to time? Something as slow as opening hand cent and writing a response message can take for ever, I type the word and 5 seconds later it will show up. I do not get why but it is really frustrating.
View 24 Replies
View Related
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
View Related
Oct 22, 2010
Ive had my evo since day one.Absolutely love it.It's just that within the last month it's been taking awhile to open anything.If I click on mail it seems as though it stalls for awhile, then "loading" screen then it opens.Same thing with the messenger to check my text.Again with the loading screen which stays open longer than it use to. Ive tried to reboot here and there but it doesn't seem to make any difference.I just miss the way my phone use to run and open everything up so quickly.Im not complaining, if this is normal than o.k.I can wait a few more seconds.Is it that I have too many apps.Ive used up most of my space on my sd card, is that it?I have my phone stock.Is it time to root and will this solve my problem?
View 5 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
Jul 3, 2010
Anyone else noticed slow open times and navigation lag within the app since the last few updates?
View 6 Replies
View Related