Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
sofdigital
DroidPython
Repository navigation
Code
Issues
2
(2)
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
SL4A PhoneFacade
Jump to bottom
Edit
New page
michael edited this page
Nov 9, 2015
·
1 revision
Exposes TelephonyManager functionality.
checkNetworkRoaming
Returns true if the device is considered roaming on the current network, for GSM purposes.
getCellLocation
Returns the current cell location.
getDeviceId
Returns the unique device ID, for example, the IMEI for GSM and the MEID for CDMA phones. Return null if device ID is not available.
getDeviceSoftwareVersion
Returns the software version number for the device, for example, the IMEI/SV for GSM phones. Return null if the software version is not available.
getLine1Number
Returns the phone number string for line 1, for example, the MSISDN for a GSM phone. Return null if it is unavailable.
getNeighboringCellInfo
Returns the neighboring cell information of the device.
getNetworkOperator
Returns the numeric name (MCC+MNC) of current registered operator.
getNetworkOperatorName
Returns the alphabetic name of current registered operator.
getNetworkType
Returns a the radio technology (network type) currently in use on the device.
getPhoneType
Returns the device phone type.
getSimCountryIso
Returns the ISO country code equivalent for the SIM provider\'s country code.
getSimOperator
Returns the MCC+MNC (mobile country code + mobile network code) of the provider of the SIM. 5 or 6 decimal digits.
getSimOperatorName
Returns the Service Provider Name (SPN).
getSimSerialNumber
Returns the serial number of the SIM, if applicable. Return null if it is unavailable.
getSimState
Returns the state of the device SIM card.
getSubscriberId
Returns the unique subscriber ID, for example, the IMSI for a GSM phone. Return null if it is unavailable.
getVoiceMailAlphaTag
Retrieves the alphabetic identifier associated with the voice mail number.
getVoiceMailNumber
Returns the voice mail number. Return null if it is unavailable.
phoneCall
Calls a contact/phone number by URI.
uri (String)
phoneCallNumber
Calls a phone number.
phone number (String)
phoneDial
Dials a contact/phone number by URI.
uri (String)
phoneDialNumber
Dials a phone number.
phone number (String)
readPhoneState
Returns the current phone state and incoming number.
returns: (Bundle)
A Map of \"state\" and \"incomingNumber\"
startTrackingPhoneState
Starts tracking phone state.
stopTrackingPhoneState
Stops tracking phone state.
Wiki pages
Pages
33
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
How to add your Python scripts
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
How to create a custom APK
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
How to create a custom RPC facade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
How to debug run Python from the shell
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
How to update with latest SL4A
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
How to upgrade Python builds in APK
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A ActivityResultFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A AndroidFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A ApplicationManagerFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A API
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A BatteryManagerFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A BluetoothFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A CameraFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A CommonIntentsFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A ContactsFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A EventFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A EyesFreeFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A LocationFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A MediaPlayerFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A MediaRecorderFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A PhoneFacade
Loading
SL4A PreferencesFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A SensorManagerFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A SettingsFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A SmsFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A SpeechRecognitionFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A TextToSpeechFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A ToneGeneratorFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A UiFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A WakeLockFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A WebCamFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
SL4A WifiFacade
Uh oh!
There was an error while loading.
Please reload this page
.
Show 18 more pages…
Add a custom sidebar
Clone this wiki locally
You can’t perform that action at this time.