开发者

is there a way to access bluetooth on android via adobe air

Can you access the bluetoot开发者_JAVA技巧h API of android via adobe air for mobile?


There is indeed a Native Process API:

http://tv.adobe.com/watch/adc-presents/invoke-native-process-in-adobe-air-2/

however, unfortunately, it doesn't look like it will allow you to do want you want.


I am not a Adobe AIR developer, but from what I know it is runtime for developing rich Internet applications that should run out of browser on your target device. So by default shouldn't be interested in accessing platform dependent resources and APIs. Even so, there is a possibility called native process API and here there is an example article, probably if you digg you'll find more information about it.

Create native installers allowing you to launch and communicate with native processes using standard input and output. Using the native process API, communicate with native libraries built using Java™ and .NET and native applications such as grep for file searching. You can also create operating system–specific installers (native installers). Applications that use the native process API must be deployed using a native installer.

Second step it would be for you document yourself, about the Bluetooth API of Android. They use BlueZ, so you could use the C API, or if your needs are not soffisticated you could use the Java API.

The actual response is yes, you can.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