com.mob.tools.utils.DeviceHelper Java Examples
The following examples show how to use
com.mob.tools.utils.DeviceHelper.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: StationAPIActivity.java From styT with Apache License 2.0 | 6 votes |
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_station); etMCC = ResHelper.forceCast(findViewById(R.id.etMCC)); etMNC = ResHelper.forceCast(findViewById(R.id.etMNC)); etLAC = ResHelper.forceCast(findViewById(R.id.etLAC)); etCELL = ResHelper.forceCast(findViewById(R.id.etCELL)); tvId = ResHelper.forceCast(findViewById(R.id.tvId)); tvAddr = ResHelper.forceCast(findViewById(R.id.tvAddr)); tvCell = ResHelper.forceCast(findViewById(R.id.tvCell)); tvGoogleLat = ResHelper.forceCast(findViewById(R.id.tvGoogleLat)); tvGoogleLng = ResHelper.forceCast(findViewById(R.id.tvGoogleLng)); tvLac = ResHelper.forceCast(findViewById(R.id.tvLac)); tvLat = ResHelper.forceCast(findViewById(R.id.tvLat)); tvLng = ResHelper.forceCast(findViewById(R.id.tvLng)); tvMcc = ResHelper.forceCast(findViewById(R.id.tvMcc)); tvMnc = ResHelper.forceCast(findViewById(R.id.tvMnc)); tvPrecision = ResHelper.forceCast(findViewById(R.id.tvPrecision)); findViewById(R.id.btnSearch).setOnClickListener(this); DeviceHelper device = DeviceHelper.getInstance(this); etMCC.setText(device.getMCC()); etMNC.setText(device.getMNC()); etLAC.setText(String.valueOf(device.getCellLac())); etCELL.setText(String.valueOf(device.getCellId())); }
Example #2
Source File: EditPage.java From POCenter with MIT License | 4 votes |
public void onPause() { DeviceHelper.getInstance(activity).hideSoftInput(getContentView()); super.onPause(); }
Example #3
Source File: EditPage.java From YiZhi with Apache License 2.0 | 4 votes |
public void onPause() { DeviceHelper.getInstance(activity).hideSoftInput(getContentView()); super.onPause(); }
Example #4
Source File: EditPage.java From enjoyshop with Apache License 2.0 | 4 votes |
public void onPause() { DeviceHelper.getInstance(activity).hideSoftInput(getContentView()); super.onPause(); }
Example #5
Source File: EditPage.java From LiuAGeAndroid with MIT License | 4 votes |
public void onPause() { DeviceHelper.getInstance(activity).hideSoftInput(getContentView()); super.onPause(); }
Example #6
Source File: EditPage.java From Social with Apache License 2.0 | 4 votes |
public void onPause() { DeviceHelper.getInstance(activity).hideSoftInput(getContentView()); super.onPause(); }
Example #7
Source File: EditPage.java From Mobike with Apache License 2.0 | 4 votes |
public void onPause() { DeviceHelper.getInstance(activity).hideSoftInput(getContentView()); super.onPause(); }
Example #8
Source File: EditPage.java From LQRWeChat with MIT License | 4 votes |
public void onPause() { DeviceHelper.getInstance(activity).hideSoftInput(getContentView()); super.onPause(); }
Example #9
Source File: EditPage.java From BaoKanAndroid with MIT License | 4 votes |
public void onPause() { DeviceHelper.getInstance(activity).hideSoftInput(getContentView()); super.onPause(); }
Example #10
Source File: EditPage.java From MyHearts with Apache License 2.0 | 4 votes |
public void onPause() { DeviceHelper.getInstance(activity).hideSoftInput(getContentView()); super.onPause(); }
Example #11
Source File: EditPage.java From GithubApp with Apache License 2.0 | 4 votes |
public void onPause() { DeviceHelper.getInstance(activity).hideSoftInput(getContentView()); super.onPause(); }
Example #12
Source File: EditPage.java From fingerpoetry-android with Apache License 2.0 | 4 votes |
public void onPause() { DeviceHelper.getInstance(activity).hideSoftInput(getContentView()); super.onPause(); }
Example #13
Source File: EditPage.java From HHComicViewer with Apache License 2.0 | 4 votes |
public void onPause() { DeviceHelper.getInstance(activity).hideSoftInput(getContentView()); super.onPause(); }