Comments (2)
yeah calling the index.php file with no parameters result will be "0"
caused by the first few lines in the index.php
"if ($username == NULL || $password == NULL)
{
echo FAILED;
exit;
}"
the "FAILED" is defined in the very beginning of the index.php like
"define("FAILED", 0);"
so that means if your calling the index.php without the expectet parameters
"username" OR "password" it would give you the output "0".
if you want to try the web service in a browser you have to call your url like
"http://<webservice-IP>/android_im/index.php?username=<Your
Username>&password=<Your Password>&action=authenticateUser"
then the response header should look like:
"<data>
<user userKey='1' />
<friend username = 'User1' status='offline' IP='192.168.0.54' userKey = '1'/>
<friend username = 'User2' status='online' IP='192.168.0.55' userKey = '2'/>
</data>"
nice regards ;)
Original comment by [email protected]
on 24 May 2013 at 6:28
from simple-android-instant-messaging-application.
You can check the DB with the "Android_IM u1" Source package and the following
url
http://<webservice-IP>/android_im/index.php?action=testWebAPI
Original comment by [email protected]
on 29 Jun 2013 at 2:22
- Changed state: Fixed
from simple-android-instant-messaging-application.
Related Issues (20)
- R type is already defined error HOT 3
- adb commands not able to run them HOT 10
- Unable to connect with server I am using WAMP HOT 3
- App Exit Forcefully after Signup HOT 5
- Bug at login to friendlist. HOT 1
- Signup failed because of unknown reason HOT 5
- Sign-up intent force closes HOT 3
- Message was not able to send HOT 9
- I am waiting for the new source HOT 2
- question HOT 6
- not able to post the values in sign screen plz help me out HOT 2
- Signup failed because of unknown reason HOT 8
- message not sending from one emulator to another HOT 2
- NullPointer after Sign Up. HOT 4
- Signup successfull, but can't Login on Application. HOT 1
- Patch for /trunk/src/com/mekya/FriendList.java
- message receive issue
- repated asking for login
- speak now language is not same as that in settings
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 simple-android-instant-messaging-application.