BlackBerry Forums Support Community
              

Showing results 1 to 26 of 26
Search took 0.01 seconds.
Search: Posts Made By: Massif
Forum: Developer Forum 01-23-2009, 02:37 PM
Replies: 0
Views: 859
Posted By Massif
Open WML page from application?

I need my application to open a WML page and then shut down.

The code I am using opens the default browser and shuts down. However, if the phone's default browser is the HTML browser, the...
Forum: Developer Forum 12-08-2008, 10:03 AM
Replies: 3
Views: 4,975
Posted By Massif
Word Wrap using Graphics.drawText?

I'm trying to implement word wrap functionality using Graphics.drawText. Is there any way to measure the width (in pixels) of a string using a particular font? Or will I have to measure each...
Forum: Developer Forum 12-04-2008, 02:14 PM
Replies: 1
Views: 1,471
Posted By Massif
As is usually the case, I figured out the problem...

As is usually the case, I figured out the problem just after posting this. I needed a Thread.sleep() in my main loop.
Forum: Developer Forum 12-04-2008, 01:56 PM
Replies: 1
Views: 1,471
Posted By Massif
TouchEvents on 9530

I'm having some trouble with the MOVE TouchEvent on the 9530 (Storm). The events are all detected properly, but there is a huge lag on the device from when I actually move my finger around to when it...
Forum: Developer Forum 06-02-2008, 11:28 AM
Replies: 1
Views: 783
Posted By Massif
Re-enable music when application is brought to foreground?

When I push the end button while my game is running, the game is sent to the background, but the audio that plays in the game stays on. I added a condition to keyDown that stops the media player when...
Forum: Developer Forum 05-29-2008, 07:14 AM
Replies: 4
Views: 4,235
Posted By Massif
I am downloading from a URL. Here is the...

I am downloading from a URL.

Here is the code I am using:

