We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,453 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

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.

3
Contributors
5
Replies
1 Month
Discussion Span
2 Years Ago
Last Updated
6
Views
kanchan arak
Newbie Poster
3 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 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,812 posts since Dec 2004
Reputation Points: 2,871
Solved Threads: 944
Skill Endorsements: 52

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
Skill Endorsements: 0

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
Skill Endorsements: 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,812 posts since Dec 2004
Reputation Points: 2,871
Solved Threads: 944
Skill Endorsements: 52

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
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.0670 seconds using 2.65MB