Android Concept Lessons
Ideal for beginners
Want to know how to make Apps ? Check this Android tutorial to know the basic building blocks of Android application (also known as Android Components) namely Activity, View, Intent, Service, Broadcast Receiver & Notification
Check this Android tutorial to know how to setup Android SDK on your PC. It includes screencast for setting up the SDK. The SDK installation has pre-requisites like installing JDK. It is all being covered in the lesson.
Done with installing the Android SDK but clueless on how to get started ? This Android tutorial tells you how to get started with a Hello World Android app. Creating your app for the first time can be daunting to newbies. Here, we explain what various input fields stand for during the app creation process. We have also explained the folder structure and different tools like Console, Logcat & DDMS which you will be needing during Android app development.
One of the important components of Android apps are View elements which are contained in a Viewgroup, also known as Layout. The Layout files are XML files. The User Interface design of your app starts with the Layout file & arranging View elements inside it. Follow this Android tutorial to know how to get started with Layouts & what are the most popular Layout types available in Android. Each Layout type has a separate project that you can download, import in Eclipse & see the Layout in action.
While creating Hello World app, you would have noticed that 'New Project' wizard asks you for an Activity name. Activity is the component of Android that you should be aware of. An Android app consists of multiple Activities. At a time,since, you are looking at only one Activity of an application, all other Activites (of the current app & the other apps) go to background. This is an Activity state. An Activity has many states & lifecycle, which you need to handle as an Android developer. Follow this Android Tutorial to dig deeper into an Activity, its state & lifecycle.
Done creating Activity & corresponding User Interface through Layout XML files ? It is time to learn how to navigate from one Activity to another. Intents in Android does exactly that. But there is more to it. You can pass data from one Activity to another. You can launch non-Activity components like Services, Notifications & even other Android apps.
This Android tutorial introduces some of the standard View elements like Button, TextView, EditText, Radiobutton & Checkbox. It also talks about the View specific attributes that you can either set in the XML view file or set it through your Activity java code. Some views have Listeners to which you can attach your java code that gets activated on events. Example - a Button View getting clicked. The Listeners vary from element to element & have been covered in the specific elements. After the standard/simple Views, some complex View elements like ImageView, ListView (just an introduction), GridView & ScrollView are also introduced with their specific attributes.
Android ListView is one of the most ubiquitious but also one of the most difficult concept to understand. For the beginners, any list that you have seen on your Android phone (example list of phone numbers when you launch your contact) is implemented using Android ListView. Here we have tried making it as easier as possible for you by explaining the easiest way of implementing a basic Listview & then explaining what each line of code represent. We then follow the similar process with more complex ListView implementations.
Your favorite Java dump command 'System.out.println()' does not work in Android. Know how to use to use the Log class. An extensive Android tutorial on how to use LogCat to view & filter the log messages.
Twitter App Tutorial
Build an app inside Eclipse as you read instructions & we will evaluate it at every lesson
Why you should learn from our tutorial & why our tutorial is better than others out there.
Build a basic login screen User Interface for a Twitter app to get a feel of your first Android app. Learn about basic Layouts & most widely used XML attributes.
Learn to use Click Listener by implementing it on the Twitter login screen.
Learn how Intent are used by creating a new TweetList Activity & moving to the Activity from Login Activity using Intent.
ListViews are hard. Learn to build & use ListView by creating TweetList Activity showing list of tweets, from basic ListView to custom ListView followed by how to implement List item click
Another use of Intent. On List item click, learn how to navigate to the Tweet detail screen using Intent
Learn how to store & retrieve data from SharedPreference by implementing the same for handling login data in the Twitter app
Upgrade your ListView knowledge by showing up dynamic data on TweetList screen. Also, learn how to create PoJos for storing data, also called Models in Android development.
Learn how to use local storage in Android app for a better user experience. Store tweets locally to a file & read from it to show it on the ListView.
All time taking process should happen asynchronously in Android using AsyncTask. Simulate a network call using Asynctask to fetch tweets & show them up on the ListView on TweetList screen
Learn how to send data over Intents by sending the tweet information from TweetList screen to Tweet Detail screen when a List item is clicked on TweetList screen.