Discussion Forums  >  Grunts, Groans, Complaints

Replies: 57    Views: 163

martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
09/28/13 02:59 PM (10 years ago)

Push Notification HELP!

I've tried everything I can to get this push notification to work. If someone could help me I would be grateful. I don't even mind giving you the files. I just want it to work, but of course I'm a newbie to Push Notification thing. It's so hard to do! I've tried almost everything. Please help. All I want is to send my app users a message that a new post is out. That is it.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 03:08 PM (10 years ago)
My file:https://www.dropbox.com/s/0of6utbon2k73hz/w4mkblog_Android%286%29.zip Very simple file. All it does is point to my mobile site.That's it! That's the complexity of this file. This file is straight from buzztouch, I have not even touched this file. So it's error free.
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/28/13 04:16 PM (10 years ago)
hey martapp, i use xtify notifications for push. Sounds like you already have a google api setup if so i sugguest using Xtify. You have a lot more options for push notifications, including rich notifications. Here's a good tutorial https://www.dropbox.com/s/43ap95pzy473ead/Xtify-Integration-Android-Eclipse-Buzztouch.pdf or https://dl.dropboxusercontent.com/u/1351891/Xtify%20with%20Buzztouch2.pdf Register with Xtify and google. I already implemented the code into your app. Hope this helps
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 05:02 PM (10 years ago)
My file:https://www.dropbox.com/s/0of6utbon2k73hz/w4mkblog_Android%286%29.zip Very simple file. All it does is point to my mobile site.That's it! That's the complexity of this file. This file is straight from buzztouch, I have not even touched this file. So it's error free.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 05:05 PM (10 years ago)
@COOKUP, you implemented the code in my app?
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 05:06 PM (10 years ago)
@COOKUP, you implemented the code in my app?
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/28/13 05:20 PM (10 years ago)
Yes. Xtify.
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/28/13 05:21 PM (10 years ago)
But you need to have Xtify setup. As we'll as Google cloud messaging.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 05:22 PM (10 years ago)
I'm at step 3 and then b. under it about the <manifest> part. I am just placing anywhere under that. That's okay, right?
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 05:28 PM (10 years ago)
"Then call XtifySDK.start in the activity onStart method by copy & pasting this code around line 160:" What does "call" mean?
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/28/13 05:39 PM (10 years ago)
here is your package implemented! you are making a request to the XtifySDK in the onStart method. https://dl.dropboxusercontent.com/u/1351891/w4mkblog.zip
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 05:42 PM (10 years ago)
So what do I do now?
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/28/13 05:44 PM (10 years ago)
Unpack the the project import the project into eclipse and open BT_activity_base.java and enter your app key and project number.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 06:00 PM (10 years ago)
Errors: The import com.google.android.maps cannot be resolved GeoPoint cannot be resolved to a type
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/28/13 06:12 PM (10 years ago)
3. Your google play services is probably locted in a different location so you need to right click on your project and goto build path-->configure build path, and remove google play services with red x. Now add the google play services library back to the project. You should now have a green check mark. if you dont understand then click link below and look under Buzztify sample app #3.
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/28/13 06:13 PM (10 years ago)
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 06:19 PM (10 years ago)
errors gone. now test it right?
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/28/13 06:23 PM (10 years ago)
yes
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 06:28 PM (10 years ago)
Internal error: that's what i get in the test console part of xtify. and it's under development as well
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 06:32 PM (10 years ago)
Now it shows up like there is no registered device in xtify.
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/28/13 06:36 PM (10 years ago)
in your AndroidManifest file delete this from the Xtify code: <receiver android:name="com.w4mkblog.XtifyNotifier" > <intent-filter> <action android:name="com.xtify.sdk.NOTIFIER" /> </intent-filter> </receiver> I didnt add that file to your code. That controls the sound and icon as well. you can delete those lines.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 06:37 PM (10 years ago)
It's like not getting registered devices. So close!
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 06:46 PM (10 years ago)
It's like not getting registered devices. So close!
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 06:47 PM (10 years ago)
<receiver android:name="com.w4mkblog.XtifyNotifier" > <intent-filter> <action android:name="com.xtify.sdk.NOTIFIER" /> </intent-filter> </receiver> I deleted it. And still nothing, xtify doesn't register yet.
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/28/13 06:48 PM (10 years ago)
are you in development/testing mode in xtify?
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 06:52 PM (10 years ago)
yes; I am. ANd i deleted the other like you said
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/28/13 07:01 PM (10 years ago)
ok lets do this! Delete this from the Android manifest <!-- Google Cloud Messaging permissions --> <receiver android:name="com.google.android.gcm.GCMBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND" > <intent-filter> <action android:name="com.google.android.c2dm.intent.RECEIVE" /> <action android:name="com.google.android.c2dm.intent.REGISTRATION" /> <category android:name="com.w4mkblog" /> </intent-filter> </receiver> <service android:name=".GCMIntentService" />
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 07:08 PM (10 years ago)
Nothing still.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 07:08 PM (10 years ago)
Still trying
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 07:14 PM (10 years ago)
Wheres my XtifyNotifier? Is that there?
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/28/13 07:16 PM (10 years ago)
every place that it says your "YOUR_APP_PACKAGE_NAME" should be replaced with "com.w4mkblog" minus the quotes.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 07:20 PM (10 years ago)
XtifyNotifier.java I just added that. It wasn't in there. But then I get. error: The import com.xtify.rn cannot be resolved
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/28/13 07:28 PM (10 years ago)
you have to delete that line. That is used when you are adding rich notifications, and you have to add some other files as well.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 07:30 PM (10 years ago)
i deleted, and still error. i think this is it here. Whatever it is ends here. This is the last error I can find.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 07:31 PM (10 years ago)
Error: The declared package "com.gom" does not match the expected package "com.w4mkblog" Another error
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 07:37 PM (10 years ago)
XtifyNotifier.java: Do i need that file?
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 07:47 PM (10 years ago)
can you fix XtifyNotifier.java?
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/28/13 08:14 PM (10 years ago)
<receiver android:name=“com.w4mkblog.XtifyNotifier"> That's an error on the manifest page
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 08:16 AM (10 years ago)
Cookup, you there?
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/30/13 08:17 AM (10 years ago)
at work at the mommment. maybe we can use teamviewer later on today.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 08:20 AM (10 years ago)
I emailed you earlier Saturday. Could you check that? I do appreciate the help.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 08:20 AM (10 years ago)
And that sounds good.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 08:44 AM (10 years ago)
What time can we meet?
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/30/13 08:56 AM (10 years ago)
I wont be home until 8pm est.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 08:56 AM (10 years ago)
O ok um
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 08:58 AM (10 years ago)
So 830est time? Ill email u the links for teamfinder?
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 08:59 AM (10 years ago)
Teamviewer I mean
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 09:24 AM (10 years ago)
So 830est time? Ill email u the links for teamfinder?
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 09:24 AM (10 years ago)
What time can we meet?
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 11:01 AM (10 years ago)
And that sounds good.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 11:01 AM (10 years ago)
830 good?
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 11:01 AM (10 years ago)
And that sounds good.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 11:01 AM (10 years ago)
I emailed you earlier Saturday. Could you check that? I do appreciate the help.
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/30/13 01:33 PM (10 years ago)
looks like im going to be later than i though. Im at lunch right now if you want to email me the info!
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 03:09 PM (10 years ago)
Hey, I emailed it to you. I'm waiting on you to join me. Respond here when ready.
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
09/30/13 03:21 PM (10 years ago)
let's do it. im waiting.
 
martapp
I hate code!
Profile
Posts: 68
Reg: Jul 19, 2013
Statesboro
680
like
09/30/13 03:23 PM (10 years ago)
you on?
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
10/01/13 12:19 PM (10 years ago)
let's do it. im waiting.
 

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.