News for hackers. Stuff that matters.
Re:Standing Up For Android by phamilton on Thursday December 08, 2011 @12:05AM (#3327778)
As odd as it may seem, I cringe every time I think about developing on Android. It's not the development that gets me. Honestly, I can't stand the emulator. It takes so long to boot up, and is such a resource hog when running. The iPhone emulator is also a resource hog, but I can close it without anticipating a 2 minute bootup when I build my application.
Re:Standing Up For Android by dannyr on Thursday December 08, 2011 @12:10AM (#3327785)
I hate the Android emulator so I test on a device.

Device testing on Android is way, way easier than on iOS.

Re:Standing Up For Android by coob on Thursday December 08, 2011 @05:42AM (#3328585)
> Device testing on Android is way, way easier than on iOS.

Once you've got over the pain of setting up a provisioning profile and developer certificate, what in particular is easier on Android?

Or is that your only concern? Debugging on iOS is a one click thing once that's set up.

Re:Standing Up For Android by daleharvey on Thursday December 08, 2011 @06:41AM (#3328698)
The provisioning profiles are a huge pain, I regularly switch between computers / wipe my computers and every time getting started with iOS is enough hassle for me to put it off a few weeks

Part that its a split, android has a shell which can massively aid debugging, Xcodes integration with gdb seems better / easier than the android debugger, for me that still swings it 70/30 towards android

Re:Standing Up For Android by coob on Thursday December 08, 2011 @07:38AM (#3328815)
Switching between computers is easier than it once was, in Xcode just export your developer profile from the organiser.
Re:Standing Up For Android by davidwparker on Thursday December 08, 2011 @12:23AM (#3327815)
Every Android developer I know (myself included) has a variety of Android devices that they actually test on. It's a lot faster, and much more realistic.
Re:Standing Up For Android by mrich on Thursday December 08, 2011 @04:54AM (#3328466)

  1) enable USB debugging on your Android device
  2) connect it to your computer with the USB cable
  3) deploy your app from Eclipse
Took me one minute and I could test the app instantly on the device.
Re:Standing Up For Android by ksetyadi on Thursday December 08, 2011 @12:17AM (#3327803)
You only need experienced it once for a day, if you want to. Do you restart your emulator every time you compile/build your app? You don't have to. Once the emulator run, you can build and run your application into emulator within no time.
Re:Standing Up For Android by phamilton on Thursday December 08, 2011 @12:30AM (#3327831)
The problem with that is it is still a pretty big resource hog. It's fine when I'm on my iMac, but on my MBA/2GB/1.4Ghz it just brings my system to a crawl.
Re:Standing Up For Android by codenerdz on Thursday December 08, 2011 @01:31AM (#3328000)
Forget about the emulator, I wouldnt want to run Eclipse on anything with 2GB of RAM
Re:Standing Up For Android by udp on Thursday December 08, 2011 @09:03AM (#3329071)
It's a shame the Android emulator doesn't use x86 and wrap the host OpenGL APIs. Currently it emulates ARM (with qemu IIRC?) and then has the emulated ARM processor emulate OpenGL with "PixelFlinger".

I'm another Android developer who only ever tests on a device. I wonder if running Android x86 in something like VMWare might be better?

Re:Standing Up For Android by ConstantineXVI on Thursday December 08, 2011 @09:29AM (#3329158)
I'd worry about relying on Android-x86 at the moment as it's not an officially backed project from any OEM. However, Intel and Google have promised first-class support for x86 soon; so virtualized Android will likely be more trustable at that point.

FWIW, the Google TV (Android 3.1) SDK can run in KVM on Linux (current Google TV hardware is Atom-based); some of the work is already there.

Re:Standing Up For Android by lut4rp on Thursday December 08, 2011 @07:57AM (#3328865)
Yes, because the Android emulator is actually an emulator. The iOS "emulator" is a simulator. It doesn't emulate the ARM instructions or run an actual OS instance. The Android emulator does.

Of course, the best option is to connect your Android device and test/debug on the device itself.

Re:Standing Up For Android by bitwize on Thursday December 08, 2011 @09:32AM (#3329172)
1) Get an Android phone and enable USB debugging on it.

2) Plug it in.

3) Use adb as normal.

I'm sorry, but if you hate the Android emulator (I find it slow but tolerable in a pinch), then it's easy to use a real device to do development on.