c2dm cant open keycharmap file

Put your problem here if it does not fit any of the other categories.

c2dm cant open keycharmap file

Postby tuffyg » Tue Mar 20, 2012 5:28 pm

hi all.
i've been lookingthrough this site for a long time getting tutorials. it is now time to contribute towards the site with my problem :D

i have a problem with my c2dm application. when i run the app from eclipse and send a message from my server it arrives on my phone. but if i send another message from my server after this initial message it keeps sending my first message e.g when i launch the app i send a message "Test" then i send Test2 however i never recieve test2 instead i reieve test. on the second attempt it says in logcat cant open keycharmap file
Logcat:
Code: Select all
03-20 15:44:41.702: D/ATRecorder(5540): com.htc.autotest.dlib.RecordEngine in loader

dalvik.system.DexClassLoader@405273d0
03-20 15:44:41.902: D/WindowManagerImpl(5540): addView, new view, mViews[0]: com.android.internal.policy.impl.PhoneWindow$DecorView@40521618
03-20 15:44:53.374: W/C2DM(5540): Message Receiver called
03-20 15:44:53.374: W/C2DM(5540): Received message
03-20 15:44:53.384: D/C2DM(5540): dmControl: payload = test
03-20 15:44:55.846: D/ATRecorder(5540): com.htc.autotest.dlib.RecordEngine in loader dalvik.system.DexClassLoader@40531ca8
03-20 15:44:55.856: D/WindowManagerImpl(5540): addView, new view, mViews[1]: com.android.internal.policy.impl.PhoneWindow$DecorView@4052eda0
03-20 15:45:06.566: W/C2DM(5540): Message Receiver called
03-20 15:45:06.566: W/C2DM(5540): Received message
03-20 15:45:06.566: D/C2DM(5540): dmControl: payload = test2
03-20 15:45:12.162: D/ATRecorder(5540): com.htc.autotest.dlib.RecordEngine in loader dalvik.system.DexClassLoader@405390d8
03-20 15:45:12.162: D/WindowManagerImpl(5540): addView, new view, mViews[2]: com.android.internal.policy.impl.PhoneWindow$DecorView@405366e0
03-20 15:45:13.964: W/KeyCharacterMap(5540): Can't open keycharmap file
03-20 15:45:13.964: W/KeyCharacterMap(5540): Error loading keycharmap file '/system/usr/keychars/synaptics-rmi-touchscreen.kcm.bin'. hw.keyboards.65537.devname='synaptics-rmi-touchscreen'
03-20 15:45:13.964: I/KeyCharacterMap(5540): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
03-20 15:45:14.304: D/WindowManagerImpl(5540): finishRemoveViewLocked, mViews[2]: com.android.internal.policy.impl.PhoneWindow$DecorView@405366e0


any help would be very much appreciated. (there will also be a tutorial from me coming through on c2dm because every tutorial out there on this topic sucks)
tuffyg
Freshman
Freshman
 
Posts: 3
Joined: Tue Mar 20, 2012 5:24 pm

Top

Re: c2dm cant open keycharmap file

Postby tuffyg » Wed Mar 21, 2012 1:01 pm

if it helps i've narrowed it down to my message received activity not displaying the payload.
i have set my notification text to display the payload and that works
tuffyg
Freshman
Freshman
 
Posts: 3
Joined: Tue Mar 20, 2012 5:24 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 24 guests