blackberry

Browser is not opening in blackberry 8900 application

I am embedding browser in blackberry application. In which I open my compny website with some label on top. Its working in simulator, but not on device. In device other applications which require browser are running fine. my device is : 8900 Please let know how I can solve this issue? Thanks Shikha ...

How do I send an EOF for a Java InputStream element?

so i have the following code opening an input stream and collecting the information successfully: httpInput = httpConnection.openInputStream(); sb= new StringBuffer(); while (ch != -1) { ch = httpInput.read(); sb.append(...

BlackBerry - How to create alarm event?

I want to acces alarm. in my application i have successfully accessed calender and have set the appointment but how i can access alarm. please help me. following is my code public class Alarm { private Event event; public void myAlarm() { try { EventList eventList = (EventList)PIM.getInstance(). ...

GPRS attach attempt success/failure in BlackBerry.

How could I measure the GPRS attach attempt success/failure in the device(could be by any application) but I want to capture these parameters in my application. Please let me know If I could do this? ...

Crypto Liberary for Iphone, BlackBerry, Android and .Net

Dear Gurus We are working on a application suite with support of windows(.net), Iphone, Android and Blackberry and all these application shares the same data (syncs with a wcf services). Whenever a device ads a new record, it encrypts the data and and saves in the local database and on sync it post the record to server as it is. Now...

Aligning fields in VerticalFieldManager

I'm trying to develop a stock ticker in JDE 4.3. I found in a recent post that it is possible for two(2) fields to be aligned both horizontal and vertical: http://stackoverflow.com/questions/1486664/blackberry-field-alignment-in-a-verticalfieldmanager. My question is: is it possible to align horizontally (3) or more ActiveRichTextField...

HTTP response problem in blackberry real device

i am doing a simple http request to the server and server is returning 0 problem is that on simulator i am getting "0" (expected) and on real device i am getting "text/html ||||| |||||, <|||||0" (unwanted response) am i missing something? ...

How to capture HTTP throughput in BlackBerry?

Please help me to findout the HTTP throughput and HTTP latency in the BB programming. ...

Blackberry asp.net Application : vertical scroll bar using overflow

Hi I have a regualar HTML table to be displayed on blackberry application. It displays data perfectly fine with scroll bar using overflow property. But this scrollbar is not very user friendly, it bearly works. Pagination cannot work because the height of the table is specified by user and it will make the application very slow due to ...

blackberry method to replace strings?

so, again, due to blackberry's api limitation, i have 2 questions: the response that i get back from my IOUtilities.streamToBytes(httpInput); call contains "&lt;" characters. so what blackberry class/method can i use to replace my "&lt;" with "<"? there is ONLY 1 replace() method in the String class and that method can only replace 1 c...

How to open PDF file in my Blackberry application?

Hi, I am creating blackberry application to view PDF files in my application. I have couple of PDF files in my application bundle. I want to read these PDF files in blackberry. anyone have idea how to load this PDF file to read? Any help would be appreciated. Thanks, Jim. ...

MapField Display problem...

I want to display MapField on Storm on Full Screen and for this i am using MapField.setPreferredSize(Display.getWidth,Display.getHeight) . But instead of seeing MapField of dimensions 320X480 ,i get MapField of dimensions of roughly 320X280 and remaining space(480-280 = 200) filled with black colour..I have crosschecked values of Display...

Interact with the blackberry browser?

How could I get the number of URL errors and number of URL hit in the BlackBerrybrowser in a particular time interval. I want to track those hits and errors in my applications. ...

Blackberry - Maximum number of screens to be pushed in UI stack

Hi friends, Do anyone know maximum how many screen we can push in an UiApplication without calling popscreen() and what will be the maximum file size of each screen class. Thanks as Regards Mintu ...

Android - Estimate port of BlackBerry app with PIM and networking

I have a J2ME CLDC Blackberry app which I need to port to the Android. Some of the features: client/server communication using HTTPS reading/writing PIMs, files on device memory, SD card listeners on PIMs changes small UI: login page and simple status screen Lines of code: 4000 Any idea what is the amount of work to do that? Let say...

Programmatically how to know device service type like its CDMA/GSM/GPRS

Hi everyone, I m trying to find a code that with help me to find out the device serive-type like CDMA / GSM . I have tried the code below but not helped. DeviceInfo.getDeviceName(); Can anyone please help to find out and solve the problem. Thanks and regards Mintu ...

newbie in Blackberry application development

Hey i am newbie in blackberry application development...I am also iphone app. developer. So wanna grow up with mobile application development. so kindly forward me stepwise approach for beginners in blackberry. Thanking you for assistance in advance. ...

How to convert an XMl document into String in blackberry JDE 4.7

Hello Everyone. Can anyone help me with code for converting an xml document into string in blackberry JDE 4.7 I wanted the complete xml document into a single String. Thanks... ...

BlackBerry - What does getPreferredWidth() and getPreferredHeight() return??

Hi all, I am not getting clear about the concept of getPreferredWidth() and getPreferredHeight() methods. What do they return means on what what basis the values are returned.?? What is difference between getWidth() and getPreferredWidth()??? Thank you.. ...

Blackberry application development using PHP

Can we develop a blackberry application using PHP? How difficult is it and what are all the other compatible environment to develop an application? Please be advised that the application is just for viewing a members profile and his music. Is this possible? ...