Giter Club home page Giter Club logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024

Original comment by [email protected] on 13 Jul 2013 at 4:00

  • Changed state: Fixed

from simple-android-instant-messaging-application.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.