Java Reference
In-Depth Information
To test access to APIs, you can often use a self-signed JAR file by exporting your cer-
tificate to your handset. However, how you import the certificate depends on the device
and the network you're using, so you should consult with the documentation that
accompanies the device with which you're working.
Some devices let you transfer the JAD and JAR files via Bluetooth or a cable, but
by far the most common way to get your code to a handset is over the Web. To do this,
you should have access to a web server on the same network as your test device (in
other words, don't rely on a corporate web server behind a firewall and a wireless
terminal on an operator's network outside your firewall). Using the NetBeans IDE,
you can transfer your JAD and JAR files to the server using Secure Copy Protocol
(SCP) or another mechanism by right-clicking your application and choosing Deploy
Project. From there, you can navigate to the URL of your JAD file using your device's
application manager or the web browser. Next, on the device, download the JAD file,
which triggers the installation of your application. Figure 3-10 shows the NetBeans
Deployment Settings panel.
Figure 3-10. Selecting how your application will be deployed by the NetBeans SDK
 
Search WWH ::




Custom Search