Hi,

After I replace the mainactivity and manifest file accourding to the instructions here: http://www.pushwoosh.com/programming-push-notification/android/native-android-sdk-integration/

The app crashes when it opens. My files:

Main activity: http://pastebin.com/txUYweuG

Android manifest: http://pastebin.com/cisTpJCS

Logcat: 06-10 16:12:28.445: E/AndroidRuntime(28933): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.paala.testhaxe/com.paala.testhaxe.MainActivity}: java.lang.NullPointerException 06-10 16:12:28.445: E/AndroidRuntime(28933): at com.paala.testhaxe.MainActivity.onCreate(MainActivity.java:116)

line 116 is: //Register for push! pushManager.registerForPushNotifications();

And : 06-10 16:12:26.810: W/ActivityManager(2358): Unable to start service Intent { act=com.sec.chaton.push.PUSH_CLIENT_SERVICE_ACTION } U=0: not found 06-10 16:12:28.445: I/System.out(28933): Tried to get instance of PushManager with no Pushwoosh App ID or Project Id set

But I've set my id 's in manifest file...

Edit reaplce gcm with the number 732063271420 with A732063271420 same results

Did I do something wrong?

Thanks for your help.

asked 10 Jun '14, 14:03
paala's gravatar image

paala
263

closed 11 Jun '14, 10:01

Dmitry%20%20Dyudeev's gravatar image

Dmitry Dyudeev
3.7k7

The question has been closed for the following reason "The question is answered, right answer was accepted" by Dmitry Dyudeev 11 Jun '14, 10:01

Solve it. The app ids were misplaced

permanent link
answered 11 Jun '14, 06:03
paala's gravatar image

paala
263

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×446
×30
×20

question asked: 10 Jun '14, 14:03

question was seen: 1,974 times

last updated: 11 Jun '14, 10:01