More Related Content More from Takahiro Yoshimura More from Takahiro Yoshimura (20) アプリを弄ってみる #3 #antama_ws2. Flash Web
Android
Twitter →@alterakey
21. ACTION_SEND …
text/plain EXTRA_TEXT
“If using EXTRA_TEXT, the MIME type should be "text/
plain";”
( http://developer.android.com/reference/android/content/
Intent.html#ACTION_SEND )
35. AIL.read:
if (extras.containsKey(Intent.EXTRA_STREAM))
! return context.getContentResolver()....
if (extras.containsKey(Intent.EXTRA_TEXT))
{
! HttpGet req = new
HttpGet(extras.getCharSequence(Intent.EXTRA_TEXT).toS
tring());
! return AndroidHttpClient.newInstance("Lightboxdroid/
0.1.2").execute(req).getEntity().getContent();
}
38. AIL.read:
try {
! HttpGet req = ...
! return AndroidHttpClient....
}
catch (IllegalArgumentException e) {
return null;
}
catch (IOException e) {
return null;
}
42. github (GPL-3)
Text Viewer (dawne)
Scribbler (effy) …
Editor's Notes \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n