You will probably need Messaging and Web services for this.
You may want to try Jt secure Web services for Android:

- Java Pattern Oriented Framework, An application of the Messaging
Design Pattern
IBM Technical Library
http://www.ibm.com/developerworks/webservices/library/ws-designpattern/index.html

- Messaging Design Pattern and a distributed Component/Service Model
https://jt.dev.java.net/files/documents/5553/149793/MDPdistributedModel.pdf

A Restful Web service invocation looks like the following:

                String url = "http://localhost:8080/JtPortal/JtRestService";;
                JtContext context;
                Object reply;
                JtMessenger messenger = new JtMessenger ();

                // Create an instance of JtRestService

                service = (JtRestService) factory.createObject
(JtRestService.JtCLASS_NAME);

                // Assign the URL for the REST service/resource

                service.setUrl(url);
                service.setClassname ("Jt.examples.HelloWorldMessage");

        // Invoke the remote service (Make the REST request to access
the remote resource/service).

                sReply = (String) messenger.sendMessage (service, "hi");

You message can be any data that you need to transfer to the server

On Nov 18, 3:49 am, jagan reddy <[email protected]> wrote:
> Hello All,
>
> I am developing a GPS application.. By using the windowsXP OS and
> eclips IDE
>
> I am able to get the Longitude and Latitude of the current Position
> I want to sent those details to server by using the Http connection
> and for that sending, I will use gprs connection in my device
> how to do this, I am in big confusion. Here one more thing that GPRS
> connection is not available at that time we need to sent a SMS to the
> server.
>
> Any body help me in this

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to