Useless app can send and receive

Ok as promised I will show you how to send data using an Intent. Let's get started by creating the xml layouts for your new activity. At this location “res\layout\” create the xml file “second_choice.xml” and copy this. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <EditText android:id="@+id/my_edit_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:layout_above="@+id/go_back_button" android:layout_marginBottom="30dp" android:hint="Say Somthing"/> … Continue reading Useless app can send and receive


How to switch between activities?

By using intents. An Intent is a way to move between activities (screens) in the app. You could send information with your Intent to use in the other activity, and you could request to receive information from that same activity. In this tutorial I will demonstrate, how you could simply go to another activity. First … Continue reading How to switch between activities?

Your useless app, slowly becoming…

First lets make sure you have the right style and design for your app. To pick the colors I like to use the material design palette . Once you've picked the colors you like, click on download and select XML. copy the contents of your downloaded xml file into your project's colors.xml file, (res\values\colors.xml). It … Continue reading Your useless app, slowly becoming…

Lets get set up

You could use eclipse to program an android app because android is essentially Java based, however, I suggest you use Android Studio as it is now (since 2013) the official integrated development environment for the android platform. I will be using android studio for the tutorial and screen shots. To get Android Studio go here and go through … Continue reading Lets get set up