10-09-2012 07:16 PM
Hello,
Forgive me if this is a stupid question (as it almost certain is) but I cannot for the life of me figure out how one actually goes about implementing the QNX Neutrino Utilities in a Blackberry 10 application.
I am referring specifically to those utilities that are listed in the API Reference alphabetically as simply "Utilities."
The documentation for them seems to be word for word taken from the QNX Neutrino documentation. It seems they are run from some sort of command line, and I can't seem to find any example or documentation of how this is incorporated into a Blackberry application.
Is the only way to access these utilities by building a BB application entirely from command line? Are these even available for use in BB applications (like I said, the utilities documentation on BB's website doesn't seem to have been written by/for BB...)
The only thing I could find is http://supportforums.blackberry.com/t5/Native-Deve
Thank you in advance for your help, and I apologize for such a vague question.
Solved! Go to Solution.
10-09-2012 11:15 PM
I guess you're just exploring, and don't necessarily have a specific use case in mind?
I don't actually think those utilities are listed primarily for use within an app, but rather for use by developers in developing, troubleshooting, testing, or other such things.
In any case, if you needed to use one of them in an app, and were willing to tied your app to them even though there's probably no guarantee they will always be present on the device, there are several approaches. The most direct one is to use the C library system() call.
10-10-2012 11:29 AM
peter9477, thank you very much for your reply.
For clarification: When you say "there's probably no guarantee they will always be present on the device," do you mean that certain of the utilities API will stop being supported in future SDK updates?
10-10-2012 11:41 AM
10-10-2012 12:05 PM
Moreover even if these utilities exist on the device there is no guarantee that they will work from within your app. Try ping (or traceroute) they do not work because "permission denied"
10-12-2012 12:57 PM
The Utilities section of the documentation is pretty much a straight pull over from the QNX Neutrino docs. Unfortunately this means that not all entries apply for BlackBerry 10. They will be cleaned up in the future, removing entries that you can't use. For now consider these an experimental use at your own risk set of utilities.
10-12-2012 01:02 PM
Thank you Mark, I appreciate the info.
Related question for you: since the wpa-related utilities are up in the air, any new info about wifi APIs in general? I.e. listing available networks, connecting to specific SSID, etc... Right now it seems very limited, but I don't see anything on the roadmap.
Thanks!
10-12-2012 01:36 PM - edited 10-12-2012 01:37 PM
The roadmap is all I can comment on at this point.
I encourage to to enter any feature requests that aren't on it in Issue Tracker: https://www.blackberry.com/jira/secure/Dashboard.j
11-15-2012 08:56 PM
Well that issue tracker link has never worked any time I tried it; Additionally, it appears BB is rolling out in a couple of months, and still no word on the above-mentioned functionality. Are we to assume that it will not be there?
11-16-2012 10:36 AM
What works now should work on the final release, but again consider all of these items experimental.
Our documentation team is planning to update that list to trim it down to what is supported.