Posts Tagged ‘BlackBerry’

Creating a BlackBerry custom field – Tutorial

Posted October 10th, 2009 by
Summary

This tutorial will show you how to create a very simple custom field (component) using the RIM API. If you’re familiar with Swing, then this code will not be a surprise to you. There are some similarities between AWT/Swing and RIM UI API.

Click here to read this tutorial...   |  

Using the BlackBerry gauge field to display progress – Tutorial

Posted October 9th, 2009 by
Summary

This tutorial will show you how the use the gauge field to show progress in your apps. This is useful when your app is performing long running tasks that need to report feedback to the user. The gauge field is a horizontal component that can be used to display status or progress. It displays a percentage from 0 to 100 and you can set a label before it to display any progress/status messages. You can even overlay the label inside of the gauge field, so that it won’t be displayed before it, but inside of it (on top of the progress bar that’s drawn).

Click here to read this tutorial...   |  

Asking for BlackBerry application permissions upfront – Tutorial

Posted October 9th, 2009 by
Summary

This tutorial will show you how to ask a user (of your BlackBerry app) for permissions that are required in order for your app to function properly. There are many APIs in the RIM API that will cause a prompt to be displayed in the BlackBerry UI that will require a user to provide explicit permission to access certain API functionality or access to certain hardware features or data on the device. Instead of interrupting the UI, it’s possible to ask the user for all of these permissions at the very beginning. By the way, if the user does not grant permissions when this popup appears, then an exception will be thrown which you have to deal with.

Click here to read this tutorial...   |  

Working with BlackBerry screens – Tutorial

Posted October 5th, 2009 by
Summary

In this tutorial, I will show you how to quickly manage screens using the RIM UI API. The BlackBerry OS maintains a stack of screens, and your app can be pushed and popped from this stack. These are normal screen display operations. You can even hide your screen from the display, and it will show the BlackBerry home screen. You can close the screen as well.

Click here to read this tutorial...   |  

Working with BlackBerry Layout Managers – Tutorial

Posted October 4th, 2009 by
Summary

This tutorial will simply walk you through the various layout managers available to you using RIM’s UI API (not MIDP). RIM’s layout managers are akin to Swing layout managers, and allow you to arrange lots of fields (aka components in Swing), on the screen. You can create your own layout managers, just like in Swing, but this tutorial will show you how to use the built in ones. If none of the layout managers shown here work for you, then you can composite layout managers to get the desired look for your app, before creating your own.

Click here to read this tutorial...   |  

Creating your first GUI BlackBerry App – Tutorial

Posted September 24th, 2009 by
Summary

This tutorial will simply walk you through creating your first GUI app using RIM’s UI API (not MIDP). Only a skeleton will be created, that you can later expand on to create your own projects.

Click here to read this tutorial...   |  

Twitter API integration

Posted August 4th, 2009 by
Summary

I’ve been building web, mobile, desktop apps that are powered by the ScreamingToaster ONE Platform for the last 3 years. I’ve had to integrate with a lot of services, like weather, credit card payment processing gateways, GeoIP lookups, CellID lookups, etc. One of the easiest integrations I’ve had to perform is with Twitter :) . Twitter has a simple to use API that can be accessed using Java or just about any other language. There are some really good Java wrappers for this API, and I’m going to highlight a really good one in this tutorial. I’m also going to show you how to integrate with Twitpic using Java.

Click here to read this tutorial...   |  

Using JSON for mobile object exchange – Tutorial

Posted March 6th, 2009 by
Summary

I’ve been working with various object encoding schemes to get information transferred over the network between services and mobile apps running on Android and BlackBerry. On Android, I figured I would try using Java object serialization, and that works some of the time, and not for anything complex. I wish the object serialization and deserialization mechanism in GWT would be ported over to all these mobile environments, but I digress. This tutorial outlines the use of JSON for this purpose.

Click here to read this tutorial...   |  

Getting code signing keys from RIM, then using them – Tutorial

Posted November 20th, 2008 by
Summary

If you use certain BlackBerry APIs, you have to get code signing keys and sign your .COD file with them, before you will be able to install and run these applications on a BlackBerry device. This tutorial will walk you through the process of getting the keys, and installing them to your JDE, and then deploying your application to a real device OTA (over the air).

Click here to read this tutorial...   |  

BlackBerry SDK and tools – Getting Started Tutorial

Posted October 2nd, 2008 by
Summary

This tutorial has helpful pointers for developers who are just getting started with Blackberry development. This includes information on tools, IDEs, tutorials, videos, etc.

Click here to read this tutorial...   |