开发者

Moving from Java to Android

开发者 https://www.devze.com 2023-04-13 01:08 出处:网络
For my final year project, I am doing some Android development making a mobile app and a website for it.I\'ve been a Java programmer for 3 years and know my way round it.One thing that has got me conf

For my final year project, I am doing some Android development making a mobile app and a website for it. I've been a Java programmer for 3 years and know my way round it. One thing that has got me confused is it's taken me a while to get used to this platform with Swing being replaced with some fancy XML.

Now, apart from the GUI, is everything else pretty much the same i.e开发者_运维知识库. File I/O and Threading?

Also, am I also correct in using Log.d(TAG,text); as an alternative to System.out.println() ?


File I/O and Threading are Java Standard Edition 1.6. Android also added some facilities for threading like AsyncTask. Log is the android logger. i stays for info, d for debug, w for warning e for error...


I'll say shortly what Android has added on its own:

  • Modular application model
  • GUI framework
  • Resources management with automatic adjustment depending on configuration
  • Inter-process communication model
  • Application data storage through settings and databases
  • Logging and testing framework (the latter is based on JUnit 3).

This is the list of the most essential things you will have to learn when programming for Android. The basics are derived from Java SE, which includes working with the file system and threads.

0

精彩评论

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

关注公众号