blackberry

blackberry java app throwing error while initiating bluetooth

I am trying to initiate a bluetooth device search in my java app. The agent.startInquiry seems to start but an exception is thrown from the catch block, and then I get an alert from deviceDiscovered() saying device discovered1. Is there is an exception, why is that deviceDiscovered is getting called? Can anyone please let me know if I a...

Best way to ask a user to input a date?

How can I ask my user to input a date in my Blackberry application? What controls does the RIM offer me to show my users something familiar and easy to implement? ...

Parse xml data sequentially.

Hi BB developers I have a issue while parsing the xml data using DOM. The xml data format is: <stimulus name="Question" type="0"> <card> <no>1</no> <text><![CDATA[What is your primary goal, challenge or problem?]]></text> </card>----------------------- <stimulus name="Noun" type="0"> <card> <no>12</no> <text><![CDATA[Evaluation Criteria...

XMPP via WAP 2.0 on BlackBerry. Can't connect.

Problem: I have XMPP based IM application for BlackBerry. When it tries to connect to server using WAP 2.0 (no wi-fi or BIS coverage available) I'm gettings this error in the XMPP's input stream just after connect stanza is sent: <html xmlns='http://www.w3.org/1999/xhtml'&gt; <head><title>The request failed</title></head> <body><p><big>...

Button render service using image?

Hi BB developers I am newbie to development.I am having a problem with transparent image.I placed a transparent image on a bitmap and used that part as button render service.But when I clicked not only on the image but also on the entire screen it fires the button event. How can I make the specified image part as Button render service an...

Include proprocessor directives in the application.

Hi all I am starting an application where I have to specify some xml files in the application for some button fields. When I click on one button it should parse the specified xml file. How can I make call them call before compile time, mean how to mention in preprocessor directives. ...

Strategies for rich Blackberry web pages

a client wants to "modernize" a 5 year old web/html-based Blackberry "application". The application allows field service technicians and franchisees to inquire on warranty and service status. Currently they use very simple php/html pages. Application seems slow, especially on repeated inquiries which require constant reload. Blackberry...

clicking the sym button does not bring up the symbol popup.

I have an EditField in my program. whenever i press the 'sym' key on the keypad the menu comes up instead of the usual symbol page. I am not using keyode method. My program only has a trackwheel click which handles button clicks. protected boolean trackwheelClick(int status, int time) { if(_remMefld.isFocus()){ if(!remebe...

How to get applications data from Blackberry appworld with PHP?

Is there an API or some SDK allowing access to appworld.blackberry.com to get application information using PHP or maybe some other programming language? ...

attaching image to blackberry Email through code

I have a problem attaching an image to a blackberry email. In my code I can attach a png image taken with the camera and it is visible in attachments, but when I click on the send email button I get an error: Email service does not support these types of attachments. Change the Send-Using field, or change the attachments My code is: ...

blackberry anroid installation

Hi , How to install and run the android .apk file in blackberry , What are the step i should follow, ...

Can I emulate the trackwheel navigation of a blackberry app in an embedded browserfield?

I am using an embedded Browser in a blackberry app to view a website customised for blackberries. We're using this approach as we'd rather not invest in launching a native app that we can't change & distribute as quickly as a website for now. The problem is I want to emulate track wheel focusing from field to field as in a native app ...

Sample code similar to Messaging application of BlackBerry

I want to display messages from my application exactly in the same way as that of native messaging application of Blackberry. How do I achieve it in listfield? Also I want to add date headers that will display messages in the order in which they are received. ...

A small doubt in BB

Hi, I added a BasicEditField to my screen: BasicEditField duration=new EditField("Duration:","",2,EditField.FILTER_NUMERIC); Where we can enter only a number in the above field right..Now I want to display the value entered in the above field in another screen...for that i write in the next screen like String duration11=duration.g...

Blackberry Push support in India

I have successfully pushed notifications to BB mobile phones based on the BB push SDK provided by RIM. I have currently tested this in Israel where our R&D is located. Part of our team is in India, but for some reason they are not able to receive any notifications although they are using exactly the same client code, all credentials are...

Click tracking on telephone links for BlackBerry Devices

I'm trying to add click tracking to a telephone link on one of my pages. These links are in the form of <a href="tel:5555555555">call me</a> So my click tracking happens normally by sending the user to an intermediate page that tracks their click and sends them on to there intended url. This works beautifully on the iPhone and Android ...

working with buttons in managers.

I am struggling with a stange issue.I have used three HorizontalFieldManagers in a screen with buttons on it. On the bottommanager I have a next button when I click on the button it should generate the data in the topmanager.I am able to display the data using Labelfied, but when I click on the next button it is not going to the next da...

anyone doing XUI on blackberry

I'm looking for javascipt toolkit for Blackberry OS 4.6 and above (but must be 4.6 comptible!) for business applications. XUI looks interesting but can'y find examples or more than 1 page of documentation. Anyone have experience/examples with XUI? ...

BlackBerry Maps and Location App

I have looked extensively for a solution all over the Internet What I need is a map in a field within my application in Blackberry 8310 (I don't mind if the solution comes from using OS 5.0+). I can get a static map in there using a browser field or invoke Google Maps Application But thats not what I want. For 1, I cannot use static ...

connect to other bluetooth device in j2me for blackberry

Can anyone please point me in right direction? I am unable to find suitable or simple tutorial to write a program to connect to two bluetooth enabled already paired blackberry devices. This is new to me. So, finding it hard to understand. I do not want to use any RIM specific API's which require signing the application. I just need to ...