1, summary, for people familiar with Java development, while taking into account the development of Android, iOS is no problem, and can quickly get started, the premise is that the application is not too complex, such as some data display-based applications, if you want to do high-end applications, or specialize in a direction for good.
2, the so-called everything at the beginning of the difficult, first to build a good environment, running HelloWorld. Android, just download ADT directly. iOS, directly download Xcode6 on the line, as for the Mac system, I installed VMware9 on the desktop, and then installed Mac OS X 10.10, configuration is E3 CPU, 8g memory, speed acceptable.
3, the front-end development of the main ideas, one is the interface display (container + control + layout positioning), and the second is the logical processing of interface events (event response + server interaction)
4, the file structure of the Android project, as an example of the newly created ADT Project,
(1) SRC directory inherits Activity Java files, interface logic code files, such as button response events
(2) Res/drawable, picture resource files, pictures of different resolutions
(3) Res/layout, interface layout file
(4) Res/values, constant file
(5) Gen Directory R.java, define all resources under Res directory
(6) Androidmanfest.xml, program configuration file, such as define project all activity, configure program loading interface, main interface entrance
5, the iOS project's file structure, in order to Xcode6 the newly created project as an example,
(1) MAIN.M, procedure entrance
(2) appdelegate.h/m, program master control file, used to listen to the application overall events, such as program start, get focus, lose focus, with the code to write the interface is here to start
(3) Main.storyboard, visual interface editing files, program main interface, the actual project is usually implemented by code
(4) Launchscreen.xib, visual interface editing files, program loading interface, storyboard, xib can be visual editing interface, the actual project is usually implemented by code
(5) Viewcontroller.h/m, interface logic for code files, such as button response events
(6) Images.xcassets, picture resource files, pictures of different resolutions
(7) Info.plist, program configuration file, such as configuration program loading interface (LAUNCHSCREEN.XIB), main interface entry (Main.storyboard)
(8) Xxx-prefix.pch, common header files, that is, each file automatically refer to this file, note that XCODE6 does not automatically generate this file, that is, is not advocated with
6, refer to the above information, download and run the OSC app source code, can help you get started faster
Android, iOS development ideas and project file structure