₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,707 members, 8,513,298 topics. Date: Wednesday, 04 November 2026 at 05:47 PM

Toggle theme

Nollyj's Posts

Nairaland Forum › Nollyj's Profile › Nollyj's Posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (of 23 pages)

Programming › Re: Audio Streaming Code by nollyj: 12:04pm On Dec 22, 2014
lifehacker:
Thanks a lot.
I wanted a native app
Thanks for stopping by
I've found the codes for it, now having problem creating navigation bar with compartments, think you could help?
Why not use a tab navigation system in android
Programming › Re: Update : Anti Spam SMS & Call Android App. by nollyj: 11:59am On Dec 22, 2014
Appguru:
Many thanks!
Are you the owner of the blog? I own you one.
Yes, still working on it
Programming › Re: Android Code Competition For Nigerian Developers - The result is out by nollyj(op): 10:06pm On Dec 21, 2014
jboy01:
I will like use c# with mono for my app
You are free to use it
Programming › Re: Android Code Competition For Nigerian Developers - The result is out by nollyj(op): 11:39pm On Dec 20, 2014
Maxim001:
What are the T&C?
Will u use the source code submitted for any work?
Who are those on the. Panel of Judges? What makes them qualified to be on it?
All submitted codes will be made available for people to see and use for education purpose. The main aim of this android code competition is to create a platform where beginners android developers will learn and develop their skills with real project.

We are not going to use any code in this competition for anything apart from putting it up for other people to download and learn from it. Since the codes are made available for education purpose it implies that by taking part in this competition you have accepted that you are making your code available to people to use for education purpose.

I am part of the judges and I have gone past beginners level in android development so also other members of the judges
Programming › Re: My New Year Resolution: 1 Million Naira A Month From Android App Dev In 2015 by nollyj(op): 10:56pm On Dec 20, 2014
toshodei:
Thanks I really appreciate it. Have A Good Saturday & Great Weekend. These are nice apps by the way.
The same to you. Enjoy ur weekend and do have a wonderful xmas
Programming › Re: Android Code Competition For Nigerian Developers - The result is out by nollyj(op): 10:54pm On Dec 20, 2014
phatjoe50:
Hmm! This should be simple.
That is why it is a beginners' android code competition
Programming › Re: My New Year Resolution: 1 Million Naira A Month From Android App Dev In 2015 by nollyj(op): 9:33pm On Dec 20, 2014
toshodei:
Nice job but what are the apps that you built? Where can I download them from the app store? You said that you receive 400,000 downloads, so where are these apps located?
https://play.google.com/store/apps/developer?id=ToscanyTech&hl=en
Programming › Re: Android Code Competition For Nigerian Developers - The result is out by nollyj(op): 9:32pm On Dec 20, 2014
trytillmake:
Pls read my question well, i aint asking bout data source i am asking do we require actual location of properties [that means we have to go create it on google maps]or one can point to a prominent building already mapped on google maps.
yeah, you need location as explained in the requirement (eg longitude and latitude). But you are free to use any valid location
Programming › Re: Android Code Competition For Nigerian Developers - The result is out by nollyj(op): 9:19pm On Dec 20, 2014
trytillmake:
Just asking,since the locations will be for practice [since we are not really estate developers and do not have actual properties to locate] can smeone use a general building, say in ikeja lagos, airport hotel or in V.I, Silverbird Cinema or does one need to go to Google Maps and actually create Properties to locate.
You can have a list of properties in a data source and populate the map with it
Programming › Re: Android Code Competition For Nigerian Developers - The result is out by nollyj(op): 9:00pm On Dec 20, 2014
trytillmake:
ok [b]nollyj[/b]you started android app tutorial, u nr come teach us finish come start competition, but y na, ok since it is till 31 Dec, i gat learn this android fast collect tablet.
I am being ban everyday once I post anything that contains a link. But you can go to my website for the updated tutorials
Programming › Re: Help Debug This Java Code by nollyj: 7:17pm On Dec 19, 2014
There is nothing wrong with the code

