Comments (9)
like the other "message was not able to be sendt" issues, this is because of
the sendmessage function, the sendmessage function tries to send your message
directly over the TCP protocol to the "friend", so it works IF you do not have
any firewall or something.
so the messaging is a "direct call" endpoint to endpoint.
this should work fine with 2 Devices in one private wlan^^
Original comment by [email protected]
on 10 Jul 2013 at 7:39
- Changed state: Accepted
from simple-android-instant-messaging-application.
k i will try and let you know before that in the video as you demonstrated you
have used two emulators how did it worked..?
Original comment by [email protected]
on 10 Jul 2013 at 8:45
from simple-android-instant-messaging-application.
Hi there,
i have tested on two devices no luck still show's the same message.
Original comment by [email protected]
on 10 Jul 2013 at 11:33
from simple-android-instant-messaging-application.
hmm should work but i haven't testet the wlan thing yet
yeah for 2 emulators you have to modify the
line of //IP=10.0.2.2 in sendmessage function in imService
just delete the 2 "//" in front of it
and then while running the emulator you have to setup port forwarding
let me give me an example for instance user1 logins the emulator-5554 with port
number 12345 and user2 logins the emulator-5556 with port number 54321
then issue these commands
adb -s emulator-5554 forward tcp:12345 tcp:12345
adb -s emulator-5556 forward tcp:54321 tcp:54321
Original comment by [email protected]
on 10 Jul 2013 at 12:40
from simple-android-instant-messaging-application.
Hi, i tried with either ways it dint worked for me. need help please....
Original comment by [email protected]
on 11 Jul 2013 at 7:31
from simple-android-instant-messaging-application.
When i run this line on the browser its showing me a single zero
http://192.168.0.47/android_im/index.php?action=authenticateUser&username=goutha
m&password=qwerty
does it means my application is not working..?
Original comment by [email protected]
on 11 Jul 2013 at 9:40
from simple-android-instant-messaging-application.
no it means you have to add "&port=12345" in the url request...
i thought you can successfuly sign in?
at the point where you issue the adb -s emulator commands you'll have to use
the ports your running the app with (you can find the actual ports for each
user in the db while running)
Original comment by [email protected]
on 11 Jul 2013 at 2:22
from simple-android-instant-messaging-application.
Hey i've just uploaded the preview APK with the Fix for the send/receive "bug",
try it out!
http://code.google.com/p/simple-android-instant-messaging-application/downloads/
detail?name=AndroidIMu2.apk&can=2&q=
I think i get the source ready till tomorrow, you'll find it under downloads.
Update 2
Original comment by [email protected]
on 13 Jul 2013 at 2:01
- Changed state: Started
- Added labels: Component-Logic, Priority-Critical
- Removed labels: Priority-Medium
from simple-android-instant-messaging-application.
Original comment by [email protected]
on 13 Jul 2013 at 4:00
- Changed state: Fixed
from simple-android-instant-messaging-application.
Related Issues (20)
- STATUS.JAVA HOT 6
- php file error HOT 2
- 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
- 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
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.