How do I install a test app developed using Eclipse on a BlackBerry?
If you using Eclipse for BB development, you must use Plugin for Eclipse and BB simulator. In this way you just build your application and run/debug it from IDE. IDE automatically run simulator and deploy your cod to simulator.
In other cases, there are 3 ways to run your *.cod application on BB device:
Using javaloader
Using DesktopManager
Directly from simulator (only for simulator!). File\Load Java Application\Choose your cod, and your application appears in Downloads directory.
Using OTA (Over-The-Air) installation(for web-installation).
Note, that if you use for, example, Crypto API or Persistent storage API, before install your application on real device, you must sign it with SignatureTool.
Related
I don't have a Mac and an iPhone. How can I make applications using my windows laptop for coding and without an iPhone for trying to run/debug the app? What are the best steps for me??
Notes: I have made several applications for android and web using flutter.
Thanks...
You can start by creating a Flutter project on your Windows laptop. Also, the iPhone is not required in Flutter, so you can code in your Windows laptop without needing an iPhone(Build iOS apps with Xcode, which only runs on macOS) to try to run/debug the app.
You cannot build a flutter iOS app directly from Windows. What you can do is use external tools to do it. One of these tools is Appollo (https://github.com/Appollo-CLI/Appollo). It's a python CLI tool that let you access remote MacOS build machines.
Here is a demo of how to create the IPA on windows : https://www.youtube.com/watch?v=ZX3DAMwlEfM&t=11s
It's pretty easy to use :
First install it
pip install appollo
Then setup your Apple Developer account with Appollo : https://appollo.readthedocs.io/en/master/tutorial/2_configure_app_store_connect.html
Finally you can build the app and retrieve the IPA
appollo build start --build-type ad-hoc
appollo build ipa
And that's it.
We know that Blackberry 10 can run Android app. Does somebody tried Telerik Nativescript for Android and make it run for Blackberry 10?
If so, is it possible to explain the steps to be able to do it? Does Webworks gives any help?
Telerik NativeScript for Android does indeed work on BlackBerry OS 10 I've tried on (10.3.2.2474). I'll list some tips to get you started, but please keep in mind that NativeScript doesn't officially support BlackBerry OS.
Deployment with the {N} CLI tool (tns) might be problematic - it produces an apk for the app, but it can't deploy it on the device itself, so you need to transfer it somehow and install it on the device.
Alternatively you can use Telerik AppBuilder to build the app (either version will work - VS plugin, CLI tool, Windows or Web clients) and deploy it on the device via QR code scan and install. However, apk installation is a bit slow process on a BB10, so you may choose to use the NativeScript companion app for development. Deployment to the companion app is done via QR codes - it has an integrated QR code reader - and since no installation is necessary, development cycle is faster. There is a small issue with the app - it may seem to crash on the first run, but you can still find the Sync and Scan buttons in the BlackBerry Hub, which you can use to scan the code and start your app.
Releasing the app in the BlackBerry store is out of my scope, but you can check these documents:
https://developer.blackberry.com/android/documentation/rpkg_with_bb_plugin_for_android_stdio.html
https://developer.blackberry.com/android/documentation/publsh_your_app_to_appworld.html
Make sure you've built the app for release as mentioned.
Let me know if this helps.
I have packaged my application successfully using ripple with chrome.
What process i have to follow to deploy my app to my blackberry device for testing purpose?
There are several ways.
You can try using the BlackBerry Desktop Manager software which should allow you application syncing.
You can use the JavaLoader commandline tool, provided by BlackBerry.
Personally, I use JavaLoader.
It is a simple one-liner in CMD: javaloader load path-to-cod-file
The one-liner above assumes you have added JavaLoader (an .exe in the bin folder of the BlackBerry WebWorks SDK for BlackBerry OS 6/7) to your PATH, so that it will be available for useage like in the example)
Please keep an mind that after you generate the .cod file using Ripple, what you basically have is an actual BlackBerry (WebWorks) project, the way to deploy it would be the same as any other BlackBerry application, whether it was created by Worklight or any other software.
I have port an Android application to BlackBerry using Android Runtime. I can install that application successfully using Eclipse. Now I want to put those deploy files (MyApp.bar) in to a remote server and download the .bar file using a browser and install it to another BlackBerry 10 Dev Alpha device. I was able to download but unable to install the .bar file. What should I do?
I believe that you are looking for an app or tool that you can run from a BB10 device itself to install the .bar file, after you've already downloaded it. There used to be a tool like this for the Playbook, but it seems to be no longer maintained and Blackberry (RIM) have blocked the method this app used to perform the install in newer version of the Playbook OS (and presumably BB10 as well).
A solution which has been reported to work by some in the Blackberry Developer forums is the Playbook App Manager as a Firefox or Chrome plugin. You can use this plugin from the browser on your PC to push the .bar to your other Blackberry 10 Dev Alpha device over the network.
If that doesn't work, that leaves you only with external tools that you already know work like the Eclipse plugin, and you could also use the command line tools like blackberry-deploy or batchbar-deploy installed with the SDK.
Finally, crackberry.com has a tutorial on sideloading Android apps using the DDPB third party app, which requires Java and .Net (so the browser plugin tool is really preferred).
I want to know using my desktop application can i access Blackberry desktop manager (or) any USB interface programmatically to load(install) a blackberry application into blackberry device? Basically i want to load(install) any blackberry developed application to the device using my desktop application interface.
Any help would be appreciated.
Thank you.
There is no BB Desctop API to install application:
BlackBerry Desktop Software - 4.1 - Desktop API Reference Guide
Similar questions:
Install/Uninstall App from Desktop Manager
SO - How to properly force a Blackberry Java application to install using Loader.exe
BB Forum - How to properly force a Blackberry Java application to install using Loader.exe
UPDATE
You can send data to device, but to open named channel you will need running application on device side which will register and operate with same-named channel... although there are speculation about "using RIM API calls to compose *.cod file directly in device internal memory." I have no idea how to do this without installing any app on device previously.