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...
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.
...
Hi,
I didn't find any similar posts when searching previous questions.
I am developing a game in MIDP for Blackberry Storms. I am using a BlackBerryGameCanvas and using the callback function touchEvent. As an argument, I'm getting an instance of TouchEvent But I want to listen for a TouchGesture like Swipe. But after doing swipe in ...
I am trying to display a Custom PopupScreen and when the virtual keyboard is being displayed it reduces the size of the popup. I know when you for example, select new message you get a PopupScreen that allows you to select message type (sms, email, etc) and it shows on top of the virtual keyboard. Here is my code am I missing something? ...
Hi,
I am creating a resource file using
ResourceBundle _resources = ResourceBundle.getBundle(BUNDLE_ID, BUNDLE_NAME);
Now i want to create another Resource file in that same class.
Can i do it in the same way like for first Resource file ?
The interface ResourceFile.java is an auto-generated file. Then how to view it ?
...
I cannot find a normal article that describe how to design/develop a custom virtual keyboard for the BB storm, i want the keyword to be in a different language then english.
...
I'm writing an app that has a fairly standard use of maps -- I show the user a list of locations, user picks one, and I display a map with 2 pins (user location and chosen location). Works fine the first time, but subsequent attempts always show the same map with the same pins. The problem appears in the 5.0.0.334 (9550) simulator. I'...
Hello i am newbie in blackberry app. development.I need my applications to run on Blackberry storm as well(i.e. touch screen mobiles).. Is there any way to do that. Kindly help. Again tell me the latest blackberry JDE versions or eclipse plug ins that works with touch events.
Thanx in advance...
...
I need the last updated time of BlackBerryContact. I have not find any attribute supported by BlackBerryContact class for last modification date. I am using BlackBerry JDK 5.0.0.
...
i am creating an application for blackberry
i want to open a website when i focus on its name
can anybody tell me how can i do that.
thanks in advance!!!!!!!!!!
...
i am using an image for text field
when i focus on it to write something the first letter of the text that i write gets half cut...
how to avoid that
my code is::
textbox = new EditField(EditField.NO_NEWLINE)
{
protected void layout(int width, int height)
{
super.layout(1000, 38);
super.setExtent((D...
I am creating an application for [BlackBerry][1].
I want to get the user's latitude and longitude and then generate the maps according to it.
How can I do that?
my code is:::
import java.util.Timer;
import java.util.TimerTask;
import javax.microedition.location.Criteria;
import javax.microedition.location.Location;
import javax.micr...
i am using a bitmap field that contains a small image.
when focus comes on that image then blue color of the focus does not appears,how can i set the focus width and height
my code::
contract_image_field = new BitmapField(contract_image,Field.FOCUSABLE)
{
public void getFocusRect(XYRect rect)
{
rect.width=0;
...
I want to make a blackberry app. which will store audio and video files into the sqlite database.
Does blackberry have a special api for this? (special classes for byte[])
Can I store files into sqlite on blackberry?
...
Is there any way to import following in BlackBerry JDE 5.0 or in eclipse with BlackBerry JDE 4.7 ?
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;
I need to implement it for Barcode Reader in BlackBerry. For barcode Reader, I download the rVision....
I need to launch Calendar in my application & give choice to user for selecting event. If user select any event then retrive that event's information & process it.
For address book, it is possible by choose() method for launching Address book, but not found any method for launching Calendar in BlackBerryEventList or EventList class.
Is...
Hi,
have developed an app for BB storm while tilting the device the background image of the app screen does not matches with the screen size, i have tried with the sublayout method
public void sublayout(int width, int height)
{
//update scrren layout based on orientation
if(Display.getOrientation()== Display.ORIENTATION_LANDSC...
Hi, i develop application for Blackberry. In Storm 1 (4.7) and Storm 2 (5.0) i need to disable accelerometer in my application. I want my application does not react to the accelerometer, but that does not affect other applications. Its possible?
...
How to display images in the form of pages where only one page is displayed at a time on blackberry screen. On scrolling down subsequent images will load at run time. So that loading of images do not consume time at startup.
Edit: I am using loadimage function which loads images from blackberry device memory which loads images from spec...
I'm trying to load some images using Bitmap.getBitmapResource(), but it takes about 2 or 3 seconds per image to load. I'm testing on the Storm, specifically. The odd thing is, when I install OS 5.0, the loading goes in a snap, no delay at all.
Should I be looking at the format used? Or where the files are stored? I've tried both 24-...