Tag: intent
How to: Create a splash screen
by Martin on Oct.14, 2009, under how to
Many Applications, mostly games, on the market show splash screens. With this screen they prompt a logo for the application and/or the author.
I will show you a short way to implement a splash screen which will occur on every startup, will stay for a number of seconds you can define, will close on touching the screen and will not reappear on pressing the back button.
I created an empty project named SplashScreen with the activity SplashScreen. This activity will display the splash screen, so we have to create a new activity which will be the first real view you want to display. In my case this activity is named MyApp.
(continue reading…)
Use intents to start other activities
by Martin on Mar.06, 2009, under tutorial
After working on our first list application and finally adding the user photos to our list we now want to show you how you can use your activity in another context.
This tutorial will show you how you can use a button to open the created contact list to pick a contact and display the name of the picked contact with the “Toast widget”.
The first thing you should do: create another project to be sure to have two working application samples.
Package: com.droidnova.android.samples
Activity name: PickYourDude
Application name: Pick your dude
(continue reading…)
First list application
by Martin on Feb.28, 2009, under tutorial
Yesterday we started a tutorial we found on the youtube channel of androiddevelopers. The intent of this tutorial is to create an application that shows all contacts by name. You also should be able to click on the name and the phone will start a call to this contact.
The tutorial itself is more than a year old, has some failures and some stuff isn’t available in the same way the tutorial shows. We will show you what you have to do to be successfully program this little android application and we will show you some useful layout improvements.
(continue reading…)