BlackBerry: is it possible to download application from a website (Over the Air) ? - blackberry

I want would like to make my BlackBerry application available for download through a website using the BlackBerry browser. Is this possible?

There are two ways to allow your BlackBerry application to be downloaded from a website:
1.Over the Air distribution
To allow users to install the application over the air you will need to have a web server. On the web server you will need two files:
Yourapplication.cod
Yourapplication.jad
On your web server you will need to setup three MIME types:
.jad files: text/vnd.sun.j2me.app-descriptor
.cod files: application/vnd.rim.cod
.jar files (optional): application/java-archive
However, if the .cod file is larger than 64KB, it must be unzipped on the web server, otherwise you may get a "907 invalid cod HTTP error 404" error message. To do this, rename the .cod to .zip, then open the .zip file and place the file contents in the same folder on the web server alongside your .jad file. (See: https://stackoverflow.com/a/5788124/1943). Links to download your application should be to the .jad file.
2.Using the BlackBerry Application Web Loader
This is an ActiveX plugin that facilitates the download of the application. See the developer documentation for more information on this.
Reference:
Vivart's link: http://supportforums.blackberry.com/t5/Testing-and-Deployment/How-to-Deploy-and-Distribute-Applications/ta-p/442794

Related

How to open downloaded documents file from blackberry access in windows explorer

Im using outlook in blackberry access for security reason, but the attachment file that i downloaded from email can't be find or open in windows explorer, plz someone help me!,
Because in blackberry access,i can't edit or save edits in secure environment.
Any kind of idea really help me a lot
BlackBerry Access for Windows includes an encrypted container for downloaded files. Access can be configured to restrict access to these files from the rest of the Windows System, which is why you don't see them in Windows Explorer.
A BlackBerry UEM admin can configure BlackBerry Access to allow the import and export of files from this secure container. This is done in the BlackBerry Access app configuration.
This document explains how to change these settings: https://docs.blackberry.com/en/blackberry-dynamics-apps/blackberry-access/3_0/blackberry-access-administration-guide/lnb1484165962504/ndf1494880538789/aju1487865944450
The settings are explained in this document. The two for this use case are "Enable export of downloaded files to OS file system (Windows and Mac)" and "Enable import of files from OS file system".
https://docs.blackberry.com/en/blackberry-dynamics-apps/blackberry-access/3_0/blackberry-access-administration-guide/lnb1484165962504/ndf1494880538789/bcp1488469362943
Alternatively, BlackBerry Access can be configured to allow the editing of documents from directly within its container. This configuration is explained here: https://docs.blackberry.com/en/blackberry-dynamics-apps/blackberry-access/3_0/blackberry-access-administration-guide/lnb1484165962504/Allow-users-to-securely-edit-files-within-an-app-in-BlackBerry-Access-on-Windows-or-macOS

dilever my application to blackberry device

what are the steps that need to deliver my app to blackberry device regardless bb version?
Note: my app has 6 files COD.
can I send direct link for these file to bb device and click on them sequentially to download my app to bb?
After you build your app, you publish the contents of the /OTAInstall folder on a Web Server. Then load the URL to the *.JAD file in the BlackBerry browser and it will prompt you with a download page.
Note: you will need to setup MIME types on your Web Server for the *.jad and *.cod file types.
This is explained in detail this tutorial: How to Deploy and Distribute Applications for BlackBerry (Java) Smartphones.

Does BlackBerry support demo/beta releases for its app developers?

I am interested in developing an app for BlackBerry devices, and was wondering if they support the concept of demo or beta releases for their app developers? By this, I mean the ability to deploy a beta or demo version of my app to a limited/restricted audience, such as business partners, customers, external beta testers, etc. Nothing in their Testing and Deployment documentation indicates either way. Thanks in advance!
There isn't a built in beta process in App World for BlackBerry 10, but you can share the debug version of your app with your beta participants. When you create a debug token, you specify which PINs you want it to be valid for. The debug token will only install on a device with one of those PINs, and your app will only install on a device with your debug token on it. The token will only be valid for 30 days. You would have to deploy it with the command line tools and not App World.
This link on the BlackBerry Developer blog explains how to do it: http://devblog.blackberry.com/2012/04/debug-token/
It's for PlayBook, but the same process applies for BlackBerry 10 as well.
I actually don't know if RIM themselves have anything formal, but since I've always released BlackBerry apps on more than just the official App World store, I've used a beta testing system that is independent of RIM. Luckily, the legacy BlackBerry Java platform gives you the freedom to do this, free of charge. (Note that this answer is not about the upcoming BB10 platform!)
Over-the-Air (OTA) Installation
You can have your beta testers install your beta versions, Over-The-Air (OTA). Unlike iOS, for example, you aren't limited to a certain number of test devices, and you don't have to tell RIM what the unique identifiers of all the test devices are.
So, what I do is just put beta versions of my apps on a webserver, and send links to beta testers that allows them to download them. So, you are in control of who gets access. If you need security to limit the beta version to nobody except the official beta testers, then you are certainly free to add password protected logins to your webserver. That works the same way it would for any other secure web content.
If you do this (OTA), here are a few references:
http://www.blackberryinsight.com/2008/07/08/howto-setup-an-apache-webserver-to-deliver-blackberry-ota-applications/
Blackberry over the air installation
https://stackoverflow.com/a/10307074/119114
There are a couple steps to be aware of:
You normally just upload a .cod file to BlackBerry App World. If you want to deploy an app to your own webserver, you also need the .jad file. A JAD file is basically just a descriptor of the app, that can redirect a BlackBerry browser to the .cod file for installation. Your build process is already probably generating the .jad file for you, in the same output directory where it generates your .cod files.
You may need to configure your webserver to properly setup MIME types for files with a .jad extension. If you use Apache, then this is what you would put in your httpd.conf file:
AddType text/vnd.sun.j2me.app-descriptor jad
you may also need to add a MIME type definition for the .cod type, too
AddType application/vnd.rim.cod .cod
If you don't have access to the web server's httpd.conf file, but can place the JAD and COD in your own user directory, then you can configure the MIME types in a local .htaccess file.
Depending on your web server configuration, there may be a couple more steps necessary. Check the OTA links I provided above.
Desktop Installation
Another option is to simply email your beta versions to beta testers, and have them install on their devices using BlackBerry Desktop Software. I don't do this, but it is another way to accomplish the same thing. For this, you use the .cod file, and also the .alx file, which is also generated by the normal BlackBerry build process.
Note that some of the project properties that get put into the .alx or .jad files are things that you don't need to worry about if you only deploy the .cod file directly to BlackBerry App World. If you use one of the options (ALX for Desktop installation, or JAD for OTA), then I would recommend opening up the .alx or .jad file and just inspecting the values for correctness. They're normal text files, and most of the values should be self-explanatory. I believe all settings can be configured from inside your IDE. If you use the BlackBerry Eclipse plugin, right click on your project, select Properties and look around there.
Here are the official RIM docs on all your installation options
its not possible. When you publish your app in app world, it will be available to all users. So you cant set any special conditions like- available only to some people. Else make it in un published mode. Then only users with sandbox id can access your app.
Check the below link for BB 10 Cascades beta 3 release(Preferrable way of development in BB 10)
https://developer.blackberry.com/cascades/
For BB 10,they are plenty of ways for developing the applications ,check the below link
https://developer.blackberry.com/platforms/

What format should my Blackberry application be in to submit to App World?

I already have an installation using .alx/.cod files that we use to install our Blackberry application via Desktop Manager, and also an "over the air" install version consisting of a .jad file and .cod files (uncompressed and no larger that 64K as specified by the mime type) that is downloaded from our website.
What format should I upload the application to App World as?
I gather all the files should be in a zip file but apart from that I'm struggling to find much more information on the RIM website
RIM has a document with the exact requirements for a submission bundle for an app for BlackBerry AppWorld:
"Contents of a .zip file for a release"
Look at section 5 b in the App World FAQ.
It mentions among many other things, COD files. The plural is because, you need to submit a COD file for each OS version you are planning to support.

Downloading .jad or .cod file and installing from website

Actually we have developed java midlet application , that needs to be downloaded through given link. From nokia , sony , etc we are able to download the application successfully.
But, when we are accessing the site through BlackBerry , we are not able to download the application . What I am doing wrong here. Whether I need to follow any procedure to install the application in blackberry mobile. Any one help me out of this problem..
Thanks.
What is happening when you click on the JAD file in the BlackBerry browser? Do you have the MIME types for JAD and COD files set properly in your webserver? The following link has some useful tips on setting up your server for OTA installations: http://www.berryreview.com/2007/12/10/faq-how-to-install-a-cod-file-ota-over-the-air/
You just place your jad and cod files onto server and open link to jad in browser (You may use Browser class).
Also look at the RIM Deploy and Distribute guide (section Over The Air).
Dont forget unzip your big compiled cod file, before placing onto server.

Resources