A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Java Micro Edition
How to create a Text File in Nokia 6630
Joined: Jul 27, 2005
Jul 27, 2005 09:27:00
I am working on an application in which I want to create a Text file in Nokia phones. I have used the JSR-75(File Connection API) for this purpose.
Now the problem is that my application is running well in the default phones in J2ME Toolkit. I have used the following code for File connection:
url = "file:///root1/myfile.txt";
FileConnection connection = (FileConnection)Connector.open(url,Connector.READ_WRITE);
But I don't know what is the root i.e. URL for making it work in Nokia phones.
I have used the following as URL also:
String url = "file:///C:/myfile.txt";
String url = "file:///E:/myfile.txt";
But these are not working in Nokia. Could anybody help me in this regard? If anybody has the solution please mail it at
Its very urgent.
Joined: Mar 07, 2002
Jul 27, 2005 10:42:00
Please change your display name to conform to our
. (In short, you need to use your real name). Thanks.
As for your problem, are you getting any error messages or the files are just not created? Can you
that in Nokia's emulators?
[ July 27, 2005: Message edited by: Michael Yuan ]
subject: How to create a Text File in Nokia 6630
bluetooth connction blocks file creation
Download Nokia Toolkit and Emulator
Application not authorized to access the restricted api
Unable to create/find new file
help regarding fileconnection in nokia devices
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015