Programming › Re: Update : Anti Spam SMS & Call Android App. by nollyj: 6:27pm On Dec 19, 2014
Programming › Re: Android Code Competition For Nigerian Developers - The result is out by nollyj(op): 2:56pm On Dec 19, 2014
condralbede:
We are waiting for d rest of d details
..tnx
What other details do you need? Please kindly let me know. This is the main task as detailed in the instruction above

Google Map Location Based Housing Search
The aim of the task is to build an android app that uses Google Map API to display all the available housing an Estate Manger has for renting and selling. The location of each house will be indicated on the map with a marker. User of the app can easily search the map with street number / geolocation to find properties listed in the area on the map.
Programming › Re: My New Year Resolution: 1 Million Naira A Month From Android App Dev In 2015 by nollyj(op): 2:51pm On Dec 19, 2014
nnasino:
Wow, nice one. All the best!
Thanks it is a form of motivation that we can all be successful in web and software development in Nigeria
Nairaland Ads › Re: Discussion Of Nairaland's New Targeted Ads by nollyj: 1:45pm On Dec 19, 2014
Hello Seun,

I have pending advert in Webmaster and programming sections. Last week I sent you my detailed information for payment (10K Naira). Even if my advert id still pending I thought you should have send or reply my messages for payment acknowledgement. Now my advert is still pending and no payment acknowledgement. When will I even know that you have received the money? is it when the advert starts running? This is my first time so I do know how things work.

But I think once somebody made payment and you verify it, an acknowledgement should be send to the person.
Programming › My New Year Resolution: 1 Million Naira A Month From Android App Dev In 2015 by nollyj(op): 1:18pm On Dec 19, 2014
I know this will not make sense to most people and some will even question if people make money from their android apps in Nigeria. The truth is that some Nigerians make money from their mobile apps the same way some developers in Nigeria are making from web application development.

I started developing android apps by chance late 2013 when a friend told me that he needed a simple android app. With no knowledge of android or mobile development, I went into research and started reading how to develop mobile application. Many months went by before I could wrap my head on it. When I finished with the project months later I decided that mobile application development will be fun to be doing as part-time projects.

I started trying my hands on two different types of applications. When I finished developing the applications I felt some sense of accomplishment. I quickly paid for a publisher account and hosted my apps in Google Play. I kept waiting to see downloads coming but I was disappointed months after. Negative thought of quitting android development came in but I was like since I am doing it part-time let me continue because I do not have much to lose even if I did not make any money.

I took some time out trying to understand why some developers have very successful apps in the store and why my apps are just getting 1 to 5 downloads a day. The more I read and research the better I understand how the Google Play market works.

I changed my mind set about the kind of ideas I previously have in mind to different categories of android apps. After three months of release I started seeing good result. But what happen subsequently surprised me. I started making more money that I previously thought.

The result actually gave me hope to do some more apps. This is end of 2014, a year and some months since I started developing mobile apps. My monthly revenue from my apps is around 200,000 – 250,000 Naira with almost (400,000 downloads)

Come 2015, I have taken a decision to push this revenue to 1 million Naira a month.

I know the question in your mind is how will I achieve this? I do understand that it will be difficult but I believe I can do it. I have made a long list of android apps and games I will develop next year and if many become successful I will be on my way to hit this target.

