getHitRect - Android 1.5

by Keith R » Tue, 09 Mar 2010 01:44:05 GMT


Sponsored Links
 Why is the top and botton always the same when calling the getHitRect
on a view?  The left and right appear to be changing correctly.

--



Other Threads

1. Sharing data between Activity and a BroadcastReceiver

Hi everybody,

I followed this tutorial( 
http://mobiforge.com/developing/story/sms-messaging-android
) and i figured out how to send and receive SMS messages, but what i
need is to receive the message and put it as a text of a  label that
belong to my main activity... there a way to give this string to my
main activity?

Thanks

Johnny

--

2. Browser geolocation API not working in emulator (v2.01)

I'm trying to test a mobile browser app in the Android emulator. When
I try to access functions of navigator.geolocation the browser throws
an internal exception.

D/LocationManager(  196): Constructor: service =
android.location.ilocationmanager$stub$pr...@43c28c88
E/LocationManagerService(   52): requestUpdates got exception:
E/LocationManagerService(   52): java.lang.IllegalArgumentException:
provider=network
E/LocationManagerService(   52):        at
com.android.server.LocationManagerService.requestLocationUpdatesLocked
(LocationManagerService.java:861)
E/LocationManagerService(   52):        at
com.android.server.LocationManagerService.requestLocationUpdates
(LocationManagerService.java:831)
E/LocationManagerService(   52):        at android.location.ILocationManager
$Stub.onTransact(ILocationManager.java:79)
E/LocationManagerService(   52):        at android.os.Binder.execTransact
(Binder.java:287)
E/LocationManagerService(   52):        at dalvik.system.NativeStart.run
(Native Method)

It seems like for some reason the network location provider is not
registered by default. How does one fix this error?

--

3. Error in the emulator

4. Android 2.0 - Dim screen programmatically

5. open archive file

6. Andorid Set a new QUICK_LAUNCH in android.provider.Settings

7. GK: How to recognize Left touch dragging and Right touch dragging(Scrolling) in Android?