Skip to content
Advertisement

Tag: android

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 …

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

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

Advertisement