lp:~ccabessa/ocsinventory-android-agent/ocsinventory
- Get this branch:
- bzr branch lp:~ccabessa/ocsinventory-android-agent/ocsinventory
Branch merges
- OCS Inventory Dev Team: Pending requested
-
Diff: 433 lines (+98/-72)11 files modifiedAndroidManifest.xml (+2/-1)
src/org/ocsinventory/android/actions/Inventory.java (+2/-2)
src/org/ocsinventory/android/actions/OCSFiles.java (+18/-15)
src/org/ocsinventory/android/actions/OCSProtocol.java (+9/-3)
src/org/ocsinventory/android/actions/Utils.java (+7/-0)
src/org/ocsinventory/android/agent/AboutDialog.java (+6/-6)
src/org/ocsinventory/android/agent/AsyncOperations.java (+2/-2)
src/org/ocsinventory/android/agent/OCSAgentActivity.java (+0/-1)
src/org/ocsinventory/android/agent/OCSAgentService.java (+33/-28)
src/org/ocsinventory/android/agent/OCSEventReceiver.java (+3/-0)
src/org/ocsinventory/android/sections/OCSNetworks.java (+16/-14)
Branch information
Recent revisions
- 27. By Cédric Cabessa
-
add extra to OCSEventReceiver to save inventory on disk
You can test it with the command:
adb shell am broadcast --ez save_inventory true org.ocsinventory.android. agent/. OCSEventReceive r - 25. By Cédric Cabessa
-
remove OCSFiles singleton
We cannot have a reliable timestamp as filename with a singleton.
Moreover, constructor was public and the call to initInstance is confusing.
Create a new file (with a new timestamp), each time we want to write. - 21. By Cédric Cabessa
-
change adress detection
We use WifiManager first, it give us lot of info and is easy to use.
Then we use lowlevel java.net.NetworkInterfac e to get all the other ip
(3g/ethernet/...) - 19. By Cédric Cabessa
-
Do not force to enable wifi
For some reason, this do not works on all devices. Sometime wifi is switched on and never
switch back off.
A inventory software should not "mess" with the network interfaces, if wifi is off this address
should not be reported.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ocsinventory-android-agent