Reverse engineering APK files – A trial

Ok, we’ll just go back and forth from source..

 

See my Java class HellosWorldActivity.java:

package com.example.helloworld;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class HellosWorldActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView tv=new TextView(this);

tv.setText("Hello, Android!");
setContentView(tv);
}
}[/code]


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.