Wednesday, May 14, 2014
How to Turn Your Java Code Into Android Code
1. Click the Windows 'Start' button and type 'eclipse.exe' in the search text box. Press 'Enter' to find the file on the hard drive. After the file displays in the results window, double-click the file to start the program.
2. Click the 'File' menu item in the software. Click 'New,' then click 'Project.' A dialog window opens. Double-click the 'Android Project' option. Click 'Next' to open the Android configuration window.
3. Type a name for the Android project in the first text box. In the 'Build Target' section, check the Android version for which you want to develop. For instance, tables use version 3.0. Type a name for the package in 'Package Name.' Click 'Finish' to create the project and load the development interface.
4. Click the 'File' menu item. Click 'Open.' In the dialog window, click the Java file you want to convert. Click 'Open.' The dialog window includes the Java file in the Android application.
5. Click the 'Run' button in the Eclipse toolbar. The Java code runs and the results display in the Android emulator.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment