DavidTheGeek's Posts
Nairaland Forum › DavidTheGeek's Profile › DavidTheGeek's Posts
1 2 3 4 5 6 7 8 ... 27 28 29 30 31 32 33 34 (of 34 pages)
Dfinex:That's not an error message. 1. That's a ViewGroup. A view group is a subclass of View and provides invisible container that hold other Views. LinearLayout is a view group that aligns all children in a single direction, vertically or horizontally. (In the above code, it hold a TextView, a textview is for writing texts.) Simply click menu and select Run to create your first app. |
Ajiswaggs:Yes o. |
Dfinex:What error messages? Screenshot if you can. |
Before we continue, i'm thinking we should move this thread to a Whatsapp group. It'll be much easier to post and view screenshots (and maybe videos). Also i'll be giving you guys assignment once we get to real work. What do you guys think? |
folks4luv:Hehehe more tutorials ke? Play with your empty app o. Tutorials has finished. Chill... Lets wait for others. |
folks4luv: 2 chilled Caprison for you...Follow what she said STPEACE10, Ebukaidoko, IrradiatoR |
Oahray:You're right. The phone i'm using to explain actually runs on android 2.3. AIDE didn't update the app for that phone version. But anyone who follows closely should get it. I used the same old version to teach someone on Whatsapp. |
STPEACE10:Right on time. Start from 1st page. |
stephinnoyewole:Go read our discussion from the 1st page. We're talking about Java, Python and PHP. |
pendalicious:08132209424 |
Obagoblog:Ok. It's worth it. It's all about having good business ideas that meet people's needs and they are willing to pay you for your solution. |
Kanmyos:Many? Download the one named "Aide" with an Android icon and a blue bracket by the side. Don't download the "Aide premium key". |
HOW OUR BUILDING TOOL - AIDE - WORKS I believe by now you must have gotten the app we would be using to write and compile our codes. (If you've not, go to playstore, search and download AIDE) Using AIDE and Building your first app -- I'm explaining this with AIDE for android version 2.3. There might be little difference in AIDE for higher android versions just follow closely. I would try and explain things in layman terms -- Building Your first app - Hello World - Open the AIDE app. - A pop up would appear with some lists. - Select "Hello World" under 'Android App'. The next screen that would pop up would show a form. This form has two fields - Name and PackageName. * For this tutorial we would use...... Name: "MyFirstApp" PackageName: com.learning.myfirstapp After filling the form, click create. ************************** The next screen that would appear is main.xml. The main.xml is a layout file. Anything your eyes can see in an app - Text, Image, Button etc. - the code was written and saved in a layout file. A layout file is found is res/layout Now click menu and select "Run". Wait a while for it to finish compiling. A pop up would appear asking you to install the app you just created. There you go! Your first hello world app. Chill we'll still get to the part where we'd build cool stuffs.* Anatomy of Android Application * There are few directories and files in the Android project you should be aware of their functions. 1 src This contains the .java source files for your project. By default, it includes an MainActivity.java source file having an activity class that runs when your app is launched using the app icon. 2 gen This contains the .R file, a compiler-generated file that references (identifies) all the resources (.xml files, ids etc) found in your project. You should NEVER modify this file. 3 bin This folder contains the Android package files .apk built by AIDE during the building process. 4 res/drawable-xxxx This is a directory for drawable objects (images, app icons) 5 res/layout This is a directory for files that define your app's user interface (anything your eyes can see on an app). By default, it includes an main.xml file. 6 res/values This is a directory for other various XML files that contain a collection of resources, such as strings (texts) and colors definitions (color codes). 7 AndroidManifest.xml This is the manifest file which describes the fundamental characteristics of the app and defines each of its components. As we progress i'll explain some of things this in detail In the next update: We'll create a simple app that shows a toast notification when a button is clicked. What this means is i'll show you how to create a Button and respond to Button clicks.
|
Dfinex: ![]() Hope you've downloaded the app we would be using to write the code. |
IrradiatoR:Chill bro... Currently crafting the next post. |
pendalicious:Hey check my profile you'll see the thread. Or Follow the link in my site to get my whatsapp digit. |
destino24:Sure Android Studio should be better. Not everyone has a PC. That's what this thread is for - those who want to learn but do not have a PC. |
Obagoblog:Honestly, i don't know. I'm an entrepreneur, i create my own jobs so i don't know if really it's worth it in terms of working for a company. |
Thread has been moved to phone section. Check my profile you'll see the new Thread. We're just getting started, so hurry! *** Lefty500, RENOWNED2, Dadoskill, Emenyonuvictor, hollyfat, godswilld10 |
godswilld10:Yes boss. I'll do that. Just waiting for people to indicate their interest before i drop my number so no one will request to join once we start. |
godswilld10:Yes boss. I'll do that. Just waiting for people to indicte their interest before i drop my number so no one will request to join once we start. |
Lordbammy: ![]() |
GETTING STARTED... You all are welcome to the thread. Lets put things in place so we can start asap. Things you'll need to participate in this tutorial class: 1. Your android phone must be running on at least android version 2.3. 2. AIDE app. (Go to playstore, search and download "AIDE" on your phone) |
Obagoblog:Nice! |
Hey guys, Enough of the love, love. Time to learn something geekyIf you're interested in learning how to build android apps using your android phone check my profile you'll see a thread i created for that - Learn How To Develop Android App With Your Android Phone We're just getting started. So hurry! |
destino24:Yes with AIDE. Are you using it already? |
destino24:Yes with AIDE. Are you using it already? |
Obagoblog:1. Yes it's possible. It'll take time and practice, doing random projects too can help the learning process. 2. You can become good in programming to the point where you can write your codes from stretch that's if you're someone who doesn't like "easy jobs" (already made template). |
Lefty500, RENOWNED2, Dadoskill Sit tight and follow the thread while we wait for others to indicate their interest. |
sorextee: Sit tight and follow thread while we wait for others. |
Obagoblog: Why? What's your issue with Java?Oops! Java is involved, maybe some basic concepts and a few advance ones but nothing too difficult that you can't learn. |
sorextee:Yes. It's for everyone who's interested in learning, you don't need to have any programming knowledge. The plan is to teach you programming. |
2 chilled Caprison for you...