I have a problem with my code. I already created a spinner that populates from the MySQL database. The PHP code seem not have problem at all since I run the link “localhost/latihan1/menu/php”, the …
Tag: android
in android jsonarray cannot be converted in jsonobject
The script fetches data from phpmyadmin but android studio cause this error of type org.json.Jsonarray cannot be converted to jsonobject my code android code
Android passing username to php
I am building an android app where the users are expected to perform certain tasks individually assigned to them. To download the project information I am using HTTPServiceClass and passing in a url …
Set FCM channel ID in PHP for notifications
I’m trying to send FCM notification to Android device using PHP. My code is working for devices before Android O. In Android O, we need to set channel ID in request as well to receive notifications, …
Response from Postman shows 200, But Android returns 403
I was trying to develop an android app using Volley, The api I used to communicate is working fine when I checked with POSTMAN and retrieves 200 . But when I use the same API in my App its returns me 403 “Forbidden” <p〉You don’t have permission to access /API/checkPassOtp on this server.〈/p〉 Please find the screenshot. I have tried
Problem handling data to php with POST method
I’m working on an application that registers users in a database of a domain I have. I developed it using Android Studio, and I’m having some problems handling the users info to the php file using the …
HttpURLConnection getting wrong response
Well, my php file includes simple code <?php echo “hello there” ?> Whenever I try read the file using HttpURLConnection.getInputStream(); it returns All I want is to just read the raw file.. only “hello there” .. not anything else.. how to do that ? Answer The question is old and has been solved long ago. But here is something for
How to scan a barcode with livestream through webbrowser on on mobile phone in javascript?
I’m trying to make a way to scan irl barcodes that I have printed out on paper to scan into my php website. It’s only when I use the website on my phone, than I can open my phone camera and scan a barcod while he scans the barcode and sends it to my code. The code can than check
Unable to connect to xampp server from android device
I am using BrainTree Payment service in my android app.For server ,I am using php and XAMPP. Now when I use emulator and access server with “http://10.0.2.2:80”. IP address, everything works fine but …
AES Encryption in android and decryption in php and vice versa
I am trying to learn AES by testing my code against https://aesencryption.net. I previously had an error in Base64.encodeBase64String and also Base64.decodeBase64 // encode/decode Base64. So I manipulated Base64 somehow to resolve the error. Now in my app the text is encrypted and decrypted properly, I think. But when I try to encrypt or decrypt the same text server-side (at