blackberry-android

Blackberry 10: Android Runtime & JNI

≯℡__Kan透↙ 提交于 2020-02-21 11:55:47
问题 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 code. Is this supported on the bb10 android runtime? 回答1: All I could find is this thread: Any plans for supporting Android Native Code which doesn't appear to have an official response. My guess is that 'no' Android NDK won't be supported as

BB10 android runtime push notification

前提是你 提交于 2020-01-23 01:04:04
问题 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? 回答1: The solution is to change the way of importing android.cfg file into the android project. First of all, add android.cfg file into root of the android project folder and rename it as projectname.cfg. For example, if the application name is SamplePushApp, the name

Appworld market link in Android runtime

不打扰是莪最后的温柔 提交于 2019-12-12 09:11:30
问题 I have an app on the appworld and I would like to add a link to it in my app so that people can more easily rate it. Normally on the android market I would do something like: Uri uri = Uri.parse("market://details?id=com.example.test"); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); Or on Amazon I would do: Uri uri = Uri.parse("http://www.amazon.com/gp/mas/dl/android?p=com.example.test"); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent);

Cyrillic app name incorrectly encoded during porting Android app to Blackberry

北城以北 提交于 2019-12-11 12:56:27
问题 I have small problem with displaying cyrillic app name on PlayBook and BB10 simulator. Looks like it's incorrectly encoded from russian. Problem appeared after updating bb eclipse plugin from version 1.3 to 1.5, with plugin v.1.3 it worked just ok. I'll appreciate any help or ideas. Here is screenshot from bb10 simulator: 回答1: I found workaround myself. When I got problems with encodding with bb eclipse plugin, I decided to do the same thing with comandline tools. After tools setup (sing keys

How to load an external url in Codename One WebBrowser component?

浪尽此生 提交于 2019-12-11 09:43:33
问题 Can anyone help me? I've got an App in development and a core feature is to load a third party webpage (URL) that has css and javascript in the Codename One WebBrowser component. My questions are:- 1. How do I load the url? 2. Is it possible to interact with the javascript on this url like alerts and confirms? 3. How to switch between Device default browser etc? Thanks. 回答1: A native WebBrowser component is laid out a-synchronously which means its preferred size is calculated later and so the

Unsupported Intents on BlackBerry Android Runtime

大城市里の小女人 提交于 2019-12-11 09:39:43
问题 I'm converting one app to the Android Runtime, however some of my Intent actions aren't working, no error/exception is shown on LogCat. I can see my onSaveInstanceState code being run as if the Activity was being paused, but nothing comes up. When a IntentChooser is used, I can see in the logs: "invoking onCreate() for Activity com.android.internal.app.ChooserActivity" , however on the PlayBook, nothing happens. On the BB10 simulator, the chooser comes up (i.e with Messages and SMS options)

How open sub window with three buttons on clicked list item like shown in screenshot with red square

与世无争的帅哥 提交于 2019-12-11 03:37:36
问题 I have to open a sub window on clicked list item. This window contain three buttons these are also clickable. See Screenshot. In iphone it is possible using TableRow. Is there way in android like iphone or any different way 回答1: create you layout including this expanded View that you want to show on ListItem Click add the following code to Your LISTViewclick listener where actually want to make it visible Count is a variable to check if number of times it is clicked is even or odd so as to

new blackberry app world error “bar manifest file package version must be greater than …”

好久不见. 提交于 2019-12-06 13:51:38
问题 I've started getting a weird error message when trying to upload a playbook app update to BlackBerry world. I think this problem started after installing version 1.6.1 of their eclipse plugin. The error message: "The package version in your .bar manifest file for signals_playbook must be greater than the previous version, but lower than any the next release version added to the vendor portal. . Your .bar manifest file package version must be greater than 3.0. Correct your .bar manifest file

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

拥有回忆 提交于 2019-12-06 04:03:08
问题 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 android.cfg and changed values with the ones received from Blackberry : -Added manifest permissions. -We deploy the app using a Debug Token. -Device is connected to Blackberry network (we can add contacts, chat through BBM, etc.) -Structure of the

new blackberry app world error “bar manifest file package version must be greater than …”

给你一囗甜甜゛ 提交于 2019-12-04 19:05:58
I've started getting a weird error message when trying to upload a playbook app update to BlackBerry world. I think this problem started after installing version 1.6.1 of their eclipse plugin. The error message: "The package version in your .bar manifest file for signals_playbook must be greater than the previous version, but lower than any the next release version added to the vendor portal. . Your .bar manifest file package version must be greater than 3.0. Correct your .bar manifest file and try again to continue." My AndroidManifest.xml contains: <manifest xmlns:android="http://schemas