Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 67

Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
07/26/15 06:46 AM (8 years ago)

Parse Push Message on BT Android Studio Project?

Does anybody have an HowTo for that? Thanks for help......... again ;-)
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/26/15 09:53 AM (8 years ago)
You just follow the parse how to now on parse.com.works put the box now. Androidhive.info might help also
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
07/27/15 12:02 AM (8 years ago)
Hi CMCOFFEE... Okay, but WHERE (In which File & Line) to add the "Connect your app to Parse" - String? ////////////// public void onCreate() { Parse.initialize(this, "APPID", "CLIENTKEY"); ParseInstallation.getCurrentInstallation().saveInBackground(); } ////////////// Many Thanks for help......... again ;-) //////////////
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
07/27/15 04:09 AM (8 years ago)
Okay... i figure it out how it works.... Problem.... when i send an Push Message, iam reciving the Orginal Message and a second One with some Code in it...??? Looks like: ////////CODE/////////// Received: Bundle[{push_id=pqknLmnwcl, data={"alert":"My Message","push_hash":"dwkjnvbijsnifnaionf§"}, from=245872059124512465, time=2015-07-27T08:13:04.Z, android.support.content.wakelockid=2, collapse_key=do_not_collapse}] ////////CODE///////////
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/27/15 05:18 AM (8 years ago)
Yea it's because of the buzztouch broadcast receiver in the manifest.you can take that code out or take the code out in the bt_gcmIntentService.java
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
07/27/15 06:24 AM (8 years ago)
Okay... WORKS! I modified the "bt_gcmIntentService.java"... Thanks for the Tip...
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/27/15 03:41 PM (8 years ago)
Cool your welcome
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.