亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? locationmodel.java

?? j2me的1套UI框架,可以幫助開發(fā)者迅速的開發(fā)j2me應(yīng)用程序.
?? JAVA
字號:
package org.j4me.examples.bluetoothgps;

import org.j4me.bluetoothgps.*;
import org.j4me.logging.*;

/**
 * Stores data about the LBS (Location Based Services) configuration.
 */
public class LocationModel
{
	/**
	 * The <code>Criteria</code> used to select the best location provider.
	 */
	private Criteria criteria;
	
	/**
	 * Has three states:  <code>null</code> if GPS information hasn't been set,
	 * <code>Boolean.TRUE</code> if GPS is on the device, or <code>Boolean.FALSE</code>
	 * if GPS is done through Bluetooth.
	 */
	private Boolean gpsOnDevice;
	
	/**
	 * The friendly name of the Bluetooth GPS device.  This is a human-readable
	 * string that can be shown to the user.
	 */
	private String gpsBluetoothName;

	/**
	 * The URL for communicating with the user's Bluetooth GPS device.
	 * <p>
	 * A separate Bluetooth GPS device is only used when the current device
	 * does not have accurate enough GPS.  When the device's GPS is used
	 * this will be <code>null</code>.
	 */
	private String gpsBluetoothURL;

	/**
	 * The location provider for the application.  This is <code>null</code> if
	 * location services have not yet been initialized.
	 */
	private LocationProvider locationProvider;
	
	/**
	 * @return The criteria used to select the location provider.
	 */
	public Criteria getCriteria ()
	{
		return criteria;
	}
	
	/**
	 * @param criteria is the requirements for the location provider.
	 */
	public void setCriteria (Criteria criteria)
	{
		this.criteria = criteria;
	}
	
	/**
	 * Returns if the device running this MIDlet has the GPS built in
	 * or if GPS comes from a separate Bluetooth device.
	 * 
	 * @return <code>true</code> if GPS comes from this device or <code>false</code>
	 *  if it comes from a separate Bluetooth device.
	 */
	public Boolean isGPSOnDevice ()
	{
		return gpsOnDevice;
	}
	
	/**
	 * Sets that GPS is available on the current device.  Bluetooth will not
	 * be used.
	 */
	public void setGPSOnDevice ()
	{
		gpsOnDevice = Boolean.TRUE;
		
		Log.info("GPS set to on local device");
	}
	
	/**
	 * Records the URL of the Bluetooth GPS device so that on next
	 * startup it can be used again automatically.  If the device supports
	 * GPS with accurate enough resolution (+/- 1 meter) this will be
	 * ignored. 
	 * 
	 * @param name is the friendly name of the Bluetooth GPS device.
	 * @param url is the connection URL to the Bluetooth GPS device.
	 */
	public void setBluetoothGPS (String name, String url)
	{
		// We have GPS information and it isn't on this device.
		this.gpsOnDevice = Boolean.FALSE;
		
		// Record the Bluetooth information.
		this.gpsBluetoothName = name;
		this.gpsBluetoothURL = url;
		
		Log.info("GPS set to Bluetooth " + name);
	}

	/**
	 * Gets the human-readable name of the Bluetooth GPS device.  This can
	 * be displayed on screens to the user.
	 * <p>
	 * Before calling this method you should check that Bluetooth GPS is
	 * being used.  If <code>isGPSOnDevice</code> returns <code>Boolean.FALSE</code>
	 * then you can call this method.  Otherwise GPS information has not
	 * been set or the GPS is on the local device.
	 * 
	 * @return The human-readable name of the Bluetooth GPS device.
	 */
	public String getBluetoothGPSName ()
	{
		return gpsBluetoothName;
	}
	
	/**
	 * Returns the URL of the Bluetooth GPS device.  This can be used to
	 * connect to the remote GPS device through Bluetooth.
	 * <p>
	 * Before calling this method you should check that Bluetooth GPS is
	 * being used.  If <code>isGPSOnDevice</code> returns <code>Boolean.FALSE</code>
	 * then you can call this method.  Otherwise GPS information has not
	 * been set or the GPS is on the local device.
	 * 
	 * @return The URL of the Bluetooth GPS device.
	 */
	public String getBluetoothGPSURL ()
	{
		return gpsBluetoothURL;
	}
	
	/**
	 * Gets the <code>LocationProvider</code> currently used by the application.
	 * If there is no location provider this returns <code>null</code>.
	 * 
	 * @return The <code>LocationProvider</code> in use or <code>null</code> if there
	 *  is not one.
	 */
	public LocationProvider getLocationProvider ()
	{
		return locationProvider;
	}
	
