I am working on android applications. I need to write a .net webservice to send notification (push notification) to my application. I already worked using php webservice to send push notification but is it possible to write a .net webservice? If its possible please suggest me some links.
Will be really thankful..
There are many samples and tutorials. Did a search in Google and found this
Related
I know how to implement GCM in my App but I don't know how to build a server able to send notification to ALL the users.
I need something quite simple (just sending notification), could you advise me any services and tutorial in order to set up the server?
I wish something not to complex, because everything that I will need from my app is receiving whether simply notifications to display or to tell the app that some new data is available for downloading.
Thank you!!
Prerequisite for GCM Application
Google API Server Key
GCM RegId of the Android Device to communicate via GCM
If you get clear concept about GCM, please visit here
If you want to use java for server side then visit my answer.
Related Links:
Android Push Notifications using Google Cloud Messaging (GCM), PHP and MySQL
Android Warriors
If you're using PHP, you could use this approach to send GCM message to your client refer this
You could setup your own local server on PHP using AMPP. refer this
Probably, the simplest way is to add a cloud endpoint module refer this. Then, write a simple service refer this that sends the messages. Finally, let Android Studio deploy it.
As the title says, I want to send a push-notification to my android phone via a form on my website. I've googled but didn't found the right answer to my question.
Maybe someone can give me an idea to do that or what I need for that.
You can use Parse javascript(JS) API to trigger the push notification from cloud. In other words, you can write a cloud function that queries the Installation table and sends push notification. This cloud can be triggered via Parse JS API. Another way, you can use third party of Parse API extension like Parse4j. You can implement your web site server side in java and via Parse4j you can trigger cloud function when the form is submitted and controlled. Hope this helps.
Regards.
I'm new in android development. I'm trying to develop an app in which a user can send a request to another device running the same app and it should return a response/notification to the sending device.
I googled it and found that GoogleCloudMessaging can be used for that. But all the tutorials say that it can be used to send messages from server to apps. I need to know how the reverse can be done, ie send messages from app to server..
Please provide some tutorial.
Any help is appreciated.
Thanks..
If you want to send data to your server, you can use rest communication.
Here a tutorial
Step 1: Call a server side script*(REST api/ Webserices)* from your android application using HttpPost/HttpGet,
Step 2: Wait for response coming from server and use it.
Note: don't forget send all needful data for your request from your app to server by httppost.
Go through these link this will help you.
Get started with push notifications in Mobile Services.
Android Push Notifications using Google Cloud Messaging (GCM), PHP and MySQL
.
Google android doc on GCM,
Google Cloud Messaging GCM for Android and Push Notifications
I am creating an app using html,jquery,php and phone gap and i want to send push notification using parse.I don't know how to do that.
I have seen an example in SO But it is for ios. I need it for android. Will this work for android.
Please help me. Thank You.
Have a look at this answer I've just posted, I've just got the Android Parse PNs working:
How do I get Parse.com Push Notifications working in a Cordova/Phonegap Android app?
That will help you get the app to recieve push notifications. To trigger them from PHP you'll need to use the REST API or a Third Party PHP library:
https://parse.com/docs/rest
https://github.com/apotropaic/parse.com-php-library
I would like to make app in android in which i wand to send some message to server and also want to get notification from server if there is any updates via C2DM in android.
How to send message to the third party server. (Third-party server like php)and inputs are necessary to send message to the third-party server. and how to send response Third-party server to C2DM and get notification from C2DM to Android device?
Well that's like asking "How do I write an Android application?" and expect to get a full answer.
I suggest you start with reading this:
http://code.google.com/intl/sv-SE/android/c2dm/index.html
Then download the Chrome To Phone source code see how they implement the C2DM solution. It is fairly complicated but if you know how to make http POSTs from your Android application and your server you will succeed.