Getting one form data on anather form

by Mohammad Siddiqui » Thu, 22 Apr 2010 20:30:54 GMT

Sponsored Links
 Hi everyone,

i have therre consecutive form ,after filling the form one i press the
next button on the first form to go
to the second form then prees the next button to go to the third
form.from third form i have a button to
post the data on a specific url.the problem is that how can get the
first and second form data on the
last form


Getting one form data on anather form

by wahib haq » Thu, 22 Apr 2010 20:47:12 GMT

 Salam dear.

You can take the data from one form to other by passing bundles with
intents. You can take data from 1st form and receive in 2nd. Then take 1st
data + 2nd data to 3rd form and then send subsequent responses back.

This tutorial will surely help you out. 

best of luck.


On Thu, Apr 22, 2010 at 8:30 AM, Mohammad Siddiqui


Sponsored Links

Getting one form data on anather form

by wahib haq » Thu, 22 Apr 2010 20:53:15 GMT

 I myself is a newbie so if someone has better sugesstion than do share it. I
would love to increase my knowledge.



Getting one form data on anather form

by Kaustubh Padegaonkar » Thu, 22 Apr 2010 22:52:38 GMT

 you can use the function putExtra() while creating a new intent, and use
getExtra() after the new intent has been created. that is assuming, you are
using intents for forms.

//make new intent code
//call new intent code
putExtra("key name", data)

and where the new intent is picked up, in the called class, just use
getExtra("key name")

that should do it.


Other Threads

1. How to update a Cursor


I call ContentResolver's query method to get a Cursor, and I would
like to update the title of that row to 'new title'
can you please tell me how to do it?

final ContentResolver cr = context.getContentResolver();
 Cursor c = cr.query(MY_CONTENT_URI,
            new String[] { "title"}, "title=?",
            new String[] { title }, null);

if (c.getCount() > 0) {
 // want to update the title to 'new title'



2. Cupcake on ADP


I've been looking around for resources on compiling/installing my own
images on the ADP, and I'm having trouble finding anything useful
since most of the resources are geared toward G1s (not the dev
phone).  It is my understanding that the ADP comes ready to have new
firmware images installed, so I'm trying to figure out that process.

If I want to compile my own images, what do I need to do in the make
process?  What arguments do I need to supply "make"?  I already have
the source checked out, so I just need to figure out what I need to
do :)

Also, once I have the images installed, do I just power off, hit HOME
+POWER, then alt+l and choose to use and  Or is there
another method for installing the new images?  Or does Google not have
support for this, and I need to follow the way the G1 hackers have
been doing it?


3. How to deal with an app widget that can have variable sizes

4. Next Focus and the Soft Keyboard

5. Does android kernel supports ACPI?

6. Magic from Vodafone expected on 5 May

7. Community contributions to design (WAS: Android v. 1.5 = FAIL #2: Directly Manipulating Settings)