價格:免費
更新日期:2015-09-12
檔案大小:1.2M
目前版本:1.0
版本需求:Android 4.0.3 以上版本
官方網站:mailto:phitherek@gmail.com
AnyAPI is a service that lets you send any API request via an Intent. The API action must be a POST HTTP action and must return text data, preferrably JSON. The service is started by an Intent with the action me.phitherek.anyapi.action.API_REQUEST and two extra String parameters, me.phitherek.anyapi.extra.API_ADDRESS being an address of an API action and me.phitherek.anyapi.extra.API_DATA being a JSON-encoded Hashtable with request parameters. The response is than displayed in an Activity. This service is intended to simplify sending one-time requests e.g. to do an action based on a sensor reading.
WARNING: This service can be used for all sorts of things, even bad ones (hopefully it' s not). I do not take responsibility of the apps that misuse this service in any way.