Is it possible

by Jatin D Patel » Sat, 09 Oct 2010 10:57:48 GMT


Sponsored Links
 I have developed an android app which calls the web service which runs
smoothly on my emulator.

Will the same appl work if i installed the same application on android
mobile device and call the webservice. (server running on my laptop)


-- 
Thanks,
Jatin D N Patel
Masters, Computer Sci.
Suny Binghamton Univ, NY.

You Got To Think HIGH to RISE.

--



Is it possible

by DanH » Sat, 09 Oct 2010 11:41:07 GMT


 Well, at least partly it depends on how you're addressing the server.




--


Sponsored Links


Is it possible

by Rocky » Sat, 09 Oct 2010 18:21:35 GMT


 yes, it will work fine




>



Is it possible

by David Turner » Sun, 10 Oct 2010 19:22:44 GMT


 If the server is addressable from the Internet (i.e. not under a NAT or
firewall that hides it), then it should work
(provided you code uses its public IP address to connect to it).




>



Is it possible

by DanH » Mon, 11 Oct 2010 01:00:56 GMT


 > (provided you code uses its public IP address to connect to it).

That is the key.  The internal Android-to-host IP address (I forget
what it is) cannot be used.




> >



Is it possible

by Kostya Vasilyev » Mon, 11 Oct 2010 02:33:34 GMT


 The special address you probably are referring to only comes into play in
the emulator (mapped to the host computer's localhost).

Right about the possibility of NAT(s) between the phone and the internet,
though.

So accepting connections works on a local network (wifi), but in the general
case, you need a centralized server to dispatch data connections to client
devices.

--
Kostya Vasilyev --  http://kmansoft.wordpress.com 

10.10.2010 21:01  "DanH" <danhi...@ieee.org> :

That is the key.  The internal Android-to-host IP address (I forget
what it is) cannot be used.






<android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com>

> >



Is it possible

by Lloyd Sheng » Mon, 11 Oct 2010 05:41:41 GMT


 I it's possible if your laptop has a public ip.




--



Other Threads

1. How can i Change default Installation Location programmatically(froyo)?

Hi friends
As i read in some web sites we can change installing location Via Usb
cable and using Android/tools
http://androinica.com/2010/08/03/how-to-install-apps-to-the-sd-card-by-default-on-android-2-2-froyo/

now i wanna develop and application for changing installing location

any body know is it possible?? or how and where i can start for doing
that??

-- 

2. touch screen multi-touch sensor - questrions

I am developing a driver for a multi-touch sensor screen with support
for up to 4 fingers.

1. Regarding multi-touch protocol, which events should be created in
the driver for the user? I have already implemented the following
events:

For all fingers:
ABS_MT_TOOL_TYPE
ABS_MT_TRACDKING_ID
ABS_MT_POSITION_X
ABS_MT_POSITION_Y
ABS_MT_TOUCH_MAJOR
ABS_MT_TOUCH_MINOR,
BTN_TOUCH
Input_mt_sync

For one finger only (end of message)
Input_sync

2. Is there a sniffer that I can use, that will allow me to see the
messages transferred to the user space, for example Gizmod or Evtest?

Many thanks,

-- 

3. SDK Add-on for Samsung Galaxy Ta

4. Coordinates of touch/click on Home Screen Widget

5. Host not resolved issue

6. Email.apk creating multiple alarms in logcat on HTC branded Evo

7. How to close all activities in Activity stack and start a new one