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. Multi threading in android

I am new to android and i was doing some application which might use
multi threading.
For example the application threads might do as follows assuming 2

Thread 1
Even if the overall application runs on foreground thread one should
run at all times listening for specific sms;
Imagine the sms to be Intercepted is "3456" when this message is sent
to the phone then thread one will be paused
and thread 2 will be activated:

Thread 2
When thread to is activated then it will use gps to track the location
of the phone and will use instance of smsManager to send back the
coordinates(log, lat) of the phone or even if possible google map back
to the phone which sent the message "3456" and then thread one will be

****How to make this happen any idea?

I know user must know that this application is running on the phone at
all times.



2. surfaceCreated() and CreateSurface() in camera preview application

I have some questions regarding the code below for camera preview
applicaiton.  I am hoping someone can help me out.  Thanks in advance.

1.   How does surfaceCreated() and CreateSurface() relate?  Is this
surface created via createSurface() from SurfaceFlinger client to
SurfaceFlinger server?  If so, there must be
2 buffers (frame buffers from display driver if there is hw
acceleration or if it is the emulator, it will be from ashmem)
associated with this surface: surface BB (for composition)
and surface FB (for display).  Am I correct?  Can you please confirm?

2.  How does the rendering buffer (frame buffer BB and frame buffer
FB) get allocated in the camera preview application?  Are they
allocated by the application?

3.  How does this surface relate to the preview buffers?  Are the
preview buffers allocated by the Camera Service during startPreview?

private class CameraSurfaceView extends SurfaceView implements
SurfaceHolder.Callback {
       private SurfaceHolder mHolder;
       private Camera camera = null;
       public CameraSurfaceView(Context context) {
           mHolder = getHolder();
       public void surfaceCreated(SurfaceHolder holder) {
           camera =;
           try {
           } catch (Exception e) {
               Log.e("Camera", "Failed to set camera preview
display", e);

Thank you very much for your help.


3. Change Android Language

4. android list targets FAILS

5. System.loadLibrary - Loading the Motorola Droid library

6. ADT Plugin for Eclipse on Ubuntu 9.10

7. Exchange AS support