Call via VOIP on PC using Android Phone with single sim - android

Is it possible to create a websocket / VOIP that will connect to a device (android device) to make a call or a text message? is there an existing app for this or tutorial that i can base my project?
Im planning to create an app and web app that can access my phone to make calls and text.

You can use XMPP based project to have a chat system and voice/video call
.I recommend you to use Ejabberd .it is so nice platform that provide amazing features like chat ,voice/video call and also it is massively scalable around 1 million connection I think in one node.
And you can use variety of Xmpp library in Android that you can see bellow link XMPP Libraries

Related

Using your own XMPP server for android chat app (Smack API)

I am new to Android programming.I have completed the basics though and wish to learn XMPP for making a chat application on Android. I've gone through tutorials, but have not got the way to use a custom pc as server for the application.I want to use my laptop as a server for sending messages between 2 android devices.My laptop should be able to recieve and direct the messages between the two.Can anyone please help me get started?
First of all, you need to install in your laptop a XMPP server. Here are a list of available ones. People used to say Openfire is easy to install and configure, but to production purposes Ejabberd (linux and mac only) seems to be more robust.
To develop your app, you can use Smack, which is large well documented, with code snapshots to connect to a server, create a chat, send and receive messages etc.

Develop a Instance Messaging Client + Server for Android

Hi I need to develop a fully functional IM solution (like viber or whatsapp) for android. It will have the basic chat features plus many more. Can any one direct me on this. I don't want to re invent the wheel so my target is to use the existing thing as much as possible for the chat server etc (some thing like jabber). If one can direct me for this, or give me some good advice for this it will be a great help.
Edit -
I will extend the application future to allow other platform clients like Windows Mobile or iOS clients. In that sense what would be the best technology to implement the server? It must handle real time traffic well. Will I be able to wrap or extend some sort of a XAMPP server to get my work done?
This is what you need. http://developer.android.com/google/gcm/index.html
It has everything you need for developing applications like viber, gtalk, instant messaging sistems, global user notifications etc...and its pretty easy to implement.
A good solution if you don't want to reinvent the wheel is to create a Jabber / XMPP client on Android and all other platforms.
Server-side, you can use an OpenFire server for managing the roster and conversations with the Smack Library
Google Cloud Messaging as mentioned Janbo is the best way for sending push notifications to your mobile app.
What you could look into, is something like Firebase. They have an incredible api for such applications
firebase link to android docs
Plus it gives you a backend at the same time for free.

Chat application in android without a server

Is it possible to create a chat application in android between two systems without implementing a server as a middle ware? I have created an application , and I want to make the chat possible between two different emulators on two different systems , I need some help guys ...!!!
Yes it is possible thats how I made my Phd project. When my application is started it asks the user to chose if it will be a "server" or client. And on the second phone it choses the other. But there is nothing in the middle of the communication.
XMPP is often used for Chat. It is typically used with a server but there also exists an extension XEP-0174 Serverless Messaging supporting chat without an intermediate server.
I don't know whether there are Android libraries supporting this though.
An alternative could be to
use eg SSDP (or Bonjour(mDNS + DNS-SD)) for discovery of devices
write your own protocol on top of it
I guess there is a solution which may work.
You can use http://programminglife.io/android-http-server-with-nanohttpd/
NanoHttpd and if both mobile phone are in same network and they can ping each other there is a possibility that you can easily create an app which help to create the chat app peer to peer mobile.

Can we create an XMPP chat client code in windows just like in android?

I need my android phone and my PC (win-xp-sp3) to be able to communicate with each other.
I am successfully running a xmpp code in my android phone through SL4a/python and it can send and receive communication.Now the communication my phone is sending i want to receive on my pc through a code.(which at present i am receiving thorough my gtalk client)
My questions are: how do i go about it?, is there any pre existing code,script,link that i can refer to? or can i hijack anyway the msgs received by gtalk in my pc?
I tried to use the same android code to listen for the chat from PC by removing the android part of the code, but I was getting error on xmpp module not existing. so i copied the xmpp.py file from google developers website to my lib folder. but now if i try to run it i am getting error "No module named google.appengine.api".
So i did some homework and downloaded gdata-2.0.17.zip from google developers website.
My questions are: am I on the right path? what should i do next? Is there any document/link regrading the same that you know?
I know the question was long but i tried to be specific to what I am looking for.
Please help me.
Google App Engine is Google's cloud computing service. If you're not creating a web application using that, you need to find an XMPP module for Python which doesn't depend on Google App Engine.
https://stackoverflow.com/questions/1081634/which-is-the-most-mature-python-xmpp-library-for-a-gchat-client seems like it's relevant to this question.
There are a wide variety of XMPP client libraries available that will work on Windows in pretty much any language you want to use. Pick one and simply write an app that connects to the gtalk server. You don't need anything google specific to do that.

Android real time messaging

i m trying to develop an aap. in android which behaves like a client/server architecture.
my app communicates messages to server to rout to specified clients..
i have heard that this could be accomplished by a REAL TIME MESSAGING client.
i have to pass only text based data. no audio/video streaming
You can read up on XMPP:
http://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol
http://xmpp.org/
There are client apis available for Android, I have personally used asmack:
http://code.google.com/p/asmack/

Categories

Resources