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)
lifehacker:Why not use a tab navigation system in android |
Appguru:Yes, still working on it |
jboy01:You are free to use it |
Maxim001: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 |
toshodei:The same to you. Enjoy ur weekend and do have a wonderful xmas |
phatjoe50:That is why it is a beginners' android code competition |
toshodei:https://play.google.com/store/apps/developer?id=ToscanyTech&hl=en |
trytillmake:yeah, you need location as explained in the requirement (eg longitude and latitude). But you are free to use any valid location |
trytillmake:You can have a list of properties in a data source and populate the map with it |
trytillmake:I am being ban everyday once I post anything that contains a link. But you can go to my website for the updated tutorials |
There is nothing wrong with the code
|
We have reviewed your app here http://inducesmile.com/nigerian-app-review/sms-spam-guard-review/ |
condralbede: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 |
nnasino:Thanks it is a form of motivation that we can all be successful in web and software development in Nigeria |
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. |
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 |
Visit my website http://inducesmile.com/blog/ or you can ask me any question about developing mobile apps |
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. |
Georgeokez:Full details of the task for the competition will be published today |
bot101:Yes, you are free to use whatever technology you like to develop the android challenge |
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. |
asalimpo:Suggestion taken I will see what I will do about it. Thanks |
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/ |
Ezyp:Yes, 24 hours ban |
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.
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. |
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 |
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. |
francoflex:You will find more tutorials http://inducesmile.com/blog/ |
dam007:What name did you use? |
Ezyp: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 |