maybe this is a stupid question.. but, is Google Maps app on Android an example of WAP application? and can anybody provide me example of WAP Application?
Thanks in Advance :)
It looks like WAP is a standard protocol for mobile phones and mobile telecomunications.
An android application is not tied to a specific standard or protocole. It just uses the connection provided by the android phone. This connection could either be a 3G connection or a Wifi connection. (Or a WAP connection, but this standard is getting old)
To summarise Google Maps uses a connection to get localisation data etc. But the Google Maps application is not "aware" of the caracteristics of that connection. It is just using whatever available connection through a sort of wrapper.
Related
I found that Web notifications have been supported by chrome browser. This needs the google clod messaging to be integrated with the website. So, the question is, is it possible to build a push notification server for web apps that gives notifications for mobile and desktops chrome browsers. The scenario is a closed wi-fi connection without connecting to internet. I also found that push notifications works on GSM. So I would like to know whether this is feasible ?
You cannot do this using the Google Play Services, as that by definition requires routing through Google's servers.
You could, however, have a local server with a socket connection, and just send and receive data over that.
I am looking for an existing library to establish a connection between any smartphone(android/ios/win phone) and a web page.
Sort of what whatsapp is using (https://web.whatsapp.com/), with authentication.
Once the connection is established, i will have to send real time data ( audio and text) from the phone to the pc.
I suppose that whatsApp use a server to relay the data. i dont mind doing the authentication with the help of a server but once the connection is ok,I prefer to do all the communication on wifi instead of sending data from the phone to a server and sending it back to the web page on the pc.
Thanks!
When you want to solve a particular problem which is already solved, You don't want to reinvent the wheel(especially in web) but use the existing solution.
What you are looking for is WebRTC. Fits exactly for your use case. But i am not sure about the development efforts required for this.
There are Client libraries in almost all languages. A quick search gave this for Android
And i am not sure about the device support you are expecting, check Caniuse?
Also have a look at WiFi-p2p for android.
UPDATE:
check this webrtc website for cross platform development support and examples.
There is no real "best" way of doing this, but you have to have a server of some type running on your computer. From there you can use normal network requests from Android to communicate with your computer as long as they are on the same network (WiFi). https://developer.android.com/training/basics/network-ops/connecting.html
Working on an Android app which utilizes ArcGIS Android SDK. In the project, I am having a requirement where in I need to show some maps of our client. Those services are all secured and can be accessed only via VPN. The VPN server type is Juniper for which I had installed Junos Pulse app in my phone. Made the VPN connection in Junos Pulse app. Trying to make a ArcGISTiledMapServiceLayer instance by passing the URL of my client's map service. But it's giving me EsriSecurityException.
Would like to know is my app not able to recognize the VPN connection made in Junos Pulse app? Other than providing the credentials (while making the VPN connection) do I still have to pass the credentials by my app as well? If yes, in what format?
Can somebody please guide on how can I utilize some secured Map Services of a particular domain?
Thanks.
Get your VPN connection working and your ArcGIS services will work. This is a problem with Junos Pulse, not with ArcGIS.
There is a Google+ mobile application for Android. To receive all the information it must be using some API.
How I can retrieve this information from my phone and see from where this app is getting data? I'd love to access it myself and see how it works.
You are talking about "reverse engineering" a network protocol.
Full sniffing
Get a market enabled emulator: How to install Android Market App on the emulator?
Get a network sniffer: tcpdump, wireshark, ...
Start to sniff what's going over the wire
http://www.thoughtcrime.org/software/sslstrip/ - an ssl stripping proxy
Inject your ca: http://www.mcbsys.com/techblog/2010/12/android-certificates/
This should, in theory, enable you to sniff any https or plain text connection.
Already available APIs
I would not try to hijack the connection. There is already a contacts API, it's called xmpp. You should be able to use the talk integration to pull your friend list.
Future APIs
You may also want to sign up for the upcoming API.
UPDATE
It appears that the Android client uses (at least partially) XMPP. The regular client requires an open XMPP connection and you can see a "RealTimeChat" in your logcat. It looks like the connection is encrypted because you get a "TLS required" message (the client seems to go through the XMPP connection states). I'm not sure if that's used for client based posts or just for server push. You can see the open connections with the help of "netstat". The connection goes away when google plus terminates.
I'd thus expect the API to be really open once released (or rev.eng).
UPDATE 2 (06. Jul. 2011)
Hangout is build on XMPP/MUC+JINGLE (muc == multiuser chat, jingle is roughly a SIP alternative on top of XMPP). And yes, they'll release the the details of it :-)
UPDATE 3 (06. Jul. 2011)
Multiple XMPP components for gtalk/gplus have been revealed by reading the JS code. It also emphasizes that they have build a great deal of features on XMPP.
They haven't launched the API yet. If there is something you want to build on Google+, they encourage you to signup here: https://services.google.com/fb/forms/plusdevelopers/
The API hasn't been released yet. Heck, the product hasn't even been released yet. Thats like developing a video game for playstation 5.
Yes it is. Its coming "soon" read :: http://www.webpronews.com/api-coming-soon-for-google-plus-2011-07
I need further information about C2DM on android. The informations on http://code.google.com/intl/de-DE/android/c2dm/index.html are not clear about the background technology.
Which protocolls are used?
How does the Google server find my cell phone?
I need such informations.
You can get some info about C2DM internals from Google I/O 2010 video: Building push applications for Android
C2DM maintains an open TCP socket connection to the messaging server. Its really rather simple, other than keeping the socket open, which is no exactly trivial.