₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,147 members, 8,420,552 topics. Date: Friday, 05 June 2026 at 01:05 AM

Toggle theme

Rexben's Posts

Nairaland ForumRexben's ProfileRexben's Posts

1 2 3 4 5 6 7 8 9 10 (of 17 pages)

ProgrammingRe: Software Development by rexben(op): 12:16am On Feb 26, 2018
yorex2011:
React is not a programming language... It is a Javascript library
Yeah, that's true. Same with react Native, right?
ProgrammingRe: Software Development by rexben(op): 12:35am On Feb 22, 2018
I just changed my domain name from [s]https://rexdevelopers..com.ng/[/s] to https://rexandroid..com.ng/.
Sorry for the inconveniences.
ProgrammingRe: Are You Interested In How To Design Android Apps? by rexben(op): 12:33am On Feb 22, 2018
I just changed my domain name from [s]https://rexdevelopers..com.ng/[/s] to https://rexandroid..com.ng/.
Sorry for the inconveniences.
ProgrammingRe: Getting Your Environment Ready For Android Programming. by rexben(op): 12:30am On Feb 22, 2018
rexben:
Open a new project by clicking on Open a new project, follow the steps as shown in the below


Click on start a new Android Studio Project



Enter whatever name you want to name your project, Make your Project name start with an Uppercase e.g. BookApp, TextApp etc.



Then click on Next



Just click on Next



Make sure you pick the Empty Activity for the purpose of this tutorial and click on Next.



Just click on Finish and wait for a while the gradle builds and your environment is ready for you to use.

For some people that don’t have internet access, you’ll need to work offline. In order to do so, go to project > Android > Gradle Scripts > build.gradle (Module:app)




Note: There are two build.gradle files, build.gradle (Project:Language) and build.gradle(Module:app), you should select the second build.gradle.
Then you’ll delete some lines of code in the build.gradle, the highlighted lines only. When you are done, you will click on Try Again at the top right side, as it is indicated below. You’ll wait while it finishing building.





Understanding your environment, Android Studio


I will explain some terminologies to you so that you will familiarize yourself with Android Studio. I know many of the names will be strange to you (if you are new to Android Studio and programming). I will explain the basic ones and as we progress, I will explain more.


AndroidManifest.xml is responsible for many things including the first activity that will be launched. To pick the activity that would be launched first, you need to go to AndroidManifest.xml. Your App Icon is set in AndroidManifest.xml. I will say AndroidManifest.xml determines how your codes will run on your phone. Any Activity you open and is not listed in the AndroidManifest.xml will not be accessible when you run your App on a mobile phone.
Java (e.g Details and MainActivity) is the java file where you will be writing all your java codes. If you open another java class, it will display here. As you can see, there are only two java classes.
res folder is the folder where all your resource files are located and stored. Resources like layout, images, strings, color etc. are stored under the resource folder directory.
drawables is the folder responsible for storing images that you want to you in your project. When you want to use an image in your project, you copy the image from PC and paste it the drawables folder.
layout is where all your activities are stored. The activities that you interact with when you run App on your device.
mipmap is where your default Android Icon is stored.
colors.xml is where colors are stored.
strings.xml is where strings are stored. Strings are literal in Android language. “I want to learning Android Programming” is an example of String.
styles.xml is responsible for styling of your App, the color of your status bar, color of your toolbar, text background color, the theme of your App.


Running our App on a physical device like our Android Phone


Tools: An Android Phone and ADB Driver Installer you downloaded.

On your Android Phone, go to Settings > About phone > Build number.
Tap on Build number seven times, then a toast message will appear “You are now a developer”.
Then, press the back button, directly above “About phone”, you will see “Developer options”
Tap on it, enable it by clicking on the on switch. Scroll down and enable the USB debugging.

Connect your Android phone to your computer with a transferrable USB cord/wire.
Launch ADB Driver Installer. Your Android Phone will be displayed on where I highlighted and you will click on Install



So, when your Android phone is successfully installed, go to your Android Studio
Click on “Run” on the menu bar, click on “Run app” on the drop down menu. A box pops up



If your Phone was not successfully installed, it won’t appear, it will bring “No USB devices or running emulators detected”. In case your phone was successfully installed, check your USB cord/ wire.
Click on OK
Click on Proceed without instant run.
Congratulations you just created your first mobile App


Working with Emulator

