₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,329,708 members, 8,441,862 topics. Date: Thursday, 09 July 2026 at 09:15 AM

Toggle theme

DavidTheGeek's Posts

Nairaland ForumDavidTheGeek's ProfileDavidTheGeek's Posts

1 2 3 4 5 6 7 8 ... 27 28 29 30 31 32 33 34 (of 34 pages)

PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 7:08pm On Jul 09, 2016
Dfinex:
I can't screen shot. but when I get to the Main.xml page....it shows this :

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">

<TextView
android:text="@string/hello_world"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

</LinearLayout>
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.
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 2:34pm On Jul 09, 2016
Ajiswaggs:
should I install d app
Yes o.
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 2:34pm On Jul 09, 2016
Dfinex:
I can't seem to create any app...cos the error messages persist .

someone that has done it guide me please.
What error messages?

Screenshot if you can.
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 1:49pm On Jul 09, 2016
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?
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 1:47pm On Jul 09, 2016
folks4luv:
caprison Kwa! not even Viju lol.
waiting for more tutorials o.
Hehehe more tutorials ke? Play with your empty app o. Tutorials has finished.

Chill... Lets wait for others.
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 1:40pm On Jul 09, 2016
folks4luv:
after launching the app, don't chose learn, under code, click expert and then follow op's directory. I just created an empty app
cheesy 2 chilled Caprison for you...

Follow what she said

STPEACE10, Ebukaidoko, IrradiatoR
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 1:33pm On Jul 09, 2016
Oahray:
the op is using an older version, that's why.

Op, I think you should get the latest version and continue from there. Whoever is downloading from playstore now would definitely have a later version than yours, and the difference is huge.
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.
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 7:43am On Jul 09, 2016
STPEACE10:
I hope am not late for this lecture?
Right on time.
Start from 1st page.
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 7:17am On Jul 09, 2016
stephinnoyewole:
Already made template asin?

I don't think I heard of dat while I was doing java back den
Go read our discussion from the 1st page.

We're talking about Java, Python and PHP.
WebmastersRe: Building Android Apps With Your Phone by DavidTheGeek(op): 7:13am On Jul 09, 2016
pendalicious:
PLEASE can u send me ur digit PLEASE
08132209424
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 12:10am On Jul 09, 2016
Obagoblog:
Yes. That's what am talking about. Being an Entrepreneur programmer
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.
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 12:04am On Jul 09, 2016
Kanmyos:
there re many aide on play store... which one should I download?
Many?

Download the one named "Aide" with an Android icon and a blue bracket by the side.

Don't download the "Aide premium key".
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op):
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.

cheesy 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.

PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 11:16pm On Jul 08, 2016
Dfinex:
Davidee. ....now I am calling u o, will u not start the lecture?. if I miss any part.......be ready for what will follow
grin grin

Hope you've downloaded the app we would be using to write the code.
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 9:47pm On Jul 08, 2016
IrradiatoR:
when is it starting bro?
Chill bro... Currently crafting the next post.
WebmastersRe: Building Android Apps With Your Phone by DavidTheGeek(op): 9:46pm On Jul 08, 2016
pendalicious:
guy PLEASE show me the way to build my own android app PLEASE
Hey check my profile you'll see the thread. Or Follow the link in my site to get my whatsapp digit.
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 9:35pm On Jul 08, 2016
destino24:
Tried, but Android studio on PC is still better
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.
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 9:28pm On Jul 08, 2016
Obagoblog:
Just want to know if learning these programming languages really worth it in the aspect of payment because of the stress and time involved...
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.
WebmastersRe: Building Android Apps With Your Phone by DavidTheGeek(op): 5:47pm On Jul 08, 2016
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
WebmastersRe: Building Android Apps With Your Phone by DavidTheGeek(op): 5:28pm On Jul 08, 2016
godswilld10:
I'm very much interested, y nt create whatsapp group
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.
WebmastersRe: Building Android Apps With Your Phone by DavidTheGeek(op): 5:26pm On Jul 08, 2016
godswilld10:
I'm very much interested, y nt create whatsapp group
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.
RomanceRe: Enough With Love! Come in and learn something geeky by DavidTheGeek(op): 5:22pm On Jul 08, 2016
Lordbammy:
I thought i saw this on webmasters section few hours ago?? :S If the mods catch you ehn wink wink wink
Oya make i follow you back 2 back cheesy let see what you have for us
grin wink
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 5:17pm On Jul 08, 2016
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)
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 5:08pm On Jul 08, 2016
Obagoblog:
Actually, am considering learning python, Java and php during my 1 year IT program next year...
Nice!
RomanceEnough With Love! Come in and learn something geeky by DavidTheGeek(op):
Hey guys,

cheesy Enough of the love, love. Time to learn something geeky

If 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!
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 1:24pm On Jul 08, 2016
destino24:
You mean AIDE?
Yes with AIDE. Are you using it already?
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 1:24pm On Jul 08, 2016
destino24:
You mean AIDE?
Yes with AIDE. Are you using it already?
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 1:20pm On Jul 08, 2016
Obagoblog:
Am a computer science student but has phobia for Java maybe because of the type lecturer handling the course...

But I have a question bothering my mind. Can someone learn a programming language like Java and become perfect to the extent you can write yours from scratch.

Or you can only manipulate a given template..
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).
WebmastersRe: Building Android Apps With Your Phone by DavidTheGeek(op): 1:11pm On Jul 08, 2016
Lefty500, RENOWNED2, Dadoskill Sit tight and follow the thread while we wait for others to indicate their interest.
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 12:16pm On Jul 08, 2016
sorextee:
omo, I gallant o. I have my paper and biro ready.. grin
cheesy Sit tight and follow thread while we wait for others.
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 12:11pm On Jul 08, 2016
Obagoblog:
Am in if only Java programming language is not involve
cheesy 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.
PhonesRe: Learn How To Develop Android Apps With Your Android Phone by DavidTheGeek(op): 12:00pm On Jul 08, 2016
sorextee:
even we that don't have any knowledge on computer science, software development, etc?
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.

1 2 3 4 5 6 7 8 ... 27 28 29 30 31 32 33 34 (of 34 pages)