Process text
android.intent.action.PROCESS_TEXT
Process a piece of text
Read also the Android documentationUse
public void startProcessText(String text, boolean readonly) { Intent intent = new Intent("android.intent.action.PROCESS_TEXT"); intent.putExtra("android.intent.extra.PROCESS_TEXT", text); // String intent.putExtra("android.intent.extra.PROCESS_TEXT_READONLY", readonly); // boolean if (intent.resolveActivity(getPackageManager()) != null) { startActivityForResult(intent, REQUEST_CODE); } } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == REQUEST_CODE && resultCode == RESULT_OK) { String processedText = data.getStringExtra(android.intent.extra.PROCESS_TEXT); // handle result } }
Example intent filter
<activity ...> <intent-filter> <action android:name="android.intent.action.PROCESS_TEXT" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>
Apps Providing an Implementation
Search on Google Play, AppBrain, Amazon App store or similar (not yet available - please make this happen!)