954,529 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

File lock using J2ME

I want to implement a file lock using
j2ME for mobile files...Can you please help me how to get started with? Can i get files in the emulator?
I am using sun wireless toolkit 3.0 to implement it.
I am designing it for symbian.

kanchan arak
Newbie Poster
3 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

I want to implement a file lock using
>> I'm not aware that JME provide such file access

j2ME for mobile files...Can you please help me how to get started with? Can i get files in the emulator?
>> I already made example for my blog last year, if you bothered to use google you would have found it...

I am using sun wireless toolkit 3.0 to implement it
>>There is minimum difference between WTK 2.5.2 and JME SDK 3

I am designing it for symbian.
>>Obviously you have no background knowledge of mobile development otherwise you would know that any device that has JVM for JME it would able to run, as long it has necessary libraries (doesn't matter that it is Symbian, Windows CE or just random phone)

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

Echoing with peter_budo, J2ME has no file locking mechanism. It however has a file hiding mechanism (javax.microedition.io.file.FileConnection)

nbaztec
Posting Pro in Training
475 posts since May 2010
Reputation Points: 57
Solved Threads: 60
 

I want to build a application to lock file,are their any API's from which i can do this?

kanchan arak
Newbie Poster
3 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

If you read previous replies you would found there is nothing. So yeah be the inventor and create it...

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

i have added few files to emulator. i want to access the file attributes such as canRead() etc..how can i go for it...

kanchan arak
Newbie Poster
3 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: