How can I really integrate my SQL Server with Push on Android?

Asked

Viewed 170 times

2

I have an order table in my SQL Server and an app on Android. Every time an order has a status change, the user receives a notification.

I already created the app by GCM from Google, I took the Key and everything else, but I don’t understand how to do this integration.

Do I have to do something in my bank? I create a system in ASP.NET to notify when I enter in the bank?

I’ve tried the push of Azure, but he gives a javascript or a code ASP.NET.

Where am I gonna use that? Can anyone explain this process clearly and in detail?

I implemented some codes on the internet and tutorials, but specific with SQL Server and Android never found. There’s little on the internet and here at Stackoverflow I saw people talking about notifying on Trigger, but how do I make this notification on the google server to go to my app?

  • I voted to leave open because it is possible to formulate a similar answer to the above but for environments . NET for example.

  • 3

    You did not understand friend, directly access the sqlserver by android would be a huge security flaw, Azure gives these codes for you to use on the server side, IE, to create an Android interaction and database on servers is necessary a webservice, which is a layer between the bank and android. If you made direct access to sqlserver anyone with any knowledge could capture the authentication data and could hack into your server. See if this helps: https://azure.microsoft.com/pt-br/documentation/articles/mobile-services-javascript-backend-android-get-started-push/

  • You are making your Native Android APP (Java) or with some other Xamarin or Ionic technology?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.