On Sat, Jan 28, 2012 at 12:04 AM, ajay talreja <[email protected]> wrote:

> Is that “View.OnClickListener”  listener only restricted to Layouts
> i.e. button Events  etc
>

Yes. You can look through the docs to see where it's used.


> or it can be used to application click event…….example when application is
> double clicked ,dialer gets opened
> and when same application is single clicked , should get open...
>

There is no concept of "clicking an application". You application, when
it's running, has some UI to display to the user - these UI elements can be
clicked, as described by the various listeners I linked you to.


> is it possible…if yes….kindly help me with the code of the same…..
>

Kindly explain what you're trying to do.


> I have done coding to retrieve the latitude and longitude using gps
>  but its not working....location is showing null value and finally it
> do not have any values of latitude and longitude.
>

You need to explain this better. Maybe a SMALL sample of code where this is
"not working".

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to