Android :: Reverse C2DM - Send Messages From Cloud To PC
Aug 19, 2010Is 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?

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?
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.
Contact email *
Email address we should contact when you've been whitelisted:
aaa@gmail.com
Role account email *
Google Account ID that will be used for sending messages to C2DM:
bbb@gmail.com
I register from my app and sender id (bbb@gmail.com) to c2dm service and i get registration_id. After that my third party server must get ClientLogin authentication using email and password. From which email? The whitelisted email (aaa@gmail.com) or sender id (bbb@gmail.com)?? I try both email and from this process i got authorization_id. But when i use the registration_id and authorization_id to send message to C2DM Server, i got response codes 401 Unauthorize. I use authorization_id from whitelisted email (aaa@gmail.com) and sender id (bbb@gmail.com) but none worked.
Can you send SMS messages in 3G ? My G1 shows 3g on the handset but is it actually sending the message via 3G or the traditional GSM network ?
View 5 Replies View RelatedI like the Android Facebook app, however how do I check and send messages from this app?
View 2 Replies View RelatedAs of today, I cannot send or reply to gmail messages on my Razr Maxx phone. I can receive messages, however. It worked fine yesterday and in prior weeks.
To try to fix this, I went to gmail in my browser and made sure I did not have too many devices open (a problem I encountered earlier this week). I also cleared the data and cache on my phone and rebooted. Still no luck. I can send messages via gmail in Thunderbird, so the problem appears to be partly phone related. It is my primary account, so I can't delete it without going back to factory settings, which I wish to avoid.
i do not have a text plan. Are there any apps to send and receive texts for free?
View 2 Replies View RelatedI love Handcent but this inability to resend automatically is killing me. I don't have good signal at home (basement flat), so I often send a message and then just wait for the signal to drift in, so it sends. My old blackberry or Nokia had no problems with this. Handcent doesn't handle it well. it either gets stuck with the little whirling whindmill thing and never sends, or it comes up with the red X and the process stalls. I actually prefer the red X, as at least that enables a quick "retry". but it seems to be totally random whether it gets stuck or fails to send. Why oh why is such a simple feature not bug-free in an app like Handcent that is so popular and has been around for some time now?
View 3 Replies View RelatedI 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);...............
when I send text messages which are longer than one line but less than 100 characters, sometimes the other person texts back that all they see is an empty box. At first I thought it was the other persons phone but several people are telling me the same thing. This does not always happen, but often. One liners seem to have no problems. I called Rogers tech support and they give me the same aswers all the time for different problems.
1. reset the phone to factory settings(which I already did, and same thing happened)
2. If you would like we can send a replacement phone since the problem seems to be hardware related.( I doubt this, since I can send texts and other person receives them, except the times they receive an empty box)
I am new with WIFI connectivity with android. I want to create the application to send the messages to WIFI devices with my android devices so for this i want to ask how to connect our android device to WIFI devices to send the messages.
View 1 Replies View RelatedAnybody having issues sending MMS messages? I get an error all the time saying message failed network error, retrying. Thoughts?
View 12 Replies View RelatedI'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?
Whenever i try to it says "national access coverage not available"
View 12 Replies View RelatedI updated to 2.1 and now I can't send or receive picture messages on neither the stock message or Handcent..Anyone else having this issue?
View 1 Replies View RelatedI have recurring problem where my phone will appear to have service (x>2 bars) but when I try to send a text message and even call it will give me an alert saying the text message never send or the call will automatically end before connecting. No matter how many times I resend the message, it will not send unless either wait about an hour or restart my phone. I'm pretty sure it's not the phone, however, because my last phone, a Motorola RIZR, did the same thing (I kept my same T-mobile plan). I'm wondering if it's just a network problem or something else?
View 20 Replies View RelatedMy GV does not send sms messages over wifi. Although I am not certain, I am pretty sure it did this on my Eris. Any suggestions/people who can prove or disprove this? If you can disprove me, what relevant settings do you have set?
View 2 Replies View RelatedI 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 RelatedWe 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 RelatedBasically, I receive quite a few text messages off companies who send them using a PC, and so they appear as from the company name, rather than as a phone number. For example, texts from T-Mobile appear as from "T-Mobile". However, for some reason every text I get off a company starts a new thread, rather than all being in the same thread.
View 2 Replies View RelatedSince I picked up my Captivate yesterday, I have been unable to send sms messages. I noticed under Messaging/Settings that the "Message Center" is not set. Could that be the problem? Could some of you take a look at what your "Message Center" is set to?
View 5 Replies View RelatedJust out of no where. Can receive messages but every one I try to send a red exclamation point.t pops up. I try resending with no luck. Calling is normal and internet works great. I've looked thru all the settings and restarted the phone with no luck. I'm not the primary account holder so I have to wait for someone to call Verizon for me.
View 1 Replies View RelatedWhen I try to send a picture message the little circle just spins and spins and never sends it. I called T-Mobile today and the woman took me through some settings but it still doesn't work.
View 1 Replies View RelatedI have an HTC Hero Sprint, phone. My service provider is not sprint, i live in Alaska and have ACS as my provider. I was told that my phone will not do picture messaging, and that it was a phone limitation not a network one. Other users have picture messaging on their blackberries. Can someone recommend a good app for SMS and MMS that might allow me to send picture messages.
View 12 Replies View RelatedOne problem, everytime i send a picture message to my friends they only get "Message Corrupt" and they cant open it. One of my friends has a 'Desire' and he can open it fine. i can recieve pic messages ok. Have spoke to my service provider, they cant help me at all. They did try for 2 hrs this morning. I have 14 days to leave this phone back, it would be a shame to leave this back because of a messaging problem. but i will as picture messaging adds a bit of fun to your phone.
View 1 Replies View RelatedI have a wildfire and its telling me i am low on storage and i need to delete files. I have deleted all my messages, i am no longer able to receive or send messages either.
View 5 Replies View RelatedI can receive messages but not send them it keeps saying cannot send,Ive looked in the settings and were it says sms message center number i can enter it but it wont save the number for some reason do you think this is why i cant send a message.
View 1 Replies View RelatedI'v got a htc tattoo and i cant send or receive pic messages.
View 1 Replies View RelatedI have a Samsung intercept and when I try to send a picture message on my phone it says sent but the person says that they did not get the picture. I tried sending myself a picture and once again it says sent
View 2 Replies View RelatedJust to start off, I have a Droid 3, flashed to metro. I didn't flash it myself, so I don't have very extensive knowledge, but it is rooted.
1) My biggest problem: I can't receive or send group messages. I tried both handcent and go sms pro. In GO sms Pro, I've checked Send Settings > MMS Group Chat. I can send and receive MMS, but when I send it to multiple people, they all receive individual texts rather than a group text. Long story short I'm trying to message a group of people with iPhones. How can I do this or what exact settings do I need? I've looked at other threads, but to no avail.
2) 3G isn't working. It worked when I initially got it, and when I called the place that flashed my phone, they said that Metro sent out some file that blocks the 3G access.