0

I tested google cloud messaging example and now I would like to make a library project with this example and use it in an app. My app have an Activity with 3 fragment in a tabsadapter.

Can I have the app and the GCM library project separated or it's better to create a package with all the GCM part in my project?

Has anyone implemented GCM? Could anyone show me the right way? If you have any suggestions please write me. Thank you very much.

Tenaciousd93
  • 3,438
  • 4
  • 33
  • 56

1 Answers1

0

You can make it separated, but your manifest.xml must be prepared to make a reference to a source code outside your package (writing the full path of the source, instead of .).

Joubert Vasconcelos
  • 550
  • 1
  • 7
  • 22
  • Ok, I'm changing my code. The biggest problem is the manifest, but thanks to this other answer I made it sample: [link](http://stackoverflow.com/questions/6276342/android-c2dm-push-notification). Thank you for your answer – Tenaciousd93 Aug 02 '13 at 06:33