blackberry

Display simple HTML in a native BlackBerry application

I want to be able to display some simple chunks of HTML in my native BlackBerry app, NOT returned from a URL. This is similar to existing Stackoverflow questions (e.g. here and here), but I need help getting the actual BlackBerry sample code to run (or perhaps somebody to tell me why this is doomed to not work!). The BlackBerry website...

Blackberry - Is this a guaranteed approach for detecting a valid connection type?

I've created following two methods for reliably building a connection for making a data connection. So far I haven't had any issues testing this approach with users. I'd love to get some community feedback about this approach and letting me know if anything seems in buildConnectionString(). Please see code below: private static String ...

UiApplication.activate() method called post app install on some BlackBerry Bolds. Why?

I'm having troubles with the UiApplication.activate() method firing post-app-installation (OTA install). I have: public class PlayerApp extends UiApplication public PlayerApp() { new Thread(this).start(); } public void run() { ... } public void activate() { ... } I'm having troubles with the activate() metho...

Module with handle [xxxx] and index [x] has no application entry point

I'm having a problem with calling: HomeScreen.updateIcon(_Icon); or HomeScreen.setName("${app.title}"); This throws an exception "Module with handle [xxxx] and index [x] has no application entry point". Only when the application is first installed, but not subsequent reboots. What's wrong with .updateIcon()? ...

BlackBerry - Get current Process ID

Hi all, I read Blackberry - How to get the background application process id but I'm not sure I understand it correctly. The following code gets the foreground process id; ApplicationManager.getApplicationManager().getForegroundProcessId() I have two processes which execute the same piece of code to make a connection, I want to log t...

BlackBerry - How to draw Custom Focusable Color/Style for a focusable field?

I have custom drawn fields which are focusable. Normally the default focus color is Blue which obviously doesn't match to every theme. So can you give me efficient or non efficient ideas to change the color of the focus? Thanks ...

BlackBerry - Creating custom Date Field

i want to create a field that looks like this ....can any one tell me how this could be done which field could i use where in i can select values by using the trackball/wheel or in case of storm i could slide... ...

Blackberry - Can't change theme after lwuit was installed

I've used lwuit in my j2me application and it works well. When I've converted .jar file to .cod file and install it on BB emulator, I've faced runtime error 104. Then I got the blackberry demo and lwuit.jar file included with it and when install it on BB it works well. But after I edit the theme.res file application doesn't open an...

How to create IM chat client for skype?

I am planing to create my own IM chat client for Blackberry and J2ME.Can anyone suggest me how to create our own chat client for blackberry. Is there is any api available to create such client application? ...

Blackberry - Get list of Profiles and active Profile info

Hi, I'm developing a Blackberry application, where I need to get the list of profiles from phone (for sound settings). Is there any way for getting the profile info? ...

BlackBerry - read custom ringtone name from address book contact list?

Actually I am assigning custom ringtone with contact number in a custom database contact list. Now I am having problem with the reading to that contact list. If anyone having any idea about this problem pls pls help. UPDATE public void showAddressBook() { try { ContactList contactList = (ContactList) PIM.getInstance() ...

BlackBerry - Exception when sending SMS

This code fails, sending a text message to a mobile number. It throws an exception with message: "blocking operation not permitted on event dispatch thread". So I created a separate thread to execute the SMS code, but I am still observing the same exception. What am I doing wrong? class DummyFirst extends MainScreen { private Bi...

Why blackberry apps cannot do network i/o AT ALL outside of North America without BIS?

I was told by a consultant in a 3 hours discussion that basically blackberry 3rd party apps (Distributed through AppWorld or not) cannot perform any network I/O outside of North America without becoming an alliance member. Is this true? Basically the story is that only North America can make use of APN connection, anywhere else in the w...

Blackberry - Is it possible to ignore doing 'Request Signatures' every time?

Hi All, I am developing Blackberry application. Every time when i want to test my app program changes on the Blackberry storm device, i need do 'Request Signatures' every time. Can't we ignore doing it every time? Thanks. ...

BlackBerry - Access to web service from real device

hi i have developed a application, that works fine on the simulator, now i want to test the application on the actual device. my application tries to access web services over the internet. I mean to say, the application makes SOAP request to web services. Also i am accessing the web services using https So in this case, do i need to firs...

How do I parse the inner array out of the json string?

{"genres":[{"total_genres":"2"},{"genre":[{"code":"CTY","name":"Country"}]},{"genre":[{"code":"HOP","name":"Hip Hop / R&B"}]}]} I am tryin to parse the inner array "genre" out of this string. I can get an outer array "genres" if I do: JSONObject outer=new JSONObject(returnContent); JSONArray ja = outer.getJSONArray("genres"); How d...

How can I install the BlackBerry v5.0.0 component pack into Eclipse?

I'm trying to install the latest v5.0.0 "beta 2" BlackBerry OS Component Pack into Eclipse 3.4.2 with BlackBerry Eclipse plugin v1.0.0.67, but have hit a few problems. Has anybody found an easy way to do this? I had no trouble installing the v4.5.0 and v4.7.0 Component Packs. It's rather strange that BlackBerry are shipping new phones...

BlackBerry - Programmatically create new exception in profile?

Hi everyone! Actually i trying how to read the profile status but i am not getting that. .... If anyone have an idea how to create new exception in profile programmatically, will really helpful for me. Thanks ...

How to implement a circular buffer in Blackberry or java me?

How can we program a circular buffer for Blackberry? ...

Blackberry - read profileIndex status using NotificationManager and Consequence API

Below link is not enough to get profile status.... http://stackoverflow.com/questions/1892579/blackberry-get-list-of-profiles-and-active-profile-info Is there any indirect way to get Profile status, programmatically? I am trying to find the profileIndex but failed. If anyone know anything about this problem solution pls pls share . Th...