[Sugar-devel] require some information from sugar to develop other plugins

Puneet Kaur puneet.gkaur at gmail.com
Mon Jul 28 15:30:14 EDT 2014


Hi all,

As I was developing other cordova plugins, I require some information from
sugar about the following :

1. Network connection - need to know what type of network the device is
connected to - wifi, cellular, no connection

2. Battery status - Watch the percentage of battery charged

3. Geolocation - Fetching the latitude , longitude etc details from network

4. Personalized Settings - Getting the prefered language etc

5. Fetching the friends details


Please let me know how I can retrieve all these. Kindly note I need to plug
in these info into a program so just getting to know from the output screen
wont do. I need to know the file / program in the sugar shell by the help
of which I can retrieve all these values.




Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140729/1259d19d/attachment.html>


More information about the Sugar-devel mailing list