urbanairship.com

Sending push notification to Android from Java server using Urban airship

僤鯓⒐⒋嵵緔 提交于 2020-02-20 21:34:34
问题 I want to use Urban airship to deliver Push notification to Android . I can send Push notification from Urban Airship site but i don't know how can i send messages in Java application using urban Airship web service . i don't want to go to their site and send message to any Android device i just wanted my personal website (developed in Java EE ) to use their service and send messages to android devices. plz share any code or toturial Thanks in advance 回答1: This project in bitbucket

Sending push notification to Android from Java server using Urban airship

蹲街弑〆低调 提交于 2020-02-20 21:31:58
问题 I want to use Urban airship to deliver Push notification to Android . I can send Push notification from Urban Airship site but i don't know how can i send messages in Java application using urban Airship web service . i don't want to go to their site and send message to any Android device i just wanted my personal website (developed in Java EE ) to use their service and send messages to android devices. plz share any code or toturial Thanks in advance 回答1: This project in bitbucket

how to send push from iphone via urban airship?

喜你入骨 提交于 2020-01-14 03:59:09
问题 I have an urban airship account and my iOS app ist already configured with the system. My device token is on the server and if I send a test notification from the server I get the notification on my iphone. BUT how can I send a message FROM my iphone to another user? I haven't found any stuff about sending through iphone. This is my code: NSMutableURLRequest * request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"https://go.urbanairship.com/api/push/"]]; [request setHTTPMethod:

Importing Urban Airship in Android Studio gives compile issues?

China☆狼群 提交于 2020-01-13 13:01:08
问题 I'm new to Android Studio and i want to implement Urban Airship in one of my projects. I followed the example on their website with the .aar file and I ended up getting this error. Error: [/Users/AndroidstudioProjects/MyApplication/app/build/intermediates/exploded-aar/com.urbanairship/urbanairship-lib/5.1.0/AndroidManifest.xml:8] Invalid instruction 'overrideLibrary', valid instructions are : REMOVE,REPLACE,STRICT Correct me if I'm wrong but doesn't this mean that they have issues in their

Importing Urban Airship in Android Studio gives compile issues?

ⅰ亾dé卋堺 提交于 2020-01-13 13:01:08
问题 I'm new to Android Studio and i want to implement Urban Airship in one of my projects. I followed the example on their website with the .aar file and I ended up getting this error. Error: [/Users/AndroidstudioProjects/MyApplication/app/build/intermediates/exploded-aar/com.urbanairship/urbanairship-lib/5.1.0/AndroidManifest.xml:8] Invalid instruction 'overrideLibrary', valid instructions are : REMOVE,REPLACE,STRICT Correct me if I'm wrong but doesn't this mean that they have issues in their

urban airship - sending Broadcast message using Json

扶醉桌前 提交于 2020-01-07 02:30:46
问题 I'm trying to send a broadcast message using a std. html/javascript to Android devices. I have found a script here on stackoverflow but i can't get it to work. it returns no errors. Then a send a message from urban airship admin i works fine. Is i missing something here?? <script language="JavaScript1.2" type="text/javascript"> var ruleObj = { "android": {"alert": "test"} } ; var objStr = JSON.stringify(ruleObj); // username : Application Key; // password : Application Master Secret; jQuery

Urban Airship with Adobe PhoneGap Build

亡梦爱人 提交于 2020-01-07 01:25:59
问题 Can I use Urban Airship with Adobe PhoneGap Build. I've read many questions but all seems really out date. Is Urban Airship Push Notification Service supported by PhoneGap Build nowadays. I also saw that in plugins tab there are some push notifications plugins and also there is a place that said Submit Plugin. Can I submit UA Phonegap 3.0 Plugin hosted at Github in that case? I've read Urban Airship documentation but it only talks about using their plugin which is not listed in adobe build.

How do I send extra data through an urbanairship push notification

血红的双手。 提交于 2020-01-05 04:41:05
问题 So I need to send a push notification to a user's device. Then when the user clicks on the notification, I need my app to take a specific action. I want to include the parameter for the action in the notification. But I don't want the user to see the parameter; they should just see the message. Doing some research, I found the following on the urban airship website { "audience": "all", "notification": { "alert": "Extras example", "android": { "extra": { "url": "http://example.com", "story_id"

Is it me or xcode… Somethings wrong with my braces and it just causes errors! Please help! iPhone SDK + Urban Push

徘徊边缘 提交于 2020-01-03 04:21:16
问题 Help! I cant find whats wrong. My code is up and mostly running and i needed to incorporate Urban Air push notification and there is something wrong with my code. If there is a better or different way to incorporate this that works without my errors I would appreciate that. I took this code from a tut of Urban Airmail. I wasnt sure what to inlude and what not to from the sample app. Now for my code. Ill notate where I get errors They are stray / errors and expected ; b4 : errors If you could

Reset urbanairship badge count

五迷三道 提交于 2020-01-02 07:45:09
问题 Problem: Let say I get 3 notification. It shows the badge count 3 on my app icon. I open the app or click on the notification and it clears the badge (All Good so far) Now when I get a new notification, the badge count shown on my app icon is 4 instead of 1 That means that the badge count was not reset on Urbanairship end My Code so far: -(void)resetBadgeNotifications:(UIApplication *)application using:(NSDictionary *)notificationInfo{ if( notificationInfo != nil ){ [[NSNotificationCenter