Authorsmita.kale

How to compress Image in gzip format

H

Some times the Size of images are too large and in some of the applications images are needed to save on particular server but because off large size it takes lots off time to save into server.If we compress that image into a particular format then we can save some space of server. Step 1 – Create one Category and add libz.dylib library. Step 2 – in .h file i.e in interface...

Custom Fonts in Blackberry Application

C

Download the .ttf (True Type Font)file and include it in src folder. Include this code into the constructor. EditField edField1 = new EditField (“”, “TestEditField”, 30, EditField.READONLY| EditField.FIELD_VCENTER){ protected void layout(int width, int height) { super.layout(customWidth, customHeight); setExtent(customWidth, customHeight); } }; Font fo3 =...

How to signed Blackberry Application

H

Code Signing in not required when applications are loaded and tested on a BlackBerry Smartphone Simulator. Developers order code signing keys from RIM, and receive a set of files that are then installed on their development machine.  The BlackBerry development tools are then able to provide these key files to the BlackBerry Signature Tool when the developer requests that their application be...

How to Send Email through Simulator in blackberry

H

If you are using Blackberry Java Eclipse Plugins then follow the steps. Step-1:   a) Sending Email Without Attachment. //Get the Store from the default mail Session. Store store = Session.getDefaultInstance().getStore(); //retrieve the sent folder Folder[] folders = store.list(Folder.SENT); Folder sentfolder = folders[0]; //create a new message and store it in the sent folder Message msg = new...

Set Timer in Blackberry Application

S

This Code shows how to set Timer in your blackberry Application. Step-1: Implement Runnable interface.And add unimplemented methods.And set this fields. private long startTime; private Thread updater; private boolean isRunning= false; private final static SimpleDateFormat timerFormat = new SimpleDateFormat(“ss.SSS”); private final Runnable displayUpdater= new Runnable() { public void...

Category