Error & Codes
My codes and error are in that link of picture "Error & Codes"
Hi everyone, you all doing well,
Im having a problem about WebView, i have tried many ways but I'm still getting this err_connection_refuse error and i cant solve it. Can anyone see what my problem is ?
I'm trying to use this way to show the world map in that web address on my phone but if there are any suggestion, I'm open to it.
(Android Studio 4.0 + Java + API 28 + Blacked URL address due to company policy )
Thank you :)
IMPORTANT NOTE :
That site can only be reached with VPN (i can reach it from web browser on computer) but i have installed cisco anyconnect VPN to emulator and secured connection too.
Related
I've been following the Androidhive tutorial for login and registration with php mysql and sqlite- https://www.androidhive.info/2012/01/android-login-and-registration-with-php-mysql-and-sqlite/ but there seems to be some issue with connecting to the server.
The logcat shows the error Unexpected response code 403 for http://192.168.x.x/android_login_api/register.php/ and also registration error:null
logcat screen
It shows 404 not found when I search the url - http://192.168.x.x/android_login_api/login.php on my browser. I'm sure this is my correct ip address.The android device connected and the laptop are both on the same wifi. And I've tried several things to solve the network issues by reading similar questions and answers but still no luck.
I've done everything in the tutorial but when I try to register it doesn't work and an empty toast shows and then disappears.
I've checked and rechecked the code but can't seem to get to a solution. Please help.
Go to - C:\wamp64\bin\apache\apache2.4.23\conf\extra\httpd-vhosts.conf
Check if
'require local' is there if yes then change to
'Require all granted'
The 403 Forbidden error is an HTTP status code which means that accessing the page or resource you were trying to reach is absolutely forbidden for some reason.
Also make sure you're accessing the correct url..
Whenever I connect to my broadband internet, it shows this message -
"HTTP Status 404 - /ssssnpm//promotional.jsp"
Apache Tomcat/7.0.57
I searched a lot about this issue but couldn't find it. Everyone is talking about Tomcat or Apache servers. I don't use any IDE. I am not a programmer, so I didn't write any codes. I am just not able to open any web page. Whenever I enter any URL, it redirects me to another URL, which seems to be an IP address. And, that page shows this error message (wrote above).
I suspect that it could be because of an antivirus I installed a couple of days ago on my laptop and my phone as well. But, it's showing the same error to my brother's phone on which this antivirus isn't installed.
other internet connections are working fine on my laptop - like my mobile internet.
Please help in resolving this issue.
The issue is resolved now. It was some server error as it was unable to load a file something "promotional.jsp"
The message Apache Tomcat/7.0.75 was a bit confusing to me. So, posted a question here.
this is not internet connection problem this is background code problem apache could not found specific file which you want to access
thanks
I am new to android and java. I am trying to develop a test app which gets data stored in local database. I am using WAMPP. In emulator I can access it perfectly, but when I try to access it in my physical device (Micromax A311) I get java.io.FileNotFoundException. I have seen many questions asked for this question, but none worked for me.
In my AndroidManifesti have added following code
<uses-permission android:name="android.permission.INTERNET"/>
Url
String url="http://192.168.0.104/selectQuery.php";
which is my IP4 (Wireless LAN adapter Wi-Fi) address.
I have tried it with
http://10.0.2.2/....
/10.0.2.2:80/....
/192.168.0.104:80/
I can access data in browser saved in my database using
/192.168.0.104/ and /192.168.0.104:80/
I am connected physical device via USB to laptop. In my tethering setting I turned USB tethering on.
I am connected with same WiFi which is connected to my laptop.
My proxy setting of laptop is also off.
Can anyone help me to get out of this problem.. I am struck in this from past few days..
Thank you
If selectQuery.php file is in a folder your url is like:
String url ="http://192.168.0.104/name_folder/selectQuery.php";
So if have ./myFolder/selectQuery.php the url is:
String url = "http://192.168.0.104/myFolder/selectQuery.php";
Thanks for your reply... I found a solution myself. I downloaded https://ngrok.com/download, then used its CMD and copy pasted
ngrok http -bind-tls=false site.dev:80
which i found in https://ngrok.com/docs#bind-tls under Tunneling only HTTP or HTTPS. Then I used forwarding address in my url string.
It worked Fine.. I am happy now..
I'm trying to read the serial number of a device using javax usb library,
and I'm getting this error :
[javax.usb.UsbPlatformException: USB error 8: Unable to get string descriptor languages: Overflow]
The line is simply :
device.getUsbStringDescriptor(descript.iManufacturer());
Someone already had this error ?
Thanks,
I had this error because I hadn't the right driver on a CDC device.
With the Zadig application http://zadig.akeo.ie/
I could install the WINUSB driver on my device.
And this worked fine on a Microchip Demo Board.
Yet the exception remained on my own prototype board. The VUSB connection was not correct.This works fine correctly now in the power-off mode (i.e. the power is not provided by the USB)
I'm working on the Blackberry Eclipse plugin but can't get this sample to work :
Code sample: Parsing a JSON data structure
It doesn't go anywhere after response = bsd.sendReceive();
The Simulator has internet access in the browser, and I also checked the "Launch Mobile Data System Connection Service (MDS-CS) with simulator." (odd that nothing shows up in fiddler, but hey)
The URI does seem to timeout quite often so I changed it to point to a file in my dropbox, but that didn't change anything.
Anyone have any success running this sample ?
added ";deviceside=true" to uri