Android :: Android C2DM Messages Reach Phone - Forwarded To Wrong App
Nov 5, 2010
I've been messing around with C2DM and have a nice little app working perfectly in the Emulator. I send a message from my app server to Google's C2DM servers, the message will arrive on the emulator and my app would respond appropriately.
My problem now is running the app on my smartphone (a Nexus One). The app runs fine and registers for C2DM with Google and then forwards it's rego ID to my application server. This is all working as expected. Problem is, when I send a message from my app server to the phone, my app never receives the message. After some investigation I found out
that the message reaches the phone, but the C2DM subsystem seems to be forwarding the message to the Google Talk app and not MY app.
Has anyone seen this behavior before? Can anyone give hints on what to look for to solve this? I was assuming that if the registration messages where forwarded to my app, then everything else should be as well.
View 1 Replies
Mar 25, 2010
Every time my sister in law forwards a message to my wife, it shows up that I sent the message. Has anyone seen this before and if so, how do I fix it?
View 4 Replies
View Related
Aug 19, 2010
Is C2DM one way communication? Is it always from "cloud2Android"? Is it possible to work from Windows2Cloud?
i.e. Is there a way to send messages from Cloud to PC?
View 5 Replies
View Related
Jan 4, 2012
I did a quick search and didn't find any posts relating to text message limits.I have what I believe is a Motorola Droid 1 (How do I find out for sure?) using Verizon as my carrier.
I was told that any text message sent to me that is larger than the standard 160 characters, would be split up into two or more messages. This is not happening on my phone, and I'm wondering if this is an OS problem, phone problem, or if I just need to call Verizon to have them investigate?
I have gotten several texts that were cut off, never to receive the rest of the message.Also, is there a way to have text messages forwarded to an email address as a backup?
View 7 Replies
View Related
Nov 14, 2010
Prior to switching ROMs back and forth, I was able to nandroid off of my phone with no issue. Now, I cannot and at first I found it slightly alarming, but then I brushed it off. However, I feel like something might be wrong with my phone? Help?
Also, recently (as in today). My phone has been sending messages to other people, randomly. I got a phone call from my mother but it popped up as a totally different number.
View 5 Replies
View Related
Oct 6, 2010
1. Does the phone support Chinese input?
in other words, if the phone could send or receive Chinese messages?
2. If something wrong with the phone during updating, and can't start, is there any ways to recovery it?
View 2 Replies
View Related
Aug 2, 2010
When i open jumpNote project in eclipse,i encounter some mistakes like the following description. many variables related with c2dm like
Config.C2DM_ACCOUNT_EXTRA,
Config.C2DM_MESSAGE_SYNC,
Config.C2DM_SENDER etc
*cannot be resolved.*
i uses the latest sdk(2.2).
any one konws the reasons, i think that if i miss some jar files?
View 3 Replies
View Related
May 27, 2010
I have several users at work who have the HTC Droid Eris. We allow our users to connect to our work email via IMAP. We have an issue where when a users receives forwarded email, they can't open it. It give them the option to save to the SD card, but when you click again on it, it still only gives you that option. I tried one of our users, who has the new incredible, and it works on his once he saves it to the sd card, it gives the option to open. Has anyone gotten this issue before, or is there a work around for it.
View 1 Replies
View Related
Mar 25, 2012
Here is my dilemma:
I have 2 lines, 1 smartphone and 1 plain phone. Let's put up a scenario.
Smartphone = line a
Plain phone = line b
I want to forward all calls from line b to line a but instead of the caller id being of the caller, I want it to display the id of the forwarded phone.
DROID BIONIC (rooted)
View 4 Replies
View Related
Oct 13, 2010
I just left the BlackBerry world. Been an avid Gmail user and I own my own business. Emails sent to my business email is forwarded to my Gmail account. In Gmail, you can respond to emails as if it was coming from the business email (server). This was a simple sync I had with Blackberry emails. However, I'm finding difficulties setting up the same thing for my new HTC Incredible (Verizon provider).
View 8 Replies
View Related
Jun 6, 2010
There is something wrong with my text message inbox. When i receive a text message and reply to it, my message comes up before the one I received even though I sent it after.
View 21 Replies
View Related
Apr 13, 2010
I received a couple of text messages from Vodafone today, and the Messages app showed the sender as one of my personal contacts! It happened to be the last contact that I edited in the People app, and seems like a bug. Has anyone else seen this? this is on an unlocked Desire bought from mobiles.co.uk.
View 5 Replies
View Related
Jul 2, 2010
if someone sends me a message, then i send one back. sometimes my message is displayed before their message on the list?
so.
[me]
[them]
[them]
instead of
[them]
[me]
[them]
i think this is due to the timestamp on the 3rd parties phone being a minute or so out.
View 11 Replies
View Related
Nov 3, 2010
Currently running DeFroST 6.0 forHTC desire (AOSP FRG83 + CyanogenMod). I rooted using unrevoked 3. I installed defrost 5.9via Rom manager then upgraded to 6.0 via defrost settings.
3 questions possibly unrelated
when I run bootloader I see 'no image' and 'wrong image' messages displayed
I am unable to delete stock apps that came with the defrost Rom. In root explorer I mount r /w and delete an app. Confirm delete message shows up. But when I exit app is still there in the drawer functioning normally.
I was told this could be because NAND is locked. I understand that it should be unlocked when the unrevoked root was performed. I suspect that the error message - not enough space I saw in recovery might have something to do with the NAND setting.
Before I installed defrost 5.9 I tried to install the cyanogen 6 Rom via Rom manager. I saw 'not enough space. On device' or something similar (can't remember exactly) displayed in recovery. i think this might have something to do wit NAND setting as well
btw my desire is CDMA. Can any body shed some light on this. im a newb so simple terms please
View 5 Replies
View Related
Feb 5, 2010
I receive video messages and i can the play the video but there is no sound what am i doing wrong? Im using handcent appl.
View 1 Replies
View Related
Mar 18, 2010
Incoming MMS messages are not downloaded or the phone says it cannot download. Whats wrong? i did not use to have this on my previous moment or hero before this one.
View 5 Replies
View Related
Jul 18, 2010
First time poster and long time reader. First off I got the Captivate today and love it. I had the Aria and took it back and got this today. I just have a couple of questions. I will list them so it doesn't get confusing.
1. I saw in a few reviews that the battery has standby time of over a month and is generally very good and is a big part of why I bought the phone. That being said, since a full charge at 2:00pm, I am currently (9:00pm) in the yellow on my battery with normal use (ie minimal web browsing, 4 phone calls all under 2 minutes, about 10 total texts and 3 downloaded apps, and just browsing the phones features all while having a task manager). Should I just charge it after a few days and see where I am at?
2. My house usually gives me a pretty good signal but for some reason, I only have 1-2 bars in most of the areas. However, I seem to still be able to do things such as make phone calls with no bars. As for the "death grip", I also have held the phone with a case on it and the signal diminished very quickly which concerns me. A steady 2-3 bars I would be fine with, but 1 bar is unacceptable.
3. Timestamps on text messages are wrong just like they were on the Aria. It is a minor thing but it bugs the hell out of me.
Overall the phone is awesome but I buy a phone for two reasons, number one it has to be a good phone (call quality and reception) and number two it must have an above average battery (7 hours with minimal usage concerns me). I hope I am just overreacting but these are issues I think should be talked about.
View 4 Replies
View Related
Sep 21, 2010
I am using the Emulator of version 8. and when i am trying to register the Android Application then it will gives the null registration ID. Please help me to resolve this issue. How can i register the Android Application with C2DM.My code is to register the App.
Intent registrationIntent = new Intent("com.google.android.c2dm.intent.REGISTER");
registrationIntent.putExtra("app", PendingIntent.getBroadcast(startCode.this, 0, new Intent(), 0)); // boilerplate
registrationIntent.putExtra("sender", "12786@gmail.com");
startService(registrationIntent);
handleRegistration(getApplicationContext(), registrationIntent);...............
View 1 Replies
View Related
Sep 5, 2010
I'm trying to test the C2DM framework. I got the confirmation email a couple of days ago and then tryied to create a client that could register. For that purpose, I created a simple client following the steps described in this tutorial:
http://code.google.com/intl/es-419/android/c2dm/index.html.
The Android manifest file contains among other things this code:
<permission android:name="com.bilthon.ufrj.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.bilthon.ufrj.permission.C2D_MESSAGE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.INTERNET"/>
<receiver android:name=".C2DMReceiver"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter> <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.bilthon.ufrj" /> </intent-filter>
<intent-filter> <action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.bilthon.ufrj" /> </intent-filter> </receiver>
And then, the main activity launched when the program starts has the following code:
Intent registrationIntent = new Intent("com.google.android.c2dm.intent.REGISTER");
registrationIntent.putExtra("app", PendingIntent.getBroadcast(this, 0, new Intent(), 0));
// boilerplate registrationIntent.putExtra("sender","mytestemail@gmail.com");
Log.d("WelcomeScreen","mytestemail@gmail.com");
startService(registrationIntent);
I also registered a google account on the AVD running my client, as they said it was required. But the problem is that I cannot get the broadcast receiver to "wake up". I don't know what could be wrong. By analysing the logs, I can see that the registration intent is created and apparently used correctly, but the receiver code just never is executed, what could be wrong?
View 3 Replies
View Related
Aug 20, 2010
I looked all over the web and in this group for a solution but I don't seem to have any luck. I'm probably not the only developer that needs to try C2DM on the emulator so a solution to this could be quite useful. First of all let me say that I'm running the latest Google APIs 8 rev 2 as AVD which should have all the necessary magic to allow me to run C2DM (it even has all the market components to run the LVL). I tried both Chrome to Phone and Jumpnote and it was impossible to make the C2DM service work. - Chrome to Phone fails when trying to connect from the Android app running on the emulator with a "Error: Unable to connect". On the Chrome to Phone site they recommend that Talk should be tried first and that the Market should be available (none of these come in the emulator image and I'm not sure if I should even try to install them on the emulator). - Jumpnote does not synchronize automatically and gives me an error: "Error calling remote note sync RPC" (when I do a manual sync I can see the docs being synchronized but looks like C2DM, which enables the auto sync, is broken). I also heard a comment that maybe port forwarding via adb could be necessary (but I'm really not sure this makes any sense).
View 5 Replies
View Related
Jul 7, 2010
We are looking for possibility of extend C2DM to other platform such as WM. And want to check the technology or protocol behind android 2.2 Cloud to Device Messaging.
View 2 Replies
View Related
Aug 16, 2010
I'd like my Android app to receive notification when new messages arrive in my gmail account. I realize that the Android gmail client does not broadcast notification when it receives messages. Instead I want to utilize the gmail server's Cloud to Device Messaging capabilities to do this. I read the article at http://code.google.com/android/c2dm/ - the only "missing piece" for me is to understand how my app sends a
registration ID to the gmail server. Can someone please point me in the right direction?
View 1 Replies
View Related
Jul 30, 2010
its not that big deal but i found a Syntax error in the code for C2DM Registering from this site registrationIntent.putExtra("app", PendingIntent.getBroadcast(this, 0, new Intent(), 0); where they missing the end ")" and here's my magical fix :) registrationIntent.putExtra("app", PendingIntent.getBroadcast(this, 0, new Intent(), 0));
View 2 Replies
View Related
Jul 6, 2010
I am playing around with C2DM service. What I am concerned about is that I cannot test my device-side application from Android 2.2 emulator. The application was built more or less according to http://code.google.com/android/c2dm/index.html doc, but when register intent is sent from application, Logcat shows this: Unable to start service Intent { act=com.google.android.c2dm.intent.REGISTER (has extras) }: not found I also tried to run chrometophone and jumpnote applications and the result is the same when registring device. Any ideas? Is it possible to test C2DM service from Android emulator?
View 9 Replies
View Related
Oct 18, 2010
I'm adding Android C2DM to a Android library project. I started with the com.google.android.c2dm package that is included with JumpNote and Chrome To Phone. In order to use this package, you have to subclass the C2DMBaseReceiver service which takes the Sender Id as an argument to it's constructor. In JumpNote, this argument is initialized using a hard-coded static variable in a config class. However, in an Android library project, which may be used by multiple concurrently running apps I don't think I can use a hard-coded static variable (that is, I believe it could lead to problems when/if multiple apps are trying to access/modify the static variable). I tried to think of a way to initialize the Sender Id without using a static variable and am stumped so far.The obvious solution would be to use the Manifest or a Resource string or a combination of the 2. For example, in strings.xml I might have a "ac2dmSender" string, which is accessed in a meta-data child of the C2DMReceiver service declaration in the manifest. However, it seems that you cannot get a reference to the PackageManager or ResourceManager from a static context, so there is no way for me to then retrieve the meta data in such a way as to pass it in to the constructor of C2DMBaseReceiver.
View 1 Replies
View Related
Sep 24, 2010
Has any one implemented C2dm successfully,
then please send the code, how to get registration_id form c2dm server for our application.
View 2 Replies
View Related
Mar 9, 2009
I have an options panel that allows setting of keyboard sensivity. I use SeekBar to get the sensivity but it never reaches the max end.
There is the code:................
View 2 Replies
View Related
Nov 7, 2010
My AVDs suddenly can't reach the internet. I'm testing using the browser of the AVD. I haven't changed anything that I think is related on my development machine and I can still reach the internet from the development machine. I'm sort of at a loss figuring out how to start debugging this. Is it possible that my ISP is blocking the AVD? Is there anything different about the HTTP traffic that originates on the AVD that my ISP might key on?
View 3 Replies
View Related
Sep 22, 2010
A friend and I are working on putting together a Reach weapon spawn timer for the as yet unannounced MLG game settings. The app should be released as soon as they are made public.
We just threw together a website showing some of the work we have done on the project so far, so if you are interested check it out at :
View 6 Replies
View Related
Jul 25, 2010
I have a activity B that is called by activity A, I want to debug the code in B. I have set the breakpoint, however the debug control never enters B.
CODE:................
When I debug in eclipse, although the class B is called from class A, the debbugger pointer never enters the new window, where I have placed a debug point in Class B. I am not able to take the pointer control to class B and stop at a specific point, which will help me verify certain variable values.
View 2 Replies
View Related