View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#350
Hi ! I've released an update for modRana (V0.34.5), that should fix the issues with "food search" triggered from Saera. ModRana now autoconnects if the device is offline and waits for both GPS fix & Internet connectivity be properly established before starting the search. There is now also proper visual feedback during the whole process.

Regarding the crash with active USB mass storage, I've not been able to reproduce it. ModRana just complains it can't store map tiles but still properly downloads them from the Internet & displays them.

On a related note, I found a few commands a libraries that might be useful for Saera:

Autconnect to the Internet
Code:
dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"[ANY]" uint32:0
Disconnect from the Internet
Code:
dbus-send --print-reply --system --dest=com.nokia.icd2 /com/nokia/icd2 com.nokia.icd2.disconnect_req uint32:0x8000
There are more examples on the phone control wiki page, but I'm sure Taixzo knows it.

Libconic & python-connic
there is a bunch of examples, such as:
  • tracking the connectivity state with callbacks
  • listing Wireless APs, connecting to them
  • proxies
  • connection statistics

MCE DBUS interface
This is the MCE DBUS interface documentation.
It can be used to:
  • display state tracking (on, off, dimmed,...), turning display on/off
  • preventing display blanking
  • lock control
  • LED control
  • vibration control
  • device orientation tracking
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 14 Users Say Thank You to MartinK For This Useful Post: