Pay Money
org.openintents.action.PAY_TO
Intent to pay some one a specified amount of money.
The receiver of the money could be specified by an email address (mailto://) or through content like “content://com.visa/savedreceivers/1”, or mime type “text/x-bancAccount” or by additional information of a contact.
Use
public void startPayMoney(float amount, String currency, String message) { Intent intent = new Intent("org.openintents.action.PAY_TO"); intent.setData(dataUri); // Specifying the receiver of the money intent.putExtra("org.openintents.extra.AMOUNT", amount); // float intent.putExtra("org.openintents.extra.CURRENCY", currency); // String intent.putExtra("android.intent.extra.TEXT", message); // String if (intent.resolveActivity(getPackageManager()) != null) { startActivity(intent); } }
Example intent filter
<activity ...> <intent-filter> <action android:name="org.openintents.action.PAY_TO" /> <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!)