View Single Post
Old April 15th, 2012, 09:02 AM   #2 (permalink)
zarej
New Member
 
Join Date: Oct 2011
Location: Nis, Serbia
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to zarej zarej@svrljig.net
Default

In first class AppActivity you set on button click listener to go to App2Activity, row:
Intent intent = new Intent(context, App2Activity.class);

Your another class is activity named PlayIt. You should change upper row to:
Intent intent = new Intent(context, PlayIt.class);

Another thing, Activity PlayIt should report error because you need to put setContenView(R.layout.your_layout) before using findViewById()
zarej is offline  
Reply With Quote