Hi all,
I've written a small mock-locationProvider-library for B4A in java.
In this case I have to say thank You for all mates, who described the how to build a a4b-lib! - It was my second try of making an own lib in eclipse...
... and had great succes
If anyone is interested in further informations about my lib, let me know it.
regards
bitstra
Edit: uploaded library (1.0) with demo project
The demo code is well commented.
The moclocationprovider - library devlivers 3 public void() out of java-lib.
1. enableMockProvider(...)
2. publishMockLocation(............)
3. disableMockLocation(...)
If u test it, have a look to all comments in the sample procet code, about using the lib.
Also have look to code structure in ServiceModule (Timer_Tick), for calling publishMockLocation().
After using the sample you have to reboot your device, because my lib functions use the system GPS_PROVIDER name by android os.
!!!Without reboot the buildin gps-hardware can't deliver location data to the system!!!
bye
bitstra
I've written a small mock-locationProvider-library for B4A in java.
In this case I have to say thank You for all mates, who described the how to build a a4b-lib! - It was my second try of making an own lib in eclipse...
... and had great succes
If anyone is interested in further informations about my lib, let me know it.
regards
bitstra
Edit: uploaded library (1.0) with demo project
The demo code is well commented.
The moclocationprovider - library devlivers 3 public void() out of java-lib.
1. enableMockProvider(...)
2. publishMockLocation(............)
3. disableMockLocation(...)
If u test it, have a look to all comments in the sample procet code, about using the lib.
Also have look to code structure in ServiceModule (Timer_Tick), for calling publishMockLocation().
After using the sample you have to reboot your device, because my lib functions use the system GPS_PROVIDER name by android os.
!!!Without reboot the buildin gps-hardware can't deliver location data to the system!!!
bye
bitstra
Attachments
Last edited: