Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Flight Recorder Help (http://www.chiefdelphi.com/forums/showthread.php?t=111698)

Kamal Sadek 20-01-2013 20:07

Flight Recorder Help
 
While working with the Java interface for the robot, we found that many of the files were omitted (We were unable to import them). One of these such files is java.io.File, which contains all the information needed to work with files. Is there anyway to work around this?

vinnie 20-01-2013 20:27

Re: Flight Recorder Help
 
Quote:

Originally Posted by Kamal Sadek (Post 1219214)
While working with the Java interface for the robot, we found that many of the files were omitted (We were unable to import them). One of these such files is java.io.File, which contains all the information needed to work with files. Is there anyway to work around this?

I'm not near a computer right now so I can't give you exact code but you'll want to use the FileConnection of Java ME. If you Google "j2me file connection" you should be able to find examples.

Joe Ross 20-01-2013 20:38

Re: Flight Recorder Help
 
The version of Java on the robot is Java ME, rather then Java SE that you are used to using on a computer. Java ME is based on Java SE version 1.3, so many new features are not available. Looking specifically for Java ME examples may be helpful.

For examples of reading and writing files, you can look at the Preferences class.


All times are GMT -5. The time now is 02:15.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi