Ju Yang Active Member Licensed User Longtime User Sep 25, 2016 #1 I want to put the modules, which are in one project, into different packages. For example: set the package "com.abc" in the build path, and one module in the project in package "com.abc.sub" How to do this?
I want to put the modules, which are in one project, into different packages. For example: set the package "com.abc" in the build path, and one module in the project in package "com.abc.sub" How to do this?
Ju Yang Active Member Licensed User Longtime User Sep 25, 2016 #3 I want to make a wrapper of wechat payment interface, which uses a function to call up the wechat pay activity. After the pay activity finished, the wechat call the onResp function, which must in the mainpackage.wxapi package ( mainpackage is the package of the project). We have succeed in calling up the wechat pay activity, but can't get the callback. I think it's a must to put the callback function in mainpackage.wxapi package to receive the response from wechat. I am not sure if I have told the thing clearly, this is the sdk document: https://open.weixin.qq.com/zh_CN/htmledition/res/dev/document/sdk/android/index.html and this is the demo: https://pay.weixin.qq.com/wiki/doc/api/download/SDKSample_Android_v3_pay.zip Thanks a lot. Upvote 0
I want to make a wrapper of wechat payment interface, which uses a function to call up the wechat pay activity. After the pay activity finished, the wechat call the onResp function, which must in the mainpackage.wxapi package ( mainpackage is the package of the project). We have succeed in calling up the wechat pay activity, but can't get the callback. I think it's a must to put the callback function in mainpackage.wxapi package to receive the response from wechat. I am not sure if I have told the thing clearly, this is the sdk document: https://open.weixin.qq.com/zh_CN/htmledition/res/dev/document/sdk/android/index.html and this is the demo: https://pay.weixin.qq.com/wiki/doc/api/download/SDKSample_Android_v3_pay.zip Thanks a lot.
Ju Yang Active Member Licensed User Longtime User Sep 25, 2016 #4 Erel said: Why is it needed? Click to expand... Your early reply would be appreciated. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 25, 2016 #5 Ju Yang said: Your early reply would be appreciated. Click to expand... Please don't bump your questions. It only discourages other members from answering... Where is the callback documentation? Upvote 0
Ju Yang said: Your early reply would be appreciated. Click to expand... Please don't bump your questions. It only discourages other members from answering... Where is the callback documentation?
Ju Yang Active Member Licensed User Longtime User Sep 26, 2016 #6 Erel said: Please don't bump your questions. It only discourages other members from answering... Where is the callback documentation? Click to expand... Unfortunately the wechat website doesn't have a wechat pay document in English. Fortunately it does have a document which is about sending other messages(like sharing) to wechat and receiving responses from WeChat . The only different is the class name, wechat pay uses WXPayEntryActivity, and other messages use WXEntryActivity. Here is the wechat pay document in Chinese: https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=8_5 and here is other message docment in English: http://open.wechat.com/cgi-bin/newr...tting-started/android#getting-started_android The wechat pay SDK about callback here: https://open.weixin.qq.com/zh_CN/htmledition/res/dev/document/sdk/android/index.html Thanks! Upvote 0
Erel said: Please don't bump your questions. It only discourages other members from answering... Where is the callback documentation? Click to expand... Unfortunately the wechat website doesn't have a wechat pay document in English. Fortunately it does have a document which is about sending other messages(like sharing) to wechat and receiving responses from WeChat . The only different is the class name, wechat pay uses WXPayEntryActivity, and other messages use WXEntryActivity. Here is the wechat pay document in Chinese: https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=8_5 and here is other message docment in English: http://open.wechat.com/cgi-bin/newr...tting-started/android#getting-started_android The wechat pay SDK about callback here: https://open.weixin.qq.com/zh_CN/htmledition/res/dev/document/sdk/android/index.html Thanks!
Erel B4X founder Staff member Licensed User Longtime User Sep 26, 2016 #7 I see. You will need to implement this activity in a Java library and then add its declaration with the manifest editor. Example: https://www.b4x.com/android/forum/threads/10608/#content Upvote 0
I see. You will need to implement this activity in a Java library and then add its declaration with the manifest editor. Example: https://www.b4x.com/android/forum/threads/10608/#content
Ju Yang Active Member Licensed User Longtime User Sep 26, 2016 #8 Erel said: I see. You will need to implement this activity in a Java library and then add its declaration with the manifest editor. Example: https://www.b4x.com/android/forum/threads/10608/#content Click to expand... Great! It works. Last edited: Sep 26, 2016 Upvote 0
Erel said: I see. You will need to implement this activity in a Java library and then add its declaration with the manifest editor. Example: https://www.b4x.com/android/forum/threads/10608/#content Click to expand... Great! It works.