بروز خطا
[message]
اشتراک در سوال
رای ها
[dataList]
مشکل در ارتباط با هاست رایگان
وقتی می خوام جی سون رو در یافت کنم با این خطا مواجه می شم که می گه باید جاوا اسکریپت رو فعال کنم
This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support
صفحه در مرورگر باز میشه و کار می کند
برای این سوال 3 پاسخ وجود دارد.
مشاهده پاسخ صحیح
پاسخ به سوال
Borhani
8 سال پیش
0
0
سلام
Google Chrome
- On the web browser menu click on the "Customize and control Google Chrome" and select "Settings".
- In the "Settings" section click on the "Show advanced settings..."
- Under the the "Privacy" click on the "Content settings...".
- When the dialog window opens, look for the "JavaScript" section and select "Allow all sites to run JavaScript (recommended)".
- Click on the "OK" button to close it.
- Close the "Settings" tab.
- Click on the "Reload this page" button of the web browser to refresh the page.
Mozilla Firefox
- In the address bar, type about:config and press Enter.
- Click "I'll be careful, I promise" if a warning message appears.
- In the search box, search for javascript.enabled
- Toggle the "javascript.enabled" preference (right-click and select "Toggle" or double-click the preference) to change the value from "false" to "true".
- Click on the "Reload current page" button of the web browser to refresh the page.
این لینک رو ببین :https://www.enable-javascript.com/
پاسخ به سوال
namdar79
8 سال پیش
0
0
پاسخ صحیح
این کدی هست که برای دیافت کد جیسون استفاده کردم
Log.i("tag", "start");
HttpClient httpClient = new DefaultHttpClient();
HttpPost httpPost = new HttpPost("http://androiddostan.ss0.ir/test.php");
try {
HttpResponse httpResponse = httpClient.execute(httpPost);
Log.i("tag" ,"StatusCode = "+ httpResponse.getStatusLine().getStatusCode());
InputStream content = httpResponse.getEntity().getContent();
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(content));
StringBuilder stringBuilder = new StringBuilder();
String s;
while ((s = bufferedReader.readLine()) != null) {
stringBuilder.append(s);
}
Log.i("tag", stringBuilder.toString());
} catch (IOException e) {
e.printStackTrace();
}
پاسخ به سوال
Borhani
8 سال پیش
0
0
اگر این دستور کد 200 رو داره برمیگردونه که اکی میباشد
Log.i("tag" ,"StatusCode = "+ httpResponse.getStatusLine().getStatusCode());
یک هاست ارزان حداقل 20هزار تومان هست برای تست هایت استفاده کن
پاسخگویی و مشاهده پاسخ های این سوال تنها برای اعضای ویژه سایت امکان پذیر است .
چنانچه تمایل دارید به همه بخش ها دسترسی داشته باشید میتوانید از این بخش لایسنس این آموزش را خریداری نمایید .