But now my problem is :
in my java project, i need to write an Activity class and invoke it...
Let me explain u clearly..
As in ur DroidGaming.jar, it contains two class files one is view file and the other is activity file.
Similarly my jar file too contain one view class and one activity class..
now i have to start the activity class from view class..
how to do this...
I wrote a piece of code...
but my app crashes..
Using java Syntax Highlighting
- Intent myIntent = new Intent();
- myIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
- myIntent.setAction(Intent.ACTION_VIEW);
- myIntent.setClassName("<package>", "<Activity class name>");
- myContext.startActivity(myIntent);
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
so can u plz help me out MrSnowFlake
Thanks in advance.


