Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-3736

Add missing step in AGPUSH demo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • None
    • None

      Following the instructions here [1], I am asked to update the App's Manifest to "add the necessary permissions to enable our app to receive messages:"

      When running the example I get the following error:

      "java.lang.ClassCastException: android.app.Application cannot be cast to org.jboss.support.example.pushApplication.PushApplication"
      

      This is because the step to include the following bit of XML is missing.

      <application
      ....
           android:name=".PushApplication">
      ...
      <activitiy ...
      

      Can this be added to the instructions please as it may not be clear to beginners.

      [1] http://aerogear.org/docs/guides/aerogear-push-android/android-app/

            danielpassos Daniel Passos (Inactive)
            rhn-support-mus Mustafa Musaji
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: