Hello,
We are trying to make API Bridge for WRT working since 2 weeks with no luck both on my emulators and devices. As a first step I am trying to run the APIBridgeTest sample widget from the API Bridge package.
Here is my setup:
Windows Vista 32bits
Symbian 5th Edition SDK + API plugins installed
Symbian 3rd FP2 SDK + API plugins installed
N97 SDK
Devices:
Nokia N97 (Symbian 5th)
Nokia N8 (Symbian^3)
I downloaded API Bridge v1.1 and unziped ApiBridge_Emulator.zip install directories of my SDKs.
I imported APIBridgeTest project into Aptana and WgzInstaller project into Carbide C++, they compile fine.
Test 1: Fail
I launch the simulator of any of my SDKs using emulator.exe and install the APIBridgeTest.wgz widget using File->Open then run it, when I call any API bridge API I can see the call in the diagnostic window, eg:
But never get a response. After 5 retry the APIBridgeTest displays:
ERROR - code 1000;ErrorMessage: 0;
Test 2: Fail
I launch the simulator of any of my SDKs using APIBridge_20023710.exe and install the APIBridgeTest.wgz widget using File->Open then run it, when I call any API bridge API I can see the call in the diagnostic window, eg:
always returning the response:
Response: Error 404: "Not Found"
The APIBridgeTest.wgz then displays:
ERROR - code 1000;ErrorMessage: 404;OK
Test 3: Fail
I launch the simulator of any of my SDKs using APIBridge_20023710.exe (to get the API Bridge proxy running). Then I launch APIBridgeTest.wgz in Aptana emulator. I also get :
ERROR - code 1000;ErrorMessage: 404;OK
on any API Bridge call. The debug stack trace is:
Code:
'widget' is undefined.
at anonymous() (APIBridgeTest/inuit/apibridge.js:162)
at anonymous() (APIBridgeTest/main.js:20)
at anonymous() (APIBridgeTest/inuit/apibridge.js:425)
at onLocationClicked() (APIBridgeTest/main.js:95)
at JScript - onclick function() (APIBridgeTest/main.html:20)
Invalid argument.
at anonymous() (APIBridgeTest/inuit/apibridge.js:28)
at anonymous() (APIBridgeTest/inuit/apibridge.js:56)
at anonymous() (APIBridgeTest/inuit/apibridge.js:194)
at anonymous() (APIBridgeTest/inuit/apibridge.js:170)
at anonymous() (APIBridgeTest/main.js:20)
at anonymous() (APIBridgeTest/inuit/apibridge.js:425)
at onLocationClicked() (APIBridgeTest/main.js:95)
at JScript - onclick function() (APIBridgeTest/main.html:20)
Unspecified error.
at anonymous() (APIBridgeTest/inuit/apibridge.js:29)
at anonymous() (APIBridgeTest/inuit/apibridge.js:56)
at anonymous() (APIBridgeTest/inuit/apibridge.js:194)
at anonymous() (APIBridgeTest/inuit/apibridge.js:170)
at anonymous() (APIBridgeTest/main.js:20)
at anonymous() (APIBridgeTest/inuit/apibridge.js:425)
at onLocationClicked() (APIBridgeTest/main.js:95)
at JScript - onclick function() (APIBridgeTest/main.html:20)
Test 4: Fail
I followed the steps here :
http://wiki.forum.nokia.com/index.ph...eb_Runtime_API
to deploy on device (using Open Signed Online) on N97 and N8. The installation fail with "unable to install" on the N97. On N8 it is successfull but the widget is not shown in the application list.
Test 5: Success ( almost )
I installed the APIBridgeTest.wgz and APIBridge_v1_1.sis manually on both phones. It is working on the N97!
It is not on the N8 (installation is ok, but the widget does not access APIBridge functions).
What's wrong with all this ? I want to be able to debug my app on simulator (either from aptana or carbide) and I want to be able to deploy the widget using a .SIS on both Symbian 5th and ^3
Why is the manual installation not working on the N8 ? Does Symbian^3 supports API Bridge?
Many thanks