I will describe and document everything that I am doing to achieve this target on my blog (http://inducesmile.com/blog/) and other interesting information that can help make a mobile app successful.

As a developer, have you drawn up your target for 2015? If you have and want to share, please kindly come forward and do so.

I wish you all happy Christmas and successful 2015
Webmasters › Re: I Need To Learn How To Create Mobile Apps by nollyj: 11:33am On Dec 19, 2014
Visit my website http://inducesmile.com/blog/ or you can ask me any question about developing mobile apps
Programming › Re: Android Code Competition For Nigerian Developers - The result is out by nollyj(op): 3:25pm On Dec 18, 2014
https://inducesmile.com/wp-content/uploads/2014/12/advertisement.jpg
Android Code Competition Announcement

This is the official announcement for the commencement of our android code competition. The competition requires that participants should have a basic android development skill. As a participant, you are required to solve the competition problem statement and submit the .apk file for evaluation.

About the task
Google Map Location Based Housing Search
The aim of the task is to build an android app that uses Google Map API to display all the available housing an Estate Manger has for renting and selling. The location of each house will be indicated on the map with a marker. User of the app can easily search the map with street number / geolocation to find properties listed in the area on the map.

Code Competition Focus Area
The app that you are building will be based on the Google Maps API. It will be useful to read more about it if you do not have any knowledge about it.

Code Competition Duration
The competition will start from 17th to 31 December, 2014. All entries receive after the deadline will not be considered for the competition.

Will I get the result of the challenge?
All the score for the participants will be displayed on our ladder board and you can easily view your result or your rank among other participants.

Whom should I contact in case I face any problem?
In case of any issues you can contact us through this http://inducesmile.com/contact

Where is the challenge happening?
The challenge is completely online. You can track the progress of the challenge in Nairaland or with the link above.

How do I participate in the challenge?
To participate in the challenge, just indicate with your name and skill sets.

What am I supposed to do in the challenge?
You are supposed to solve the challenge questions to the best of your ability.

How will I submit the finished project?
You are required to send in your project source code and a signed .apk file. Since your code is part of the grading system you need to submit your source code. We will not use your source code for anything part from this competition.

Feel free to ask any question or suggestion that will make this android code competition a success.
Programming › Re: Android Code Competition For Nigerian Developers - The result is out by nollyj(op): 11:48am On Dec 17, 2014
Georgeokez:
Its a good concept and this should indeed encourage guys like us trying to get our hands busy doing good stuff. But i have just one question for this competition. What are the category's that we are to code for, e.g category's like busy apps, social apps, administrative apps, games, etc. Or are we just to submit any kind of application that just does some random stuff?
Full details of the task for the competition will be published today
Programming › Re: Android Code Competition For Nigerian Developers - The result is out by nollyj(op): 11:36am On Dec 17, 2014
bot101:
i can develop for android with html, css and javascript. i hope i am qualified to compete and i'd like to know what type of project we are expected to embark on
Yes, you are free to use whatever technology you like to develop the android challenge
Programming › Re: For Beginners: Learn How To Create A Simple Android Native App by nollyj(op): 9:13pm On Dec 15, 2014
The time we are waiting for has come. This part 5 of our android tutorial will focus on programming our intro activity page for our app. If you have not read the previous post where we have discussed everything about android and went ahead to create a new android project you can do so by using this link

It is time to fire up your IDE. Once your IDE is done loading, open the android project you have created. We will start with the interface design for our android app.

There are different ways to create android application interface. You can use an external xml file that links to your activity page or Java code.

In this tutorial we are going to use xml file. There are many advantages of using xml file over Java code. We will not go into details. Using xml file will prevent our activity page from being clustered with UI codes.


Open activity_main.xml
Remember that when we discussed about the android application folder structure, we emphasised what folders and files are used for. If you are using eclipse, your IDE has already created this file for you automatically when your project is created.

To open this file, go to your project res folder, open the res folder and then click on layout folder. You will see your activity_main.xml file when the layout folder opens. Double click on the file to open it in your IDE.

If you have successfully followed this processes, by now you will see an image like this if you are using Eclipse IDE

https://inducesmile.com/wp-content/uploads/2014/12/UI1-300x175.jpg

Eclipse provides two interfaces when working with xml files. You can use the design view or the code view. The design view has all the components and controls used for interface design. You can drag and drop any control you want to use in the layout.
The root layout is the parent contain that contains other layouts and controls. The image below shows the deign interface.

https://inducesmile.com/wp-content/uploads/2014/12/UI2-300x224.jpg

Before we start with writing codes you should add the project images you downloaded in the previous lesson to your project drawable folders. I will also suggest you read up on android drawable if you do not have an idea on how android handles image responsiveness.
The first thing we will do in our xml file is to add a background image on the parent layout. I will use the code view in Eclipse for this tutorial. So to add a background image simplyadd this line of xml code to the root layout

android:background=”@drawable/intro”

Remember that our background image is named intro and it is present in the drawable folder in our project.
We will add a button in front of our background image. When this button is click, it will take the use inside our application.
We will use the button control provided by android to add a button in our project.
Copy and paste this code in your root layout.

<Button
android:id=”@+id/start_button”
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:layout_alignParentBottom=”true”
android:layout_alignParentRight=”true”
android:layout_marginBottom=”20dp”
android:layout_marginRight=”15dp”
android:background=”@drawable/startbutton”/>

That is all the xml code we need on this page. By now your activity_main.xml file will look like the picture below

https://inducesmile.com/wp-content/uploads/2014/12/braid1-300x187.jpg

We will now proceed to the MainActivty page which will use our xml file for its interface display. Move to the src folder and double click on the MainActivity.java file. Delete all the code on the page except your package name. Copy and paste the following code below.
<code>
import android.support.v7.app.ActionBarActivity;
import android.support.v4.app.Fragment;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;

public class MainActivity extends ActionBarActivity {

private static Button startButton;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.activity_main);
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
if (savedInstanceState == null) {
getSupportFragmentManager().beginTransaction().add(R.id.container, new PlaceholderFragment()).commit();
}
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
}

