Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Phone app to send login to pabx

Status
Not open for further replies.

wokkel99

Technical User
Aug 22, 2004
35
0
0
NL
How can i simple setup an android app what does the following.

User must give in
Phonenumber
Pincode
Then press Login.

Then the app must send *35*phonenumber*pincode#
And then there must be a notification that the number is logged in, the app must stay active, and on the screen must be a Logoff button what must do *36 to logoff the phone.

Is this easy to make, or is it lots off working, please let me know.

Thanx.
 
In general, an Android app like you describe will work like the following:
App <--> Web Service <--> Application on server​

What you want to do within the Android unit is not difficult.
It would merely either automatically capture the phone's number (most likely) or it would enable the user to enter a number.
It would then enable the user to enter the PIN.

And when user pressed the Login button it would send the information to a Web Service.
That Web Service would be accessed via a URL
Example: http:\\MyWebService.com\default.aspx?phone=3331113333&PIN=1234​

The Web Service would do whatever it needed to do with the information and follow-up with a result sent to the web page.
The Android unit would then capture back the web page results and report it to the user.
Do a Google Search for: android http getpagecontent

So you would need:
1. An application running on some web-accessible server doing whatever you need it to do.
2. A Web Service to 'service' the application.
3. An Android App to take the user input and 'talk' with the Web Service

Once your Android app got back the information from the Web Service, it would do whatever you wanted it to do.

Good Luck,
JRB-Bldr


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top