net.rim.blackberry.api.homescreen
Class Location
java.lang.Object
net.rim.blackberry.api.homescreen.Location
public class Location
- extends Object
Specifies a location on the Home screen. This is used
when adding applications, Shortcuts, or other application entry points to the
Home screen.
To get a Location object, you can use the
HomeScreenLocationPicker
field to prompt the
user to pick a location. You can also use the static Location.getDefaultLocation()
method
to get the default location (usually at the root of the Home screen).
- See Also:
Shortcut
,
HomeScreenLocationPicker
- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 6.0.0
getDefaultLocation
public static Location getDefaultLocation()
- Returns the default location to place an item on the Home screen.
Usually the root Home screen folder.
- Returns:
- The default location to place an item on the Home screen.
- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 6.0.0
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal