This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developers:peig-api:android [2018/07/10 08:53] dskrbek [Retrieve data when authenticated] |
developers:peig-api:android [2019/08/01 10:02] tjotov removed |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Developing Android application with ADUCID ====== | ====== Developing Android application with ADUCID ====== | ||
- | |||
- | //See [[https:// | ||
- | |||
Prerequisites: | Prerequisites: | ||
Line 120: | Line 117: | ||
===== Advanced requests ===== | ===== Advanced requests ===== | ||
- | To accomplish a specific action like transaction use aducidFullOperation() | + | To accomplish a specific action like transaction use aducidFullOperationGet() or aducidFullOperationPost(). |
- | See DemoBank PaymentFragment.java example | ||
<code java> | <code java> | ||
- | aducidFullOperationPost(String url, String methodName,RequestParamsparameters, Handler handler) | + | peigApi.aducidFullOperationPost(String url, String methodName, |
</ | </ | ||
Line 135: | Line 131: | ||
<code java> | <code java> | ||
- | PapiResult | + | Handler handler = new Handler() { |
+ | @Override | ||
+ | public void handleMessage(Message msg) { | ||
+ | |||
+ | if (msg.getData() != null) { | ||
+ | com.aducid.peig.lib2.Result | ||
+ | // do something with result | ||
+ | } | ||
+ | } | ||
+ | } | ||
</ | </ | ||