In case you don’t have an Android phone to debug your App with. Android Studio provides with a tool called Emulator you can use.
An emulator looks an Android mobile, it just that you can touch and feel it. It runs like an Android phone. It is a cool tool. I won’t really advice it and I am not kicking against either. It makes System hangs especially systems with low memory.
Check this link to get started with emulator https://developer.android.com/studio/run/emulator.html

If you have any issues using it, drop your comments and I will help you out.

Check [s]https://rexdevelopers..com.ng/2018/02/getting-familiar-with-android-studio.html[/s] for detailed explanation with images
I just changed my domain name from [s]https://rexdevelopers..com.ng/[/s] to https://rexandroid..com.ng/.
Sorry for the inconveniences.
ProgrammingRe: What Can I Do With Programming? by rexben(m): 12:27am On Feb 22, 2018
rexben:
There are many programming languages. First off, do you wanna go into web development or mobile app development.
if it is web, you can learn HTML, CSS, JavaScript, Python, React js, PHP, MySql, SQLIte etc.
To get started with web design, you need a text editor e.g notepad, notepad++, sublime etc.
if it is mobile development, you can learn Java, React Native, C++, Kotlin etc.
If you wanna narrow it down to Android mobile development (I'm an Android developer), you will have to learn Java and XML.
You can check my blog to get started [s]https://rexdevelopers..com.ng/[/s]
For those that care to know, I just changed my domain name from [s]https://rexdevelopers..com.ng/[/s] to https://rexandroid..com.ng/.
Sorry for the inconveniences.
ProgrammingRe: What Can I Do With Programming? by rexben(m):
gabsoft:
Wow! I'm grateful! Impressive responses!
Two more questions... If java is too much(complex) for a complete beginner, which other programming tool can be best to start?
Can i learn it offline? Where can i download the tools for free?
Want to appreciate the lecturers that have responded. Thanks a whole lot!
There are many programming languages. First off, do you wanna go into web development or mobile app development.
if it is web, you can learn HTML, CSS, JavaScript, Python, React js, PHP, MySql, SQLIte etc.
To get started with web design, you need a text editor e.g notepad, notepad++, sublime etc.
if it is mobile development, you can learn Java, React Native, C++, Kotlin etc.
If you wanna narrow it down to Android mobile development (I'm an Android developer), you will have to learn Java and XML.
You can check my blog to get started https://rexdevelopers..com.ng/
ProgrammingRe: Getting Your Environment Ready For Android Programming. by rexben(op): 1:58am On Feb 15, 2018
Open a new project by clicking on Open a new project, follow the steps as shown in the below


Click on start a new Android Studio Project



Enter whatever name you want to name your project, Make your Project name start with an Uppercase e.g. BookApp, TextApp etc.



Then click on Next



Just click on Next



Make sure you pick the Empty Activity for the purpose of this tutorial and click on Next.



Just click on Finish and wait for a while the gradle builds and your environment is ready for you to use.

For some people that don’t have internet access, you’ll need to work offline. In order to do so, go to project > Android > Gradle Scripts > build.gradle (Module:app)




Note: There are two build.gradle files, build.gradle (Project:Language) and build.gradle(Module:app), you should select the second build.gradle.
Then you’ll delete some lines of code in the build.gradle, the highlighted lines only. When you are done, you will click on Try Again at the top right side, as it is indicated below. You’ll wait while it finishing building.





Understanding your environment, Android Studio


I will explain some terminologies to you so that you will familiarize yourself with Android Studio. I know many of the names will be strange to you (if you are new to Android Studio and programming). I will explain the basic ones and as we progress, I will explain more.


AndroidManifest.xml is responsible for many things including the first activity that will be launched. To pick the activity that would be launched first, you need to go to AndroidManifest.xml. Your App Icon is set in AndroidManifest.xml. I will say AndroidManifest.xml determines how your codes will run on your phone. Any Activity you open and is not listed in the AndroidManifest.xml will not be accessible when you run your App on a mobile phone.
Java (e.g Details and MainActivity) is the java file where you will be writing all your java codes. If you open another java class, it will display here. As you can see, there are only two java classes.
res folder is the folder where all your resource files are located and stored. Resources like layout, images, strings, color etc. are stored under the resource folder directory.
drawables is the folder responsible for storing images that you want to you in your project. When you want to use an image in your project, you copy the image from PC and paste it the drawables folder.
layout is where all your activities are stored. The activities that you interact with when you run App on your device.
mipmap is where your default Android Icon is stored.
colors.xml is where colors are stored.
strings.xml is where strings are stored. Strings are literal in Android language. “I want to learning Android Programming” is an example of String.
styles.xml is responsible for styling of your App, the color of your status bar, color of your toolbar, text background color, the theme of your App.


Running our App on a physical device like our Android Phone


Tools: An Android Phone and ADB Driver Installer you downloaded.

On your Android Phone, go to Settings > About phone > Build number.
Tap on Build number seven times, then a toast message will appear “You are now a developer”.
Then, press the back button, directly above “About phone”, you will see “Developer options”
Tap on it, enable it by clicking on the on switch. Scroll down and enable the USB debugging.

Connect your Android phone to your computer with a transferrable USB cord/wire.
Launch ADB Driver Installer. Your Android Phone will be displayed on where I highlighted and you will click on Install



So, when your Android phone is successfully installed, go to your Android Studio
Click on “Run” on the menu bar, click on “Run app” on the drop down menu. A box pops up



If your Phone was not successfully installed, it won’t appear, it will bring “No USB devices or running emulators detected”. In case your phone was successfully installed, check your USB cord/ wire.
Click on OK
Click on Proceed without instant run.
Congratulations you just created your first mobile App


Working with Emulator

In case you don’t have an Android phone to debug your App with. Android Studio provides with a tool called Emulator you can use.
An emulator looks an Android mobile, it just that you can touch and feel it. It runs like an Android phone. It is a cool tool. I won’t really advice it and I am not kicking against either. It makes System hangs especially systems with low memory.
Check this link to get started with emulator https://developer.android.com/studio/run/emulator.html

If you have any issues using it, drop your comments and I will help you out.

Check https://rexdevelopers..com.ng/2018/02/getting-familiar-with-android-studio.html for detailed explanation with images
ProgrammingRe: What Can I Do With Programming? by rexben(m): 1:50am On Feb 15, 2018
There a lot you can do with programming. You can solve solutions. Think of ideas how to make life easier for mankind. You can build mobile Apps, desktop Apps, websites, blogsite, robots, and lot more
ProgrammingRe: Please Who Can Develop An Android Application For Me by rexben(m): 2:13am On Feb 14, 2018
What type of App do you want?
ProgrammingRe: Android Developer Forum by rexben(m): 1:56am On Feb 14, 2018
Me77:
It seems to me learning android isn't that hard. Within two months of learning I have started writing functional codes on my own. Then I was using eclipse neon committer for practice.
But I have decided to migrate to android studio to sharpen my skills. But it has been hell!.
I have exhausted over 5 gigabytes on this android studio and it hasn't been working 100% yet.
*Android emulator is not working. It says my computer cpu do not support VT-x, while my computer is working fine with Intel graphics 2.30ghz . 4gig ram.
I have download genymotion last night but I don't know how to integrate it with android studio.

Please help me. It is over a week since I code anything reasonable. Android studio is making my life miserable I need help o...
For VT-x issue, Restart your PC, go to your BIO Setup and enable Virtual Technology-x option.

But I'll advice you to use a physical device like your Android phone because using emulator, you stand a chance of having your system hanging or freezing for a while
ProgrammingGetting Your Environment Ready For Android Programming. by rexben(op):
Sequel to Are you interested in how design Android Apps https://www.nairaland.com/4346930/interested-how-design-android-apps

Things you need to be in place to start designing your app are:
A computer (32bits or 64bits).
JDK. Downloadable through this link http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html .You should download 32bit (x86) if your system is 32bit and 64bit (x64) its if your system is 64bit.
Android Studio. Downloadable through this link https://developer.android.com/studio/index.html.
ADB Driver Installer. Downloadable through this link http://adbdriver.com/downloads/.
An Android Phone.

How to know if your system is 32bit or 64bit

If you don't know what bit is your system, if it is 32bit or 64bit, follow this direction
Go to Control Panel > System and Security > System

Having downloaded JDK, Android Studio and ADB Driver Installer, the next step is to install them. In case you downloaded the zipped files you need to unzip it by using WinRar or any other software application that is responsible for unzipping files.
Note
You should install the JDK first and after you are done installing it. You can install Android Studio. If you do otherwise, your Android Studio won’t be usable.
For ADB Driver Installer, you don’t need to install it. Just move it to your desktop so that it will be easily accessed.
Having Install your Android Studio successfully (in case you have troubles installing your Android Studio, drop your comments stating the error message or what problem you are facing), proceed to the next tutorial.

In this tutorial I will be using Android Studio Version 2.3.3, don’t worry if you have a lower version or a higher version.
Source https://rexdevelopers..com.ng

ProgrammingAre You Interested In How To Design Android Apps? by rexben(op): 12:27am On Feb 14, 2018
I will love to explain some basic and important words in Android Programming

What is XML?
XML is the acronym for eXtensible Markup Language. As HTML is for web development so as so XML is for application development. HTML which stands for Hyper Text Markup Language has many things in common with XML.
XML is responsible for the layout of an application, the design in a nutshell. The part that will visible to your users.

What is Java?
Java is an object oriented programming language. It responsible for how events like button clicks interact with each other. For instance, if you click on a button and no Java code was written for what the button should do, the button won’t do anything.
In a nutshell, XML without Java is dead, it is like a computer that has hardware component without software components.

What is IDE?
IDE stands for Integrated Development Environment. It is the environment responsible for how java programs are run. There are different types of IDEs: Android Studio, Netbeans, Eclipse, Unity etc. In this tutorial we will be making use of Android Studio.

What is Android Studio?
Android Studio is a studio built for Android developers to be able to design all kinds of Android applications. It is the official IDE for developing Android applications. You don’t need to be an expert in programming to use Android Studio. There are many classes that are already available for you. For instance, if you start a new project in Android Studio, you automatically have a activity.xml for XML and Activity.java and also a package name. Another interesting thing about Android Studio is that you don’t need to type the code for importing a class, all you need do is to type the class and press
Alt +Enter
on Windows.

What is ADB Driver Installer?

ADB stands for Android Debugging Bridge while ADB Driver Installer is responsible for how your Android phone will be visible in Android Studio when you want to run or debug your App
Source: https://rexdevelopers..com.ng
ProgrammingRe: Software Development by rexben(op):
telealpha123:
can i please have your whatsapp number op??
DM
ProgrammingSoftware Development by rexben(op): 1:14am On Feb 13, 2018
A computer consists of two wares —hardware and software. The hardware is the part we can feel and touch e.g monitor, keyboard, mouse etc. while the software is the program that runs on the computer. Let's look at the human body; the flesh and the blood —it's quite the same with the computer; the flesh is the hardware and the blood is the software. Nevertheless, the hardware can't function without the software and vice versa.

What is Software development?
Wikipedia defines software development as "the process of conceiving, specifying, designing, programming, documenting, testing, and bug fixing involved in creating and maintaining applications, frameworks, or other software components. Software development is a process of writing and maintaining the source code, but in a broader sense, it includes all that is involved between the conception of the desired software through to the final manifestation of the software, sometimes in a planned and structured process".

I'd like to define software development as writing programs or instructions telling the computer what to do in a predefined manner or order. When we're talking computer, it's not limited to laptops, desktops and palmtops, it includes a wide range of gadgets (mobile phones, tablets, Android wristwatches, robots, drones etc.). You can write codes telling your Android phone what to do and when to do it. For example, you can write some codes telling your Android phone to play a sound when a button is clicked. You can ask it to do more complex things.
Software development is very wide. There is web design, web development, Android programming, App development, machine learning, artificial intelligence and many more.

What are programming languages?
Programming languages as the name implies are languages just like English, French, Chinese languages but it is a computer language. Computer does not understand human languages. So, in order to tell the computer what to do, you must speak its language. There over 50 programming languages. They include: Java, JavaScript, C, C++, React, React Native, Ruby, PHP, MySql, SQLite and Python to mention but a few.

What is Android?
Tutorialspoint defines Android as "an open source and Linux-based Operating System for mobile devices such as smartphones and tablet computers. Android was developed by the Open Handset Alliance, led by Google, and other companies".

Do you know Android means Robot? So, if you write codes that instruct an Android phone on what to do, you're invariably telling a robot what to do. Android mobile is one of the most used mobiles, so, if you build an Application for Android mobiles, you stand a chance of having millions of people to use your App and the same time make some cool cash.
Visit https://rexdevelopers..com.ng for tutorials on Android development
Technology MarketRe: Laptop Screen Replacement At Reduced Price by rexben(m): 12:55pm On Oct 03, 2017
neupert:
14k how soon do you need it
where are you based? coz I am in Ekiti
Christianity EtcPeace? by rexben(op): 3:09pm On Sep 19, 2017
“Do not think that I have come to bring peace to the earth. I have not come to bring peace, but a sword. Matt 10:34

Christianity EtcRe: He Who Has Ears by rexben(op): 3:02pm On Sep 19, 2017
bobofellaini:
matthew 7:23 didnot mention Paul haba.
what do you mean? Was any name mentioned in matt 7:23? Paul definitely falls into the category of those people. Follow Jesus, Christianity is false but Jesus remain true
Christianity EtcRe: Change Yourself, Change The World by rexben(m): 2:51pm On Sep 19, 2017
Quit religion and focus on Jesus
Christianity EtcHe Who Has Ears by rexben(op): 2:49pm On Sep 19, 2017
Here is the meme created for you to understand the mind of Jesus. Jesus did not approve Paul. He did not know him. Follow Jesus and not Paul

ComputersInterested In Buying The Scrap Of Hp Pavilion Dm4 by rexben(op):
I need the scrap of hp pavilion dm4. The screen and the full casing to be precise.
RomanceRe: Traditional Wedding Of The Young Abia Couple (Photos) by rexben(m): 3:51pm On Sep 18, 2017
IamLEGEND1:
Young man we know what you're after....You just had the sense to do it legally.
Must he wait still he is 50? The abnormal has become normal, vice versa. You can wait till you are 99
Technology MarketScrap Of HP Pavilion Dm4 by rexben(op):
I want to buy the scrap of hp pavilion dm4. I need the screen to be working and the casing of the laptop to be intact. Interested seller should DM
Technology MarketRe: Laptop Screen Replacement At Reduced Price by rexben(m):
how much can I get used screen for hp pavilion dm4? Interested seller should DM
Christianity EtcRe: Turn To Jesus Now by rexben(m): 2:30pm On Sep 15, 2017
Martinez19:
All religions are fake and Jesus is truth? huh Oh wait, you are one of those folks who believe that christianity is not a religion. Now, this is what you are going to do for me.
1) get a good dictionary.
2) look up the meaning of the word religion.
3) then come back and tell me if christianity is a religion or not.
I strongly believe that christianity is a religion
Christianity EtcRe: Have You Ever Preached The Gospel? Be A Light by rexben(m): 2:27pm On Sep 15, 2017
Hier:
The thread was to stir the passion for evangelism. chikina

