Newbie wanting to AIR w / extensions to native code and the Protocol of Android accessory

My interests include prototyping and very specific to very specific real-world applications of programming solutions.  So I bought a Playbook after viewing the quick "prototyping" video in this blog:

http://devBlog.BlackBerry.com/2011/12/BlackBerry-PlayBook-Arduino/

I tell myself I can do cela or something similar with PIC Basic Pro and a Microchip IC.  Although it has been nearly six months, from what I can tell, the RIM developers have failed to deliver on explaining how to use native code and the ancillary Protocol Android to connect in series on client's port to the mini-USB of the Playbook.

Is RIM people please, show us how set up the programming environment, use the code, the mini-USB port on client Playbook, the adapter USB (where to buy, what is it exactly?), so we can use the USB client connected to an Integrated Circuit Programmable to connect in series with an AIR running on the Playbook application.

Kenneth Mark Klausner

How this kind of thing is that you have the hardware (Controller USB etc.), and there different registers, buffers, etc. that must be handled.  The first layer of software, what made this manipulation, is a device driver. While in some operating systems (Linux, for example), you can write yourself, or port code Besides, material in the PlayBook is accessible only by the drivers as part of the operating system, which means that the RIM should provide their.

These drivers are may be incomplete. We do not know that for some.

Drivers expose a particular interface to the next higher step of the software, an interface that must be respected. This interface is generally quite low, and the driver can support the features that cannot be exposed to third party software, so for this and probably other reasons, we can not directly access (and are prevented by security mechanisms).

There is another layer of software on top of the pilot, commonly called a library. This library is also provided by RIM, as part of the operating system.

This library can be incomplete as well. We do not know the details, but I suspect someone who knows this level of the design of the system and who attended the BB10 Bluetooth and USB discussion group would be able to interpret what they heard there to clarify.

It's this library which provides what we call a bit of hand-wavingly API 'USB '. This is an interface in C language, with a set of data and calls structure function definitions that enable higher level code perform different operations related to USB.

If you want to write a DONKEY, you write about this library, not the level of driver and not material. You have no choice in this matter, as it is applied by the security of the OS.

So to sum up, if we refer to 'USB API' they're talking about essentially the library routines, and it is necessary to talk to this API to get whatever it is the case here.  The API can be described in the header files (there is something), or maybe he's going to be an API different than what I see out there. Whatever it is, it is undocumented in other places at the moment, so all who want to enter this need to make much low level experiment (talking to the library).

They can have the documents which cover this and perhaps code samples to talk to the library. If the version of the operating system we have has the incomplete versions or buggy drivers or libraries, this could explain why they have not pushed this documentation and code for us.

I think that I heard that they are gathering input (requirements, use cases, comments) from people in this session.  Who tells me that they are still working on some details, and when they are at a stage like that they simply don't tell us publicly where they are, deadlines, or what it will look like when it is done.

And so expect.

Tags: BlackBerry Developers

