View Single Post
  #2 (permalink)  
Old May 19th, 2013, 03:38 PM
Nik_Pro Nik_Pro is offline
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: May 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Code Issue

Hello ArunKarkare,
I also encountered the same issue with the program and i changed it a bit to see the working. After changing the working is the same as described in the book. In the book the textView, EditText and the Button component are added to the main.xml but Activity2.xml file is shown in the image which consists of all this.

I am providing you the link to the file which i modified to make it work.I have added a button and used that to navigate to the other activity instead of using the DPAD action.
The target SDK for that is 2.3.3 API 10... You can download it and test it...

Almost all the code for the java files remains the same except for the button action only.....

I hope i have helped you solve your issue...


Last edited by Nik_Pro; May 19th, 2013 at 03:46 PM..
Reply With Quote