/**
* A placeholder fragment containing a simple view.
*/
public static class PlaceholderFragment extends Fragment {
public PlaceholderFragment() {
}

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View rootView = inflater.inflate(R.layout.fragment_main, container, false);
startButton = (Button)rootView.findViewById(R.id.start_button);
startButton.setOnClickListener(new OnClickListener(){
@Override
public void onClick(View view) {
// TODO Auto-generated method stub
Intent intent = new Intent(getActivity(), BraidsActivity.class);
startActivity(intent);
}
});
return rootView;
}
}
}
</code>
I assumed that you have a basic knowledge of Java language so I will not explain what import is and package name in Java application. Please not that I am using Fragment in this application. If your project does not include a Fragment then you should copy all the code in the Fragment onCreateView to your Activity onCreate callback function.


I will focus on the codes in onCreateView callback method of the inner Fragment class. Our interest is to add an event listener interface to the button we created so that when someone clicks on it something will happen.

We will use the Activity class method findViewById and pass the reference id of our view to the method as shown here

startButton = (Button)rootView.findViewById(R.id.start_button);

The startButton is an instance of our Button class. So we will attach an event listener using the setOnClickListener method.
This is all the code for our intro Activity page. You can run your application now. If everything went well, you will see the following image in your device or android emulator.

https://inducesmile.com/wp-content/uploads/2014/12/mintro.jpg

This brings us to the end of our tutorial five. We will continue where we stop in our tutorial six which will be posted soon. But before then if you have any question or suggestion just bring it forward.
Programming › Re: Android Code Competition For Nigerian Developers - The result is out by nollyj(op): 12:29pm On Dec 15, 2014
asalimpo:
nice one . But only 1 winner outta many? No 2nd and 3rd price @least. Thts not how to run a competition.
Suggestion taken I will see what I will do about it. Thanks
Programming › Android Code Competition For Nigerian Developers - The result is out by nollyj(op):
Our bi-weekly code competition is a way to encourage android developers in Nigeria to learn through competition and also get rewarded with prize. The aim of our code competition is to help beginner and intermediate android developers in Nigeria to soil their hands on a real life android project and in return, build a resume that will make it easy to land a good job. The prize for the competition is little. The competition is not about the price but rather a way to create a learning platform for android developers in Nigeria. To partake in the competition you must meet the following requirements as stated below

