Key capture background

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


Sponsored Links
 Hi


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
rights?.

-C

-- 



Re: Key capture background

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


 


Yes.


No.


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)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

Android App Developer Books:  http://commonsware.com/books 

-- 


Sponsored Links


Other Threads

1. Add Captions ImageSwitcher

I'd like to add the ability to display captions on the photos in the
ImageSwitcher APIDemo.  He's what I'm thinking:
- Use Toast to pop-up a string resource for the image that is
currently in the ImageSwitcher view, ie the big image
- Trigger that Toast from the options Menu
- onOptionsItemSelected(MenuItem item) should be aware of the position
variable, or someway to bind what image is shown to what caption
should be shown.

I'm stuck, any thoughts or ideas?  Better solutions out there?

I've added the following code to the sample:

    // Create a Menu that appears when the Menu button is pressed on
the device
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        Log.d("PicsOfStuff", "in public boolean onCreateOptionsMenu");
        super.onCreateOptionsMenu(menu);
        MenuInflater inflater = getMenuInflater();
        inflater.inflate(R.menu.menu, menu);
        return true;
    } //onCreateOptionsMenu

    // Executed when the Menu item is clicked
    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        Log.d("PicsOfStuff", "in public boolean onOptionsItemSelected");

        switch (item.getItemId()) {
                case R.id.caption:
                        Log.d("PicsOfStuff", "caption should display here");
                        // more here
        }
        return false;
    } // onOptionsItemSelected

-- 

2. Integrating the mail

Hi to All,

How can we integrate the mail application in my application,please
help me.......


Thanks in Advance

-- 

3. LAUGH....IT'S THE BEST MEDICINE

4. how to upload an image

5. No credit card needed on the internet

6. great way to make money

7. Abridged summary of android-developers@googlegroups.com - 80 Messages in 34 Topics