java-me

J2ME Camera and Sound Recorder Access On A Windows Mobile

I'm currently involved in a research project that requires me to access a Windows Mobile Camera and sound recorder with J2ME to, well take pictures and record sound... the phone has to be a windows mobile for some reason that has nothing to do with me and the software has to be written in Java, also not my decision. So I need to try and...

how to turn Bluetooth on/off with J2ME ?

I want to write a program in J2ME to turn the Bluetooth on/off automaticly in a certain time without the user permission. I'v been looking for a while but I couldn't find an answer. ...

BlackBerry Horizontal Scrolling in TreeField or ListField

I am working on an application that requires text larger than the viewable screen size in both a TreeField and a ListField. As you know, the TreeField and ListField callbacks support only graphics.drawText() methods, so I cannot add an instance of a Field per row. Does anyone have a method of Scrolling horizontally past the viewable t...

How to write an application to stimulate clicking events on Mobile

Hi all, I'm finding a way to write a mobile application that could stimulate clicking some buttons on the phone. Based on my check, it's not possible to do with J2ME. How about Symbian? Is it possible? ...

WTK emulator bluetooth connection problem

Hi! I'm developing a J2ME program with eclipse / WTK 2.5.2 and having problem with connecting two emulators using bluetooth. There is one server and one .client running on two different emulators. The problem is client program cannot discover any bluetooth device. Here is the server and client codes: public Server() { try { ...

how to start atop audio in j2me

i want to add audio to the application. i habe added audio but the problem is that the audio does not stop till the audio clip is over. How do i make it stop. Please give axample. ...

Serialization via J2ME or BlackBerry APIs.

Is it possible to serialize an object into a string or a byte array using either the J2ME or BlackBerry APIs? Thanks. ...

Recording Audio With J2ME and an HTC Touch 2

Is anyone aware of a work around the security measures put in place in MIDP that stop access to the audio recorder in J2ME, I know my phone supports it but it just keeps asking if it's ok to let it record over and over again, if I try to skip it it throws a .SecurityError. ...

BlackBerry/J2ME - SAX parse collection of objects with attributes

I have a problem with using the SAX parser to parse a XML file. It is a complex XML file, it is like the following. <Objects> <Object no="1"> <field name="PID">ilives:87877</field> <field name="dc.coverage">Charlottetown</field> <field name="fgs.ownerId">fedoraAdmin</field> </Obj...

Handling Connection Timeouts in Nokia S60 devices?

I have a thread which handles all the HTTP Connections to the server and there is another thread which updates the UI etc. I have a timeout logic implemented in the UI Thread which looks for some response and times it out (closes the connection and displays a notification to the user) It works perfectly fine on Nokia Series 40 Devices, ...

Weird RecordStore behavior when RecordStoreFullException occurs

Hello everyone! I'm developing a small J2ME application that displays bus stops timetables - they are stored as records in MIDP RecordStores. Sometimes records can not fit a single RecordStore, especially on record update - using setRecord method - a RecordStoreFullException occurs. I catch the exception, and try to write the record to...

Customising the title bar in Java ME

Is it possible to customise the title bar in Java ME? ...

Video player using j2me to play mp4 from a directory.

I want to develop a j2me application that will play a video file(.mp4) by selecting a particular directory on mobile phone(nokia s40 series). How do i go about this?can anyone help me to initiate the above said process. ...

How well does knowledge of J2ME generalize to other mobile platforms?

I'm considering taking mobile phone software development course at my university. The course uses J2ME with an emulator. I'm interested in software development for mobile phones, but I get the impression that J2ME is somewhat stale and limited in comparison to the newer platforms like the iPhone and Android. I'm most interested in Androi...

Bluetooth multiple connection j2me

If i found RemoteDevice and ServiceRecord in my client(functions deviceDiscovered, servicesDiscovered). Then open connection with found serviceRecord(e.g. stream = (StreamConnection) Connector.open(url);). Then close this connection. And again create connetion with found service. If two of my clients will work at the same time, you get a...

MIDlet + BlackBerry API = verification error?

Hi, Is there any way to write a MIDlet, but still use BlackBerry API classes and functions (including the APIs that require code signing)? In particular, I'm trying to use Kuix (http://www.kalmeo.org/projects/kuix). A pure MIDlet + Kuix (so without BlackBerry stuff) works perfectly after I converted the jar/jad to a cod file. As soon ...

How do encrypt a long or int using the Bouncy Castle crypto routines for BlackBerry?

How do encrypt/decrypt a long or int using the Bouncy Castle crypto routines for BlackBerry? I know how to encrypt/decrypt a String. I can encrypt a long but can't get a long to decrypt properly. Some of this is poorly done, but I'm just trying stuff out at the moment. I've included my entire crypto engine here: import org.bouncycas...

Detect if touch device

Hello, I'm writing a MIDlet using the Kuix UI toolkit, and I want to make changes to the toolkit depending on whether the current device is a touch screen device. (These changes include making buttons bigger, for easier tapping.) Is there a way to detect whether the device has a touch screen using J2ME (MIDP 2)? [edit] as a (crappy) w...

Create Personalized Controls For Java ME

I'm starting to develop a eBook reader for mobile using Java ME, but for the control were the book will be shown I need a personalized control. For this I need to first know how to do one, to workaround with my needs. Then I need to know how can I do a personalized control as we do with Visual Basic. PS: I want to do a personalized Tex...

BlackBerry - Perform some actions before email/sms is sent

I haven't been able to found this on Google, so I thought maybe somene here knew if this was possible and if so, how to implement it =) thanks in advance for any answers! What I am aiming for is overwriting this method so I can perform some actions before the sms/mail gets sent, then just allow it to perform its normal actions. ...