如何将excel文件输入sqlite android [英] How to input excel file into sqlite android

查看:68
本文介绍了如何将excel文件输入sqlite android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我创建了一个返回文件路径的浏览按钮,我有另一个保存按钮,它必须将选定的excel文件输入到sqlite DB,请帮帮我


我尝试了什么:



i成功创建了文件选择器,但我可以' t将该文件输入到数据库,请发送完整的代码将excel数据输入到带有布局的sqlite数据库。

hello,
I have created a browse button which returns the file path, and i have another save button which has to input the selected excel file to the sqlite DB,please help me

What I have tried:

i have created file chooser successfully but i can't input that file to the DB,please send complete code to input that excel data to sqlite DB with layout.

推荐答案

您需要做的就是:

1)创建blob数据字段 - 用于图像数据

2)将图像保存为字节数组



检查这个:

SQLite Java:写入和读取BLOB [ ^ ]

SQLite CVSTrac [ ^ ]

android - 如何在Sqlite&中将图像存储为blob如何检索它? - 堆栈溢出 [ ^ ]
All you need to do is to:
1) create blob data field - for image data
2) save an image as a byte array

Check this:
SQLite Java: Write and Read BLOB[^]
SQLite CVSTrac[^]
android - how to store Image as blob in Sqlite & how to retrieve it? - Stack Overflow[^]


您已在如何将excel文件输入到sqlite Android - Android讨论板 [ ^ ]。请仅在一个论坛发帖。
You already posted this at how to input excel file into sqlite Android - Android Discussion Boards[^]. Please post in one forum only.


这篇关于如何将excel文件输入sqlite android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