Mock Location Provider [SOLVED]

by Justin (Google Employee) » Wed, 03 Sep 2008 07:54:40 GMT

Sponsored Links
 I just posted some code at 

Other Threads

1. Aren't focus states supposed to bubble to child Views?

Hey all-

When using a View within a View, for example an ImageView within a
LinearLayout, both of which have xml drawable resources (the
LinearLayout as a background) specifying PNG drawables to use for the
on/off states, shouldn't children Views receive the focus state when
their parent gets focus? So as far as I understand, both my
LinearLayout and ImageView should be switching to their focus
states...right? Apparently not... Or, more likely, apparently my
implementation is incorrect..

The focus state works on the LinearLayout but my ImageView never
receives focus.. I have both Views set to android:focusable="true".



2. how to depress the onLongClick() when drag a view


I have a View and I can drag it. It also has a onLongClick() method so it
can respond to the long press on the screen.

The problem is when I drag it , the onLongClick will also be triggered .
Anyone have an idea to depress the long click detection when i move it .

Thanks in advances.


3. Settings application

4. Android Appending Values Received From Server

5. Avoid restarting http request on orientation change

6. Solve HELP! Magic ga mau booting

7. What's wrong with this location code?