net.rim.blackberry.api.homescreen
Class Location

java.lang.Object
  extended by 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

Method Summary
Category: Signed static Location getDefaultLocation()
          Returns the default location to place an item on the Home screen.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Method Detail

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-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.