New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#19 ダイバーログのCSVエクスポートのロジック追加 #34
Conversation
umamo
commented
Feb 28, 2018
- テスト実行時にthreetenbpが動作するよう追加
- 外部保存が必要なため、外部ディレクトリ用のパーミッション設定を追加
- DummyFragmentにサンプルの呼び方を記載
* テスト実行時にthreetenbpが動作するよう追加 * 外部保存が必要なため、外部ディレクトリ用のパーミッション設定を追加 * DummyFragmentにサンプルの呼び方を記載
DummyFragment.javaには特に何も書いてないようだけど、↓でOK? MainActivity.java
|
手元のエミュレータ(Android 4.4 KitKat)ではRead-Only領域に書き込もうとしてエラーが出ました。
|
@Override | ||
public void onClick(View view) { | ||
DiverLogExporter exporter = new DiverLogCsvExporter(); | ||
exporter.exportAllLog(getContext(), "DiverLogList.csv"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exporterの呼び出し方はこんな感じです。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DummyFragmentの呼び方のことと読み違えてた。
Exporterのサンプルは理解しました。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
無事に動作確認できました。