Connection
Published by Alex Jonsson on January 07, 2010
This example application checks the ability of the application and device to connect to the internet.
![]() | ![]() |
This example is included in the MoSync SDK installation in the /examples folder. For information on importing the examples into your workspace, see Importing the Examples.
Behaviour
When the application starts, use the keypad keys or touch the screen to connect to the Internet via HTTP or HTTPS. The application also has a "repeat " function that you can toggle on and off: if you toggle that function on and then connect, the connect and download process will loop continuously.
Key Presses
- Fire button or touch the screen — connects using HTTP to http://www.mosync.com
- 1 or left-softkey — connects using HTTPS to https://encrypted.google.com
- 5 key — toggles continuous connect/download on/off.
- 0 or right-softkey — closes the application.
- Printer-friendly version
- Login or register to post comments
Share on Facebook

