blackberry

BlackBerry JDE Eclipse Plugin 1.1 on Windows 7

Has anybody been able to run the new plugin beta v1.1 on Windows 7? When I run the installer, it pops up an error that states "Please select another location to extract the installer to". It allows me to chose another folder, but after I choose, it shows me the same error dialog. ...

How to turn on Content Protection programatically on a Blackberry Device

We don't have BES deployed to set the IT policy and turn on content protection on the device. So, it has to be done programatically. I can see that such permissions can be requested by using ApplicationPermissions and ApplicationPermissionsManager. But after such permissions are given by the user, how to actually change the setting. I k...

Unable to publish on user's facebook wall through blackberry application

I want to publish a post to user's wall..for this first i am making user to log in and getting the session id also...but in order to publish i need the user to grant me publish_stream permission..so immmediately after i am obtaining auth_token by capturing url of the login success screen, i am making call to http://www.facebook.com/conne...

SOAP complex type in header

I am learning how to consume .net web services. I am using 4.7 JDE in Eclipse, testing in the Curve (8520) simulator 4.6.1.272. I generated the stubs using Sun Java Wireless Toolkit 2.5. One of the services requires a complex type in the SOAP header (not in the SOAP body). Is it possible to do that using the stubs created by the toolk...

Blackberry simulator won't load cod file from eclipse

I've got eclipse installed with the appropriate blackberry plug-ins, etc. I can build the project fine. When I try to debug using the simulator, the cod file is placed into the simulator's directory and the simulator starts, but I can't find the application. It is not in the Downloads directory-thingy or anywhere else that I can see.....

BlackBerry - Custom Layout

Hi All, I am very much new to the Blacberry development environment. I am trying to make a simple calculator application. But when i implement buttons it is always displaying one below the another. I need to custom place the controls. Is there any way to make the layout custom so that i can place my controls as i wish. Thanks in advanc...

Blackberry - send/receive XML data with webservice

Sample program for creating XML and send the XML data to web service and getting back the XML response from web server in blackberry? ...

How to show WebPage in blackberry application?

How can we show the web page in the blackberry application.Pls share ur ideas to show the web page in blackberry application using broswerfield.If possible provide some code snippet. ...

Launching and uninstalling an application

From the current application on a Blackberry, how do I (using Java): launch another application uninstall another application ...

Sync BlackBerry persistent data with desktop to survive device transfers and OS upgrades.

If a BlackBerry application stores data in the persistent store, that data typically gets erased when the user performs a data transfer to a new device (using RIM's desktop software), or when the user performs an OS upgrade on the device. I believe the RIM api does provide facilities for making an application adhere to whatever rules it...

Network Connection Blackberry

How to get the best possible http connection in an blackberry application? I use the Network Diagnostic tool provided by RIM but most of the time it fails to find any connection while other applications are connected to the internet without a problem. Is there any other way to find out how to connect to internet? ...

Using MIDP Canvas keyPressed / keyCode on BlackBerry to get Canvas.FIRE for trackball click

I have a MIDP application that I would like to run on BlackBerry devices. It's quite generic, the one gotcha is that when I override the Canvas keyPressed(int keyCode) method, I'm not capturing the trackpad click events. Normally you would use getGameAction(keyCode) == FIRE to capture the center of the navigation pad button on MIDP devi...

getting IOException : Peer refused the connection (BlackBerry)

Hi all... Can anyone tell me why i am getting this IOException:smileytongue:eer refused the connection??? I was testing my application yesterday it was working fine..but today when i opened it i cannot log int my application...i cannot login from the simulator. .i hve tried appending ";deviceside=true" , ";deviceside=false" and removin...

Blackberry push notification implementation

How does one implement a push notification for a blackberry app? I heard that in order to do so I need to purchase a Blackberry Enterprise Server which costs me 1400 per year. Is this true? Where is a good starting point in implementing push notifications? I am experienced with iPhone push development, but cannot find the equivalent for ...

BlackBerry - How to refresh the Calendar Event Viewer screen programmatically?

Hi, I created a custom menu item inside the Blackberry Calendar Event Viewer which opened another screen. When the screen is closed, something was changed on the event and was committed. However the following code can not refresh the contents in Event Viewer. The following code is inside the method onClose() of the screen and is after...

XMl Data into String in blackberry

Read the contents of an local XML file in an application and get the whole contents of xml file into a string for blackberry application? ...

Can I use BlackBerry Composer-to create graphics for my BlackBerry native application?

I'm building an application that already has it's Iphone version. I must build the UI for BlackBerry on similar lines. Chanced upon the BlackBerry Composer (Part of the Theme Builder) used to create graphics for the BlackBerry phone. My questions are 1.My designer must use the BlackBerry Composer to build graphics i.e... Custom button...

Web services Security

Hi I have a question regarding security, and web services. I need a web service to provide an interface for the underlying mySQL database. I am trying to get a Blackberry Application to store data on the web servers mySQL database through a web service. My question is, how can I ensure that the bb-application is the only thing tha...

Need help: Buffering Audio in Blackberry?

I need to learn how to buffer audio stream from a remote server in blackberry. There is a sample buffered playback app with blackberry api but can u tell what url may I use to test the application? If u have any resource/knowledge related to it, pls share it with me. Thanks! ...

CoverageInfo.getCoverageStatus() vs CoverageInfo.isCoverageSufficient(), are they the same?

In trying to determing a if a specific connection is supported, I'm cofused about the difference between CoverageInfo.getCoverageStatus() and CoverageInfo.isCoverageSufficient(). For example: // check mds with getCoverageStatus() and bitwise check boolean hasMdsCoverage1 = (CoverageInfo.getCoverageStatus() & CoverageInfo.COVERAGE_MDS) =...