BlackBerry Data Usage
Using the RIM APIs. is there an accurate way of collecting the amount of data coming in and out of a service provider (Not including WiFi/Bluetooth data). ...
Using the RIM APIs. is there an accurate way of collecting the amount of data coming in and out of a service provider (Not including WiFi/Bluetooth data). ...
The location API only seems to work for me when I warm up the GPS by opening Nokia Maps or Google Maps. The Google Maps app has a status balloon which shows the number of satellites and lets the user know when the connection is active, however I have not found anything in the J2ME Location API docs which specifies how to do this. It ...
Can I open a ".pdf" document on a blackberry using java? If yes, then how? ...
Hey I got some sources files for midlet application. How can I compile these to a midlet that I can run on my mobile. ...
I basically want my Midlet the ability to edit records. I have this code the information is added as follows protected void searchForNameToEdit() { Editrecord.deleteAll(); try { rs = RecordStore.openRecordStore("Detail", true); RecordEnumeration re = rs.enumerateRecords(new NameMatcher(EditSearc...
I downloaded NetBeans 6.5 complete pack with Java ME. And then I downloaded and installed Sun Java Wireless Toolkit too. And I have tried in all ways to go to New Project -> And in under Java ME -> Mobile Application Then I enter name and location. And then when to select the emulator platform, "Sun Java Wireless Toolkit 2.5.2 for CLDC...
I'm trying to read a resource (asdf.txt), but if the file is bigger than 5000 bytes, (for example) 4700 pieces of null-character inserted to the end of the content variable. Is there any way to remove them? (or to set the right size of the buffer?) Here is the code: String content = ""; try { InputStream in = this.getClass().getRes...
How can I get the record size store by which method? midp2.0 specification uses sand box model(t or false)? textbox(int maxsize,int contraints,string title,string text) Is it right? ...
Hi My blackberry application has some mp3 files bundled with the application. I want to add these files from the app to a folder in the sdcard or a folder in my phone memory through program. How can I do this? Is it possible? Thanks. ...
How can I get whether or not daylight saving time is switched on? (Because if it is on, the Calendar.HOUR_OF_DAY is (for example) 11 instead of 12.) Or should I use another way to get the hour of day? ...
I display the data to be edited as follows private void carryOutNameSearch(TextBox theInputScreen, Form theOutputForm, int formType) { listOfIDs = new Vector(); // save IDs of records in case we want to delete theOutputForm.deleteAll(); // clear the form try { //RecordStore rs = RecordStore.openRecordStore...
Calendar.getInstance(TimeZone.getTimeZone("GMT+1")).get(Calendar.HOUR_OF_DAY) is an hour "slow", (possibly because they does not detect the daylight saving +1 hour.) In J2SE, there are a lot of available time zones (Europe/Budapest too, and it works perfectly), but in J2ME there are only GTM and UTC. How can I get the "right" hour? ...
I do a mobile application which the user can use it get the required place’s number. The user must select the appropriate city and category to get the place’s information. All the information stored in the database. What I want to know that .. 1) What is the benefit from the web service? 2) How to connect the web service and MySQ...
I basically want to be able to show tomorrows date I have this which shows today date private Date date = new Date(); i tried this but this gave me jan 1 1970 private Date date = new Date(+1); please help ...
I need to play music (this is the only sound in my game). So far I've written this, but it keeps giving me errors: "incompatible types" Here's my sound code: try { InputStream is = getClass().getResourceAsStream("/sound.wav"); Player p = Manager.createPlayer(is, "/X-wav"); p.start(); } catch (IOException ioe) { } catch (...
I have a thread in which I catch all errors in a big, all-encompassing catch block. I do this so that I can report any error, not just expected ones, in my application. My Runnable looks like this: public final void run() { try { System.out.println("Do things"); /* [1] */ doUnsafeThings(); } catch (Throw...
help me on this issue which you have stated here "Some newer Sony-Ericsson phones (with the JP8.3 platform onward) have a proprietary java application management API that can only be accessed if your MIDlet is signed by Sony-Ericsson, along with jad properties that allow you to hide your MIDlet icon from the user." I have developed an...
I have a .NET class that implements the SNMP protocol and I've been asked to port it to J2ME. Would I just create Java class and redist as a compiled .class file for the J2ME developers to use or is it more in depth than that? ...
I was just wondering if a DateField can be set by a String value. Would help me out thanks. ...
Due to (quite annoying) limitations on many J2ME phones, audio files cannot be played until they are fully downloaded. So, in order to play live streams, I'm forced to download chunks at a time, and construct ByteArrayInputStreams, which I then feed to Players. This works well, except that there's an annoying gap of about 1/4 of a secon...