Hi all,
I am currently trying to write my first 'hello world' application for my D2 Bravo Titanium watch. It's a kind of very simple App that has only one purpose : open an URL which in turn will start an action on a connected device.
So I downloaded the Connect IQ 2.1.2 SDK from garmin's website, configured eclipse to use it and am now able to test my first app in the simulator.
I used one of the provided samples (WebRequest) as a starting point for my project. So far I managed to test it successfuly from within the simulator, but as soon as I try the application on the watch, I rapidly get an error symbol IQ! message and nothing happens...
The error log file generated on the watch says :
ERROR: Symbol Not Found Error
DETAILS: Could not find symbol makeWebRequest.
STORE_ID: 00000000000000000000000000000000
.....
Here an extract of the code :
notify.invoke("Executing\nRequest");
Comm.makeWebRequest(
"hd1.freebox.fr/.../remote_control",
{
"code" => "12341234",
"key" => "vol_dec",
"long" => "true"
},
{
//"Content-Type" => Comm.REQUEST_CONTENT_TYPE_URL_ENCODED
},
method(:onReceive)
);
So my question : is it possible to use the Communication.makeWebRequest on the D2 Bravo Titanium watch ?
If yes are there some special keys to add or modify in the manifest.xml file of the project, or configuration in eclipse to set ?
Thx