Is there any way to start a new activity from a service.

by Reghu » Tue, 28 Apr 2009 15:49:58 GMT

Sponsored Links

Is there any way to start a new activity from a service.

Thank you

Other Threads

1. Need help in finding screen coordinates of a view

Hii All,

I am developing a game in android and i want to capture screen
coordinates of a view(ImageView) which is embedded in frame.

Hierarchy is
<LinearLayout android android:layout_height="fill_parent"
android:layout_width="fill_parent" >
      <RelativeLayout android:layout_height=fill_parent"
android:layout_width="fill_parent" >
            <FrameLayout android:layout_height="wrap_content"
android:layout_width="wrap_content"   android:id="@+id/frame14"></

At run time i am attaching two image views for frame layout.I wanted
to capture screen coordinates of frame layout.But Couldnt do it.if i

(FrameLayout) f=(FrameLayout)findViewById(;
int[] loc = new int[2];

I get Null Pointer Exception for getLocationOnScreen() method.

If I try to get f.getLeft() and f.getRight() they return as 0

Can anyone please tell me how to find location on screen of a view.

It is very urgent.Please help.



2. Required apps ?

I've read mentions that some apps in the basic T-Mobile G1 are core
programs necessary for the system to function properly. I believe
'Contacts' is one of those. Others can be uninstalled without a
problem, if you find a better replacement (like the Web Browser).

Does anyone know where I can get a list of the basic apps that are
necessary, and which ones can be uninstalled without a problem?




4. Need Financial Support ???

5. Answer Call

6. Google Finance on Android XML Parse Exception

7. Share GPS data to an external interface