how to set the hyperlink text with textview.

by pp » Sat, 24 Oct 2009 02:48:45 GMT

Sponsored Links
 I'm working on java for android and I need your help.

my question is set the text with textview, its style is look like the
hyperlink( color, underline etc...), and when i touch the text, i hope
i can hook the click event and handle it by myself. whether it's
feasible or not?

thanks in advance.


how to set the hyperlink text with textview.

by jbrohan » Sat, 24 Oct 2009 19:19:33 GMT

 The Notepad tutorial deals with specifically this point. You click on
the list of "notes" and get into an edit dialog.


Sponsored Links

Other Threads

1. The connection of bletooth with multi devices using SPP.

Hi ~

I could connect to two devices from Android based cell phone
simultaneously using SPP, but once I turn on the inputstream, one of
them will return 0 in the stream.
For example, thread A(thA) and thread B(thB) connected to device
A(devA) and device B(devB) respectively. So,  thA uses inputstream
A(inA) to receive data from devA, thB uses inputstream B(inB) to
receive data from devB. As follow:
devA --->inA --->thA
devB --->inB --->thB
It works fine if I connect to each device separately. However, in the
case of connecting two devices at the same time, then only inA or inB
has data on it.

If it happens to you, please share your experence with me, I would be
very appreciated!!
Thank you in advance.


2. How can I sign my test application with Android Browser application certificate?

Browser application file is:
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)



LOCAL_SRC_FILES := $(call all-subdir-java-files)


include $(BUILD_PACKAGE)

# additionally, build tests in sub-folders in a separate .apk
include $(call all-makefiles-under,$(LOCAL_PATH))

I tried to sign my test application with platform certificates located
in <Android-srcRoot>/build/target/product/security/ directory but this
doesn't match.
I noticed that LOCAL_CERTIFICATE attribute isn't used.
Which certificate files are used for Browser application?


3. Getting Error 鈥淚nstallation e rror: INSTALL_FAILED_MISSING_SHARED_LIBRARY鈥

4. read only file system

5. Thread crash if activity is restarted

6. Connection with eclipse ganymade

7. narrowing intent filters for PACKAGE_ADDED PACKAGE_REMOVED