Open stickylabdev opened 9 years ago
Did you insert your Parse API key and credentials into the code? If you do, then there shouldn't be any problems. Please elaborate your question.
Surely i change api key and client id with my credential in parse.com
Surei cannot see any chat come in ...i see just my chat
Ofcourse it is like that. Because you have to change every string "Girlfriend" for "Boyfriend" on the second client to make it work. Or use my desktop application which i was using as default second client. I will upload its project in a moment.
EDIT: It is published now. Check my repository Smile-Desktop. Turn them on simulatenously and it will work for sure. Waiting for your feedback.
Desktop PC? But i have not computer yet ..better if you make login credential like this project made by me goo.gl/dbnTwL
Oh .i will install in one android phone .and make 2 app ..one as girl and other as boy
Sorry for bad English .
So ijust change value in the ChatMessage.java
@Override
public void parse(ParsingComponent cloud)
{
ParseObject msg = new ParseObject("Messages");
msg.put("text", message);
msg.put("sender", "BoyFriend");
msg.put("readstate", false);
msg.pinInBackground();
msg.saveInBackground();
}
Sadly ..i your app only work on local android phone ...when i try with onther phone ..it doesnot work
WOW THIS IS REALLY REALY WORK .YEAH.
But i need you to add sign up and login system ..i am little confuse if i do it myself
You can do it bro if you want. I'll merge your solution if it would work. I have no time for it currently.
Yes bro .but ifound bug on your code brow . If it no problem when i open the app for first time .but .when i close then open again ,it force closed :'(
If you dont have internet connection during opening the application or you lose it during its activity, then the app will crash. Again, I am working on different project now. :)
Bro .i realy sure i have internet access ..i think the problem is Thread .
The cronologis .is like this. 1.i open the app for fist time .realy work .i can chat and anything! Then exit . 2.i open again .then force close .force me to close .then 3.i open again.them perfectly works ! 4.:( . How to fix ;(
Exit detection should be implemented, you can do it If you want. As i said the project is not developed by me now. The issue will be closed.
Exit detection should be implemented,
So ijust add onbackpressed finish
That should do the job.
But some tima .the messages repeat several time :"( though i enter one time ..it always appear several messages in other app
Please fix .why i cant chat with myfrient?