blackberry

What is the Blackberry PlayBook's user agent?

What is the User-Agent string for the Blackberry PlayBook's web browser? ...

How can I get the today's date?

In my Blackberry application I'd like to get today's date so I can display it in a textbox. Similar to C#'s DateTime.Now. I'm using two EditFields to act as a filter so a user can say show me records between today and 7 days ago. So I need: Show today's date as default. Show the date 7 days prior to today. Thanks a bunch for the h...

BlackBerry java.io.IOException: No tunnels to open

Hello. I wrote a simple BB app that does an HTTP Request and downloads some JSON encoded information. When I run it on the emulator with the ";deviceSide=true" after the URL it works OK. But when I tried it in my BlackBerry Storm actual device, I got the following exception: java.io.IOException: No tunnels to open Here's the code I u...

How can I execute a javascript in webview of BlackBerry

Hi All, I want to execute a JavaScript code automatically after loading a website through WebView of BlackBerry. I'm using OS 5 for that. But can't find a way out. Thanks in advance. ...

How can I have a user select a picture from his picture library?

My phone is going to be sending information to home base, and I want the end user to be able to select a picture that he has on his phone and select it as an attachment. How can I achieve this? ...

blackberry paragraph formatting labelfield

im having a label field that contains text value exceeds the screen width, i want to format the labelfield as paragraph to display inside specified width and height.. how to format the text in blackberry?? ...

blackberry sdk 4.5 limiting resource bundle to 99 keys?

I have been using an unique resource bundle for all my project. When I reached the key 98 no new key gets found on res.getString(int). It throws MissingResourceException. I can add it but then can't be found. If I just change to SDK 4.6.0 then It works great. Anyone aware of this limitation? Am I doing something wrong? Must say I reb...

Strategy for branching in subversion with mobile releases

I'm developing a series of applications for mobile devices, we'll call them Orange, Cherry, and Pear. Now, because of my familiarity with Blackberry, I chose to begin implementing the first of these three applications, Orange, on the Blackberry platform. I found a way to integrate a number of Blackberry platforms (since they use relati...

blackberry browser - numeric keys

Is there a javascript/html way of forcing the Blackberry browser to convert alpha characters to numeric within a specific HTML form text input box? Normally users have to hold down the alt key and click a bi-functional key to get numeric values. In BB/Java, you can apply a numeric mask to an input field. I have not found an equivalent...

How to send date as a parameter to the request in Ksoap2 to consume .Net web service

I am using KSoap2 for consume web service in my application. I need to send date as parameter in the request. Can anybody know how to send date as a parameter and send the request and please give the sample code for it. Does Ksoap2 support date format? Thanks ...

How to create HTTPClient in blackberry

I am creating connection through httpclient. But blackberry does not support java httpclient class. Please send me code to create connection through httpclient to server. ...

Blackberry - how to Display Dynamic Table Layout view

In Blackberry, How to Create Dynamic Layout View which data is parsed and loaded using XML or JSON Parser and Table Layout be like as below image| Text image|Text | image|Text image|Text | image|Text image| Text image|Text | image|Text image|Text | image|Text Please Provide Sample Code ...

Javascript for Blackberry Bold that allows user to select a country and then the text field will accept the proper formated zip code

This is for a Blackberry browser app for Blackberry Bold 9700 & 9650 running the 5.0 browser. I want the user to select US or Canada from a drop down then based on that selection the following input text field will allow the proper zip code formatting. Alpha and numeric if Canada is selected in drop down or just numeric if US is selected...

Application Details on Blackberry

I want to develop an application which gets the details of other installed applications on Blackberry. Is there any possibility? ...

PictureScrollField issue with indicators

I am using PictureScrollField in my BlackBerry application to create a carousel-like feature. I'm also adding indicators at the bottom (circles) which shows which image out of the 5 in the carousel is being shown. I update my indicator when I recieve a touchEvent (i.e as I'm dragging the scroll field) by grabbing the selectedImageIndex(...

Xml parsing on blackberry

public Connection(String serviceName){ try{ _connection=(HttpConnection)Connector.open(WebServiceLocator._webServiceLocation+serviceName); DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory. newInstance(); DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder(); docBuilder.isValidating(); ...

Blackberry Push Service Initiator on IIS/.NET

I need to send push notifications to a Blackberry device from my ASP.NET application. What is the best way to do it? Are there any .NET libraries? Do I need to compile a PAP request by myself or something like this? ...

Installed Application Details on BlackBerry

I want to develop a application which gets details of installed application like time of installation, name of application ... on blackberry. Is this possible? ...

How to upload a word document to Zoho document Viewer

Hi I am trying to show a MS Word document in blackberry browser by using Zoho Viewer API. Zoho method of sending request is on the following link http://apihelp.wiki.zoho.com/View-a-Private-Document.html Now using HTML and JSP, its quite easy but I want to send this request using Blackberry java app. What i want is that i send a file ...

blackberry parsing remote xml data into ListField

Hello, I have a remote XML that I want to parse, but for some reason, my ListField only shows 1 row. I tried debugging and saw the count for my Vector, which is clearly more than 1. Here is my code: package com.myapp.blackberry; import net.rim.device.api.ui.*; import net.rim.device.api.system.*; import net.rim.device.api.ui.component...