A new video has been added to the “Developing with Flash Lite” series – “Accessing the Camera using Nokia API Bridge“.
Nokia have begun to open up the API Bridge used by WRT widgets to Flash Lite developers, giving them native ActionScript classes to access hardware APIs for the camera, sound recording, and file upload. In this episode we dive into a demo of how to access the camera using ActionScript and Nokia’s API Bridge.
Download the demo files from here and the API Bridge class files and documentation here.



Really nice example. I have used Kuneri for accessing phones features. Now it is time to test all of these Nokia API Bridge possibilities.
Pasi
Thanks Pasi. From what I’ve seen, and no disrespect to the Kuneri guys, this is a simpler process particularly for Flash developers coming to the mobile platform and not having a great handle on things like SIS packaging, plug-ins, content UIDs, signing, etc. I’m hoping that Nokia roll out more access in this way to other device features, but camera access and file upload is a great place to start.
hi dale
this is a realy good tutorial , however i did exactly what you said in the video and i have the same phone as well ( nokia 5800) but it doesn’t work for me. i have the si file in the correct place and all that. the error i get is over unable to fine ‘port.txt’ which is coming from the apiBridge action script file in the si folder.
i did try the sis way and geting a certificate and the UID’s and get more confused than ever
Can you help me because its realy bugging me
Thanks
Hi Martina, so are you getting an ActionScript error when compiling the app, or something on the device?
ya it to do with a port number of some sort.This is my error when i run it on the adobe device central CS4:
FTPS033: A Call to loadVariables(c:siinovaitapibridgeport.txt) found, limitations might apply.
Session loaded
SessionID -1
Error loading Port
And when i press the TAKEPHOTO i get this after:
APIBridgeService constructor
callback [type Function]
http://127.0.0.1:9080/newfileservice?fileType=Image
FTPS033: A Call to loadVariables(http://127.0.0.1:9080/newfileservice?fileType=Image&apibridgewrapresponse=true) found, limitations might apply.
error
I tryed so many time to figure out where its coming from and getting nowhere. Would it got to do with the api or am i using the wrong settings?
You won’t be able to see API Bridge working in Device Central CS4, only on an actual device.
Dale,
A really great demo Congrats!!
i got it working just a little slip up thanks again