Android IDE (AIDE) Support Forum

I'm Beginner In Development

I’m really newbie in the android development. Can you give advices for me, while i was watching my udemy lesson, i could catch the codes and basics. After that, when i try to build some basic projects for improve my skills, it gets hard. I have many syntax errors. I know what to do, but I’m confusing the order.

What can i do to do get better ?

If you can’t fix syntax errors then that tells me you don’t know the language your programming your apps in. I don’t know what you mean by “I know what to do but I’m confusing the order” :confused:

You need to figure out if this is something you really wanna do or if it’s just something your interested in right now. If it’s something you think you will lose interest in pretty quickly I suggest trying one of them programs like app Inventor or scratch they let you make Android apps without actually coding. Learning real Android development takes a lot of time and requires programming knowledge.

1 Like

For the easiest way developing android app from code, You will need to develop your own library, your style.
My way is look like this:

  1. You build the simplest app. Just clone from AIDE sample. Like the app that display “Hello World”.
  2. You minimize all the necessary file to as less as possible: Example, I will kick and delete all drawable folder, and put all audio, picture, icon image to the “raw” folder in the “res”.
  3. Switch to programming dynamically. When you want to speed up production, you will need to speed up clone processing. By reducing referral variable in layout file and manipulation file. Delete layout.xml file. Focus in MainActivity.java or MainService.java only.
  4. Choose your brand and simplest package name: Nanosoft, Axium,…
  5. Build a step to step to follow when you create new project: Example: Open AIDE; Locate To Good Folder for starting project; Click Create New Project; Name: Abracadabla_131519; Package: Axium.Abracada; Brows via File Explorer, copy Main Folder from your Standard Empty App Project and replace the main of your new app.; Open AIDE again and change app name and activity name in build.gradle, manifest; (Never referral to String.xml) ; Open MainActivity.java and rename the package; > Start Build Feature Content… Eachtime update code: Backup MainActibity.java to external folder and name mom folder from 1 to 10, upload to Google Drive if there are important stable change in app; Kill AIDE Foreground Service -> Launch AIDE -> Hit Play Button to test.
  6. Build function and class to solve small to large problem: Example when you set color for TextView, you will need to calculate out as integer android color number. Now you will build an int function that give back the android int color when you input, hue, saturation, lum and alpha. Then you made hsla(double h, double s, double l, double a) that is so easily to change to your imagine color. You keep build up your own library to solve other problem like adding Image with specific parameter in short line, searching file, save text file, prom alert in windows style, animating drop down list, save and load player result, load ads, checking permission runtime…
  7. Complete your own basic standard that compatible with most devices as possible. Also, take care about handle rotation, resize window event and size unit that compatible with any screen size.

You will need to build more system when develop keyboard or specific service. It will save a lot of time.