How to run a class in background

by subrat kumar panda » Fri, 23 Apr 2010 16:57:42 GMT

Sponsored Links
 Hello all,
i am working in a Gps app.
the Gps is working fine, but i don't know
when i am doing other operations in device
the Gps is keep tracking or not.

so, how to run the specified Gps class in
background,so that what ever i do with my device or
nothing the Gps should always keep running(keep tracking).

anyboby knows the solution to the above
problem please help me.

Thanks in advance,

Best Regards,
Subrat Kumar Panda.


How to run a class in background

by XC He » Fri, 23 Apr 2010 17:07:57 GMT


Write a service

2010/4/23 subrat kumar panda <>:

Sponsored Links

How to run a class in background

by subrat kumar panda » Fri, 23 Apr 2010 17:38:51 GMT

 This is ok, but i am not able to implement it.
would you please give me an example .
means, how to run a "Hello world" program in background.

in my app there are multiple packages & in one package there
are multiple, i am little bit confused.
nevermind but i have tried before to do it ,
but i get failed.

Thanks in advance,

Best Regards
Subrat Kumar Panda


Other Threads

1. JetBoy Sample Question

Hi there,

I have a question regarding the Jeyboy game that comes with the SDK. I
noticed the game runs in Landscape mode which is cool. I looked at the
code but I can;t find the command that forced the game to be played in
landscape mode.
I wrote a simple code that draws a image but I want it to be always on
Landscape mode.How can I do it?

Hope someone helps me out here.



2. how to register in the opencore framework own file container recognizer

Hi all,

I'm trying to develop own opencore wrapper around some file format,
for example MKV... i've created shared library called, and put it into /system/lib folder.

The following interfaces are present in the library:
1) class CMyMkvSplitterRecognizerFactory : public
2) class CMyMkvRecognizerPlugin : public
3) class CMyMkvNodesRegistryInterface: public
                                public NodeRegistryPopulatorInterface,
                                public RecognizerPopulatorInterface;

4) OsclSharedLibraryInterface *PVGetInterface( void )
        return OSCL_NEW(CMyMkvNodesRegistryInterface, ());

    void PVReleaseInterface ( OsclSharedLibraryInterface* aInstance )
        OSCL_DELETE( aInstance );

Then i've created config file: my_plugin.cfg, and put it into /etc
folder, this file contains the following strings:

And now the problem is ;-) .... i can see in the trace log that is my
lib was loaded, but none method has been called. Why?

 Best regards,


3. Several instance of AsynkTask

4. Crashing compasse

5. onTouch()

6. how to access several xml views in my activity?

7. how to access several xml views in my activity?