public static void downloadWebData(final String url, final String fileName) throws IOException {
Thread t = new Thread(new Runnable()...
Forum: Developer Forum 05-28-2008, 08:49 PM
Replies: 4
Views: 4,235
Posted By Massif
HttpConnection file size limit?

I am trying to write a podcatcher/media player. I've been able to download a small mp3 file (~150kb) but when I tried with a larger file it downloaded 1kb of something and returned a response code of...
Forum: Developer Forum 05-26-2008, 02:53 PM
Replies: 7
Views: 1,856
Posted By Massif
It turns out I do need to flip the images and...

It turns out I do need to flip the images and save them somewhere to increase performance. However, if I do the flipping in code like in CELITE's example the transparency is destroyed. I resorted to...
Forum: Developer Forum 05-23-2008, 03:59 PM
Replies: 2
Views: 1,470
Posted By Massif
Nevermind. I just found it: Note that keyUp...

Nevermind. I just found it:

Note that keyUp events are disabled by default for performance reasons, and must be explicitly enabled via Application.enableKeyUpEvents(boolean).
Forum: Developer Forum 05-23-2008, 03:56 PM
Replies: 2
Views: 1,470
Posted By Massif
keyUp not called when pressing a key

When I press and release a key, keyDown gets called but keyUp doesn't. Does anyone know why keyUp never gets called?
Forum: Developer Forum 05-23-2008, 09:41 AM
Replies: 7
Views: 1,856
Posted By Massif
That's true. In my case I'm only drawing a...

That's true.

In my case I'm only drawing a single time and the images are very small (20x20 max). That code looks good. I really didn't need the XYRect.
Forum: Developer Forum 05-22-2008, 09:27 AM
Replies: 7
Views: 1,856
Posted By Massif
I just tried a simple comparison test using...

I just tried a simple comparison test using System.currentTimeMillis() and they both seem to return 0 most of the time, so it's probably too small to measure in millis. I guess I could try a test...
Forum: Developer Forum 05-22-2008, 08:28 AM
Replies: 7
Views: 1,856
Posted By Massif
Thanks! I implemented a different method which...

Thanks! I implemented a different method which probably isn't as efficient. It basically takes vertical strips of the original that are 1 pixel wide and calls drawBitmap for each strip. I'm going to...
Forum: Developer Forum 05-21-2008, 10:48 AM
Replies: 1
Views: 1,010
Posted By Massif
Silly me, I just tried the 4.2.0 API which has...

Silly me, I just tried the 4.2.0 API which has the navigationMovement method and works on 4.2.0.xx OS.
Forum: Developer Forum 05-21-2008, 10:20 AM
Replies: 1
Views: 1,010
Posted By Massif
Left/Right Trackball Scrolling Using 4.1.0 API?

Is there a way to register left/right trackball movements as unique events with the 4.1.0 API? I am currently implementing TrackwheelRoll which returns -1 for UP, 1 for DOWN and 0 for LEFT and RIGHT....
Forum: Developer Forum 05-20-2008, 12:06 PM
Replies: 1
Views: 1,447
Posted By Massif
Rollover icons outside of code?

Is there a way to specify rollover icons in the jdp file similar to how normal icons are specified?

I know you can do it in HomeScreen programmatically, but I don't have access to signed classes.
Forum: Developer Forum 05-20-2008, 11:35 AM
Replies: 7
Views: 1,856
Posted By Massif
Mirroring a bitmap

Is there a way to mirror a bitmap before drawing it to a graphics context?

In javax.microedition.lcdui.Graphics there is the drawRegion method which allows you to specify a transformation...
Forum: Developer Forum 05-18-2008, 06:13 PM
Replies: 5
Views: 3,599
Posted By Massif
I just tried that and it doesn't seem to work. I...

I just tried that and it doesn't seem to work. I decided to factor some of the methods out into another class and that seems to have fixed the problem. It also appears that making variables and...
Forum: Developer Forum 05-16-2008, 10:49 AM
Replies: 5
Views: 3,599
Posted By Massif
I just got a similar problem on another project....

I just got a similar problem on another project. This time the error is:

I/O Error: output file: MyProjectBlackBerry-1.cod code section too large: 68752 bytes.

Does this mean there's too much...
Forum: Developer Forum 05-15-2008, 11:50 AM
Replies: 5
Views: 3,599
Posted By Massif
Well I decided to try JDE 4.1.0 and it works with...

Well I decided to try JDE 4.1.0 and it works with the larger files.
Forum: Developer Forum 05-15-2008, 10:52 AM
Replies: 5
Views: 3,599
Posted By Massif
I/O Error: binary resource too large

I'm trying to compile using JDE 4.0 (for compatibility reasons) and I keep gettings the following message:

I/O Error: binary resource too large: C:\workspace\MyProject\fifthqs.dat is 74519 bytes
...
Forum: Developer Forum 05-14-2008, 04:21 PM
Replies: 2
Views: 1,458
Posted By Massif
I'm also looking for a way to do this. I used JDE...

I'm also looking for a way to do this. I used JDE 4.3.0, but I wasn't able to load the app onto older phones so I want to make a JDE 4.0 version as well.
Forum: Developer Forum 05-09-2008, 01:46 PM
Replies: 6
Views: 4,569
Posted By Massif
I tried the 4.1.0 component pack under eclipse...

I tried the 4.1.0 component pack under eclipse and it works now.
Thanks for the help!
Forum: Developer Forum 05-07-2008, 01:00 PM
Replies: 6
Views: 4,569
Posted By Massif
I added the 4.2.0 jar and removed the 4.3.0...

I added the 4.2.0 jar and removed the 4.3.0 version. It compiles fine, but I still see no icon on the 4.2.0.69 Cingular 8100. I also downloaded 2 more simulators. The Cingular 8100 with 4.2.0.71...
Forum: Developer Forum 05-07-2008, 11:23 AM
Replies: 6
Views: 4,569
Posted By Massif
Do I need to download an older version of the...

Do I need to download an older version of the plugin to use 4.2.0? Or is there an option I can set to compile against the older OS with the current plugin?

In the lib folder...
Forum: Developer Forum 05-07-2008, 09:53 AM
Replies: 6
Views: 4,569
Posted By Massif
No menu icon after installing application

I compiled a simple Hello World program using Eclipse and the Blackberry JDE plugin. The code for this program is here:
Programming the BlackBerry With J2ME...
Showing results 1 to 26 of 26

 
Forum Jump

Vintage V-Mac Industries Inc. Pipe Threader Vosper Drophead Threader - READ picture

Vintage V-Mac Industries Inc. Pipe Threader Vosper Drophead Threader - READ

$199.00



Vintage Mac Tools AW343 Series 1/2 Pneumatic Impact Driver  picture

Vintage Mac Tools AW343 Series 1/2 Pneumatic Impact Driver

$50.00



Vintage Mac Warehouse  3.5” Floppy Disk Solar Powered Calculator Company Swag picture

Vintage Mac Warehouse 3.5” Floppy Disk Solar Powered Calculator Company Swag

$66.60



Vintage MAC Tools UVEX Adjustable Safety Glasses Motorcycle Mechanic Lawnmower picture

Vintage MAC Tools UVEX Adjustable Safety Glasses Motorcycle Mechanic Lawnmower

$64.99



Vintage VTG A. W. Mack 122387 Large Industrial Fuse Puller 100 Amp - 600 Amp picture

Vintage VTG A. W. Mack 122387 Large Industrial Fuse Puller 100 Amp - 600 Amp

$104.99



Vintage UNHOLTZ-DICKIE MAC-6C Equipment - Untested As-is picture

Vintage UNHOLTZ-DICKIE MAC-6C Equipment - Untested As-is

$71.99







Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.