Re:A few days of programming on iOS and Android illustrates ...
by jinushaun on Saturday July 30, 2011 @07:26AM
(#2825520)
My problem with Android development is that, being a non-Java developer, I never knew when to use the Android SDK or the Java SDK or the Apache stuff for certain tasks. For example, networking. Googling online for solutions, I don't know if any of the Java code I find is Android compatible.
[ Parent
| on HN ]
Re:A few days of programming on iOS and Android illustrates ...
by babebridou on Saturday July 30, 2011 @09:02AM
(#2825668)
My rule of thumb:
- if you see "java.awt" or "javax.swing" in any package import, run away.
- if you need to download a native library to run a hello world, run away too.
The rest is/should be fair game. Try to run a hello world on the device.
Re:A few days of programming on iOS and Android illustrates ...
by DannoHung on Saturday July 30, 2011 @11:43PM
(#2827551)
Is there a good library for doing graphics in Java? I was thinking about trying processing, but it doesn't seem quite appropriate.
Re:A few days of programming on iOS and Android illustrates ...
by babebridou on Monday August 01, 2011 @03:17PM
(#2833907)
What kind of graphics?
- for charts on android, http://code.google.com/p/afreechart/
- for maths calculations, http://commons.apache.org/math/
- for opengl graphics on android, it's already a pain with all the fragmentation here. There's OpenglES10 (but no longer implemented on Xoom), OpenglES20 (2.2/2.3 and up, but no VBO support on 2.2), Renderscript (3.0 and up), JNI (if you want to program in C), MonoAndroid (for mono, you need to pay for that though)...
- otherwise, just go with the official Canvas API http://developer.android.com/guide/topics/graphics/index.htm...