Developing for Blackberry tablet without AIR - blackberry

BlackBerry Tablet OS is basically a handicapped QNX so can I somehow develop apps for the tablet as a usual QNX application, by using gcc and PhAB for photon gui?
How do I develop apps for the Blackberry tablet without use of Adobe AIR?

In addition to AIR, you can use RIM's WebWorks SDK. RIM has also announced "upcoming" support for native (C/C++), Android and JavaME apps on the PlayBook. They have even demoed the use of Android apps just a few days ago at BlackBerry World.

Related

How to execute Blackberry OS 6 app in Blackberry 10 OS

I developed one application in Blackberry OS 6.I deployed that app in to Blackberry world successfully.But it is not working in Blackberry OS 10.I am getting following error:
Unsupported for this device
Please help me how to run application in OS 10.
Thanks in Advance.
OS10 is a completely different system. It no longer supports the BB6/7 Java environment. You will need to port your app to one of the new supported platforms:
http://developer.blackberry.com/develop/platform_choice/index.html
Cascades (c++ & qml)
Webworks
Android
Adobe Air
With WebWorks it is possible to run your application in both BlackBerry 6 and BlackBerry 10, you may need to make some changes to your code, but it is certainly possible and there are plenty of resources available.
You can start from here.
Specifically BlackBerry states:
Your BlackBerry WebWorks app can be targeted to run on a variety of
BlackBerry device models or ported to a different OS, such as iOS or
Android.
Developing your app with BlackBerry WebWorks gives you the flexibility
to target users of the latest BlackBerry devices and those who are
using older models. Depending on the OS you want to target, versions
of the BlackBerry WebWorks SDK available for:
BlackBerry 10
BlackBerry PlayBook
BlackBerry 7 and earlier
See here for a tutorial on creating an application which is able to work on old and new BB devices (Simple Hello World application).
A good article to look at can be found here, which explains some of the fundamentals and differences with webworks.

Blackberry App for OS 7.0 and earlier, with blackberry 10 support

I have to develop a BlackBerry application which runs on all the devices running blackberry OS 7.0 and earlier, and can run on BlackBerry 10 devices, too. How can I do that?
Is a WebWorks application able to support all the above platforms? If yes, there's no IDE for WebWorks development .. how shall I code for that?
WebWorks supports BlackBerry OS 5.0+, BlackBerry PlayBook OS, and BlackBerry 10.
Regarding HTML5 featuers, this is dependent on the OS version. For instance, BlackBerry OS 5.0 is a proprietary browser implementation and does not support Ajax requests. BlackBerry OS 6.0 is WebKit-based, but is an older version of the engine when compared to something like a BlackBerry 10 device. So you'll need to be mindful of which HTML(5) features and functionality are supported on the various platforms.
That being said, if you have a shared HTML5 "base", that can be (re)packaged with the WebWorks SDK for Smartphones (BBOS), Tablet OS SDK (PlayBook), and BB10 SDK. Each will create an application that runs in the respective environment: Java, AIR, Native.
If you start looking at WebWorks APIs (i.e. JavaScript APIs that tie down to the native layer for functionality beyond HTML5; BBM integration for one), then you will need to leverage the API docs to see which APIs can be used with which SDK. There may be differences in implementation, or even availability, of various APIs depending on your platform.
HTML5 provides the most common "base" for re-use, but you will still need to be mindful of each platform's limitations and differences.
There is no WebWorks IDE, you can use whichever IDE you like to create your HTML, JavaScript, and CSS resources. The SDK is then leveraged to "package" those resources into a BlackBerry application for the corresponding platforms.
The HTML5 BlackBerry Developer page should have all the information that you need to start creating WebWorks applications. As that page mentions, you can choose to target all of BB10, BB7, and the Playbook OS with WebWorks.
Webworks can target OS 7.0, Playbook and BB10. You just have to download the SDK for the version you want to deploy to. Be mindful that each platform has platform specific APIs that need to be managed if you use them (like using NFC in BB10, etc). This is actually the reason why there are multiple versions of the SDKs. Each SDK exposes native features of the given platform to HTML5.
As for Development. The easiest way to get started is to use Phonegap. Their documentation is pretty thorough and they have scripts that deploy things for you and manage your directory structure, Manage your pins, and keys, developer tokens, etc.

Black Berry emulator for Windows Mobile

Say I want to develop applications for BlackBerry, but I only have a phone with Windows Mobile and for whatever reason I cannot switch to BlackBerry or buy a new phone.
Is there any BlackBerry emulator for Windows Mobile that would allow me to run apps on Windows Mobile 6? I have HTC HD2.
P.S. I'm not interested in emulators for any other platform.
There is no Blackberry emulator that you can run on a Windows Mobile device. RIM does provide Blackberry simulators for most of its devices that you can run on a Windows PC in companionship with your development environment, though.

How many versions of Blackberry apps we have to make?

There are basically two issues that are confusing us:
Will a Blackberry app made for mobile phones work on the Blackberry tablet? I see that there is a tablet SDK as well.
Do we have to make a separate versions of Blackberry app for different mobile phones?
The reason we ask this is because we come from the Android environment where we can use one SDK to make app which will work on all mobile phones and tablets as well.
The BlackBerry Smartphone SDK is different from the BlackBerry PlayBook Tablet SDK.
The smartphone applications are written in Java (RIM's version of J2ME, essentially), while for now, there are two editions of the PlayBook Tablet SDK: WebWorks, for development with web technologies like Javascript, HTML, and CSS, and one that is Adobe Flash/Actionscript/Air based. I think there is also one in development with C++ as a foundation.
You can start with the BlackBerry Developer zone - it covers development for both smartphones and tablets:
http://us.blackberry.com/developers/
The BlackBerry Tablet SDK for Adobe AIR can be found here: http://us.blackberry.com/developers/tablet/adobe.jsp
The BlackBerry Tablet WebWorks SDK can be found here: http://us.blackberry.com/developers/tablet/webworks.jsp
Information about development for the BlackBerry smartphones can be found here: http://us.blackberry.com/developers/javaappdev/
For smartphone development, you would probably want to target the minimum RIM OS that would include the most devices owned by your target customer base.
Right now, RIM claims that more than 96% of BlackBerry smartphones can be reached using SDK 4.5 or higher.
RIM keeps an up-to-date set of statistics on this: http://us.blackberry.com/developers/choosingtargetos.jsp
Typically, if you're targeting recent devices (4.7 and newer), then you don't need to worry about splitting your code to target multiple devices, as long as the UI is written without making any assumptions as to screen size, etc.
If you're targeting anything older than 4.7, then it may benefit you to make two versions - one for touch screen devices, and one for devices that aren't touch-screen. The touch-screen API is introduced in 4.7, and while it's somewhat backward compatible, in our experience, while you need the touch-screen API available for devices that support it, it's best to leave it out for older devices that do not have support for the touch API or the virtual keyboards that come with it.
If you're going to split the code, RIM's compiler does come with a C/C++ - style preprocessor which comes in very useful.

blackberry device application is working on blackberry playbook tablet?

hi all blackberry device application is working on blackberry playbook tablet ?
Blackberry playbook is totally different than Blackberry Smartphone. For application development current Blackberry Playbook comes with ADOBE AIR SDK . In future they will support (some articles says that) both Android and JavaME apps . As of now J2ME applications will not work on Blackberry Playbook.
Please read more about it at http://us.blackberry.com/developers/tablet/adobe.jsp
http://press.rim.com/release.jsp?id=4935

Resources