I have created a class that extends HorizontalFieldManager so that I can display a label and an image on the same line with the label to the left and the image to the right. I want the user to be able to interact with the hfm as if it were a single field. I have everything working (focus, click action, etc) except the menu. When I press ...
I have a bluetooth headset that I paired with my blackberry storm. Whenever I turn on/off the headset, my storm displays the message that the headset is been connected or disconnected and updates the bluetooth indicator icon. I would like to detect that headset connect change event in my application. How do i capture that event change? I...
Hi everyone, I am starting to think that there are no OAuth libraries that I can use with BlackBerry mobile devices. The only possibility I have found is the following, which I have yet to look into with detail:
http://github.com/fireeagle/j2me-oauth
So, my question is (assuming there are no other libraries), what is a work around fo...
Hello All,
Is it possible to resize the width of horizontal manager. I want to create two buttons in horizontal manag, set the background border. I am using the following code for that. It is working fine. But as there are only two buttons and doesn't occupy the entire screen of 320 width, setting border is happening only for those two ...
HI all..
I am really confused over getting GPS location of user...do i have to implement separate logic for GSM and CDMA devices??...besides there are so many modes for getting GPS location(cellsite , stand alone , cell assisted etc)...really confused over which criteria to set..and also some networks refuse some modes(e.g. cellsite)..
...
Hi All,
In my application screen, i am having a field, where user can to choose his DateOfBirth.
I want to popup any built-in "Date" calendar or some built-in Date picker to user, so that it will look professional. As i'm new to this development, i wanted to know there is any code sample available to popoup the built-in Date Picker?
N...
Hello,
Does TimerTask work even if my exit my application and come to home screen or explore other apps?
I have read the forum and find out the thread kind of easy mechanism is to use TimerTask in BB. I want to have thread running always even my app is not launched(after first time), so that when an particular interval arrives, i can sh...
I am using jxa-1.0 to create Instant Messaging application in blackberry while running the application i m getting exception like "java.io.IOException: Stream closed".Could you please tell me how to fix this?? or if u have prior experience with Jxa-1.0 pls share your ideas about how to use this one.
...
Hi,
I want to implement peek and remove methods , similar to Java's Queue.peek() and Queue.remove() , in Blackberry application. I have a custom queue implementation ,but how do I get peek elements and remove elements from queue?
Please help,
Thanks in advance.
...
Hello BB experts,
I am programmatically drawing the background image(320*480 size) for my application home screen as below.
Screen does have scrollbar facility added. Also screen is having many other controls too like Label, EditField etc in multiple horizontal manager.
My problem is, when i scroll down the screen, the background image...
I am trying to make a View class that provides a Horizontal or Vertical layout depending on how it is created. I'm using a delegate to achieve this.
class View extends Manager {
private Manager mDelegate;
public View(Manager inDelegate) {
mDelegate = inDelegate;
// the delegate is the only child of "this" manage...
Hi ,
I am using persistent stores to store data in a Blackberry application.
While I create objects and store it in persistent store in same session data is saved properly.
But the data is not recovered from store in next session.
How do I fix this?
My code is as follows:
static TrialStore ts = new TrialStore();
static Vector data= n...
I'm trying to find what market share each of the different BlackBerry models and/or OSes have. I've found similar resources for the iPhone (all OS versions and just V3.x OS versions) so I hope something is available.
At the moment our BlackBerry application is specified to support 8xxx and 9xxx models, and I want to know what proportio...
I'm about to develop an application for blackberry that transport some data through a native socket connection to a server. This can be done easily in Java but I was told the issue with this approach is that most blackberries have some sort of restricted internet access and that the socket connection would not work.
Is this true? Typic...
Have a script that using jquery validation. Tested on 2 Blackberry's and neither worked properly.
http://andrewpeller.com/contest/indexTest.html
1st one - Blackberry Bold
Email validation would not work even with valid email such as [email protected]
2nd one
Form would not submit at all.
Any suggestions as to how to get this to wo...
i want to customize a listfield in blackberry which can able to list image and text in a row.can any one tell me how to customize and if you can provide me some code snippet
...
Hi,
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.
Please help.
Thanks in advance.
...
I need to open a webpage from a BlackBerry application. I don't want to use a hyperlink so that users have to navigate to the blackberry browser application.
So, I basically need a full screen where the content of that particular page can be loaded just like a browser.
Is weblinks the answer to what I need or do I need to just invoke a b...
Hi,
Is there a way that I can access the font size that is set on the handset?
I would like to use something like the following to setup the font on a screen:
setFont(Font.getDefault().derive(Font.PLAIN, 20));
replacing the 20 in the above with the font set in the application, up to a maximum that I'll determine. I'm using JDE 4.5....
I am working on a web development project that I want to make sure works well on the BlackBerry browser. As part of both testing and documentation, I want to be able to take screenshots of my application and was wondering where to start.
I see there are a couple of pay applications on BlackBerry App World when I search for screenshot, ...