lp:~ccabessa/ocsinventory-android-agent/ocsinventory

Created by Cédric Cabessa and last modified
Get this branch:
bzr branch lp:~ccabessa/ocsinventory-android-agent/ocsinventory
Only Cédric Cabessa can upload to this branch. If you are Cédric Cabessa please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Cédric Cabessa
Project:
OCS Inventory: Android Agent
Status:
Merged

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/.OCSEventReceiver

26. By Cédric Cabessa

force inventory with OCSEventReceiver

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.

24. By Cédric Cabessa

fix unit conversion bug for cache

dureeCache is in millisecond, so must be d

23. By Cédric Cabessa

change inventory file name (host + date)

22. By Cédric Cabessa

use OCSSettings instead of direct call to PreferenceManager

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.NetworkInterface to get all the other ip
(3g/ethernet/...)

20. By Cédric Cabessa

use variable name and not magic number

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.

18. By cdpointpoint

2.1.0.1 android version code to 16

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
This branch contains Public information 
Everyone can see this information.

Subscribers