	/**
	 * Sets the <code>LocationProvider</code> used by the application.
	 * 
	 * @param provider is the application's location provider.
	 */
	public void setLocationProvider (LocationProvider provider)
	{
		this.locationProvider = provider;
	}
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
不卡视频在线观看| 老司机午夜精品| fc2成人免费人成在线观看播放| 日韩一区二区三区免费观看| 免费欧美日韩国产三级电影| 欧美一区二区三区免费视频| 久久精品国产久精国产爱| 精品伦理精品一区| 国产精品白丝av| 亚洲欧洲三级电影| 欧美丝袜自拍制服另类| 日本va欧美va欧美va精品| 精品va天堂亚洲国产| 福利电影一区二区三区| 亚洲精品美国一| 欧美一区二区三区免费观看视频| 激情深爱一区二区| 亚洲欧美日韩国产成人精品影院| 欧美专区日韩专区| 久久精品国产亚洲高清剧情介绍| 久久久美女毛片| 日本大香伊一区二区三区| 日韩av在线发布| 中文字幕精品三区| 欧美午夜电影一区| 国产精品一二三四| 亚洲高清视频中文字幕| 精品国产伦一区二区三区免费| 国产91丝袜在线观看| 亚洲国产日韩一级| 国产欧美视频一区二区| 色丁香久综合在线久综合在线观看| 日本不卡免费在线视频| 中文字幕国产一区| 91精品国产免费久久综合| 成人美女在线观看| 日韩成人午夜精品| 亚洲视频小说图片| wwwwww.欧美系列| 欧美亚洲综合一区| 成人激情文学综合网| 日韩和欧美一区二区三区| 国产精品对白交换视频 | 亚洲一区二区三区三| 日韩精品一区二区三区四区| 一本大道久久a久久精品综合| 麻豆精品一区二区综合av| 亚洲欧美偷拍卡通变态| 精品国产1区2区3区| 欧美影院一区二区| av电影在线不卡| 国产高清不卡一区| 麻豆成人91精品二区三区| 亚洲制服丝袜av| 亚洲视频1区2区| 欧美韩国日本综合| 亚洲精品一区二区三区蜜桃下载 | 精品国产乱码久久久久久闺蜜| 在线免费观看一区| 波多野结衣中文一区| 黄色小说综合网站| 日本aⅴ亚洲精品中文乱码| 亚洲精品国久久99热| 国产精品欧美久久久久一区二区| 日韩亚洲欧美高清| 69堂亚洲精品首页| 欧美日韩一卡二卡三卡 | 91黄视频在线| 99这里都是精品| proumb性欧美在线观看| 国产精品18久久久久| 老司机精品视频导航| 蜜臀av在线播放一区二区三区| 亚洲国产中文字幕| 亚洲午夜激情av| 亚洲大片在线观看| 三级精品在线观看| 日本va欧美va精品| 麻豆国产欧美日韩综合精品二区| 亚洲成a人在线观看| 亚洲国产色一区| 日韩和欧美的一区| 美女久久久精品| 国产在线视频一区二区三区| 麻豆国产精品777777在线| 精品一区二区影视| 国产一区二区免费视频| 国产精品88av| jvid福利写真一区二区三区| av成人动漫在线观看| 色婷婷亚洲婷婷| 欧美日韩久久一区二区| 91精品国产日韩91久久久久久| 日韩一区二区在线看片| 久久久久久一二三区| 欧美国产一区二区| 亚洲精品免费一二三区| 婷婷综合久久一区二区三区| 日韩高清中文字幕一区| 福利91精品一区二区三区| 97成人超碰视| 欧美日韩电影在线| 欧美xxxxx牲另类人与| 国产日韩欧美不卡在线| 亚洲免费看黄网站| 免费观看日韩电影| 成人免费毛片高清视频| 欧美三级日本三级少妇99| 日韩欧美国产精品| 国产精品久久久久一区二区三区共 | 蜜桃视频免费观看一区| 国产成人午夜视频| 欧美视频中文字幕| 精品黑人一区二区三区久久| 中文子幕无线码一区tr| 亚洲国产日韩精品| 国产剧情一区在线| 欧美偷拍一区二区| 国产亚洲欧洲997久久综合| 亚洲精品一卡二卡| 激情综合五月天| 色先锋资源久久综合| 日韩一区二区在线观看视频| 国产精品久久毛片a| 日本亚洲天堂网| 91日韩一区二区三区| 日韩西西人体444www| 亚洲人成人一区二区在线观看| 蜜臂av日日欢夜夜爽一区| 91浏览器在线视频| 久久伊人中文字幕| 日韩专区欧美专区| 一本大道久久a久久精二百 | 91欧美一区二区| 久久综合色天天久久综合图片| 亚洲免费在线电影| 粉嫩aⅴ一区二区三区四区| 欧美一区二区在线观看| 亚洲男人的天堂在线aⅴ视频| 激情五月播播久久久精品| 欧美精品日日鲁夜夜添| 亚洲日本乱码在线观看| 高清不卡在线观看av| 精品日韩一区二区三区免费视频| 一区二区三区四区乱视频| 成人a免费在线看| 国产无人区一区二区三区| 奇米亚洲午夜久久精品| 欧美日韩午夜在线| 一区二区三区不卡视频| 成人高清视频在线| 欧美激情一区二区三区在线| 看片网站欧美日韩| 欧美一区2区视频在线观看| 亚洲成人你懂的| 色伊人久久综合中文字幕| 亚洲天堂免费在线观看视频| 成人综合在线视频| 国产人成亚洲第一网站在线播放| 久久99精品久久只有精品| 日韩三级在线免费观看| 免费不卡在线观看| 日韩一区二区三区视频在线| 秋霞午夜av一区二区三区| 欧美一区二区三区男人的天堂| 午夜伦欧美伦电影理论片| 欧美精品在线一区二区三区| 亚洲在线观看免费| 欧美无砖专区一中文字| 亚洲国产成人av网| 制服丝袜日韩国产| 免费人成精品欧美精品| 日韩免费高清av| 国产一区二区精品久久| 国产亚洲欧美激情| 91在线云播放| 一区二区三区日本| 欧美日本在线播放| 蜜臀久久久久久久| 精品国产欧美一区二区| 国产一区二区不卡在线 | 亚洲日本护士毛茸茸| 色婷婷久久一区二区三区麻豆| 亚洲美女屁股眼交| 欧美日韩国产一二三| 热久久免费视频| 国产亚洲人成网站| 91美女在线看| 五月激情综合网| 精品va天堂亚洲国产| 成人动漫一区二区| 亚洲成人在线网站| 欧美成人r级一区二区三区| 国产精品亚洲第一区在线暖暖韩国 | 久久久久久99精品| 91蜜桃免费观看视频| 天天综合日日夜夜精品| 精品久久五月天| 成人激情动漫在线观看| 亚洲五码中文字幕|