Ticket #464 (closed Task: wontfix)
build a first deepamehta-send-to.apk consuming the "Action.SEND"-Intent
Reported by: | Malte | Owned by: | |
---|---|---|---|
Priority: | Major | Milestone: | |
Component: | 3rd Party Plugins | Version: | |
Keywords: | Cc: | JuergenN, Malte | |
Complexity: | 5 | Area: | |
Module: |
Description
Dropping my notes from a talk with JuergenN, adding links directly to the respective android documentation involved to build this thing.
Scope
Build an android .apk (for 2.x and higher) that.
Implement once and for all (Android-Apps) a consumer forwarding contents to a DeepaMehta installation based on all possible inputs delivered by the "Action.SEND"-Intent.
At best 3 methods will be implemented into 1 Android ActivityClass? and those are:
- handleSendText(Intent intent)
- handleSendImage(Intent intent)
- handleSendMultipleImages(Intent intent)
Application Settings
Allow username, password the host:port of the deepamehta intsallation to be set by the user via an android settings dialog. Furthermore using either HTTP or HTTPS should be configurable.
Make sure a user's deepamehta password is stored encrypted on the phone (in Android).
Furthermore a list of workspaces should be fetched during users-configuration and a default-selection should be possible at least there. At best, this selection can be made during the Activity itself, allowing a user the choice into which workspace this item belongs during executing the "send to" dialog.
Unclear
- What' about "Events", "Contacts" from within your android phone?
- Are there any security considerations regarding server-side handling of an arbitrary binary data flow coming from an android phone over the wire (via a multipart/form post request)?
At best, the Activity can operate with sane default rules based on what Mime/Type? comes into the method provided by the Action.SEND Intent Object.
Available Documentation
See all details about receiving content from android apps at:https://developer.android.com/training/sharing/receive.html
More general information on Android-Intents at: http://developer.android.com/reference/android/content/Intent.html
Change History
comment:2 Changed 11 years ago by Malte
Here is the interesting link now displayed correctly, hopefully:
https://developer.android.com/training/sharing/receive.html