Android Code Competition Requirements
1. All participants for the competition must be Nigerian
2. Your task must be completed by you without any external help
3. You must be a beginner or intermediate android developer to participate
4. All entries must be submitted before the deadline of each competition
5. Ask question about ongoing competition in our question and answer section
6. The best submitted project in the competition will receive a price

How Entries are Judge
1. Interface Design
2. How the project requirements were executed
3. Functionality
4. Cleanliness of the code

Competition Duration
The competition will start from 17th to 31 December, 2014.
All entries receive after the deadline will not be considered for the competition.

Submission of Entries
You should zip your project entry with a .apk file and name it Code Competition December 17th .sent it to this email address tosca207[at]yahoo.com

Competition Prize
As stated earlier, the purpose of this code competition is to create a platform where we will all learn together and become better. So the best submitted entry will be reward with a 7 inch Android Tablet.
https://inducesmile.com/wp-content/uploads/2014/12/winandroid.jpg

For more Details
visit the competition website - http://inducesmile.com/
Programming › Re: For Beginners: Learn How To Create A Simple Android Native App by nollyj(op): 1:44am On Dec 15, 2014
Ezyp:
Nollyj its like what you wrote ^^ is hidden
Yes, 24 hours ban
Programming › Re: For Beginners: Learn How To Create A Simple Android Native App by nollyj(op): 1:07am On Dec 14, 2014
The time we are waiting for has come. This part 5 of our android tutorial will focus on programming our intro activity page for our app. If you have not read the previous post where we have discussed everything about android and went ahead to create a new android project you can do so by using this link ( http://inducesmile.com/android/android-tutorial-part-4-african-hairstyle-app/)

It is time to fire up your IDE. Once your IDE is done loading, open the android project you have created. We will start with the interface design for our android app.

There are different ways to create android application interface. You can use an external xml file that links to your activity page or through Java code.

In this tutorial we are going to use xml file. There are many advantages of using xml file over Java code. We will not go into details. Using xml file will prevent our activity page from being clustered with UI codes.

Open activity_main.xml
Remember that when we discussed about the android application folder structure, we emphasised what folders and files are used for. If you are using eclipse, your IDE has already created this file for you since it is the default activity automatically created by your project.

To open this file, go to your project res folder, open the res folder and then click on layout folder. You will see your activity_main.xml file when the layout folder opens. Double click on the file to open it in your IDE. If you have successfully followed this processes, by now you will see an image like this if you are using Eclipse IDE

https://inducesmile.com/wp-content/uploads/2014/12/UI1-300x175.jpg

Eclipse provides two interfaces when working with xml files. You can use the design view or the code view. The design view has all the components and controls used for interface design. You can drag and drop any control you want to use in the layout. The root layout is the parent contain that contains other layouts and controls. The image below shows the design interface.

https://inducesmile.com/wp-content/uploads/2014/12/UI1-300x175.jpg

Before we start with writing codes you should add the project images you downloaded in the previous lesson to your project drawable folders. I will also suggest you read up on android drawable if you do not have an idea on how android handles image responsiveness.
The first thing we will do in our xml file is to add a background image on the parent layout. I will use the code view in Eclipse for this tutorial. So to add a background image we simply add this line of xml code to the root layout

android:background="@drawable/intro"

Remember that our background image is named intro and it is present in the drawable folder in our project. We will add a button in front of our background image. When this button is click, it will take the use inside our application. We will use the button control provided by android to add a button in our project.

Copy and paste this code in your root layout.

<Button
android:id="@+id/start_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_marginBottom="20dp"
android:layout_marginRight="15dp"
android:background="@drawable/startbutton"/>

That is all the xml code we need on this page. By now your activity_main.xml file will look like the picture below

https://inducesmile.com/wp-content/uploads/2014/12/braid1.jpg

We will now proceed to the MainActivty page which will use our xml file for its interface display. Move to the src folder and double click on the MainActivity.java file. Delete all the code on the page except your package name. Copy and paste the following code below.


import android.support.v7.app.ActionBarActivity;
import android.support.v4.app.Fragment;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;

public class MainActivity extends ActionBarActivity {
private static Button startButton;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.activity_main);
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);

