How to install a .bar file hosted in a remote server to a BlackBerry 10 Dev Alpha device - blackberry-10

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).

Related

Installing a Windows Mobile application on a Windows CE device

A client has asked us to "revive" an old Windows Mobile application that is used by their receiving department.
At some point they wrote a custom Windows Mobile 6 app for Windows CE devices (a Motorola MC55A to be specific).
They have a project in place to replace this app - but it won't happen for a bit and they want to install the custom app on some newly refurbished devices they found as an interim solution.
I found the source code for the application. It even contains an installer project that generates the CAB files.
What I do not know how to do is get the compiled app and installer onto the device.
I am using one of their legacy computers to build the app and connect to the device. The computer has Windows Mobile Center installed and when I see the device connected - I the ability to add / remove programs on the device.
Not sure if this is the route I should be going. Ideally I want to put the installer behind a web page and just have each device download the installer to install the app.
This stuff is pretty dated - I am having a hard time on the specifics of deployment.
You can put the CAB file on the device and launch it manually using the file explorer on the device to install the files.
Some industrial devices like Honeywell, Intermec, Motorola, Symbol, Zebra and others support the auto install of cab files, if the files are put in a special folder on the device. For former Intermec Honeywell devices, this folder is called \Flash File Store\CabFiles. If a cab file is placed in this folder, it will be installed on the next reboot.
You may also put a link to the CAB file on a web site and open that web site within the Internet Explorer on the device. The device will ask for the installation, when the file link is tapped. Please note that some web server like IIS by default block CAB files from being loaded! If so, you need to configure the web server to allow cab file downloading.
Many months later, but I wanted to answer this for future reference, when you DEPLOY Solution, Visual Studio (2008 was the last one supporting windows mobile apps) will ask you for a target device or emulator, here you can select the device and it will be installed, there will be no entry in add/remove programs on the device unless you install it via an installation CAB. You must create an "Smart Device Cab Project" and configure it for your solution.

How can i deploy my worklight project to my blackberry device..?

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.

Install a test app on BlackBerry

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.

CAB installation failing on new Windows Mobile 6.5 devices

We use a CAB file through a webpage to deploy our mobile application to our customers. Now with the new Windows Mobile 6.5 devices, the cab file is downloaded as a .tsk file (when using the new Internet Explorer). Naturally the installation fails to install the application as a theme.
If the file is downloaded in Opera, or you change the file extension back to cab. The installation process completes. But the application can launch due to Missing Method Exceptions.
Has anyone experienced this? Does anyone know if there is a workaround for it?
We are currently builing the CAB using a vdproj in visual studio and signing it using CabWiz. Were using the Windows Mobile 5.0 SDK.
This is an issue with a specific version of the HTC Touch 2 ROM.
Apparentlly this is fixed with an upgrade of the mobile.
see reference:
http://forum.xda-developers.com/showthread.php?t=574121

How can I check the device platform before deployment in the .NET Compact Framework?

I've developed an application for Windows Mobile using Windows Mobile 6 Pro with CF 3.5 and I have some deployment questions.
I'm targeting only Pocket PC and I don't want to let users install it on their smartphone (because it simply won't work).
How can I check for the platform on which the user is installing the application and show him some error message?
Just to let you know, I have an .msi in order to install the app into the device from the desktop (setup project with cab inside), and it's fine.
I just need this extra verification.
See this link on how you can detect the platform. Cab files support an optional setup.dll, which can be used for registering custom actions in Install init, Install exit, Uninstall init and Unistall exit. You could use the install init entry point and stop the installation or show a dialog if the platform doesn't match. This of course has to be native development.