blackberry

How to setup alternate entry point in Blackberry application?

How to setup alternate entrypoint in Blackberry Application.There will be 2 application UI Application Background Application: will run on autostart. There is a blackberry knowledge center article about this, which I tried, and coded as follows. But on clicking the application icon, there is no response. class EntryPointForApplica...

viewing images in a map interface on a widget

Hello, I am trying to build a blackberry widget which is primarily used to view satellite images. I would like to be able to view these images in a map interface for zoom and simple overlays. I am wondering what my options are for doing this. The images are currently being served over WMS, but that can change. Can I view these images (...

Using Bing Maps REST Services on BlackBerry?

Are there any third party libraries or SDK's - commercial or open source - that would provide a straightforward way to integrate Bing Maps in a BlackBerry application? Now that Bing Maps Mobile is free for use in consumer-facing apps, it's a really compelling choice. Nutiteq provides the only option I've found so far (short of developin...

Focus in ListField?

I have added two list fields to a screen but on a change in focus it does not go to the second list horizontally. class TestScreen extends MainScreen { private final ObjectListField listField = new ObjectListField(FIELD_LEFT) { public void layout(int width, int height) { su...

How to add addGlobalEventListener in a class in blackberry?

I have made a multiple entry-point project, where App2 is set to autorun and App1 runs on user request. I am trying to invoke a global event from App1, received by App2. public class App2 implements GlobalEventListener { static public int counter = 0; public static final long countId = 0x1251402f595f81a5L; public static fi...

Update user status for major social networks from Blackberry

My application is a Radio app which plays different radio stations using live streaming. I want to implement a social networking feature. I want to let users send their current status using different social networking sites. I have already implemented this in my iPhone application. facebook,twitter,myspace,linkedin,orkut. Can anyone...

Source code for Voice Notes Recorder for 9700

I am looking to study the working of voicenotesrecorder in the Blackberry simulator for the 9700 phone. I am using Blackberry JDE 5.0 and the 9700 simulator. I got the source code for 4.5 but it doesn't run on the simulator. Can you tell me where to get the source code? ...

Is it possible to create a BrowserSession for Direct TCP transport?

Hi! My BlackBerry app opens BB Browser to display a web page for users. There is BlackBerry KB doc "How to - Invoke the browser" on how to do it. The doc says there are the following types of transports to choose: public static final int SERVICE_RECORD_CONFIG_TYPE_WAP = 0; public static final int SERVICE_RECORD_CONFIG_TYPE_BES = 1;...

BlackBerry java UI development.

Hello, Is there a tool for BlackBerry java application UI development. I do not find drag and drop options in xml file in eclipse like in Android SDK. Is there something like Droid Draw here too? I am new to BB Java dev, any pointers are appreciated. ...

implement globle tab bar in blackberry

I am implementing an application for Blackberry Storm and Bold. This application needs to implement a global tab bar to handle multiple screens. How do I do this? I would like something similar to the weatherbug app. ...

What is the format for individual frames in the RIMM streaming file format

I am trying to capture some video frames from a BlackBerry device and operate on them as images (specifically to do barcode decoding). I have found some sample code and a spec document which demonstrates how to use the J2ME MMAPI classes to stream video from the device's camera both to a file and to an output stream. The streaming file ...

Determine BlackBerry height including vertical scroll area

I need to detect the height of a web page displayed on a BlackBerry and I've tried the following. height, window.innerHeight, and screen.availHeight My BB 9700 simulator returns values of 304, 327, and 360 respectively. The closest "correct" value is 360 since that's the actual height of the displayed page. However, the site has a ve...

BlackBerry browserfield example

I am using JDE 6.0 and the Torch 9800 simulator. There is an example which is called "browserfield" - it's opens a the browser to "google.com". However, I cant type any text into the search textbox on the google main page. The same happens with other pages I have tried to use instead of google.com. ...

Email notification in BlackBerry

I need a code that can catch notifications when any new emails come in my Blackberry handset. ...

BlackBerry progress dialog

I want to show the user a progress dialog until a particular task is complete. For example, after the user enters username and password it takes some time to connect as the username and password are validated. I want to show the progress bar to the user while waiting. ...

code to get number of unread emails in BlackBerry

I need to code that returns how many unread emails are in the inbox on a BlackBerry. ...

Writing a mobile phone radio station app - is Javascript/HTML/CSS viable, or do we need to go native?

I want to write an app that will stream MP3s from a server to any of the three major smartphone operating systems in the US (iPhone, Blackberry, and Android). Here is the tradeoff I'm concerned with: if I write the app natively, it will make for the best user experience and give me the capability to add many more features if I want, but...

How to remove duplicate string in big string data?

e.g. i am getting data like "vivartvivartpandey" i want output like "vivartpandey" Only one thing is fixed that data will come either like string1+string1+string2 or like string1+string2 (no duplicate) but string1 and string2 both are variable. So How to identify string1 and remove duplicate string1? ...

ksoap2 blackberry webservice problem, sample need

Hi! I'm new in blackberry, Currently I'm working at a program, in which I'm fetching data from the php based web service using ksoap2 lib. Everything works smoothly. App connects and fetches the data from the webservice, But now the problem is that, I don't know how to parse the resulting data. It is complex data and contains many rows a...

Quirk in Blackberry browser input field

Has anyone notice on the blackberry web browser, that if your cursor does a mouseover of an input field, that the contents of the input field will shift to right and left, effectively hidding the contents. This might have some use when a screen is shrunk to fit tiny blackberry screen, but most of the time I find it very annoying. I hav...