Comments (4)
你有QQ么??我加你QQ,那样交流方便一点,这个问题我不是太明白= =
from android_framework.
153436644,我的微信。话说你们也用微信??
from android_framework.
这个问题我貌似遇见过,我在BaseNetApi中使用的是静态内部类,但是静态内部类是有一个延迟加载操作的,所以这里的JsonObjectRequestImpl.class是可能没有值的,这个问题,稍后我去仔细看看
from android_framework.
幫你解出來了
你的void少用new JSONObject(params)
改成這樣
public JsonObjectRequestImpl(int method, String url, Response.Listener listener,
Response.ErrorListener errorListener, Map<String, String> params) {
super(method, url,new JSONObject(params), listener, errorListener);
this.params = params;
}
php code:
$post = json_decode(file_get_contents("php://input"), true);
$xxx= $post['xxxx'];
$xxxxx= $post['xxxxx'];
就可以了
from android_framework.
Related Issues (5)
- 使用斷點下載一定要繼承BaseActivity? HOT 6
- 斷點測試 HOT 61
- 斷點續傳問題 HOT 10
- 对此框架的一点猜测 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android_framework.