• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can we access the information stored in memory of device

 
mic ram
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

atleast can we access the information
stored in memory of device,through application

if so how?

regards
Rameshwari
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only storage you have access to is the RecordStore with your application. Not any storage on the device. There might be devices that implement the File IO JSR but again you will still be in a sandbox of security keeping you from harming people's phones. Think about the damage malicious people could do if J2ME had access to that information. That is why that stuff is blocked and will remain blocked off.

Mark
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Mic Ram"

Then you sign your post with Rameshwari. So that would say to me that "Mic Ram" is a nickname and not your actual real first and real last names. The JavaRanch Naming Policy requires a real first and real last name. Please click on the My Profile link above and change your display name to meet the JavaRanch Naming Policy.

Thanks

Mark
 
Syam Sathyan George
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark cant we access the FILE system with file api as the documentation say's.
In a suns WTK 2.2 how to emulate the file system ,i have an app which require to read and write to file system and i need to test it.
 
Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Syam Sathyan:
Hi Mark cant we access the FILE system with file api as the documentation say's.
In a suns WTK 2.2 how to emulate the file system ,i have an app which require to read and write to file system and i need to test it.


I think that the File IO API (JSR 75) is more in line with PDAs, higher-end smartphones or the like - devices that have a real filesystem (such as Windows Mobile devices) and are meant for computing - and my suspicion is the original question may have been more pertaining to things like the phone book.

Be that as it may, for emulating the file system, check out this thread at Sun's forum or here at the J2ME wiki (basically the same info)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic