Developing an Android App: MyTwitter Part 1

This is a sample android app that works with a twitter account and allows the user to post twitter account updates. The app will also automatically connect to every once in a while to check for new friend statuses, and notify us of us.

The goal of this application is to illustrate all the major pieces of Android application development by implementing them in an actual app.

Project Overview
This is basically all the bits and pieces that we'll build as part of this project.

The application will encompass various android interfaces to make this happen.

Basic functions include the java file and auto generated basic AndroidManifest.xml files is the only file that has been changed.

Images files were dropped into the drawable folder- please refer to the source code for content.

package com.example;

import android.os.Bundle;

public class MyTwitter extends Activity {
/** Called when the activity is first created. */
public void onCreate(Bundle savedInstanceState) {

AndroidManifest.xml at this stage only references the drawable files that have been dropped in the res/drawable folder. The notable change is the MyTwitter app icon on the desktop on the phone, it references to the new icon - twitter_icon


<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""
android:versionName="1.0" package="com.example">
<application android:icon="@drawable/twitter_icon" android:label="@string/app_name">
<activity android:name=".MyTwitter"
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />

<uses-sdk android:minSdkVersion="3" />



Copyright © 2018 ProTech. All Rights Reserved.

Sign In Create Account


Social Media