View Single Post
  #1 (permalink)  
Old February 21st, 2014, 08:24 AM
Pebbles Pebbles is offline
Registered User
Points: 10, Level: 1
Points: 10, Level: 1 Points: 10, Level: 1 Points: 10, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2014
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help needed with android app

I have three activities ( rectangle, circle, triangle) and I have tried everything to connect these activities together in my Main_Activity so when I click on one of them it would bring up their xml.file. I seem to be missing something. I tired for 2 days now...very frustrated.

.setMultiChoiceItems(items, itemsChecked,
new DialogInterface.OnMultiChoiceClickListener() {
public void onClick(DialogInterface dialog,
int which, boolean isChecked) {
switch (which) {
case 1:
startActivity(new Intent(getApplicationContext(), Rectangle_Activity.class));
break;
Reply With Quote