Android Development

Rapid android development from Berlin

Browsing Posts tagged ListActivity

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…

  • Share/Bookmark

The first part of our application could only display a default icon for each contact in our list. Now we want to change that and display the contact photo you added to your contacts on your phone.

First we start to change our main.xml. We have to remove the src attribute and add an id to the ImageView node.

1
2
3
<imageview android:id="@+id/contact_image"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />

On line 1 the source is replaced with the id named “contact_image”.
continue reading…

  • Share/Bookmark

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…

  • Share/Bookmark
Powered by WordPress Web Design by SRS Solutions © 2010 Android Development Design by SRS Solutions