Groups
Groups
Sign in
Groups
Groups
日本Androidの会
Conversations
About
Send feedback
Help
Android開発にてSQLite DBの使い方について
294 views
Skip to first unread message
aobo
unread,
Sep 8, 2012, 9:56:02 AM
9/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-g...@googlegroups.com
今、SQLiteを使って、Androidアプリを開発しています。
やり方は次です。
1、PCでSQLite DBを作ります。データをDBに挿入します。
2、アプリが起動する際に、作られたDBをコピーし、データの参照を行う。
上記のやり方で、基本的に問題がありませんが、但し、ある機種(特に日本メーカーの携帯)になると、いつでも
unable to open database fileの例外が発生します。
同じ経験をもっている方がいらっしゃいましたら、対応の仕方を共有して頂ければ、ありがたいです。
suppi__
unread,
Sep 9, 2012, 4:35:07 AM
9/9/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-g...@googlegroups.com
すっぴ~です。
>unable to open database fileの例外
とりあえず上記例外で検索をかけるとディレクトリやファイルに
書き込み権限が足りない場合に発生しているようですが確認済みでしょうか?
以上です。
2012年9月8日 22:56 aobo <
aobo...@gmail.com
>:
> --
> このメールは Google グループのグループ「日本Androidの会」の登録者に送られています。
> このディスカッションをウェブ上で閲覧するには、
https://groups.google.com/d/msg/android-group-japan/-/y5Hc_O7MAgYJ
> にアクセスしてください。
> このグループに投稿するには、
android-g...@googlegroups.com
にメールを送信してください。
> このグループから退会するには、
android-group-j...@googlegroups.com
> にメールを送信してください。
> 詳細については、
http://groups.google.com/group/android-group-japan?hl=ja
> からこのグループにアクセスしてください。
AOBO
unread,
Sep 9, 2012, 6:10:28 AM
9/9/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-g...@googlegroups.com
テスト用の機種では、この現象がありません.このアプリを使っているユーザから、この例外が報告されています.
富士通のARROWSの場合では基本的にはこのアプリを使えません、DBを見つからないから.
REGZAの場合では、問題がなく使える.
サムスンの全ての機種で、このアプリを使える.
機種によるディレクトリやファイルの書き込み権限が違うと、開発者としては困ります.
2012年9月9日 17:35 suppi__ <
harmony...@gmail.com
>:
--
何卒、宜しくお願いいたします
==============
株式会社AOBO
住所:〒220-0074
横浜市西区南浅間町8-22河本ビル2F
TEL/FAX:045-323-1869
携帯:090-9205-9864
E-mail:aobo...@aobo-corp.com
URL:
http://www.aobo-corp.com
田代透
unread,
Sep 9, 2012, 7:46:18 AM
9/9/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-g...@googlegroups.com
実は動いている方が正しくない実装だとか
パーミッションがどうなっているのか、それが正しいのか確かめてみたらいかがでしょうか。
2012年9月9日 19:10 AOBO
<
aobo...@gmail.com
>
:
--
--
Toru Tashiro
toru...@gmail.com
suppi__
unread,
Sep 9, 2012, 11:58:37 AM
9/9/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-g...@googlegroups.com
すっぴ~です。
この記事のコメント欄によるとARROWSは特殊なんでしょうかね?
http://y-anz-m.blogspot.jp/2011/01/android-sqline-database.html
コピーが無理ならSELECTしてINSERTは出来ないのでしょうか?
2012年9月9日 20:46 田代透 <
toru...@gmail.com
>:
Reply all
Reply to author
Forward
0 new messages