BroadcastReceivers not receiving PendingIntents

by Jason Proctor » Thu, 21 May 2009 01:55:10 GMT


Sponsored Links
  while back i posted an issue i was having when my BroadcastListener 
was listening for phone state and sending the info over to an
Activity which would present UI. but getIntent() in the receiving
Activity always brought back the initial one. should i be using
something off PendingIntent in that case too?

thanks





--
jason.software.particle

--~--~---------~--~----~------------~-------~--~----~



BroadcastReceivers not receiving PendingIntents

by Jason Proctor » Thu, 21 May 2009 06:15:23 GMT


 indeed, i tried logging in onNewIntent() too, but it isn't being 
called in this case.






-- 
jason.software.particle

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. get intent getStringExtra in a View??

Hi,

i have a:

public class basal extends GraphicsActivity {

----------
        @Override       protected void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);setContentView(new SampleView
(this));        }

        private static class SampleView extends View implements
OnGestureListener {
                private  .... ....
---------

and just like to request my: db_table = getIntent().getStringExtra
("db_table");
as I did in all other Activites before. But i always get: "Can not
make a static reference to the non-static method getIntent?

Anyhow... how can I get my StringExtra in this SampleView??

Thanks
Chris

--~--~---------~--~----~------------~-------~--~----~

2. no elements available in Eclipse when editing layout

I'm using the new SDK 1.5, and I'm trying to add some elements to a
layout in eclipse.  When I click the green plus symbol, the dialog
pops up, but it doesn't populate with anything to choose from.  Here's
the XML of the layout I'm trying to add an element to:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content">
</LinearLayout>


Any clue as to what's going on?

Thanks.

Richard Schilling
Mobile Operating Systems Engineer
Root Wireless, Inc.

--~--~---------~--~----~------------~-------~--~----~

3. Please enable downloading of paid app on ADP

4. Zoom out on rotate

5. How to loading images (assets or resources) dynamically?

6. Color Bug?

7. Daemon errors while debugging