blackberry-eclipse-plugin

displaying images that are retrieved from json url

Hi, I have a json url like such... [{"Image":"http://xyz.com/abc.png", "Title":"Sample"},{"Image":"http://xyz.com/def.png", "Title":"Sample2"} ] What i want to achieve is to get the image from json url and display it into a list. Beside it there must be title. There will be number of such objects so they must be in a list form. I c...

Location Finder

Hi I am using the following code for finding the location, this code is working fine in simulator but when i am deploying it in device it is not working.. can any one please help me out. public class LocationFinder extends Thread { public LocationFinder() { } public void run(){ Criteria criteria = new Criter...

Using listField to display Json string

Hi, I am retrieving a string of values from json url. I have done it like... for(int i=0;i<totalList;i++){ String strAlert=jsArrShpList.get(i).toString(); JSONObject joAlert=new JSONObject(strAlert); String shoppingList = joAlert.get("CategoryName").toString(); } Now i want to add the strings to a list field and i want to get ...

Json data into Blackberry Listfields

Hi, I want to know how to populate a list field with the data that is retrieved from Json url. I have Json data in the url like so... [{"CategoryID":13,"CategoryName":"Desktops"},{"CategoryID":14,"CategoryName":"PC"},{"CategoryID":15,"CategoryName":"Mac"}] I want to display category names into a listfield. Plzzzz help me.It will be v...

How to display a simple webpage app on Blackberry using JDE Plugin in Eclipse

I'm totally new to this. How could I make my app, in the menu I did, just open for example www.google.com? My trouble is in the code to make this happen - I already have the graphic stuff with the menu. ...

Designing a slot machine in blackberry

Hi, I am a Blackberry java developer. I am trying to develop a simple slot machine logic. I am new to animated graphics etc in blackberry. So, can anyone tell me how to design a simple slot machine where on pressing a button the images in 3 blocks must start rotating and after it stops the prizes will be displayed according to the pics....

error in the importing the database

package com.Wblower.db; import java.util.Hashtable; import java.util.Vector; import org.garret.perst.Iterator; import org.garret.perst.Key; public class ContactlistdatabaseQueries { public static Vector ContactDBVec = new Vector(); public static Hashtable ContactDBhash = new Hashtable(); public static void insertSingleContact...

Exporting a Blackberry project from Eclipse and Source control.

Hi, I was was a single developer working on a Blackberry project till now, and we had a fairly stable feature set to develop, so I wasn't using source control at all, apart from for backing up. Now, though, a few developers were added to the team. My first question is - How do I export a whole eclipse-BB project along with the refere...

Blackberry extrenal library problem (module not found)

I am using eclipse. When I add an external jar (import it.sauronsoftware.ftp4j.*;) it seems to be ok, I reference the external jar by right clicking project and the properties. When I instantiate an FTPclient opbject and run in the simulator I get "module not found". Somebody on a different forum suggested creating a new library and add...

Launching Blackberry application using Eclipse debugger resets device

I'm trying to debug a Blackberry application on device. I had some initial success, but lately the device reboots when the debugger tries to launch the application. The application gets installed, and I can run it from the device after the device reboots, but so far I'm unable to get it to run under the debugger. Configuration Device:...

How to get key values in MultiMap Blackberry

How to get key values in MultiMap Blackberry while parsing XML ...

Blackberry - how do you specify argument(s) to application main method without using JDE or Eclipse plugin?

I am building my application .cod file without using Blackberry JDE or Eclipse plugin. Everything works fine in the simulator if I hardcode the String arguments which my main() method needs. (I am using Maven to build.) How do you specify main method arguments? In the Eclipse BlackBerry project properties, in the Application tab, you ca...

Error : Detected background switch for net_rim_bb_ribbon_app(58) who has NO tunnels open - defocus NOT called

Hi There Im working in eclipse with bb plugin and the problem is when i click in my app then simulator freezes and I can not do anything. I tried to do something but its still the same And Also I app have a background component (THREAD), here i leave the code when i call the method app have a background component public void callbac...

Blackberry RIM device, access the server problem java

hi, ı have a problem with my project. the exception says " Server cannot handle the message because of some temporary condition " .The code is here, ı try to salve this problem but ı couldn't.. package Kpaket; import net.rim.device.api.ui.component.*; import net.rim.device.api.ui.container.*; import net.rim.device.api.ui.*; import K...

Blackberry development : Adding a transparent popup screen on top of a main Screen that runs a video

Hi all, I am a Junior Blackberry developer. I am creating an application where I have 2 screens : A main Screen where I display a video and a transparent popup screen where I add some data. I want to put the popup screen on top of the main screen so that it appears that the video is running in the background of the popup screen...Is t...

Can someone check/revise my understanding of Blackberry development options?

I'd like my Blackberry devices to get and possibly set data to the server, and am a little confused by all the options: RIM-Push/Pap-Push. Use any library that is able to compose a HTTP GET request to the MDS-CS service (not MDS-IS). This is a one way operation from the server to the device. RIM-Push (Push a URL and or shorcut to a ...

How to add Click Event to BitmapField (fieldchangeListner)

Hi friends i am working BitmapField in blackberry I implemented my class with FieldChangeListener and add FieldChangeListener method in my class and even add setChangeListner to that particular Bitmap Field, But it is not responding with click event on it.. plz give u r valuable solutions to add clickevent to BitmapField thanks in a...

BlackBerry App Unable to establish Http Connection with Server?

Following is the code that I am using for the HTTP conncetion. HttpConnection connection = null; // InputStream inputstream = null; connection = (HttpConnection) Connector.open("http://www.google.com"); //HTTP Request connection.setRequestMethod(HttpConnection.GET...

How to test sending email in blackberry eclipse plugin 1.1

Hi friends I usedthe code below for sending mail. I tested it in JDE5.0 with ESS it doesnt work. So please give me some solution. import net.rim.blackberry.api.mail.; import net.rim.blackberry.api.mail.event.; import net.rim.device.api.system.*; public class BasicMail extends Application { private Store store; static void main (String a...

How to authenticate a user in blackberry against an online database?

I am fairly new to Blackberry development and need help in terms of having a simple application. User enters a login/password which is authenticated on a MYSQL database on website. Once authenticated, he/she is shown a listbox/select boxthat is pre populated with some values. Once the user selects a value and hits submit, an email is gen...