
|
January 2004 |
|
|
| |
|
For the Sony Ericsson P800/P900 smartphone series it is possible to test networked mobile applications and services by having them reside on the local PC instead of going over GPRS/GSM for accessing such a server on the Internet. This setup works, provided that the service or content of interest can really be served from your local PC. This can save you some time and costs during development of the mobile client application where typically numerous edit/compile/test(=network access) iterations need to be carried out before the applications behaves exactly as intended. The PC Suite connectivity solution that ships with the P800/P900 products is based on a so called 'mRouter' technology, that is licensed from Intuwave Ltd. This solution creates TCP/IP connectivity between the connected device and the PC. This means that in case the service is running directly on the local PC the mobile application on the P800/P900 can directly access that service over the PC connectivity link. HTTP server setup Here is an example for configuring the Apache HTTP server: Open the file .\conf\mime.types in the Apache root folder. Make sure the following three entries exists somewhere in that file: text/vnd.sun.j2me.app-descriptor jad This will assure that the server is able to understand what file types these are. It also assures that the Symbian "Internet" application (browser) in the P800/P900 phone recognises the downloaded files for what they represent. Phone setup wsockhost.mrouter (and the particular port number) This requires that the device is connected to the PC using the PC Suite (using cradle, cable, IR or Bluetooth). The phone will not open up a GPRS or CSD connection towards the cellular network in this case but will route the network request towards the PC.For the Sony Ericsson P800/P900 smartphone series it is possible to test networked mobile applications and services by having them reside on the local PC instead of going over GPRS/GSM for accessing such a server on the Internet. This setup works, provided that the service or content of interest can really be served from your local PC. This can save you some time and costs during development of the mobile client application where typically numerous edit/compile/test(=network access) iterations need to be carried out before the applications behaves exactly as intended. The PC Suite connectivity solution that ships with the P800/P900 products is based on a so called 'mRouter' technology, that is licensed from Intuwave Ltd. This solution creates TCP/IP connectivity between the connected device and the PC. This means that in case the service is running directly on the local PC the mobile application on the P800/P900 can directly access that service over the PC connectivity link. ExampleThis example URL requests download of a JAD file 'MyApp.jad' from port 8080 on your local PC: http://wsockhost.mrouter:8080/midlets/MyApp.jad assuming that you run a HTTP server on port 8080. | |
Copyright © 2001 - 2009 Sony Ericsson Mobile Communications AB. All Rights Reserved.