According to the documentation of Google App Engine in this URL https://cloud.google.com/appengine/docs/java/sockets/
It said:
Sockets are only available for paid apps, and traffic from sockets is billed as outgoing bandwidth.
My questions is that, Is this paragraph includes iOS Apps too? If Yes, what does that mean?
Google App Engine is simply a web host. The code you deploy there doesn't run on any devices- it runs in the cloud and clients can talk to it. Whatever you deploy there typically offers up content over HTTP, which any type of client can understand.
That paragraph is talking about billing for your web application, that is, the code deployed on your Google App Engine instance.
Thus to serve up content using sockets, you need to have a paid Google App Engine instance. "Apps" does not refer to the client applications.
Related
I am new to Android Application Development and know all the stuff, which is required to build an Application which can use the local resources (databases and all that stuff). I want to build an Application, which will interact with the Application server. And I chose Google App Engine as my Application server. As I am slightly new to this topic, I just want to know, what are the prerequisites for doing both client and server side programming.
I would require to store some data on Google App Engine and interact with the apps with reference to the same.
P.S. I have chosen Java as my language with Google App Engine.
I don't think that there is any prerequisites for using android with google app engine.
Google App Engine is a PAAS, u can write the server side and it should work irrespective of Android, iPhone or any other device. For data transfer you can use XML or JSON format, see this if u are interested in creating REST services.Create and Deploy a JAX-RS REST service on Google App Engine
For data transfer from server to android device, u can use Google Cloud Messaging Google Cloud Messaging for Android
I want to raise an event from my Android application to my desktop application which is in Java. Can I do so? If yes, which API to use? Any examples or code snippets?
Both android and desktop applications are clients. Two clients can talk to each other via server or at least initialize their connection via server that is running on pre-defined location (IP address). So, you need some server that allows to do this.
You can probably use (or abuse) some 3rd party servers for this. For example if your desktop application "knows" the phone number it can send SMS via one of available web services. The android application will catch the SMS and take information from its text. You probably can use Skype installed on your machine or email to send messages among applications too. But better way is to develop your own server that exposes RESTful API and use it for the negotiation.
I have an IRC bot written entirely in Java that I've been hosting on my home computer, but my iffy internet connection has been disconnecting it a lot. I've been wondering if I could use the Google Apps Engine to host the bot with a constant connection? If so, what kind of changes am I going to have to make?
Thanks for the help
No, you cannot do that. Google App Engine does not allow arbitrary outgoing Socket connections (probably because they do not want people using their platform as a proxy server). The closest thing they offer is the URL Fetch API for accessing external content over the network/Internet.
Using that, you might be able to come up with something that drives an existing web-based IRC client using an App Engine app. Though I'm not sure what benefit that would have over just using a web-based IRC client directly.
Also you cannot have a "constant connection" to (or from) an App Engine app. The platform will automatically time-out/close any request that has not completed processing within about 30 seconds or so.
I want to develop a mobile application which can work in GPS/GPRS based phones. I heard like Java is the most suitable platform to develop that. But I want to connect this mobile application to the IIS server. Is it possible?
I have one more query.
Is it possible to deploy applications developed using .net mobile in basic gps phones?
Yes. It is possible.
In order to communicate with your IIS server ,
you can create webservice and deploy it over IIS and consume it from j2me app/
you can use URLConnection to make GET POST request to your IIS Server from J2ME Application.
First one is more preferable.
Introduction to J2ME Web Services
Google App Engine has a great XMPP service built in. One of the few limitations it has is that it doesn't support receiving messages from a group chat. That's the one thing I want to do with it. :(
Can I run a 3rd party XMPP/Jabber server on App Engine that supports group chat?
If so, which one?
No. App Engine apps can only directly handle HTTP requests - you can't run arbitrary servers on App Engine.