This topic describes how to sending data to an activity using intent object with the help of Bundle class. First you have to create the bundle object then attach the data to the bundle object using putString() method and attach the bundle object to the intent object using putExtras() method. At the target activity use the getIntent().getExtras() method for getting the bundle object and use the getString() method to get the data from the bundle object.
Get the complete source code from
http://easyway2in.blogspot.in/2013/02/passing-data-to-activity-source.html
Visit my blog : http://www.easyway2in.blogspot.com
Like my Facebook page : https://www.facebook.com/codeglympse
Subscribe My YouTube channel : http://www.youtube.com/ticoontechnologies
Download
0 formats
No download links available.
android tutorial for beginners 9 Sending data to an activity using Bundle object | NatokHD