https://github.com/axiros/axact.androidsample
Axiros AXACT - Android Wrapper
https://github.com/axiros/axact.androidsample
android axact iot ndk tr-069 tr-143
Last synced: about 1 year ago
JSON representation
Axiros AXACT - Android Wrapper
- Host: GitHub
- URL: https://github.com/axiros/axact.androidsample
- Owner: axiros
- Created: 2017-07-10T14:22:11.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-08-27T00:39:35.000Z (almost 6 years ago)
- Last Synced: 2025-04-02T13:40:35.822Z (about 1 year ago)
- Topics: android, axact, iot, ndk, tr-069, tr-143
- Language: Java
- Homepage: https://www.axiros.com/axact
- Size: 34.8 MB
- Stars: 23
- Watchers: 31
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AXACT
`Axiros AXACT - Android Wrapper` is a wrapper for `AXACT`
This project contains a sample application to demostrate how to use TR-069 and TR-143.
`AXACT` is embedded in this project as an android library.
This version opens a blank activity `AXACT` is started as service on application run and is configured to run as background service. in order to stop the service uses developer options to see running tasks:
or call, fron any Activity:
```
stopService(new Intent(this, AxirosService.class));
```
## LIB proguard rules
To use minifyEnabled build on your APP please add the following line to your proguard-rules.pro:
```
-keep public interface com.axiros.axact.AXACTEvents {*;}
```
## Compiling on Android 6.0 (API level 23)
Beginning in Android 6.0 (API level 23), users grant permissions to apps while it
is running not when they install it. In order to request the required SDK permissions,
please be sure to call the _verifyServicePermission_ method before binding the
service and implement the _onRequestPermissionsResult_. Its return value will tell
where the bind can be made. A full sample can be found on MainActivity.
```
@Override
public void onRequestPermissionsResult(int requestCode, String permissions[],
int[] grantResults)
{
/*
* The option has already been chosen by the user. The bind can happen
* here.
*/
}
@Override
public void onCreate(Bundle savedInstanceState) {
if (AxirosService..verifyServicePermission(MainActivity.this) == false) {
/*
* Permissions were already given by the user. The bind can happen
* here.
*/
}
}
```
## Tested intensively on multiple devices at AWS Device Farm
As it is compiled using `Android NDK` it can run on multiples android version.