Key capture background

by coder_sym » Fri, 20 May 2011 09:30:34 GMT

Sponsored Links

I saw a post saying key capturing in the background is not possible ..
is this still the case? or was thre any recent changes to make this
happen ? I wonder why this capability is closed when there are lot of
genuine use cases. Is it possibel to do the same with some special



Re: Key capture background

by Mark Murphy » Fri, 20 May 2011 18:10:11 GMT




You are welcome to write your own mobile operating system that enables
spyware to monitor key presses from other applications.

Mark Murphy (a Commons Guy)  |  | 

Android App Developer Books: 


Sponsored Links

Other Threads

1. Problem with decodeByteArray

First, doing String.getBytes() involves converting the string into
some random encoding. You may know what encoding it happens to be on
Android devices, and perhaps it even won't change depending on what
country the device is being used in -- but me, I would never go NEAR
that method. Do not use it for any purpose; any use of it is sure to
be a bug. I have fixed an ENORMOUS number of bugs in people's code,
where the sole cause was calling this method.

Originally, your data is received via SAX as a char[] array, not a
string. That would be closer to what you want, in theory --- but:

not just that some characters have to be quoted. Some byte sequences
are not legal characters. When encountering these, a conforming parser
with throw an exception -- because it is not XML.

If the web service is actually doing this, the web service needs to be

More likely, the web service is sending the data encoded; for example,
it could be using Base64 encoding. You can work with this as a string
if you want (though that involves extra memory usage), but you have to
decode it to get the byte[] you'll need to construct the bitmap.


2. Handling multiple resource trees

I am splitting my code into a common source tree witb code to share
among multiple android projects and
project specific source trees. This works well except for resources.
My development environment (intellij) has problems with
multiple resouce trees and gives strange errors when multiple res
directories are included -
Has anyone gotten this going and if so how were multiple resource
directories handled????


3. Update status via Facebook for Android

4. Help ! Urgent

5. Upgrade os samsung Galaxy Spica GT-I5700

6. Making a clickable LinearLayout change color on click?

7. Is getInstallerPackageName the solution to piracy?