BB10 Native for Android

I developed a BB10 QML app for the user interface and C++. The C++ part includes lots of resources Qt (QtCore, QString, QStringList, QSLOTS, QSIGNAL, etc..)

I want to wear this app for Android and think that the simplest way would be to use Qt Creator and reuse as much as possible the QML and C++ code.

The other way would be to port throughout Java, but I think it would be a lot of similar efforts to rewrite everything from scratch.

Does anyone have some experience porting BB10 apps for Android and if QML/C++ and QT Creator/Android NDK would be the best option in my case?

I agree with you about java being more difficult, in Android, most of the components have weird names and don't really make sense, then add in the fact that you can't really do anything without knowing how to multi thread (in java) or bog down you the user interface.

Qt is much friendlier =)

I'm reverse engineering my stunts to Qt Android apps.

Looks like a fairly simple process... I recommend the continuation of this video (T) to get setup correctly.

http://www.YouTube.com/watch?v=_nkhlhBwkjk

Once you are installed, is almost the same thing as waterfalls except without the UI optimizations and fancy... Get ready to create your entire user interface (bars navigation, fancy buttons, etc.) and possibly the problems that may not work as expected by default (like camera )

Quite a few examples to start qt creator integrated projects, these documents will help as well

http://Qt-project.org/doc/Qt-5/qmltypes.html

Tags: BlackBerry Developers

