Will users be able to select text in the web browser?

by peterL » Thu, 17 Apr 2008 00:32:24 GMT

Sponsored Links
 Hi all,
 I would really like for my application to be able to use this
 the user selects some text from a web page he/she is browsing using a
standard web browser, and then my application handles the text from
this selection.
 As far as I can see, this feature is currently absent, but are there
plans to make that possible in a future version of Android? I'm sure
this would be helpful for a lot of useful applications.


Will users be able to select text in the web browser?

by Hielko » Thu, 17 Apr 2008 09:06:21 GMT

 I wouldn't count on it. I'm not sure what you exactly want to
archieve, but to implement something like this would mean that the
browser needs to fire an intent everytime the user selects something
and then it would also somehow need to know what the external
application wants to do with it.


Sponsored Links

Will users be able to select text in the web browser?

by peterL » Fri, 18 Apr 2008 14:53:27 GMT

 Consider, for example, these situations:
Suppose while you are browsing the Web, you see a phone number on a
page - you'll want to be able to simply click it and call this number,
or you see an address - you would just click and it opens on the Map,
or you see something of interest that you'd like to keep permanently -
you then select this text and store it in your application's database.
I do not see any conceptual difficulties that would prevent extending
the web browser in such a way so as to allow external applications to
deal with the content of the web page being displayed.
Why not create some sort of a plugin system for the standard web
browser similar to that of Firefox, where all of the scenarios I
mentioned are already available?

Other Threads

1. security of the framework

Hi, I am handling the security module of a framework that will
designed to develop real time applications for as my final year
project. I am new to android and i need help on this. At the moment i
need to know how to encrypt an XML file using an algorithm and how to
decrypt it when needed, in android. Please Help me.


2. MediaRecorder stop() hangs forever


I've got an app that capture photos and video according to a schedule
(for example, takes 6 photos at 10 second intervals, and then records
2 minutes of video, then repeats). This all seems to be fine, and when
I leave it running it will continue for hours without any problem.

However, if I run it at the same time as another app (that runs as a
Service, logging sensor information to SD card), the scheduled camera
app will mysteriously crash at some point (anywhere between 10 mins
and a couple of hours after it starts). The problem is always the same
- a call of the stop() method of my MediaRecorder object never

In order to debug this, I created a wrapper class to MediaRecorder to
log each call to any of the MediaRecorder methods, and so I can verify
that the MediaRecorder object is always in the correct state when this
crash occurs (ie. I'm not doing anything in the wrong order). At the
point of the crash, the log message immediately before stop() is
logged, but the one immediately afterwards isn't. Additionally, no
exceptions are thrown, and logcat shows no error messages whatsoever.
The crash only becomes evident when I press the UI and several seconds
later an Application Not Responding dialog is shown (and the
corresponding messages appear in logcat).

sort of memory problem - often before the failed call to stop(), I see
a few Davlik garbage collector messages, but I didn't think they are
normally cause for concern?

D/dalvikvm(  481): GC_CONCURRENT freed 517K, 59% free 2793K/6663K,
external 1625K/2137K, paused 6ms+2ms
D/dalvikvm(  481): GC_CONCURRENT freed 507K, 59% free 2794K/6663K,
external 1625K/2137K, paused 7ms+2ms
D/dalvikvm(  481): GC_CONCURRENT freed 525K, 59% free 2793K/6663K,
external 1625K/2137K, paused 6ms+2ms

I'm not sure how to proceed in identifying the source of the crash.
Can anyone suggest what might be happening, or how I could continue my
investigations? Any help would be greatly appreciated.

Many thanks,



3. Unable to add sdk components from Android SDK and AVD Manager

4. Unable to build LVL after updates

5. How to make Android VOIP App using REST based API of SIP Server

6. ListView leaks memory II

7. Regarding security of the framework