Monday, 17 August 2015

rz Android Hello World Tutorial

-
rz Android Hello World Tutorial
The Android Project created in this tutorial was developed using www.programmr.com online compiler.

1) Create Android Project

project name: rzAndroidHelloWorld
package name: com.example.rzAndroidHelloWorld

2) Source Codes

AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.rzAndroidHelloWorld"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
        <activity android:name="rzAndroidHelloWorld"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
<uses-sdk android:minSdkVersion="8" />
</manifest>
rzAndroidHelloWorld.java
package com.example.rzAndroidHelloWorld;      
       
import android.app.Activity;      
import android.os.Bundle;      
       
public class rzAndroidHelloWorld extends Activity      
{      
    /** Called when the activity is first created. */      
    @Override      
    public void onCreate(Bundle savedInstanceState)      
    {      
        super.onCreate(savedInstanceState);      
        setContentView(R.layout.main);
    }      
}        
main.xml
package com.example.rzAndroidHelloWorld;      
       
import android.app.Activity;      
import android.os.Bundle;      
       
public class rzAndroidHelloWorld extends Activity      
{      
    /** Called when the activity is first created. */      
    @Override      
    public void onCreate(Bundle savedInstanceState)      
    {      
        super.onCreate(savedInstanceState);      
        setContentView(R.layout.main);
    }      
}        

4) Running On Programmr

5) Download

5.2) APK-


-

2 comments:

  1. Hey There. I found your blog using msn. This is a very well written article. I’ll be sure to bookmark it and come back to read more of your useful info. Thanks for the post. I’ll definitely return. vShare Helper

    ReplyDelete
  2. This is very interesting content! I have thoroughly enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great. iOS 11.3 Jailbreak

    ReplyDelete