Hi all,
I am trying to get permission for EventInjector . I want to capture Image from the camera and display that image in my application , and for this i need to have EventInjector Permission. My code to get Permission is like:
try{
final ApplicationPermissionsManager appPermissionsManager = ApplicationPermissionsManager.getIns...
Hi All,
I want to add a new LabelField(String label, long style) but if I use Field.FIELD_HCENTER as my style then I get the following alignment.
|---- This text is horizontally aligned but in ----|
|---- a block.
But what I want is;
|---- This text is horizontally aligned and ----|
|------- independently so for each line --------|
...
i want to create 2 buttons for blackberry which look like this...
and the second one inverted of the above
i wanted to do this without using images (for efficiency) and the buttons should appear only when there is focus on them and dis sapper when focus goes off..
...
Hi everyone!
Anyone have anyidea ragarding the above topic then please reply.
If it possible then how? Write an example code if possible to explain.
Thanks
...
Hello,
I am working on blackberry java development. I am having a xml file:
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<url>www.test.com</url>
<username>testuser</username>
<password>sun123ARC</password>
<width>350</width>
<height>350</height>
</settings>
I want to change the inner text of all nodes. After ...
Hi all,
Is there any way to set Criteria for LocationProvider depending upon the network provider, means determining whether the network provider supports CellSite mode or autonomous mode or any other mode.
How to define criteria for GPS fix when you have so many network provider in front of you?
Thanx.
...
Hi,
As i am working on a reminder application, i need to show the reminder dialog whenever the set date has arrived for a particular data. I am using the following code to store the date.
long now = System.currentTimeMillis();
DateField dateField = new DateField("",now,DateField.DATE);
long date = dateField.getDate();
For example,...
Hello all,
I use the following global dialog to show up some message after user exited application and my app notified for checking some task.
synchronized( UiApplication.getEventLock() ) {
UiEngine ui = Ui.getUiEngine();
Screen screen = new Dialog(Dialog.D_OK, "My Message",
Dialog.OK, Bitmap.getPredefinedBitmap(Bitmap.E...
hi i have developed an j2me application, which uses these api's:
import javax.microedition.lcdui.Item;
import javax.microedition.lcdui.ChoiceGroup;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.TextField;
import javax.microedition.lcdui.List;
import javax.microedition.lcdu...
Hello all,
I have a background bitmap in my Blackberry application screen. Screen has scrolling enabled as i must to have a scroll. The problem which i'm facing is, when i scroll down the page, background bitmap doesn't fit for the scrolled page, rather it shows just plain white background. Do we need to draw the background bitmap for e...
Hi-
I am using the BluetoothSerialPortInfo class to get Bluetooth devices paired with my blackberry. When I tried to print the value of device address for each device, I don't see or get actual Bluetooth address. I am using the following code.
String btAddress = mPortInfo[count].getDeviceAddress().toString();
I actually get [@4d4cd14c...
Hi,
I have a .NET webservice sitting on my local IIS. I'm calling 1 method from it, ClientSearch, using a Blackberry. The method is:
[WebMethod]
public List<Client> ClientSearch(string Surname, string Forename, string DOB, string Postcode)
{
List<Client> clients = new List<Client>();
// Populate list
return clients;
}
When...
Hi,
I have some COD files that I have developed using the Widget toolkit for Visual Studio. These cod files need signed before I can use them on a device.
When I open the signature Tool from within Eclipse (3.4.0) every COD file from the current workspace is shown in the list. If I hit the 'Add' button and select the COD file I want ...
i get a date input from the user..in this case i need to determine if the year the user entered is a leap year or not ...and after the user has entered the entire date i.e the month date and year...i need to check if the date is in fact valid if yes need to determine the day for that particular date.. can some one tell me how this could ...
I want to make slide transition effect in my blackberry application from navigating one screen to another screen.But when i collect information regarding this i can know that this effect only possible with 5.0 version.Is there any way to achieve this effect in lower version.
...
Hi!
I would like to display some Arabic text into LabelField in j2me app on BlackBerry device.
Presume that Arabic font is installed on device.
In localization resources, if Arabic locale is used, all text is saved in Unicode sequences. But event if I use such format explicitly, also setting Arabic locale, it's not working:
Locale....
I want a BasicEditField that lets me enter alphabets only...and a combination of upper case and lower case ...as in Jan, Feb...when i use the upper case and lower case filter that are there in BaiscEditField it allows either the entire string to be in upper case or lowr case ..not a combination..how do i achiever this...?
...
I recently lost my Blackberry. When I discovered it was gone very shortly afterwards and called it, the sim card had already been removed. I ain't seeing that Blackberry again. Ok. I am out $300, but at least my data is backed up. I had an older working Blackberry fortunately and I got a new sim card and proceeded to restore my data usi...
Hi, does anyone knows how to use the blackberry JDE API to create a screen slide animation similar to Featured Items screen in the Blackberry App World? I am aware that in blackberry 5.0, there are some transition apis to perform that. But I am looking to do it for version 4.6 OS. It has the nice scrolling effect using the scrolling ball...
I having long image that is three times height of blackberry bold screen. when i m showing that picture in my application i cant able to view whole image.i can only see first part and last part middle part is not visible.Is there is any way to view the whole image like line by line .
...