注册 | 登录

解决android sdcard - Arduino SD card and Excel file

itPublisher 分享于



推荐:android download file and save to sdCard

方法一:    public void DownloadFromUrl(String DownloadUrl, String fileName) {            try {                    File root = android.os.Environment.

I have an Arduino SD card, it saves the data from IMU sensor into a text file. Is that possible to let the SD card saves this data into an excel file directly?

arduino android-sdcard
asked Apr 1 '16 at 19:12 Hend 8 5


1 Answers


You'd need to know the binary format of an excel file for this. You can however, create the file as a *.csv, or a simple *.txt file.

For each column, separate data with a comma. And Separate each row with a new line.

In Excel you can import the text file and specify how it is delimited. However if you use a csv file, you can simply 'open with' excel (or associate the extension with excel) and it will open the data automatically.

推荐:android listen app package change, contact change, sdcard file change

Android监听应用程序安装和卸载 android监听文件和目录的创建删除移动等事件 http:/

If you run python on your PC (or can), there is a nice script here witch can bulk convert the csv files to excel workbooks:

edited Mar 20 at 10:18 Community ♦ 1 1 answered Apr 2 '16 at 0:06 Chris A 1,142 2 7 16 1   Voting up, @Chris! It makes no sense to write an excel binary file on Arduino, current xlsx also needs zip. CSV is the way to go. –  Gee Bee Apr 2 '16 at 0:24


推荐:android sdcard Parent directory of file is not wirtable

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>已经配置好了,用adb shell进入系统也可以对sdcard新建文件 可是用程序file.mkdi








您的注册邮箱: 修改

重新发送激活邮件 进入我的邮箱