MapActivity background process

by coolxeo » Wed, 14 Apr 2010 03:03:44 GMT


Sponsored Links
 I'm trying to launch a request to reflect changes in MapActivity. On a
simple Activity it works but not in MapActivity

Thanks in advance

--



Other Threads

1. OpenIntents for SDK 0.9 - control API demos with the Sensor Simulator!

We updated OpenIntents to work with Android's 0.9 SDK:

Most notably, the sensor class completely changed from m5, so now we
fully support the 0.9 SDK sensors interface and sensor definitions.

In fact, there are quite some gems hidden in the API demos that are
only revealed when using a real sensor - or the OpenIntents Sensor
Simulator ( http://www.openintents.org/en/node/6 ).
We modified the API demos that use sensors slightly, so that they can
be controlled by the sensor simulator:
http://www.openintents.org/en/node/32

Download the latest OpenIntents release 0.9.0 here:
http://www.openintents.org/en/download

Have fun! We welcome your feedback!

Peli
www.openintents.org

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

2. Abstract Classes and Layouts

I have a couple of widgets that I would like to appear on each
Activity within my application.   I've been trying to set up an
AbstractHandler that extends Activity that implements these common
bits of code, and then have each of my Activity classes extend that,
and then have those classes implement just the components that are
important to them.  That's pretty basic stuff.

My problem is that when I set up the layout in XML in the concrete
class, it over writes the layout in the abstract class, and I then
lose the common widgets.

A general sketch of the problem.

public abstract class Foo extends Activity{

  public void onCreate(Bundle bundle){
       super.onCreate(bundle);

       // I want these buttons inherited by every Activity in my
application.
       setContentView(R.layout.abstractbuttons);
  }

}



public class Bar extends Foo{

   public void onCreate(Bundle bundle){
        super.onCreate(bundle);

        // These buttons are specific to this Activity, but by setting
the content view differently, I lose the
        // Buttons in Foo.
       setContentView(R.layout.specificbuttons);
   }
}

So I guess what I want is a way to merge to XML layouts.

Is that possible?

Many thanks,

-J

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

3. porting from m5 to 0.9: app fails to start Activity

4. flash memory

5. Opportunity Collaboration

6. Map won't display

7. MediaPlayer Error