Uploaded by Stephen Janseen Balo

AIDE Android App Guide

advertisement
Creating a new Android App on AIDE app
First time installation:
1.
2.
3.
4.
5.
6.
7.
Open the AIDE app
Tap the “For Experts” menu
Tap the circle at the bottom right
Tap the “Create New Project” menu
Tap the “Android App” menu
Tap the “New Android App” menu
Replace the default name “MyApp” with your project name. For example, “MyFirstApp”
Note: Do not add space characters on your project name
8. Replace the package name “com.mycompany.myapp” with your package name. For example,
“com.hfad.myfirstapp”
9. Tap the “Create” button
After performing the aforementioned instructions, your AIDE app should look like this:
Creating another Android App on AIDE app
1. Tap the circle at the bottom-right of the screen
2. Tap the menu beside the address of your project. It should something like this:
3.
4.
5.
6.
7.
Tap the “Show Projects” menu. This will bring you back to your previously made projects
Tap the “Create New Project” menu
Tap the “Android App” menu
Tap the “New Android App” menu
Replace the default name “MyApp” with your project name. For example, “BeerAdviser2”
Note: Do not add space characters on your project name
8. Tap the “Create” button
Adding new Java classes to the project
1.
2.
3.
4.
Tap the circle at the bottom-right of the screen
Tap the app/src/main/java folder
Tap the “Add New Class…” menu
Write the name of the class
Note: First letter of your class must be capital. If your class name contains 2 or more words, do
not add space and make sure every first letter of each word is capital. For example: Dog,
SportsCar, PersonalDesktopComputer.
5. Tap the “OK” button to confirm.
Adding new layouts to the project
1.
2.
3.
4.
Tap the circle at the bottom-right of the screen
Tap the app/src/main/res/layout folder
Tap the “Add New XML File…” menu
Write the name of the XML file
Note: Your XML file name must be small caps. If your file name contains 2 or more words,
separate them by underscore. For example: activity_main, activity_notification.
5. Tap the “OK” button to confirm.
Saving Changes to Your Source Code
1. You will notice that changes to your class haven’t been saved yet if there is an asterisk besides
the file name. For example: MAINACTIVITY.JAVA *
2. Tap the menu beside the pencil icon or the run  button.
3. Tap the “Save” menu.
4. Running your app also saves changes to all classes that you’ve edited.
Running your Android App
1. Tap the Run  button located at the upper-right side of the app.
Download