Life is in STAGES
Evangelism for Jesus or for denominations?
Christianity EtcRe: 17 Differences Between A Stage And An Altar!!! by rexben(m): 8:54pm On Sep 14, 2017
HiddenManna:
*confused* huh

What are you saying?

Please try to emphasize yourself or words..
I said christian churches are just like social gatherings. The fact that they bring comedians is not a big thing. Christian churches are also managed as business organisations are been managed. They bring comedians to their gatherings to lure people to their churches
Christianity EtcRe: Turn To Jesus Now by rexben(m): 8:47pm On Sep 14, 2017
obisco4u:
And how can one do that?
Everybody has the ability to hear from God. You can learn from nature. You can hear from the Holy ghost. You can also read the words of Jesus as recorded in Matthew, Mark, Luke and John only
Christianity EtcRe: 5 Silly Reasons Why Some People Don't Go To Church These Days by rexben(m): 7:22pm On Sep 14, 2017
salford1:
I live in a city in North America, and I just tried searching on google for a rccg church close to my house since i cant remember how to get there.. i attended the particular church some months ago. seems other redeem churches now pay google adverts to push there own churches to the top of the list even though they are far away; hence i cant even find the church i am searching for. i dont understand this mad rush for congregation. This to me is a big turn off.
Sorry, bro
Christianity EtcRe: 14 Interesting Fact About The Bible by rexben(m): 7:08pm On Sep 14, 2017
Originakalokalo:
Someone said in the scriptures.....

Leave these people alone (Jesus and his disciples). If whatever they believe is not from God, It will not stand.

Till date, It prospers.

You cannot stop the truth.
Sure. And the truth is definitely not the bible but JESUS

1 2 3 4 5 6 7 8 9 10 (of 17 pages)