long click

by Noel Yap » Thu, 30 Oct 2008 23:46:24 GMT


Sponsored Links
 Can anyone point me to a code example that handles long clicks?  I can't
seem to find what I'm looking for in the Contacts app, but that's probably
because I don't know what to look for.
Thanks,
Noel

--~--~---------~--~----~------------~-------~--~----~



long click

by jtaylor » Fri, 31 Oct 2008 17:45:06 GMT


 Search through different code samples with this.

android.view.View.OnLongClickListener
 http://code.google.com/android/reference/android/view/View.OnLongClickListener.html 

onLongClick(View v)
Called when a view has been clicked and held.


- Juan T.





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Intel Android Tablet Siap Meluncur!

Intel Android Tablet Siap Meluncur! 
GOPEGO.COM | APRIL 14, 2011
http://pulsene.ws/1hOLa 


Dari semua hiruk-pikuk tablet Android, dari Galaxy Tab sampai Motorola Xoom, 
Intel sebagai raksasa prosesor belum terdengar ... Read more

--
Want to read news on the go? Get Pulse, an awesome news reader for iPad, iPhone 
and Android. Its Free! 


www.gopego.com
Sent from my iPhone

-- 
"

2. Fragment Support forward compatibility?

On Friday I decided to take a look at the latest Fragment Support API
and was able to get something working. I was most interested in the
Fragment Layout sample, and spent some time making my own application
that included what was necessary just to get that sample running. I
was able to run this on my Galaxy Tab and was able to see the change
in the layout in portrait and landscape mode using the fragments.

Just for interest, I tried running the same application on the
Honeycomb emulator, and it crashed stating that there was a class cast
exception. But, today I tried to reproduce the crash to post it here
and just now, the application ran just fine.

I guess I just wanted to ask if, when this compatibility library was
developed, the design intent was to allow applications to run on
Android 1.6 -> Android 3.0 inclusive without needing to change the
code?

Thanks in advance.

-Neal

-- 

3. Android kernel2.6.32 source code

4. new to andriod

5. java/lang/IllegalStateException

6. Can we create UI component in a seperate XML file and load it

7. How to force use only gprs even though wifi is available