开发者

How long it takes to start an Activity? [closed]

It's difficult 开发者_如何学编程to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago.

I am working in android application.I have one doubt "How long it takes to start an

Activity?"


Depends on the speed of the device.


To answer your question: it depends.

  • Slower/older hardware will take longer to start an Activity than new hardware.
  • If the target device is already running a lot of applications then the OS could have to kill them before your app can start, which could cause a delay.
  • If you are performing some intensive tasks in your onCreate method then it will take a long time to start, and might not start at all if the OS decides it is taking too long.


you mean in the emulator?? depends on your machines specification, and also on the application size you want to load, in average the first load takes a lot like 1 or 2 minutes it is because it must load all the emulator setting turn the phone configuration on and a bunch stuff more... if the the emulator is on then it should take no more than 10 seconds to actually start your application running.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