Piren,
Thanks for your answer. After reading up on the Observer pattern as you
suggested, I ended up using propertyChange listener. It seems to be a
handy conduit to trigger an event in an activity from a broadcast receiver.
Thanks,
Gary
On Sunday, July 28, 2013 11:41:21 PM UTC-7, Piren
An Activity, like BroadcastReceiver is a class, so you've done it before.
You just did it using existing mechanisms that make it simpler for you.
You should read up on how to use BroadcastReceiver to send messages (it can
listen to whatever you want), though the LocalBroadcastReceiver should be
Each device has its own registration ID so you can push messages to a
specific device.
On Sep 19, 9:24 am, Joshua Partogi joshua.part...@gmail.com wrote:
hi there,
I am interested to use C2DM for my application. Is it possible to send push
messages to selected devices only? Or will it send to
try not to get auth token everytime
better you cache it or the google server will add captcha in process and u
cant get to captcha through the code. You would have to do some python stuff
for that i am not really clear about it. Hence better u save the
authentication token
On Tue, Sep 20, 2011
hi
strikes me as a network or firewall problem maybe. from your dev pc i
guess. as its complaining about not reaching mtalk.google.com at that
port.
dont know, just thinking loud.
finn
On Apr 15, 1:57 pm, vokvince vokvi...@gmail.com wrote:
Hello,
I'm working on C2DM, my registration is ok
Thank you. your response helps me very much.
In addition I found a working code from the internet. It may help ...
# public void postData() {
# // Create a new HttpClient and Post Header
# HttpClient httpclient = new DefaultHttpClient();
# HttpPost httppost = new
Hi,
HttpUrlConnection is for just to manage HTTP connection. For sending
data to server , use HttpClient, HttpPost, HttpEntity etc. I will give
a very brief idea about this.
DefaultHttpClient client = new DefaultHttpClient();
HttpPost post = new HttpPost();
post.setEntity(httpEntity);
I solved, Just look the class notification, and notificionManager, if
somebody has a quesuion about how, just ask
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Hi Andrex,
I don't think that the emulator support sending SMSs to the same emulator.
I tried this using the Mms.apk
On Wed, Nov 26, 2008 at 7:11 PM, andrex [EMAIL PROTECTED] wrote:
Hi Stefan thanks, but Can I send me a message, to the emulator how run
the application? or what can I do if i
It works for me, but only if I have two emulators. From emulator 5556 I can
send to emulator 5554.
On Wed, Nov 26, 2008 at 6:58 AM, andrex [EMAIL PROTECTED] wrote:
Hi all, can anyone help me, I want to send an auto message or an alert
to the phone. I've trying this
SmsManager sm =
Hi Stefan thanks, but Can I send me a message, to the emulator how run
the application? or what can I do if i want to send an alert to the
user, something like a wap push message or maybe a reminder. I'll be
thanks for the answers
--~--~-~--~~~---~--~~
You received
11 matches
Mail list logo