Skip to content

asedali/codebakery-plugin-cellinfo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codebakery-plugin-cellinfo

This plugin defines window.CellInfo object, which adds methods for getting primary and neighboring cell information as well as network type.

CellInfoData object

{
    'cid': Number,                 // cell ID in GSM
    'lac': Number,                 // LAC in GSM
    'psc': Number,                 // primary scrabling code for UMTS, -1 for GSM
    'networkType': String,         // network type string, e.g. 'GSM' or 'UMTS'
    'generalNetworkType': String,  // general network type: '2G', '3G, '4G', 'CDMA' or 'Unknown'
    'rssi': Number                 // received signal strength in dBm
}

Methods

  • window.CellInfo.getNeighboringCellInfo - returns list of CellInfoData objects
  • window.CellInfo.getPrimaryCellInfo - returns CellInfoData object

Supported Platforms

  • Android

Android Installation

API level 7+ supported.

Requires ACCESS_COARSE_LOCATION permission.

About

CodeBakery Cell Info Plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 93.9%
  • JavaScript 6.1%