blackberry application develpment - java

Is java the only language available to develop applications for blackberry. Though i have
checked phonegap but its not properly documented.

As far as I know, yes. Alternatively, you can develop web applications what will work on BlackBerry.
See BlackBerry developers site for more information.

You could develop a BlackBerry Widget, which uses Javascript instead of Java. It's still deployed and installed in the same way as a native Java app.

Yes, you can use HTML5, CSS3 and JS to create apps for BlackBerry using tools such as PhoneGap Build or BlackBerry WebWorks.
Here is a new book in Amazon that provides a PhoneGap Build example that was targeted on BlackBerry OS 6.0 devices.

Related

writing apps for phonegap in java (with GWT, Vaadin etc.)

I was looking at http://phonegap.com/ and I find the technology quite impressive.
And I was wondering with technologies like GWT or Vaadin, which convert Java code to Javascript, can it be used with phonegap?
As far as I know there is Mgwt project introduced by Daniel Kurka
By using gwt-phonegap and mgwt you can write applications that can be deployed into the app store or the market place with GWT.
Here is some start for you.
Yes you can use Vaadin to create nice mobile application.
With Vaadin TouchKit you can create native and HTML5 Application for cross-platforms.
For converting to native application, vaadin supports Apache Cordova & PhoneGap.

screen scraping on android phone using (ICS)

I am looking to implement simple automation which requires screen scraping for an android (ICS) phone.
What are the options, frameworks, libraries available?
I have been using WATIN on .NET and found it very powerful and yet easy to use,
A Java version of WATIN, WATIR - is it a good choice for web screenscraping / automation for the Android platform?
You can use watir-webdriver or selenium-webdriver Ruby gems to drive real browsers in Android emulators or real Android devices. Of course, if you are not a Ruby person, you can do the same from another language. More information: http://code.google.com/p/selenium/wiki/AndroidDriver
Using RESTful API enables you to extract data with minimum coding effort. Here are some links you might be interested in.
Calling a REST web service from Android
http://timewasted.net/?p=127
Synthetics Web
http://www.syntheticsweb.com/

Iphone Application Porting to Blackberry RIM

I have developed an application for iPhone. Is there any way to port that application on to Blackberry RIM so that i can avoid rewriting the application in Java for Blackberry RIM?
I am rewriting my application for black berry,suggest me the way to rewrite so that later stage I can port that directly to Android.
Thanks in advance.
The short answer is no.
The closest thing I am aware of is projects like PhoneGap (and others, including Appcelerator Titanium) which allow for cross platform development for smart phones including iPhone, Android, and Blackberry by creating hardware specific wrappers around WebApps. PhoneGap essentially allows for Web Apps to have more complete access to the hardware and operating system of these devices (like the camera, motion detection, push notification, etc.) by wrapping the Web App in a customized browser that provides javascript handles for accessing the hardware.
PhoneGap will even build binaries for each of the supported platforms on their servers (with limitations...for example, if you want to submit to the Apple App Store, you currently need to build the iPhone binary yourself due to developer certificate issues).
So if your app could be (re)conceived as a Web App with some extra help accessing device specific hardward features, then PhoneGap or similar development kits might provide some shortcuts to cross platform deployment.
not really. If your app is written in custom objective-c code, then you will need to manually port it to blackberry java. there are some cross-platform app frameworks out there though that may allow you to do what you need, but youd have to redevelop your app with those frameworks.

Developing JavaME applications on Linux

I have been tasked to develop a mobile application with java technology. So i went to oracle's website to download the toolkit, then i figured out that Java ME SDK 3.0 is only available on windows and mac.
Now my question is, does it mean that Linux users can't development Java Me applications since the development kit is only available to Windows and Mac users alone?
If a Linux user wants to develop a Java ME application, how would he go about it ?
The last Java ME SDK I successfully used on linux was the Sun Java Wireless Toolkit 2.5.2. Found here. I'm not sure what is holding up 3.0, but if 2.5.2 doesn't pan out, I'd try the Android SDK (Note on the Android SDK: It wouldn't be a Java ME application, but it would be a mobile application using java technology).
I hope this helps.
As Beanz said, 2.5.2 is fine. You can download the Eclipse mobile package which has everything. Also check out LWUIT - a fantastic UI toolkit for J2ME (also supported and provided by Oracle/Sun).
Find eclipse pulsar (for mobile developing) and import the library LWUIT. See the manual:
http://jimmod.com/blog/2010/04/basic-lwuit-tutorial-with-eclipse-pulsar/

What are the available J2ME SDK using Java code?

I am a Java J2SE developer, and i want to learn J2ME to start creating mobile applications.I see i can use the default Oracle Java ME SDK. Do you know other Mobile SDks that are Java based, as i want to write Java code ?
IMHO Android is the way to go if you want to do java for the mobile, even better than j2me.
see Android SDK
Here's a list of Java ME SDK suppliers / vendors that I was able to find using Google:
Motorola
LG
Nokia
Samsung
Sony Ericsson
RIM
and probably more
Netbeans Java ME plug-in is kinda the same than Java ME SDK, but obviously with all the options Netbeans include. That's the one I use.
And if you're decided to go on with Java ME, I suggest you to have a look to LWUIT, in order to make nicer interfaces within the own Java Me technology.
Eclipse works just fine for this purpose. Have a look at Mobile Tools for Java (formerly known as EclipseME).
From the eclipse me link:
EclipseME is an Eclipse plugin to help develop J2ME MIDlets. EclipseME does the "grunt work" of connecting Wireless Toolkits to the Eclipse development environment, allowing you to focus on developing your application, rather than worrying about the special needs of J2ME development.
If you want Java for mobile and not necessarily J2ME, you can also try Android and Blackberry development.

Categories