×

Discussion Board

Results 1 to 2 of 2

Thread: API Bridge WRT

Threaded View

  1. #1
    remy_david
    Guest

    API Bridge WRT

    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
    Last edited by remy_david; 2010-09-22 at 17:14.

Similar Threads

  1. Wrt + Flash Lite + API Bridge does not work fine for upload file on 5800 and 5530
    By yhalka in forum [Archived] Flash Lite on Nokia Devices
    Replies: 8
    Last Post: 2010-07-21, 07:21
  2. Using api bridge for custom ViewFinder
    By Christophe.A in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2010-04-14, 12:23
  3. How to use API bridge using symbian C++
    By sumit.ece in forum Symbian
    Replies: 3
    Last Post: 2010-03-22, 14:10
  4. How to use API bridge
    By sumit.ece in forum Symbian
    Replies: 2
    Last Post: 2010-03-22, 13:45
  5. flashlite api bridge - media management
    By kinski76 in forum [Archived] Flash Lite on Nokia Devices
    Replies: 4
    Last Post: 2010-02-23, 10:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×