Blackberry JAVA DEVELOPMENT ENVIRONMENT - - GPS AND MAPS - DEVELOPMENT GUIDE Instrukcja Użytkownika Strona 22

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 33
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 21
SQLite is designed to make efficient use of memory resources and includes only a small set of features. As a result, it can be a
good choice for embedded and wireless applications. You should consider using the SQLite API if you want to store application
data, and your application would benefit from the additional structure and manageability that a relational database can provide.
You can use the SQLite API, provided in the net.rim.device.api.database package, to store application data persistently
to eMMC memory or a microSD card. The SQLite API provides the option to store data in an encrypted format using the same
mechanisms as the Persistent Store APIs.
To download a sample application that demonstrates how to use the SQLite API, visit www.blackberry.com/go/sqlitedemo. For
more information about SQLite, see the BlackBerry Java Application SQLite Development Guide and the API reference for the
BlackBerry® Java® Development Environment.
Connections
Enhanced Network API
You can specify how your application opens a connection to a wireless network by using the enhanced Network API that is
provided in the net.rim.device.api.io.transport and net.rim.device.api.io.transport.options
packages. The Network API simplifies how your application establishes a connection to a wireless network and enables you to
find the wireless transport types available on the BlackBerry® device. For example, you can use the Network API to find the
availability and signal strength of a Wi-Fi® network that your application can use to open an HTTP connection.
You can use the Network API to specify a preferred list of wireless transport types. For example, if a Wi-Fi network is not available
or does not have sufficient signal strength, you can have your application search for other transport types, such as a cellular
network. If you do not specify a transport type, by default the BlackBerry device searches for all available transport types.
For more information about the Network API, see the BlackBerry Java Application Development Guide and the API reference
for the BlackBerry® Java® Development Environment.
Hotspot API
You can create an application that helps users connect to hotspots, by using the Hotspot API that is provided in the
net.rim.device.api.wlan.hotspot package. Your application can interact with the Wi-Fi® transceiver on a Wi-Fi
enabled BlackBerry® device, and the application that users use to manage a connection to a Wi-Fi network.
Previously, to connect to a hotspot a user completed multiple tasks. Now, to automate the process of associating and
authenticating a user to a hotspot, you can use the Hotspot API to create an application that performs the following functions:
automatically associate a Wi-Fi profile on the device, with a hotspot
automatically log in users to a hotspot
store a user's hotspot login information on the device
integrate with the setup wizard and the Wi-Fi profiles that users use to manage a connection to a Wi-Fi network
Feature and Technical Overview
Connections
20
Przeglądanie stron 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 32 33

Komentarze do niniejszej Instrukcji

Brak uwag