开发者

Emulator to Physical

Emulator --- Device

Hey people. I'm not very experienced in Android de开发者_运维知识库velopment, so I would like to know what I have to expect.

I wrote an app of about 1000 lines of code, which is running perfectly fine in the emulator. So what will it be like when I install it on a physical device? Ain't got one here at the moment, but I will get my hands on one on the next days. Will there be a bunch of nasty errors? Just some design stuff? Errors, that cant be reproduced in the emulator?

Thanks in advance

EnflamedSoul


Note: emulator runs the real Android code. It emulates ARM device and runs the whole stack on top: linux kernel, libs, android code. It is the same as device sans some hardware (camera, mobile network stuff, gps) and much slower.

So what will it be like when I install it on a physical device? 
Will there be a bunch of nasty errors?

No problems really. It should work ok.

Just some design stuff? 

If you set your emulator to the same resolution and pixel density of your device, then it should look identical.

Errors, that cant be reproduced in the emulator?

There ares some thing that you can not do in emulator: primarily make calls and use camera. Otherwise emulator behaves like a plain phone.


My Android apps have all been very simple, but I have really only had to make small changes to their layouts when I tried them on my phone. Over-all, the process of moving to the phone was a rather painless one.


I had a code that took 4 minutes on the emulator to complete, and on the real device it is just 10 seconds.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