Code Monkey home page Code Monkey logo

deb-kitkat-storage-access-framework's Introduction

第15回 デ部 ミーティング KitKat 用 Storage Access Frameworkのデモアプリケーション

SkyDriveをバックエンドにしたStorage Access Frameworkのデモアプリケーション。


## Storage Accees Frameworkの要点

新)システムUIが横断的にContentProvider経由でデータを扱う(アプリはUIを用意しない)
旧)アプリ毎にUIを用意する

これまでは、データの共有のためにアプリ毎にUIをつくる必要があった。
例えば画像を共有する場合、各アプリでギャラリー的なUIをつくる必要があった。
KitKatではDocumentsのコントラクトに従ったContentProviderを用意すればいい。


## 問題

1. 削除を実行するとセキュリティエラーだと言われる。なぜ?
2. DocumentsのシステムUIにはリフレッシュを行うためのアクションがないので、情報を最新に保つ仕組みが必要
    - アクセスのたびにネットワークから取ってくる(遅い)
    - バックグラウンドでフェッチしておく(クラウドに保存されうるファイルの容量を考えると現実的ではない?)
    - その他


## 参考
1. http://developer.android.com/guide/topics/providers/document-provider.html
2. http://tools.oesf.biz/android-4.4.0_r1.0/xref/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadStorageProvider.java
3. http://tools.oesf.biz/android-4.4.0_r1.0/xref/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java
4. https://github.com/liveservices/LiveSDK-for-Android/
5. https://account.live.com/developers/applications/create

deb-kitkat-storage-access-framework's People

Contributors

esmasui avatar

Watchers

James Cloos avatar huihuiguoguo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.