Similar Questions

  • Edition simple application Native for Android

    Is it possible to create a native application for android (google-store game) with simple editing of DPS? Or y at - it another way to do this?

    Unique Edition is for iPad only. If you want to target Android you need a business account or company DPS.

  • Is it possible in Firefox for android to use native handlers?

    In Firefox for windows or Linux, I can save a URL handler (for example, mailto :) but android takes this to a new level with intentions which can save stakeholders for the URI of the individual both in terms and types of mines.

    Are there plans to support mode useful android native (for example to manage a transition from twitter.com to the native twitter app), or maybe an add-on to support something similar? I already found https://addons.mozilla.org/en-US/android/addon/open-native-app/ but it's a manual process, rather than automatic.

    http is a website, Firefox browsing Web sites. We do not expect people sparkles to the native application for such things. We do not support loading resources that list the applications for assistance. For example, if you load a Google Maps page there is an icon in the address bar that will have information on the page and move on to the Android's Google Maps app.

  • Please tell me why to do 2 different folio screensize for iOS as it is native on Android?

    Hello

    If you run your magazine on iPad and iPhone, you can get the same problem as me (or you might have the solution).

    In the Android version, your folio which is usually for iPad from the beginning, can be opened natively on Android devices with black on both sides line, very well some clients that have not been compressed are happy to have a version on smartphones, even, that it is smaller and harder to read.

    But the size iPad folio can be read natively on the iPhone (any screen of 4s / 5s...).

    First of all, I was wondering why it may be ok on all android devices, I tried.

    And secondly what is the screen size I should do for the folio for iPhone version, all size because I tried, I found problems... never found the good screensize to export my foilo in the size of the screen of the iPhone/iPod. the only solution I found is to rebuild all of my InDesign pages and make the false black line in my documents... I guess that there is a solution much easier than this, and I really want to know!

    If you could help me so I really appreciate it!

    See you soon

    Hi Rihze

    Don't know if this is the best way, but it worked for me

    I started with the ipad version. 1024x768px.

    Then, I created a new folio for the iphone version. 960 × 640px.

    I use the same content, but the layout, that I was forced to change to fit the smaller screen.

    I didn't have black edges in the iphone 5, so I created a new folio for 1136 x 640px.

    I use the same documents that were, but changed the size of the page in indesign and changed some of the layout.

    Concerning

    Ake

  • What type of internet connection for my application using BB10 (Native)?

    Hello

    If is it possible to know to check the name of WiFi in the BB10 (Native) application development?

    How will I know that my application is connected to the WiFi or cellular network in the development of BB10 (Native) applications?

    Take a look at my solution here.

    Bhargav11 wrote:

    Hello

    If is it possible to know to check the name of WiFi in the BB10 (Native) application development?

    How will I know that my application is connected to the WiFi or cellular network in the development of BB10 (Native) applications?

  • Is it possible application kernel BB10 call BB android Runtime?

    Hello everyone, I'm trying to call BB10 core application Android app, but get the error saying "action not taken in charge.

    Here's the code to start the BB AppWorld from the Android app

    URI uri = Uri.parse("appworld://"); "

    Intent intent = new intent (Intent.ACTION_VIEW, uri);

    startActivity (intent);

    It works very well. But when I replace "appworld: / / ' with the Uri of a native app, it shows me ERROR.

    Waiting for your response.

    Thanks in advance

    -Abid

    Only some system applications can be started this way of Android.  Launch of a 3rd party native app for Android is currently not possible.

  • TBird app for Android?

    I was wondering if Mozilla has plans for a TBird app for Android. I know that I can use the app (s) native on the phone for messaging, but I can't find any way to sync my calendar and tasks, something that would be great to be able to.

    I have the true Apple fan that I assume... Laughing out loud

  • All plans to support Native Code Android?

    I'm deploying an android game using libgdx framwork which I believe uses native code.

    Are there plans to support native code on blackberry?

    Thank you!

    Hello world

    Thank you for visiting the forums!

    Instead of the native BlackBerry SDK, native (JNI) code is not supported in the BlackBerry Runtime for Android application development platform.

    Duration of blackBerry for apps Android - software features not supported

    https://developer.BlackBerry.com/Android/apisupport/unsupportedapi_blackberry10_software_features.ht...

    The native SDK microsite can be found below.

    Native BlackBerry SDK

    https://developer.BlackBerry.com/native/

  • Creation of the folios for Android

    Dear Adobe community,

    before this started, I get:

    • I'm using InDesign CS6 Digital Publishing Suite,
    • running on a Professional subscription
    • and I'm not a native speaker. So please take pity with me ;-)


    Some time ago, I created ten folios through an application multi-folio with in-app purchases for the Apple iStore, ran into some issues (which have been resolved by Bob Bringhurst, thank you once again) and now I want to develop for Android. The creation itself was easy, that slips are already online, but do not without falling on key issues.

    To define my problem:

    • The splash screen does not. Only, it takes as much space as possible and grows around a third of the screen. Is there a "fit screen" - box, I missed?
    • The graphics look "rough", naked pixels in a sort of 8-bit-look without the edges soft (or feathers), even if they are PDF. I can't convert them to JPEG format, because I use the same folios as I do for Apple.
    • The effects of the erasure of all overlays are also rough. Slide shows, for example, are punching through their content, without letting that images fade out in the next. Maybe it's important to mention: they were created through the slide show option in the Folio Overlay-menu. The same problem occurs with all the contents that appear and disappear. For example: If you activate a card with a button (i.e. telling the app, to pass the object to the empty state 1 in filled State 2), the application takes one second and the map appears hard, smashing into the window from one moment to another, without the bland smooth as it does on Apple products.
    • And after some time, a minute or two, the application crashes, leaving the customer blocked for a moment, before him eject to the main screen of his camera.

    So far, this is my problem. Honestly, I feel that I missed a few easy step, but necessary for the expansion of Android. Now, the look of folios as some pre-pre-alpha release an Android (with dull graphics and blocks every 60 seconds), while they work fine and smooth on Apple.

    I would be grateful for any advice.

    BIS denn of Germany,

    Maximilian

    This article should help:

    Digital Publishing Suite help | Development of DPS native apps for Android devices

    Depending on your content, you can use a different account for your Android application.

  • Is landscape mode NetShare only library for Android?

    Official SEO help section of DPS (http://helpx.adobe.com/digital-publishing-suite/help/building-android-apps.html) show that the landscape is not possible.

    «The viewer prefers portrait to landscape (the library is always shown in portrait, and double orientation folios open as a portrait and cannot be turned to view the landscape layout).»

    The library is supported in fashion landscape for Android?

    Folios landscape are supported only in native Android viewers, but when double orientation folios are displayed, only the portrait orientation is displayed.

  • Null values when using mechanism R.* for Android DONKEY (AIR 4.0.0.1240)

    So I wanted to try the new AIR 4.0 implementation to request resources in the native android extensions using R.* instead of getResourceId.  Through native code extension, anytime the R.* is used in native code android it returns an id for the resource, but the resource returned as null every time.  I guess that's because the resource id is not correct for a reason any.  I don't know if I'm doing something wrong or not.  When unpacking the apk, I could see that resources are correctly included in the correct folder.

    I had to make sure that when I exported my jar file of my android project that I didn't include the res or gen files.  The gen file contained the R.java file that is self-built android in the project, and when the packaging apk would throw an error indicating that the R.class was already added.  So delete the folder gen which set.

    Here's how I packed my DONKEY

    extension.XML:

    <extension xmlns="http://ns.adobe.com/air/extension/4.0">
              <id>com.example.anesample</id>
              <versionNumber>1</versionNumber>
              <platforms>
                        <platform name="Android-ARM">
                                  <applicationDeployment>
                                            <nativeLibrary>anesample.jar</nativeLibrary>
                                            <initializer>com.example.aneexample.NativeExtensionSample</initializer>
                                            <finalizer>com.example.aneexample.NativeExtensionSample</finalizer>
                                  </applicationDeployment>
                        </platform>
              </platforms>
    </extension>
    
    

    Platform.XML:

    <platform xmlns="http://ns.adobe.com/air/extension/4.0">
              <packagedResources>
                        <packagedResource>
                                  <packageName>com.example.anesample</packageName>
                                  <folderName>Android-Resources</folderName>
                        </packagedResource>
              </packagedResources>
    </platform>
    
    

    ane build order:

    adt -package -target ane NativeExtensionSample.ane extension.xml -swc NativeExtensionSample.swc -platform Android-ARM -platformoptions platform.xml Android-Resources -C Android .
    

    Folder structure:

    extension. XML

    Platform.Xml

    NativeExtensionSample.swc

    Android

    | __anesample.jar

    Library.swf

    Android-resources

    | __values

    page layout

    Drawable

    etc.

    (the rest of the resources in the res folder of android project)

    Note: I have other ALBUM included in the application that are built with older versions of AIR and not to use the new mechanism R.*.  I was wondering if it would cause issues or not as well.  (I will soon do tests that exclude these donkey)

    Hi cb_bkelley,

    You mention that you have to manually, check that R.class was not present in your exported jar. It seems that you use a standard Android project to build your pot.

    Could you please use a 'Android Library project' to build your jar? It would automatically that your pot has no R.class, apart from other important benefits as the generation of non constant resource ID.

    I would ask you please create your container using a 'Android Library project' and then share your results. I hope that things will work fine then.

    Thank you

    Daman

  • Adobe viewer for Android phone

    Hi guys,.

    The Adobe Content Viewer from the Google game (May 1, 2013) is both compatible and works fine on my phone Nexus 4. We understand that added compatibility of Android phone could ask side poor app as the buttons/controls will be difficult to type on small screens. But the Editor could add these limitations to the app description. So my question is if Android phones support can be added to the custom as a box Viewer check option, please.

    Thank you

    Gennady

    Gennady salvation,

    You will not see support for Android phones until we have our new, native Android, viewer available later this year.

    Neil

  • the call journal air for android

    Hello

    I'm created an app for android phones in the Air. Is it possible to receive the call log application.

    Thank you

    Unfortunately, AIR works as an application that runs on the device, as in a bubble and have access to many information that belongs to the device. If you need a native extension to do and no one to do:

    http://www.Adobe.com/devnet/air/native-extensions-for-air.html

  • A link to a URL in AS3 for Android/iPhone App

    During the coding of a computer application with AS3, we use the following code to bind the user to flash for Web site. As for Android/iPhone App? We always use the same code? Any necessary changes?

    var reqLink:URLRequest = new URLRequest ("http://www.yahoo.com");

    navigateToURL (reqLink, "_blank");

    If you want to use the native browser, it should work.

  • Problem with Air for android connect sqlite?

    I found use air sample connect sqlite from this website http://www.flashmove.com/forum/showthread.php?t=34778

    I copy this code into a new Air for Android models.

    then I tested in the office was ok. I do question, update, delete...

    but in the emulator Android was unable to connect to my sqlite file fail.it.

    the image below I check my data device that can not find sqlite file inside.but I do not know I pack file sqlite if the apk publication.

    a1.JPG

    can someone tell me how to connect sqlite correctly? Appeciately.

    First, never use the nativePath of File.applicationDirectory property (as in the example). It is not supported on Android. You get an empty string. While you might usually work around the writing restrictions on the application directory you using this technique on the desktop, it certainly does not work on Android. Always use URL rether than paths native to refer to the application files.

    What you need to do is to create the database in the applicationStorage directory. You can do it with SQL, or dealing in a file of database 'model' which you provided with the application of the book o the application storage directory application (using the URL not the native path, of course.)

Maybe you are looking for