Questions tagged [blackberry-android]

The BlackBerry Runtime for Android allows most Android applications targeting version 2.3.3 to run on the BlackBerry 10 and BlackBerry PlayBook operating system.

101 questions
6
votes
1 answer

Blackberry 10: Android Runtime & JNI

Is JNI supported on the BlackBerry 10 Android Runtime? I would like to execute native c code in my android app which I'd like to deploy on the blackberry 10 os. In my android app, I use JNI to handle callbacks from the native c code to the java…
5
votes
1 answer

Google OAuth Accept button is disabled

I have a Google Drive app running on BlackBerry 10 and PlayBook devices. The OAuth process was working fine for all users. Suddenly on Aug 23rd I received reports from some users complaining the "Accept" button is disabled and can't complete the…
5
votes
2 answers

Android-Blackberry GCM: Can't register ported android app to GCM services

We are having some issues registering our device so we can get push notifications in our android ported app. Here's our scenario: -We have a Blackberry 10 Dev Alpha device with OS version: 10.0.9.388 -Already registered to the push service -Created…
ale.m
  • 883
  • 7
  • 14
4
votes
2 answers

Blackberry Android runtime vs. NDK

I'm trying to repackage an Android app for Blackberry, as suggested here. The app has a native (NDK/JNI) library in it. When I try to build for the App World, I get several errors of the following…
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
4
votes
2 answers

Blocking Apk's from installing directly into BB10.2.1 updated devices

I port my android apps for making bb10 builds . Since now from bb10.2.1 update blackberry has introduced a new concept wherein apk's can be directly installed and can be installed in BB10 devices if the manage apps in settings menu of the phone is…
user3517929
  • 235
  • 1
  • 7
4
votes
0 answers

Gradle script for BB10 android runtime

I use android runtime for generating BB10 builds now am thinking of moving on to android studio from eclipse so can anyone tell me the gradle script for bb10 so that I can use that to create BB10 builds in android studio . Thanks.
4
votes
0 answers

Blackberry Keyboard with Action keys on BB 10 using Android runtime

I have an android app with certain keyboard layouts and some defined actions for the enter key on some textviews. For e.g., the textviews are defined with android:imeOptions="actionGo" android:inputType="text" and i have an EditText with…
4
votes
1 answer

BB10 android runtime push notification

I have followed this tutorial to enable push notification on android runtime but I am getting failure 830 android/android.cfg: unknown asset error when i try to deploy bar package into alpa device. What can be the reason of that?
med
  • 1,540
  • 1
  • 15
  • 27
4
votes
1 answer

Changing BlackBerry-10 screen brightness from Android app

In my Android application I am using the following code to change screen brightness WindowManager.LayoutParams lp = getWindow().getAttributes(); lp.screenBrightness = someValue; getWindow().setAttributes(lp); On Android devices it works fine, but…
Bojan Kogoj
  • 5,321
  • 3
  • 35
  • 57
3
votes
1 answer

BlackBerry Simulator doesn't show when i run android project in android studio?

I have download and install BlackBerry Simulator and run it in VMWare Machine. I have run its controller. Then, I have created a simple hello world project in android studio. Here is MainActivity.java: public class MainActivity extends…
3
votes
3 answers

How to detect if the Android app is the Blackberry repackaged version?

My application can be easily repackaged for blackberry devices using their web portal. http://developer.blackberry.com/android/documentation/using_the_bb_packager_1873331_11.html So I can turn my .apk file into a .bar file that users can install on…
Waza_Be
  • 39,407
  • 49
  • 186
  • 260
3
votes
2 answers

Strange float output "@.0E-12" on BlackBerry Android player

I have an app that works well on many Android devices, but there is a problem on the BlackBerry Android player running on the PlayBook (it runs Android 2.3). I had a NumberFormatException on PreferenceManager.getDefaultSharedPreferences(). It…
Patrick
  • 3,578
  • 5
  • 31
  • 53
3
votes
1 answer

Error 'result::failure -9' when porting android app to BlackBerry 10

I am trying to deploy my android app from eclipse on to my blackberry Z10 running 10.0.9.422 and i am unsuccessfull at it. Here is the actual error that i am receiving. Failed to deploy project XXXX Info: Sending request: Install Info: Action:…
3
votes
2 answers

BlackBerry Android Push Message Server

I'mm having problems when trying to push notifications for my Z10. The device successfully registers for push notifications and I receive the BlackBerry generated registration ID as described in "Creating Push-Enabled Android Apps". I am having…
3
votes
2 answers

Cannot get network location from BB10 device

I am porting an Android app to BlackBerry 10 OS using the Java Runtime support. My app is working fine on Android devices currently, but I cannot get location updates from the BlackBerry device. My manifest requests the COARSE_LOCATION…
James Busby
  • 119
  • 11
1
2 3 4 5 6 7