Questions tagged [jsr75]

JSR 75 is Java ME API - PDA Optional Packages for file connection and PIM

Definition:

According to the Official Documentation:

This JSR produces two separate optional packages for features commonly found on PDAs and other J2ME mobile devices: one for accessing PIM data and one for accessing file systems.

JSR 75 stands for Java Specification Request 75.

Important Links:

36 questions
14
votes
2 answers

J2ME/Blackberry - how to read/write text file?

please give me a sample code for read/write text file in blackberry application.
siva naresh
4
votes
2 answers

Can't access/read SIM phonebook in Nokia

am trying to access both the Phone's phonebook and SIM phonenook on Nokia 5130c-2 XpressMusic. The app runs without errors but it only returns the numbers from the phone's Phonebook. When I list the available phonebooks using this code String[]…
user1048839
  • 938
  • 3
  • 9
  • 24
3
votes
1 answer

Accessing the 'Media' directory of a Blackberry within the JDK

Trying to use JSR 75 to access media saved under the '/home/video/' directory on the device. Using Blackbery JDK 4.6.1. Single line of code throws a 'FileSystem IO Error' Exception. Which is, as usual, unhelpful in the extreme. fconn =…
haseman
  • 11,213
  • 8
  • 41
  • 38
3
votes
2 answers

Clear folder - delete files in folder - J2ME

I am trying to clear all the files in a folder using j2me. How do I do that?
JohnDoe4136
  • 529
  • 10
  • 32
3
votes
1 answer

Maximum Length of an Addressbook Field in J2ME

I am currently using Java ME to extract Addressbook (ContactList) fields in a device via PIM (JSR75 Spec). I am having problems on getting the value's maximum length of a field if the field's datatype is a String. I initially thought there's a…
3
votes
0 answers

How to display PIM events from Calendar?

I have a Java ME calendar however, I wish to be able to display events from the PIM features. Can someone give me some help as in how to do so? import javax.microedition.pim.Event; import javax.microedition.pim.EventList; import…
3
votes
2 answers

FileConnection Exception on Myphone Device - not authorized to access the restricted API

I developed application in J2ME in which I have to make a file connection, but when I run this application it gives an exception: Application not authorized to access the restricted API I signed the build using the signing server and it works fine…
Megha
  • 1,581
  • 2
  • 18
  • 33
2
votes
1 answer

Blackberry - Adding mp3 files to an sdcard folder from application resources

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.
lostInTransit
  • 70,519
  • 61
  • 198
  • 274
2
votes
2 answers

File connection+j2me

I want to make the application where I can get all the images no matter whether it is in phone or in external memory. I want to import all that images in my application. How can it be possible? I came to know that it is possible through file…
shweta
  • 1,120
  • 1
  • 11
  • 25
2
votes
2 answers

File path for J2ME FileConnection?

I'm writing a MIDlet which needs to write file. I'm using FileConnection from JSR-75 to accomplish this. The intention is to have this MIDlet runnning on as much devices as possible (all MIDP 2.0 devices with JSR-75 support, ideally). On several…
benvd
  • 5,776
  • 5
  • 39
  • 59
2
votes
1 answer

Returning value that is changed/initialized in Thread

In my j2me JAVA app there is a Thread which initializes an object which I right after that has to get by returning it's value in other class. In my main class where I call that Thread right after that I have to get the value that was changed in…
Saqib
  • 1,120
  • 5
  • 22
  • 40
2
votes
1 answer

Signed J2me app hanging at first start

In my j2me app that is signed by veriSign, has problem in accepting the always or yes permissions the time it has to perform PIM.getInstance().openPIMList(..) action. When my app perform below line of code very first time of it's installation it…
Saqib
  • 1,120
  • 5
  • 22
  • 40
2
votes
2 answers

fix a splash screen image to display in j2me

In my j2me App I have tried canvas which works great on Nokia phone but doesn't run on samsung. For that I have to switch to some FORM which in both cases works but only issue is of size, if I create smaller image to fit for both phone screens, one…
Saqib
  • 1,120
  • 5
  • 22
  • 40
2
votes
1 answer

Writing contacts to SIM in j2me

I have developed an app in J2me, using on Nokia X2 and c2-05. I do access contacts from the database and write down in the memory, it was working fine until I used phone memory to write contacts, but Now I want to write contacts only to the SIM…
Saqib
  • 1,120
  • 5
  • 22
  • 40
2
votes
1 answer

J2ME read file byte by byte

I have encountered many site examples and almost all are like this: http://www.java2s.com/Code/Java/J2ME/ReadDisplayFile.htmhttp://www.roseindia.net/j2me/read-file.shtml They only show how to read a file from a resource file, not on the file…
SmRndGuy
  • 1,719
  • 5
  • 30
  • 49
1
2 3