BlackBerry Forums Support Community
              

Showing results 1 to 50 of 150
Search took 0.06 seconds.
Search: Posts Made By: pa4o85
Forum: Developer Forum 01-15-2009, 07:14 AM
Replies: 0
Views: 1,333
Posted By pa4o85
DateField strange problem in JDE 4.2.0?!?

I have a custom date field object. It looks like that:


public class CustomDateField extends HorizontalFieldManager {
/** the width of the custom date field */
private int preferredWidth;
/**...
Forum: Developer Forum 12-02-2008, 07:11 AM
Replies: 0
Views: 806
Posted By pa4o85
Context Menu Focus Circle !?!

What do I mean with "focus circle"? I just don't know the right term for this functionality! I want to move the focus from the last to the first context menu item in the down direction, and from the...
Forum: Developer Forum 10-03-2008, 03:10 AM
Replies: 5
Views: 1,238
Posted By pa4o85
I use this one: AutoHotkey - Free Mouse and...

I use this one:

AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText (http://www.autohotkey.com/)
Forum: Developer Forum 09-24-2008, 09:40 AM
Replies: 3
Views: 977
Posted By pa4o85
Is there anyone who knows more about my problem?...

Is there anyone who knows more about my problem? Replies with code attached will be appreciated ;)! Thanks!
Forum: Developer Forum 08-13-2008, 03:44 AM
Replies: 2
Views: 747
Posted By pa4o85
I didn't do it. At what kind of event I should...

I didn't do it. At what kind of event I should invalidate the outlying manager ?
Forum: Developer Forum 08-12-2008, 09:10 AM
Replies: 2
Views: 747
Posted By pa4o85
I have an edit field problem, and haven't found information about it !?!

I have to build an edit field and I want to be able to push the enter button (or the new line button or whatever) so that the edit field to increase its rows, and the UI fields after it to move down...
Forum: Developer Forum 08-06-2008, 10:27 AM
Replies: 5
Views: 1,456
Posted By pa4o85
I remind something. I used the...

I remind something. I used the net.rim.device.api.system.RealtimeClockListener that has clockUpdated() method, and this method is reached everytime the clock changes i.e. every minute. I will test if...
Forum: Developer Forum 08-06-2008, 10:01 AM
Replies: 5
Views: 1,456
Posted By pa4o85
So, the Tree class: public class Tree extends...

So, the Tree class:

public class Tree extends VerticalFieldManager implements DrawStyle {
/** the width of the tree field */
private int prefWidth;
/** the height of the tree field */
...
Forum: Developer Forum 08-06-2008, 09:24 AM
Replies: 5
Views: 1,456
Posted By pa4o85
Well I have an application that contains about 50...

Well I have an application that contains about 50 .java files and I made it for my company so I don't think it is a good idea to paste a whole amount of code here. I also found it very unlikely the...
Forum: Developer Forum 08-06-2008, 07:38 AM
Replies: 5
Views: 1,456
Posted By pa4o85
Can the size of an application influence its speed ?

I have an application that is about 900 kb big and I have a tree field in it. The focus movement is not fast enough i.e. when I scroll the trackwheel over a custom context menu the focus does not...
Forum: Developer Forum 08-05-2008, 07:59 AM
Replies: 6
Views: 4,234
Posted By pa4o85
I'm glad to read this. No problem. :)

I'm glad to read this. No problem. :)
Forum: Developer Forum 08-04-2008, 08:01 AM
Replies: 6
Views: 4,234
Posted By pa4o85
One more thing. The close menu item looks like...

One more thing. The close menu item looks like this:

private MenuItem close = new MenuItem("Exit", 50, 10) {
public void run() {
//...add whatever you want :)
...
Forum: Developer Forum 08-04-2008, 07:58 AM
Replies: 6
Views: 4,234
Posted By pa4o85
I had that problem some months ago. Firstly, you...

I had that problem some months ago. Firstly, you must NOT implement the makeMenu method of your main screen like this:

protected void makeMenu(Menu menu, int instance) {
super.makeMenu(menu,...
Forum: Developer Forum 07-29-2008, 10:47 AM
Replies: 4
Views: 1,012
Posted By pa4o85
Yes, I saw it....but I have to check every minute...

Yes, I saw it....but I have to check every minute if the result of that function equals the time i set (5 minutes i told before). The other idea that came to my mind is to make a timer that increases...
Forum: Developer Forum 07-29-2008, 10:18 AM
Replies: 4
Views: 1,012
Posted By pa4o85
I am looking for a listener !!!???

Is there any listener, that can observe any trackwheel/key click. I want to made my application (running in background or foreground) starts some actions after 5 minutes (for example) after a...
Forum: Developer Forum 07-29-2008, 03:03 AM
Replies: 2
Views: 1,013
Posted By pa4o85
You are almost there. It is not a tree but a list...

You are almost there. It is not a tree but a list of objects. The main idea i get from your words is that the access to the persistent store costs the battery - I didn't know that. Thanks for the...
Forum: Developer Forum 07-25-2008, 09:17 AM
Replies: 2
Views: 1,013
Posted By pa4o85
Persistent Store: the number of objects - to be more or to be less!!! What is better?

I have a persistent store model. Each persistent object (that corresponds to the specified key for the store) is a list of objects. Each object of that list has a field that is the key from the...
Forum: Developer Forum 07-08-2008, 07:34 AM
Replies: 40
Views: 114,595
Posted By pa4o85
I agree with you. Eclipse is much better but I...

I agree with you. Eclipse is much better but I have a problem with Eclipse that never succeed to resolve. I cannot debug in Eclipse. I made everything that has been written up there. I launch the...
Forum: Developer Forum 06-25-2008, 03:17 AM
Replies: 24
Views: 13,809
Posted By pa4o85
I have a problem. Installs the BlackBerry JDE...

I have a problem. Installs the BlackBerry JDE Plug-in for Eclipse. Then creates a new project. I have a project in eclipse and use ant build with .xml file to build my project. Now I have two...
Forum: Developer Forum 06-16-2008, 01:34 AM
Replies: 24
Views: 13,809
Posted By pa4o85
Ok, I will install it again. Thanks !

Ok, I will install it again. Thanks !
Forum: Developer Forum 06-13-2008, 06:44 AM
Replies: 24
Views: 13,809
Posted By pa4o85
Because I think it is still buggy. It is a beta...

Because I think it is still buggy. It is a beta version. I am waiting for the official release. :smile:
Forum: Developer Forum 06-12-2008, 05:56 AM
Replies: 24
Views: 13,809
Posted By pa4o85
I have a problem that still can not solve. I have...

I have a problem that still can not solve. I have a project in Eclipse, build it, start it on the simulator. But when I want to debug the application, I have some problem. I made the same steps as...
Forum: Developer Forum 05-16-2008, 01:56 AM
Replies: 13
Views: 6,237
Posted By pa4o85
Have you done it ? It is not that complicated. I...

Have you done it ? It is not that complicated. I just can't give you the whole code cause it is a part of a bigger project, but the post before give you the tip. Good luck !
Forum: Developer Forum 05-15-2008, 10:17 AM
Replies: 13
Views: 6,237
Posted By pa4o85
Hello! I made it like this. Not exactly the same...

Hello! I made it like this. Not exactly the same code but kind of. I just give you the main idea.

I used this piece of code:



ApplicationDescriptor descriptor = new...
Forum: Developer Forum 04-25-2008, 07:07 AM
Replies: 3
Views: 977
Posted By pa4o85
Well, that is a good tip. I should have found out...

Well, that is a good tip. I should have found out by myself. :smile: Thanks !
Forum: Developer Forum 04-25-2008, 06:01 AM
Replies: 3
Views: 977
Posted By pa4o85
Sets DateField value properly !?!

I have a DateField with no specified value. In the RIM library i have read that if i setDate() Long.MIN_VALUE the field looks like dashes ("-- --- ----"). That is ok, but when i want to set a value...
Forum: Developer Forum 04-25-2008, 02:31 AM
Replies: 2
Views: 827
Posted By pa4o85
I don't think that is a problem. It depends on...

I don't think that is a problem. It depends on the device model. :smile:
Forum: Developer Forum 04-17-2008, 03:10 AM
Replies: 5
Views: 1,135
Posted By pa4o85
Hi, I am glad that this works, but I think you...

Hi, I am glad that this works, but I think you can not create an instance of the TextField class, because of the fact that the TextField instructor is private, so you cannot use something like...
Forum: Developer Forum 04-15-2008, 09:49 AM
Replies: 5
Views: 1,135
Posted By pa4o85
In my practice I add the EditField which as you...

In my practice I add the EditField which as you can see in the standard RIM library extends BasicEditField. I think you can use this field for user input operations. It works fine ! Good luck !
Forum: Developer Forum 04-15-2008, 01:48 AM
Replies: 5
Views: 1,135
Posted By pa4o85
You can use the subclasses of the TextField i.e....

You can use the subclasses of the TextField i.e. BasicEditField, RichTextField and you will solve your problem i think.
Forum: Developer Forum 04-11-2008, 06:40 AM
Replies: 13
Views: 6,237
Posted By pa4o85
You can look the BlackBerry API for that...

You can look the BlackBerry API for that classes:

- net.rim.device.api.system.ApplicationManager
- net.rim.device.api.system.ApplicationDescriptor
- net.rim.device.api.system.Application.

Maybe...
Forum: Developer Forum 04-09-2008, 01:56 AM
Replies: 12
Views: 3,680
Posted By pa4o85
@Happe79 I did not match your class and my, but...

@Happe79

I did not match your class and my, but i just wanted to share my class for IO operations that works fine for me. Thanks !
Forum: Developer Forum 04-08-2008, 08:44 AM
Replies: 3
Views: 3,781
Posted By pa4o85
There is something wrong here. You print key,...

There is something wrong here. You print key, time, status and then keycode, so the "0" result in the output is the status, not the keycode.
Forum: Developer Forum 04-08-2008, 05:04 AM
Replies: 12
Views: 3,680
Posted By pa4o85
I see. For file operations i use this class and...

I see. For file operations i use this class and it works fine for me till now.

import java.io.DataInputStream;
import java.io.InputStream;
import java.io.OutputStream;
import...
Forum: Developer Forum 04-08-2008, 02:43 AM
Replies: 12
Views: 3,680
Posted By pa4o85
Hi guys. If the exception is thrown when you are...

Hi guys. If the exception is thrown when you are trying to get an image, so maybe the problem is that you tried to access an image with stream. Why don't you just try to get the image that...
Forum: Developer Forum 04-01-2008, 07:57 AM
Replies: 9
Views: 2,392
Posted By pa4o85
The font families are 11. The problem is...

The font families are 11. The problem is definitely not there. I think you can not help me, but thanks for the efforts (y) !
Forum: Developer Forum 04-01-2008, 06:47 AM
Replies: 9
Views: 2,392
Posted By pa4o85
public class EditPage extends VerticalManager...

public class EditPage extends VerticalManager implements ContentManager, TrackwheelListener {
private AccountImpl account;

public EditPage(long style, AccountInfo accInfo) {
...
Forum: Developer Forum 04-01-2008, 05:05 AM
Replies: 9
Views: 2,392
Posted By pa4o85
One thing only if i add too many components it...

One thing only if i add too many components it would throw StackOverflow error or something like this. But it didn't :?
Forum: Developer Forum 04-01-2008, 05:01 AM
Replies: 9
Views: 2,392
Posted By pa4o85
Well in fact i tried this. Put in the stack 56...

Well in fact i tried this. Put in the stack 56 components but only label fields and it didn't throw the exception. If some of the components are edit fields, password fields, date fields etc. and...
Forum: Developer Forum 04-01-2008, 02:08 AM
Replies: 9
Views: 2,392
Posted By pa4o85
Big problem: ArrayIndexOutOfBoundsException !?!?!

I have made an application and have opened a new page that contains a lot of ui components i.e. about 50 - 60 ui components like label fields, text fields, number fields etc. So I build my...
Forum: Developer Forum 03-31-2008, 04:16 AM
Replies: 3
Views: 5,475
Posted By pa4o85
Yes, that is all i need. I just did not know that...

Yes, that is all i need. I just did not know that the ChoiceField has the ComboBox functionality i.e. to add a new item not only to choose one.
Forum: Developer Forum 03-27-2008, 06:41 AM
Replies: 3
Views: 5,475
Posted By pa4o85
How can i implement Combo Box field ?

I would like to implement a combo box ui component. Do i need to make my own component using EditField and ChoiceField, or i can set some property of the ChoiceField to have the Combo box...
Forum: Developer Forum 03-25-2008, 08:32 AM
Replies: 10
Views: 7,156
Posted By pa4o85
How can i remove the "plus" and "minus" elements...

How can i remove the "plus" and "minus" elements from the default tree field ?
Forum: Developer Forum 03-24-2008, 11:00 AM
Replies: 3
Views: 1,669
Posted By pa4o85
Well i fixed the problem. It was not because of...

Well i fixed the problem. It was not because of that i moved the position of the main class. The problem was that i have a class that implements Persistable but the interface did not extends...
Forum: Developer Forum 03-24-2008, 05:07 AM
Replies: 3
Views: 1,669
Posted By pa4o85
Well, i am sorry about that, the problem is not...

Well, i am sorry about that, the problem is not there. The NonPersistableObjectException is thrown! But it will be interesting to know how the blackberry finds the main classes, as nowhere in the...
Forum: Developer Forum 03-24-2008, 04:52 AM
Replies: 3
Views: 1,669
Posted By pa4o85
Starts an application - problem !

I have an application! The source files are in packages like "com.mycompany....". The main application .java file is in out of that package tree, it is in the src directory. The application is...
Forum: Developer Forum 02-28-2008, 10:27 AM
Replies: 11
Views: 5,372
Posted By pa4o85
Nice ! That is another way. I have noticed...

Nice ! That is another way. I have noticed recently some interesting thing. When I use this code(the class i send to you), the background is painted, and i put samo pages (i.e. custom classes...
Forum: Developer Forum 02-28-2008, 09:43 AM
Replies: 11
Views: 5,372
Posted By pa4o85
This is a single class from whole project. I will...

This is a single class from whole project. I will send it to you but i don't know if it will help you. You need to try it more. It is not so complicated.


package com.icom.ui.containers;

import...
Forum: Developer Forum 02-27-2008, 06:52 AM
Replies: 11
Views: 5,372
Posted By pa4o85
header and background are two Bitmap objects. I...

header and background are two Bitmap objects. I have just copied a piece of my code. Like an example, you can draw ther image you want as bacground.
Forum: Developer Forum 02-27-2008, 04:26 AM
Replies: 11
Views: 5,372
Posted By pa4o85
In your screen class you need to override the...

In your screen class you need to override the paint() method and draw there an image.


public void paint(Graphics graphics) {
//header width = 240, height = 20
graphics.drawBitmap(0, 0,...
Showing results 1 to 50 of 150

 
Forum Jump
TAKEX original F71CR fiber amplifier
$60.0
TAKEX original F71CR fiber amplifier pictureKEYENCE new original FS-14 fiber amplifier
$40.0
KEYENCE new original FS-14 fiber amplifier pictureOriginal KEYENCE FS-V1 Kean digital display fiber amplifier
$70.0
Original KEYENCE FS-V1 Kean digital display fiber amplifier pictureNew original Kean amplifier FS-V21SO (2500)
$89.0
New original Kean amplifier FS-V21SO (2500) picture1PCS TDA1905 5W Audio Amplifier with Muting IC DIP16 NEW
$1.0
1PCS TDA1905 5W Audio Amplifier with Muting IC DIP16 NEW picture






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