jad for blackberry non-midlet application - blackberry

I am writing a regular application for Blackberry. I want to know, is there anything similiar to JAD for pure native blackberry application (no j2me) ? If JAD is applicable to regular BB app then please guide me to use JAD for it.

The ALX file is probably the closest equivalent to a JAD. ALX files define the elements of a BlackBerry application. They are required for installing apps using the BlackBerry Desktop Manager. You can generate one using the BlackBerry JDE (Project -> Generate ALX).
Also, here's a link that defines the elements of an ALX file: ALX Elements.
Here's a link to the BlackBerry Development Guide, which has a section on packing and distributing BB apps.
Finally, here's a link to a forum post about setting up a server for hosting BlackBerry apps for OTA download/install: OTA Server

Related

PhoneGap Blackberry application

i am building a small application using html5 and jquery mobile.
i need to run this on multiple platforms including android, iOS and blackberry.
i used phonegap to build my application successfully.
the apk for android is successfully installed in android device.
but i am not able to install application for black berry and iOS.
blackberry OTA downloads a jad file which is not working with my blackberry device.
i know there are COD files references in jad file that needs to download OTA.
but i am not able to run that.
how to install blackberry OTA?
similarly i need help for iOS?
and what are the licensing schemes for blackberry and iOS?
can i run the phonegap build for blackberry without license, if yes then how, if not then what should i do?
any guidance will be appreciated.
Thanks

Sending cod files via bluetooth in blackberry

In android device where .apk files are shared and send via bluetooth and then install on device.
Can similar thing is available in Blackberry devices lower versions below OS 10 ?
Can we send or share and install .cod applications via bluetooth in blackberry.
Please do let me know
The short answer is that there is no OS (standard) supplied method to do this.
I think this is a variation on this question
Can we share application in blackberry without the use of jad files
and as with that question, using CodeModuleManager (as suggested in another answer) requires an application that is already on the phone. In this situation, this installer application would have to know how to open a Bluetooth connection, and read the data and then create the new Application using CodeModuleManager I suspect this solution also assumes that there is another application that is sending the file, from a device what is paired with the phone. Is this a workable solution?

BlackBerry OS 6 App Dev

When developing a application for iOS that pulls in a web site, you have a very simple web app wrapper that as far as I know acts like an iframe, pulls in the web site and boom - you have an app.
My understanding is that if done this way you are using a "stripped down" Safari to view the web site in a "app" as it is a web wrapper.
When developing an app for BB OS6, is it the same concept? If I develop a wrapper that says "go fetch site x and display it in this app" is it going to use BB OS6 default browser APIs to render said site?
Also is there links to said API?
If all you want is a container to display Web content I'd highly recommend you use Webworks (or cordova for cross platform) as opposed to Java. WebWorks already creates and sets up the bf2 for you in a tested and proven way.
The equivalent of UIWebView for iOS would be the BlackBerry BrowserField.
If you want some examples of how to use it, I recommend installing the BlackBerry Eclipse plugin. That will install in Eclipse the full BlackBerry Java SDK (e.g. version 6.0, 7.0, etc.), which comes with lots of sample code. From Eclipse, you can then
Import... -> BlackBerry -> Import BlackBerry Samples -> BrowserField2Demo.
Note that you want the BrowserField2Demo, not BrowserFieldDemo!
Or, you can go directly to the github site with BlackBerry sample code.

Blackberry app for different blackberry devices

First of all, I'm not a Blackberry user. I have made a blackberry application for 7.0+ OS Versions. From the start I tested the app on Blackberry 9900 Bold Simulator and same device (Same device provided by the company). So didn't really check the application in other blackberry device. But now I am given another resolution BB device and all the GUI stuff is disturbed.
What should I do now?
One way is that I should check the resolution and Display.getHorizontalResolution() and Display.getVerticalResolution() and make GUI's accordingly but since I have 20+ screens I won't be doing this.
If you have any generic solution please provide.
Use embedded Eclipse plugin preprocessor or Antenna preprocessor for conditional compilation with BlackBerry Ant Tools to generate different application files for different target OS-es, and/or different target devices.
Consider Alx-task to generate alx (application descriptor file) that supports different platforms/OS-es.
Also check this article. It will help with your task.

Distribute BlackBerry compiled app

I have developed a BlackBerry project and now I want to send the compiled output, such as .cod, .alx or .jad, to a client so that he can check it. This is similar to the ipa file for iPhone. How can I do this?
The document from RIM How to Deploy and Distribute Applications tells all.

Resources