You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1.I am able to read n write into the file on an SD card in android using the
below code
try {
File root = Environment.getExternalStorageDirectory();
if (root.canWrite()){
File gpxfile = new File(root, "gpxfile2.gpx");
FileWriter gpxwriter = new FileWriter(gpxfile);
BufferedWriter out = new BufferedWriter(gpxwriter);
out.write("Hello world");
out.close();
}
} catch (IOException e) {
Log.e(TAG, "Could not write file " + e.getMessage());
}
But when I tried to implement the same for reading & writing from serial port
using android serial-port-api i was not able to make it as this is very
critical & as am new to android development,
could any body please help me in modifying the android serial-port-api in such
way that am able to read n write from serial port using android serial port api
What is the expected output? What do you see instead?
To edit the android serial port api for writing & reading data into
the file using java file operations such way that the data from serial
port is directly written into the file & read from the file on an SD
card
What version of the product are you using? On what operating system?
Android 2.3.3
Please provide any additional information below.
Original issue reported on code.google.com by srinivas...@gmail.com on 30 Jan 2012 at 1:56
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
srinivas...@gmail.com
on 30 Jan 2012 at 1:56The text was updated successfully, but these errors were encountered: