12-29-2011 02:37 PM
I have tried to run to the following audio recording examples:
I saved the code into an "index.html' and created a simple config.xml to grant shared files access.
I have successfully built the application and deployed onto my playbook.
Record, e:'undefined' is not an object.
I did a search and didn't find any related topics.
Also, I think this may have something to do with using google's api.
I have read about how to add features in config.xml, but I can't find a helpful example to tell me how I know where do I find the feature elements' details from "google" or other places.
Solved! Go to Solution.
12-29-2011 03:42 PM
Forgot to put
<feature id="blackberry.io.dir" />
in my config.xml.
But there's another question:
When will we need to access features under external domains? And how can we find out information (i.e. id) about these features from external domains?
<access uri="http://www.somedomain.com" subdomains="true"> <feature id="blackberry.app.event" required="true" version="1.0.0"/> <feature id="blackberry.invoke" required="true" version="1.0.0"/> </access
I don't understand the above code.
Thanks a lot!
01-03-2012 03:41 PM
For example if you had the following piece of code to go with yours
This would then mean that "someJS.js" can use event and invoke APIs.
Does that make sense?