if (savedInstanceState == null) {
getSupportFragmentManager().beginTransaction().add(R.id.container, new PlaceholderFragment()).commit();
}
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {

// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
}
/**
* A placeholder fragment containing a simple view.
*/
public static class PlaceholderFragment extends Fragment {
public PlaceholderFragment() {
}

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View rootView = inflater.inflate(R.layout.fragment_main, container, false);

startButton = (Button)rootView.findViewById(R.id.start_button);
startButton.setOnClickListener(new OnClickListener(){

@Override
public void onClick(View view) {
// TODO Auto-generated method stub
Intent intent = new Intent(getActivity(), BraidsActivity.class);
startActivity(intent);
}
});
return rootView;
}
}
}


I assumed that you have a basic knowledge of Java language so I will not explain what import is and package name in Java application. Please not that I am using Fragment in this application. If your project does not include a Fragment then you should copy all the code in the Fragment onCreateView to your Activity onCreate callback function.

I will focus on the codes in onCreateView callback method of the inner Fragment class. Our interest is to add an event listener interface to the button we created so that when someone clicks on it something will happen. We will use the Activity class method findViewById and pass the reference id of our view to the method as shown here

startButton = (Button)rootView.findViewById(R.id.start_button);

The startButton is an instance of our Button class. So we will attach an event listener using the setOnClickListener method.
This is all the code for our intro Activity page. You can run your application now. If everything went well, you will see the following image in your device or android emulator.

https://inducesmile.com/wp-content/uploads/2014/12/mintro.jpg

This brings us to the end of our tutorial five. We will continue where we stop in our tutorial six which will be posted soon. But before then if you have any question or suggestion just bring it forward.
Programming › Re: For Beginners: Learn How To Create A Simple Android Native App by nollyj(op): 1:53pm On Dec 13, 2014
Broadcast receivers
A broadcast receiver is a component that responds to system-wide broadcast announcements. Many broadcasts originate from the system—for example, a broadcast announcing that the screen has turned off, the battery is low, or a picture was captured. Apps can also initiate broadcasts—for example, to let other apps know that some data has been downloaded to the device and is available for them to use. Although broadcast receivers don't display a user interface, they may create a status bar notification to alert the user when a broadcast event occurs. More commonly, though, a broadcast receiver is just a "gateway" to other components and is intended to do a very minimal amount of work. For instance, it might initiate a service to perform some work based on the event. A broadcast receiver is implemented as a subclass of BroadcastReceiver and each broadcast is delivered as an Intent object. For more information, see the BroadcastReceiver class.”

There is one more thing we will look into before will end this tutorial. It is the android life cycle

Android Activity Lifecycle
You can find the information below on Google android manual pagehttp://developer.android.com/reference/android/app/Activity.html
“Activities in the system are managed as an activity stack. When a new activity is started, it is placed on the top of the stack and becomes the running activity - the previous activity always remains below it in the stack, and will not come to the foreground again until the new activity exits.

An activity has essentially four states:

If an activity in the foreground of the screen (at the top of the stack), it is active or running.

If an activity has lost focus but is still visible (that is, a new non-full-sized or transparent activity has focus on top of your activity), it is paused.

A paused activity is completely alive (it maintains all state and member information and remains attached to the window manager), but can be killed by the system in extreme low memory situations.

If an activity is completely obscured by another activity, it is stopped. It still retains all state and member information, however, it is no longer visible to the user so its window is hidden and it will often be killed by the system when memory is needed elsewhere.

If an activity is paused or stopped, the system can drop the activity from memory by either asking it to finish, or simply killing its process. When it is displayed again to the user, it must be completely restarted and restored to its previous state.”

https://developer.android.com/images/activity_lifecycle.png

