This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Creates a new GeoPoint only if | |
* a GeoPoint object does not exist | |
* within the object already | |
*/ | |
public GeoPoint getGeoPoint() { | |
if (this.geoPoint == null) { | |
this.geoPoint = new GeoPoint(this.lat, this.lng); | |
} | |
return this.geoPoint; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
File: KeychainItemWrapper.h | |
Abstract: | |
Objective-C wrapper for accessing a single keychain item. | |
Version: 1.2 - ARCified | |
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple | |
Inc. ("Apple") in consideration of your agreement to the following | |
terms, and your use, installation, modification or redistribution of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.InputStream; | |
import java.util.Hashtable; | |
import javax.microedition.io.HttpConnection; | |
import javax.microedition.io.InputConnection; | |
import net.rim.device.api.io.IOUtilities; | |
import net.rim.device.api.io.http.HttpProtocolConstants; | |
import net.rim.device.api.io.transport.ConnectionDescriptor; | |
import net.rim.device.api.io.transport.ConnectionFactory; |