Runtime Android on a Simulator?

Is there a PlayBook Simulator with the android runtime?

We have a strange problem in one of our converted applications and I would get a useful debug output.

Yes it is.  You can download it here: https://bdsc.webapps.blackberry.com/android/tool

You can also ask the beta version 2.0, which includes the reader Android must be installed on your BlackBerry PlayBook here: https://bdsc.webapps.blackberry.com/android/beta/bbtablet20/register/

Tags: BlackBerry Developers

Similar Questions

  • Open the link to native app on AppWorld of Runtime Android application

    I am able to open appworld android Runtime application using this code

    final intent intent = new intent (Intent.ACTION_VIEW, Uri.parse ("market://details?id=com.mycompany.myapp"));
    context.startActivity (intent);

    But as native applications have no package name what do I need to open the native application in AppWorld runtime android app? I have an app for the app id.

    If I try to open the link using the following code

    final intent intent = new intent (Intent.ACTION_VIEW, Uri.parse ("http://appworld.blackberry.com/webstore/content/1321456"));
    context.startActivity (intent);

    the playbook and then I get a page with the message that you are not allowed to open this page. appworld://content/1321456

    SOLVED. Native applications have bundle id. It can be used in the package of the android app to open the link on AppWorld

  • Runtime Android and model question BB10

    Hello

    I have an Android app that works very well on the Blackberry Playbook.

    According to the value of Build.MODEL to the Android SDK, I display a message to the user about the model of the device.

    For Blackberry Playbook, Build.MODEL returns "BlackBerry Runtime for Android applications".

    At the moment, I have trouble running BB10 Simulator to check what is the value returned by BB10 device so that I can display the appropriate message.

    Does anyone know what Build.MODEL returns Blackberry 10? Is this the same as on the Playbook?

    Thank you.

    Katerina

    In my alpha dev machine, I get '10 Dev Alpha' when I get the Build.MODEL

  • Runtime Android API support

    I'll try to find the current limitations of runtime API and api android site does not work

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

    Thank you

    Website issues should now be resolved and all the links work again.  Let me know if you continue to see errors in database more betazone.

  • OTA link register to Push for implementation of Runtime Android Blackberry 10

    Him "BlackBerry push Service Production and changes form" requires a live download link.

    (see https://www.blackberry.com/profile/register.jspr)

    I've migrated an android app for blackberry with blackberry for android runtime.

    Review of push service works very well. Now, I want to prepare the global release of BB and register for push production service. I use the blackberry tools 2 beta command line for the conversion.

    The OTA link is required in the form of Production to push. I couldn't find any information how to set up OTA for a bar file. I read the following: "BAR of the files cannot be deployed OTA from a web server, such as the files of COD." They can be installed via BlackBerry World. ", see here:

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/how-to-install-a-bar-file-in-OTA-downl...

    I also read that the jad / cod of OTA files have a limit of 128 KB file. My bar is ~ 600kb.

    (see the video here: http://supportforums.blackberry.com/t5/Testing-and-Deployment/BlackBerry-Smartphone-Over-The-Air-Dow... )

    The questions now: How can I register for the Production Service to push? Can I stuff OTA? How to generate?

    I provided just the bar file as a link and got to push the production credentials.

  • No keyboard when running Android BlackBerry 10 Simulator application

    I have my first Android app running on the Simulator BB10 Dev Alpha (10.0.10.261), which works well, other that the keyboard does not appear. My application contains code to show and hide the keyboard at opportune moments, but this does not display on the BB10 Simulator (works fine on Android devices). Is this a bug with the Simulator? Has anyone else had correctly show/hide the BB10 to their Android keyboard?

    Hey brijmohanyadav,

    He had some problems with the management framework of the Android inputs on older simulators.

    Try it on the most recent 10.2.1 simulator (https://developer.blackberry.com/android/tools/) operating system or newer (https://developer.blackberry.com/devzone/blackberry10devalpha/devalpha_update.html) and see if you can reproduce here.

    See you soon,.

  • PUSH for the Runtime Android blackBerry 10 problem

    I'm having a problem with my BB10 Android runtime, it fails when you try to contact CWM and therefore do not send a token valid push on our server.

    I followed the instructions to the letter here: http://developer.blackberry.com/android/apisupport/creating_push-enabled_android_apps.html

    My BAR a /android/android.cfg file that looks like:

    
    
       
          215-513Bxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          http://cp215.pushapi.na.blackberry.com
          bb-
       
    
    

    The credentials are the production and worked when they tested them.

    / META-INF/MANIFEST. MF has the following line adds automatically via the Nature Blackberry plugin:

    Entry-Point-User-Actions: access_internet,read_geolocation,access_shared,play_audio,post_notification
    Entry-Point-System-Actions: _sys_use_consumer_push
    
    Archive-Asset-Name: android/android.cfg
    Archive-Asset-SHA-512-Digest: 0iYhu0YnKDy8vnMxTElTXSD-oEXw8vvVBSBxDI_LxcR_B4w53SoXBW7NbRMAD-ZYmQDnMs_aUQrQaNEssmp36Q
    

    Running a push of the application works very well with android, but it does not work with my BlackBerry 10 Dev Alpha, and we also tried with a Z10. The Alpha DEV us running OS 10.2.0.341.

    There were a few problems of verification of BlackBerry I'm not sure if they are relevant or not:

    targetSdkVersion: 17 is higher than 10:required minimal OS version=10.2
    uses-permission: com.google.android.c2dm.permission.RECEIVE:required minimal OS version=10.0.9
    

    the operating system is running well version 10.2.0.341 on the DevAlpha.

    Edit: added trouble spot:

    When you debug the application on the devalpha, using the standard tools of GoogleCloudMessage, the call

    int googlePlayCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this);
            Log.i("GooglePlayCode", "Code:" + googlePlayCode);
            if (googlePlayCode == ConnectionResult.SERVICE_VERSION_UPDATE_REQUIRED
                    || googlePlayCode == ConnectionResult.SERVICE_MISSING
                    || googlePlayCode == ConnectionResult.SERVICE_DISABLED) {
                GooglePlayServicesUtil.getErrorDialog(googlePlayCode, this, 1).show();
            }
            else if (googlePlayCode == ConnectionResult.SUCCESS) {
                regid = getRegistrationId();
                Log.i("RegistrationId", "regid:" + regid);
                if (regid.length() == 0) {
                    getSenderIdThenRegisterBackground();
                }
                gcm = GoogleCloudMessaging.getInstance(this);
            }
    

    This part:

    int googlePlayCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this);
    

    returns 9, which from here: http://developer.android.com/reference/com/google/android/gms/common/ConnectionResult.html#SERVICE_I...

    is SERVICE_INVALID.

    EDIT:

    I tested the gcm by skipping the verification for MCG avaliability and my code attempts to record with CWM VIA:

    String msg = "";
                    try {
                        if (gcm == null) {
                            gcm = GoogleCloudMessaging.getInstance(context);
                        }
                        regid = gcm.register(senderId);
                        msg = "Device registered, registration id=" + regid;
    
                        // Save the regid - no need to register again.
                        setRegistrationId(regid);
    
                        // Send the registration ID to our server over HTTP,
                        // so it can use GCM/HTTP or CCS to send messages to our app.
                        sendRegistrationInfo(context, regid);
                    } catch (Exception ex) {
                        StringWriter sw = new StringWriter();
                        ex.printStackTrace(new PrintWriter(sw));
                        String exceptionAsString = sw.toString();
                        msg = "Register Error :" + exceptionAsString;
                        //msg = "Register Error :" + ex.toString();
                    }
    

    that throws an exception, with the stack trace:

    java.io.IOException: SERVICE_NOT_AVAILABLE
        at com.google.android.gms.gcm.GoogleCloudMessaging.register(Unknown Source)
        at com.joemobi.APP_ID.JoeMobiActivity$9.doInBackground(JoeMobiActivity.java:887)
        at com.joemobi.APP_ID.JoeMobiActivity$9.doInBackground(JoeMobiActivity.java:1)
        at android.os.AsyncTask$2.call(AsyncTask.java:287)
        at java.util.concurrent.FutureTask.run(FutureTask.java:234)
        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
        at java.lang.Thread.run(Thread.java:856)
    

    Help, please!

    A possible cause of this problem uses the SDK Service software play Google to enable GDM. Play Google Service is not supported on BlackBerry 10 is why any reference to the API of GCM would fail.

    Using the stand-alone GCM library should still work on BlackBerry 10 and is still said to be supported by Google:

    «The client library for assistance was offered in previous versions of the MCG works always...» »

  • Look and Feel of Runtime Android Apps

    Hello

    I wonder why the look and feel of Android apps only differs from that of the rest of the development for BB10 Playbook & platforms. I read somewhere that RIM wants all their apps to be consistent across all platforms and that is why AIR apps and native applications have the same user interface. For example, the way that is menu. the color and size of the title bar, etc. But the Android Runtime Apps are always the Android UI 2.3.3. Will RIM work on this in the future? Or DURATION always Android apps will have different UI than the Native BB10/Playbook apps? And also they plan support the latest Android OS? Because it's really hard back in 2.3.3 so that I can port my app to BB10/PlayBook.

    Thank you

    Knockaert

    Hello

    Since the Android Runtime is based on Android Gingerbread 2.3.3 menus and controls will be shown as they would on an Android device. Conversion of the menus and interface elements user who will be like native BlackBerry 10 apps could introduce a quantity important issues with Android apps brought as they have not been designed or implemented to the point to be re-stylized.

    However, we are always looking for ways to improve the end-user experience in the Android Runtime. Such a feature for BlackBerry 10 was our integration to the new keyboard, including text prediction. We will continue to add features of integration like this in the future to reduce the user interface differences between Aboriginal people and applications Android Runtime. And Yes, we evaluate currently supported for a new Android operating system releases in the future.

    Thank you for your comments,

  • How to increase the application version number in the eclipse runtime Android plugin

    I use BlackBerry Android plugin eclipse runtime to code sign my application. She is successful the first time, later I changed some code and code sign again and error

    Error: Code signing request failed because this file was previously signed.    .bar //dist/Android 2.3.1 ------.bar BlackBerry previously signed

    Then, I read a few post on this forum and find a version in .xml number must be increased to fix my mistake, but I can't find such a file and the version number in the eclipse project. He would be grateful if someone can tell me how to increase the version number in a project created by BlackBerry Android plugin eclipse runtime.

    You must edit the AndroidManifest.xml file you will find in the root of the project in Eclipse.

    Just increase the parameter 1 versionCode.

    http://developer.Android.com/Guide/publishing/versioning.html

  • Is it possible to use the BB native SDK within a runtime android app?

    Is it possible to use the BlackBerry (not Android) native C/C++ functions within an Android app?

    Is it possible to communicate between a BlackBerry native sdk app and an Android app?

    Unfortunately not. We have integrated parts of the Android Runtime in the core OS (file Pickers, citing maps - compose, calendar of events etc.), but it happens without any code changes. If you are looking for features only found in the Cascades or native, it would be the way forward for all new development.

    See you soon,.

    Matt

  • Install and run android on playbook Simulator app

    Hello

    I developed an Android application and convert .bar demand also sign this request as a guideline for the blackberry playbook and sings the success fully.

    but I'm trying to install this application on blackberry app playbook install perfect but when I click then nothing happened no error and run application

    can someone help me solve this problem.

    Kind regards

    Suresh Kerai

    you are not running OS 2.0 playbook

    Sign up fo the best, isntall it, then restart your application.

  • Open a PDF file of runtime android application

    Hello

    I try to open a PDF file of my Android app on a phone BB10 Z10 (10.2.1).

    He intended me to use 'File Viewer' with adobereader logo, but nothing happen when I click on it.

    I tried to put files on different storage and directory, but I have the same problem with no error:

    Public warehousing

    public static String getDefaultPath() {
            return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath()+"/";
    }
    

    And internal storage:

    public static String getDefaultPath() {
            return context.getFilesDir().getAbsolutePath()+"/";
    }
    

    Here is my code to open the pdf file, it works fine on Android:

    File file = new File(path);
    if (file.exists()) {
    
        try {
            Toast.makeText(context, "Trying to open " +path+" => "+ file.getName(), Toast.LENGTH_LONG).show();
    
            Uri fileUri = Uri.fromFile(file);
            Intent i = new Intent(Intent.ACTION_VIEW);
            i.setData(fileUri);
            i.setType("application/pdf");
             i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
            context.startActivity(i);
    
        } catch (Exception e) {
            Logger.getInstance().LogException(e);
            Toast.makeText(context, "Unable to pen file..." + e.getMessage() + " " + e.getClass().getName(), Toast.LENGTH_LONG).show();
    
        }
    } else {
        Toast.makeText(context, "File not found..." + file.getName(), Toast.LENGTH_LONG).show();
    
    }
    

    I do not see my camera in DDMS, there is nothing, how can I debug to check if the system returns me an error when I try to open the pdf?

    Thanks for your help!

    Best,

    Ricken

    I solved my problem.

    There were actually two problems, the first is I have to use public storage for adobereader is able to access my pdf file, so I solved it by copying pdf to dir public cache before opening it and then I can keep all other protected files.

    The other problem is rather strange and seems to be a bug, I replaced:

    i.setData(fileUri);
    i.setType("application/pdf");
    i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
    

    with a little:

    i.setDataAndType(fileUri, "application/pdf");
    

    And now the pdf file is successfully opened by adobereader

  • The runtime android Passport downloading blackBerry patch

    This KB article mentions a fix for uninstalling android applications. I can see it in the world of BB, but when I try to download I get a message (translated) "a network error occurred. to ensure that your coverage is sufficient. »

    My colleagues all make the same mistake. Network coverage is excellent, and other applications can be downloaded without any problem.

    Would it not possible to provide this specific folder for sideloading? Or y at - it another way I could get this fix? I have several "uninstalled" still remaining on the device android apps and don't really want to wipe the device just to have this problem with the next application.

    Edit:

    After reading the comments on the crackberry article , it seems that the majority of users around the world have this problem.

    Please see this helpful thread, where the question (and status) has been discussed at length with official staff members of the BB:

    It is advisable to use this thread for all discussions on the issue.

  • Runtime Android is slow

    Hey, we're looking for by using the android environment rntime our application on the port. During the tests, we noticed that the speed on the BB is lag compared to android. I was wondering if developers have advice / tips that we could use in our Android Code to speed up the application to run faster on the BB? UIS any help is appreciated. Thank you!

    I found a few things that have helped with the speed of my application kinda.

    -Do not use a background graphic in your App. use a solid color.

    -set a solid color for the cacheColorHint for your lists

    -follow the document here http://android-developers.blogspot.ca/2009/03/window-backgrounds-ui-speed.html and put the windowBackground to null

    I also found this getWindow () .setFormat (PixelFormat.RGB_565) parameter. helped, but it can cause things to watch really bad expecially with gradients and glows.

  • Runtime Android Blackberry 10 TelephonyManager does not work.

    Hello

    We are working on BB10 project, converted from Android.

    There are some functions in TelephonyManager do not work after you convert to Blackberry (getNetworkOperator, getNetworkOperatorName, getSimOperator, getSimOperatorName, getLine1Number)

    Could you please tell me what I'm missing here?

    Here are some authorization we have in AndroidManifest.xml

       
        
        
        
        
        
    

    Thank you.

    Full list of the unsupported Telephony API can be found here: https://developer.blackberry.com/android/apisupport/unsupportedapi_blackberry10_hardware_features.ht...

    See you soon,.

    Matt

Maybe you are looking for