What next
There is no better time than now. We are going to pull up our sleeve and get our mind ready to start with the coding process. But before then, you can go outside and take some fresh air. Meet you in tutorial 5
Programming › Re: For Beginners: Learn How To Create A Simple Android Native App by nollyj(op): 1:48pm On Dec 13, 2014
I finished with the part three of this series of android tutorial with android application project folder. I went ahead to explain what each folder and file is used for and their functions.

Today we will take a quick look on android and important basic information that will help you understand in detail how to develop android application. I know that most people are more interested in the code than the theories behind how it works. But I want to remind you that this tutorial is a beginner’s android development tutorial so it is important for newbies in android development to understand how the system works

What is android?
I know that this question might sound fun but I also know that not everybody understand what android means. So I will go ahead and give a little excerpt from Wikipedia http://en.wikipedia.org/wiki/Android_(operating_system).

“Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google. With a user interface based on direct manipulation, Android is designed primarily for touchscreen mobile devices such as smartphones and tablet computers, with specialized user interfaces for televisions (Android TV), cars (Android Auto), and wrist watches (Android Wear). The OS uses touch inputs that loosely correspond to real-world actions, like swiping, tapping, pinching, and reverse pinching to manipulate on-screen objects, and a virtual keyboard. Despite being primarily designed for touchscreen input, it also has been used in game consoles, digital cameras, regular PCs (e.g. the HP Slate 21) and other electronics.”

Android Components
Since we have an idea on what android is, we will go further to explain components in android that help in android application development. They are the essential or rather the building blocks of android application. A full detailed about android component s is lift from google android page http://developer.android.com/guide/components/fundamentals.html

“Each component is a different point through which the system can enter your app. Not all components are actual entry points for the user and some depend on each other, but each one exists as its own entity and plays a specific role—each one is a unique building block that helps define your app's overall behaviour.

There are four different types of app components. Each type serves a distinct purpose and has a distinct lifecycle that defines how the component is created and destroyed.

Here are the four types of app components:

Activities
An activity represents a single screen with a user interface. For example, an email app might have one activity that shows a list of new emails, another activity to compose an email, and another activity for reading emails. Although the activities work together to form a cohesive user experience in the email app, each one is independent of the others. As such, a different app can start any one of these activities (if the email app allows it). For example, a camera app can start the activity in the email app that composes new mail, in order for the user to share a picture.
An activity is implemented as a subclass of Activity and you can learn more about it in the Activities developer guide.

Services
A service is a component that runs in the background to perform long-running operations or to perform work for remote processes. A service does not provide a user interface. For example, a service might play music in the background while the user is in a different app, or it might fetch data over the network without blocking user interaction with an activity. Another component, such as an activity, can start the service and let it run or bind to it in order to interact with it. A service is implemented as a subclass of Service and you can learn more about it in the Services developer guide.
Programming › Re: For Beginners: Learn How To Create A Simple Android Native App by nollyj(op): 1:42pm On Dec 13, 2014
francoflex:
Chaiii evil prophecy coming to pass, d thread has been derailed, and I was greatly learnin o *tears* wakka to all derail-ers. Mr Nolly pls induce smile on my face by continuein dis program and if dia s new location... My email fmomoh52@yahoo.com
You will find more tutorials http://inducesmile.com/blog/
Programming › Re: For Beginners: Learn How To Create A Simple Android Native App by nollyj(op): 9:43pm On Dec 11, 2014
dam007:
sent a mail to the box provided on your profile... Please acknowledge...
What name did you use?
Programming › Re: For Beginners: Learn How To Create A Simple Android Native App by nollyj(op): 7:52pm On Dec 11, 2014
Ezyp:
bro pls don't let anyone distract ur kind works....HAVE YOU SEEN THE CODE. THE LINK TO PASTEBIN. thanks
Yes, I will get back to your tomorrow. I have a Java game that I am roundup yesterday and today so I did not have much time to look at it. But you will get a reply tomorrow

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (of 23 pages)