Similar Questions

  • I got a new macbook pro and I want to spend my Adobe Creative Suite: Production Premium programs on it. I have no more the installation disc. I have my product code and the serial number for the facilities so. How can I do?

    I got a new macbook pro and I want to spend my Adobe Creative Suite: Production Premium programs on it. I have no more the installation disc. I have my product code and the serial number for the facilities so. How can I do?

    Download and Installation Help-

    https://helpx.Adobe.com/download-install.html

    CS3 - http://helpx.adobe.com/creative-suite/kb/cs3-product-downloads.html

    CS4 - http://helpx.adobe.com/creative-suite/kb/cs4-product-downloads.html

    CS5 - http://helpx.adobe.com/creative-suite/kb/cs5-product-downloads.html

    CS5.5 - http://helpx.adobe.com/creative-suite/kb/cs5-5-product-downloads.html

    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html

  • Office 2010 native thinapped and the Server 2003 terminal server, default programs

    Hello, I have problems with 2 versions of office again. I have 2010 is installed natively on the terminal server server and thinapped version of Office 2003. I am not having success trying .doc, .ppt .xls etc to open in Office 2010 by default for all users. Don't know if it's problem of thinapp, but any help would be appreciated. I tried to use the CDSA in installation mode command, but did not help.

    Did you use thinreg.exe to save on Office 2003 or the MSI packaged? If so, and if you have file types = and ObjectTypes = entered for your entry Points to register the specified file types and the types of objects to the package. Simply remove the = and ObjectTypes = entered the package.ini file types and rebuild. Now you can always use thinreg or MSI to create shortcuts to Office 2003 but leave any file associations types intact.

  • Hello. I have a problem in the adobe extension manager. Where I have this message when I want the Photoshop module. (Cannot install the extension generator longshadow please make sure that the manifest.) This extension XML is valid and the extenison m

    pic.JPG

    Help

  • Install an extension CS on Mac and the issuance of certificate

    Hello

    I have a creative Suite Extension I am trying to install on MAC, but I get a warning message when you try to install it. I think that the problem is to get the Extension certified by Adobe, how are you going to get this done? Here is a screenshot of the error I get.

    certificatoin_error.jpg

    Yes, there is a bug:

    posted.html http://blogs.adobe.com/cssdk/2011/12/Fix-for-extension-signature-bug-on-Mac-OS-10-7-Patch-

  • Want to Phoenix 860-010: problem with fonts and the noisy fan

    I have a new machine, just a day old, and I'm having a problem with fonts.  The file Explorer, Edge and other similar programs seem to go from a very readable font that lights up in half a second or less whenever I move down on the page in these applications.  Police that results is much more difficult for me to read because of the lightness that results. I have not met this problem before.  Frankly, I don't know the source of the problem.  Is it hardware (video card) or (Windows 10) operating system software?

    Hello @PhotoGene47,

    Thanks for the quick response!

    Have you tried to see the document that I mentioned in my previous post?  If you prefer to have the Board repaired, you can consider contacting the HP support by phone for additional options.  Please use the following http://www.hp.com/contacthp and create a folder for your question and contact HP. If you do not live in the United States / Canada, please click on the link below to get contact information for your region.
    http://WWW8.HP.com/us/en/contact-HP/WW-phone-assist.html

    I hope this helps.

    Please let me know if this information helps you solve the problem by marking this message as 'accept as Solution' , this will help others easily find the information they seek.  In addition, by clicking on the Thumbs up below is a great way to say thank you!

    Kind regards!

  • Is it possible to include a native executable in the extension package?

    Hello

    I need to call the native code of the CS using the NativeProcess API extension.

    Is it possible to distribute a native executable file in the extension package?

    It seems that there is a way to include a 'regular' in a hybrid extension file, however, the file must be installed in one of the predefined locations (for example, "$applicationsupport").

    The problem is that to create a NativeProcess object in the extension code, I need to know the correct executable path, and I can't seem to find a way to know where exactly the executable file was placed by the installation of the extension program.

    Is it possible to install an executable file in the folder of the extension (that I can get to CSXSInterface.getInstance (.getSystemPath(APPLICATION)))?

    Thank you

    Anatoly

    Is it possible to install an executable file in the folder of the extension (that I can get by using CSXSInterface.getInstance () .getSystemPath (APP))?

    Well Yes, the answer depends on how you are packaging your extension.

    If you use the Builder Extension, you just need the executable file and are automatically copied into the folder bin-debug during the build process. The easiest way to do this is to put the executable file under src / folder. Another option is to make your own resources / directory and add it to the project's source path (see the section "Adding resources files, the path of the source project" here: http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WS6f97d7caa66ef6eb1e63e3d11b6c4ce74 9 - 7fd8.html). Once you have copy to the folder bin-debug, you're ready, you can start or export as usual and your executable will be reflected in the record of the extension.

    If you use ucf.jar, just make sure that your executable is the file extension that you're packing.

    You will need to should not create a hybrid extension in order to have a CS extension that uses NativeProcess.

  • When I select 'tools' 'Add-ons' my extensions won't poster and Add-ons won't load what can I do to view in order to change the options?

    I have the 'Add-on' and 'the extension manager' Add-ons installed. Extension manager does not display the extensions that I use and the add-on Manager shows it loads the page but will not charge. I tried all the troubleshooting suggestions but none will fix the problem. How can I fix this problem so I can manage my Add-ons

    try to remove/rename the following files, if present in your profile folder - they store information about your extensions & might have gotten corrupted: extensions.ini, extensions.cache and extensions.rdf, extensions.sqlite extensions.sqlite - newspaper (they will be regenerated the next time you launch firefox).

    ALS see https://support.mozilla.org/en-US/kb/Unable%20to%20install%20add-ons#w_co...

  • Partitioning hard drive, I want to spend 30/40 GB drive and the remaining space for the creation of other partitions.

    I created a recovery disc for my system that I bought the new laptop.
    It consist of 500 GB HARD drive, now the problem is the C - drive which is my WIN7 Home Basic installed occupies 400 GB of space and the D-drive has only 25 GB.
    My problem is I want to partition the drive C so that the other player must occupy the space according to my condition.
    But here its only gives me half the space to shrink.
    I mean, when I opened diskmgmt to shrink, C this is 200 GB disk space allotted to me.
    Medium I can use this space to create other partitions, but what I want is, I want to spend 30/40 GB C drive and the remaining space for the creation of other partitions.
    Help, please... Thnks...

    That's what we tried to tell you. An OEM installation does not lend itself to change and having to clear guarantees for re-setup means that you must be quite certain that you have other reliable ways to re-setup.

    If you want to dabble with Linux or dual boot, you should buy a complete commercial edition of Windows 7 that will give you more flexibility and accept that for drivers etc, you're on your own...

  • AIR ActionScript Extensions

    Hello

    I'm interested in the interaction between an application AIR and C of native applications. The information I've found so far are well described in this book. What the book is missing from my point of view is an example of how to code part C. He talks about some available demo files when developing for television, but these are available only when seen - apparently - a kind of additional license.

    When you install the BlackBerry SDK, I found the file FlashRuntimeExtensions.h (lib) file, which is exactly necessary to develop extensions to the ActionScript. So, no matter who ever done something like this before? Someone at - it demo source files? BlackBerry provides more information on this?

    Thanks in advance

    This has yet to be released to the developer community. Maybe a little later this summer.

  • Last of Google Services (v. 21) ANE + extension airmobile native could not resolve interface

    I try to add the last Google Plus (google-game - services.jar) support of a mobile Air application by creating a native extension.

    Code not errors of compilation or warnings, the POT is very well implemented, DONKEY is built and included in the project without problems.

    but when I run my apk, it crushes. Device-crush-logs I see following error:

    12. 04 23195 23195 11:08:18.602 I dalvikvm: could not resolve mCol/google/example/games/basegameutils/Gamehelper1034743; interface 940 "MBCA/google/android/gms/common/api/GoogleApiClient$ ConnectionCallbacks";
    12-04 11:08:18.602 23195 23195 W dalvikvm: link class ' MBCA/google/example/games/basegameutils/Gamehelper1034743'; failed

    At first, I tried to build an extension of the empty project, all by myself.

    After that, I found an extension to open source on github http://github.com/alextel69/google-play-game-services-ane/

    I compile this extension and include in my project of mobile AIR and it works fine, but the google-game - services.jar is too old and does not provide classes, that I need.

    so, I tried to replace it is libs/google-game - services.jar and libs/android-support - v4.jar with those more recent that I had in my Android SDK Manager.

    And that caused the errors above.

    In this way, I did not change a single line of code, or ANT build.xml or anything else, I just changed the old support android - v4.jar + google-game - services.jar (works very well!) with the latest android-support - v4.jar + google-game - services.jar (failure). I mean DONKEY is built very well, even, the extension is created and some of its working methods and return values, but as I referense to the google code service, I get this strange error.

    Although the interfaces in new and old jars appear to be equal: https://dl.dropboxusercontent.com/u/13839683/ane/jars_compare.png .

    jars_compare.png

    Moreover, these errors appear in the mobile AIR only. Pure native application using these android-support-google-game + v4.jar - services.jar have no problem.

    Here is a brief outline of my native extension:

    https://DL.dropboxusercontent.com/u/13839683/ANE/scheme.PNG

    scheme.png

    And here is a log of complete the birth of expansion and up to his crushing device: http://pastebin.com/iqvR3niD

    ----

    INB4

    ----

    I discovered this problem very carefully and found several son simular, but none of them solved my problem

    (1) the solution of problems-interface http://stackoverflow.com/questions/22956979/google-plus-ane-air-native-extension-failed-re

    > jar xf /path-to-play-services-project/libs/google-play-services.jar

    > jar uf./my_gplus_extension.jar. / com

    does not solve everything.

    (2) the manipulations with Eclipse http://stackoverflow.com/questions/23104532/adobe-air-4-0-native-extension-with-google-pla y-services do not help either (after all, I build with ANT JAR).

    (3) I change resourses (\google-play-services_lib\res\*.*) during the transition to a new google service library.

    (4) I even tried to extend the interfaces to google and changed my Gamehelper1034743 for their implementation, but that did not help either (http://dl.dropboxusercontent.com/u/13839683/ane/extend_interface.jpg).

    extend_interface.jpg

    Thanks for the response, Alexey! I will definitely read this article.

    Also, I have to say, that I managed to partially solve this problem. I asked the same question on the starling forum and he is member of tsangwailam suggested I replace the dx.jar in the AIR SDK to new Android SDK.

    replacement of dx.jar has really helped. I took %ANDROID_SKD%\sdk\build-tools\19.1.0\lib\dx.jar and copied to %FLEXSDK%\lib\android\bin\dx.jar

    and the expansion began to work properly!

    but...

    as soon as I run a SingInActivity activity

    Intent intent = new Intent(context.getActivity().getApplicationContext(), SingInActivity.class);
    context.getActivity().startActivity(intent);

    my application becomes idle - fails to manage the keys.

    It seems that some invisible modal popup appears and does'n enable my application grab taps.

    after reduction and restoration of my application, I see that SingInActivity steps in the process 'protected Sub onStart()' and I know that my CCP "sees", because I connect using FREContext.dispatchStatusEventAsync () in the my Flash textfield, but demand is stil not able to manage the users entered (both native flash and starling/stage3d TouchEvents)

    It is interesting to note, that when my AIR application loses the ability to manipulate the keys, Android navigation buttons turn of points hidden in buttons:

    https://DL.dropboxusercontent.com/u/13839683/ANE/untouchable.PNG

    regarding the unit log, I don't see there any erros or Java ecxeptions or nothing (at least for me) that could explain such behavior.

  • Newbie: faced with AIR-LAP1242

    I bought an AIR-LAP1242AG-E-K9 cisco and I can't do a thing with it. I have an another cisco AP which is an AIR-AP1242AG-E-K9 and who has a web interface and the CLI commands work. What does the 'L' in real terms? I know it is a synonym of light but I put an ip address in the LAP1242 but I can't no matter what web interface to the top and I just want to use the device as a wireless access point network have I bought a lemon?

    Tony,

    the 'L' does indeed stand for light; This means that, in order for this access point to the function must be connected to a Cisco of Lan controller (WLC) wireless. In light mode all the configuration is done on the WLC, AP is a bit like a dumb terminal. If your AP behaves exactly as it should be, as there is no web interface.  If you want to use this AP as your existing one, you need to convert to IOS and put an autonomous access point.

    To do this you will need and IOS Image for this AP, a TFTP server and follow the instructions in this link

    http://www.Cisco.com/en/us/docs/wireless/access_point/1240/installation/guide/124h_c3.html#wp1038660

    I hope this helps... Feel free to write it down.

    Thank you

    Kayle

  • Currently, I run the design and the Web Premium CS6 on a first generation MacBook Air and want to buy a new MacBook Pro. How will I know if I can install my programs on the new Adobe computer? Because I know that there is some sort of limit.

    Currently, I run the design and the Web Premium CS6 on a first generation MacBook Air and want to buy a new MacBook Pro. How will I know if I can install my programs on the new Adobe computer? Because I know that there is some sort of limit.

    Also, I had to install the software twice on my computer before because I had to restart the computer. I don't know if this affects the limit.

    You are allowed to have two facilities activated, so it shouldn't be a problem with facilities to work on both machines.  If by chance you somehow tied up two activations for a machine you can have Adobe support help solve this cat thrue.

    Serial number and activation support (non - CC) chat

    http://helpx.Adobe.com/x-productkb/global/Service1.html ( http://adobe.ly/1aYjbSC )

  • Native extensions and the GPL

    Hi all

    I hope someone can give me an opinion or an idea of how the GPL applies to Adobe native extensions.

    I have converted a library GPL'ed in a native IOS extension for use in my Flex app.  I'm sure I need to publish the source code of the revised version of the GPL'ed native library (including the ActionScript ANE part) as required by the GPL. What I'm not sure, this is if I am required to publish the complete source code for my application (the forth part only worn the native extension). Looking at the architecture of the ENA, it seems that ENA is separate from the main application.

    I posted the question to the forum from the developer, but I get no answer.

    Any response will be greatly appreciated.

    Tahnk you!

    Hello:

    According to this (http://www.gnu.org/licenses/gpl-faq.html#GPLInProprietarySystem) you need to open source any piece of software that uses the library under GPL. In other words, you need to make your request for free software.

    This http://www.gnu.org/licenses/gpl-faq.html#GPLWrapper FAQ also eliminates the possibility of encapsulating your DONKEY as a different project open source wrapped with another compatible license GPL.

    The best way is to look for alternative library LGPL

    Thank you

    mathyas

  • Chemometrics - Non-linear Iterative Partial Least Squares, MathScript and G-Native Code

    I worked with a client on a spectroscopy system and he asks me to do the analysis in components in the application I'm building for him. The current method, I found is what several people have built with MatLab scripts for least partial square. That's great and it works; However, I wanted to convert the native GCode script because I'm that guy.

    After a few days, I was finally able to get the results of the two screws is similar, but not the same thing. I was not able to find an explanation for it on the forums or elsewhere. The important thing I found is that LabVIEW breaks a little when you have a vector calculation as a ' * a, which should translate into a scalar value or a 1 x 1 matrix. When you use this value in another equation, such as the projection X'* a /(a'*a), LabVIEW works only on the first element of X'* a.

    Here, it's in the GCode with the work around to correct one ' * a result:

    It seems unusual that GCode treat a scalar result incorrectly. It was annoying, but I was able to go beyond that.

    My next question is there is some apparent rounded differences between GCode and MathScript that I was not able to explain. This difference amounts to about 1% in the data I have to analyze. I've included the project where I worked to compare the two methods. In the NIPALS_Conversion_LV.vi the left side of the block diagram has a loop structure For which is where the model is generated using the NIPALS and the right side is the application of the model. The NIPALS_Converison.vi contains the original code of MathScript where I worked with.

    Note that the difference between the two results is due to the calculation of you and matrices of B, which are related to each other because of the u. I probed the two vi extensively and everything is equal between them until the calculation of the elements in u. The equation in question is u = Y * ((Y'*t1) / |) (Y'* t1) |), even if it is expressed somewhat differently in the code.

    Any help on this would be greatly appreciated.

    Thank you

    Drew

    Drew,

    I took a quick glance to your project and for me, it seems that you have correctly translated the MathScript in its equivalent in the graphical representation.

    My first inclination on why you see this slight rounding error, is that the functions used in LabVIEW and MathScript can be different (from different DLLs). How these functions given floating point rounding may be different and spreading them error thanks to each iteration of the loop. I suspect that you notice that the error at this time in the program. If you compare every step of the script from the execution of LabVIEW and look out past 10 or if the bits of accuracy, I think you will see this error increase slightly after each step.

    If you can find a specific function during which a significant difference between the script and LabVIEW execution occurs, I'd be happy to review the functions and the differences between the LabVIEW MathScript implementations of functions.

    -Nick-

Maybe you are looking for