Android Hook

by Sansiro » Fri, 17 Jul 2009 01:53:47 GMT


Sponsored Links
 In Windows Mobile, I have a hook function to get the System's mouse
event,KB event and screen change.
Can I have this function too in Android?
Because I want to get the screen shot of Android, But the method
providered in DDMS is too inefficient

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



Other Threads

1. SDK on Linux x64

Dear All
I apologise if this is not the appropriate mailing list. I see no
instructions on the Android developer site for running the sdk tools on
Linux 64-bit. Would it be better to use an i386 machine for Android
development or is this an easy problem to overcome?

Thanks for the help

Best
Eduard

-- 
Eduard Grebe
AIDS & Society Research Unit
Contact: http://www.maanskyn.info/contact

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

2. getView from CustomizedAdapter called several times

Hi Everyone,

I am implementing my own adapter that inherits from BaseAdapter (this
is something very classic).
Then when I start the activity that owns the listView binded to this
adapter I can see that the getView() method is called more times than
what the number of view actually available in the list.
For instance, I do have 2 rows in my list and when I first set the
adapter getView is called 6 times. Then If I make a call to
notifyDataSetChanged(), getView is called 4 times.
I understand that when you scroll up and down getView must be called
to generate or re use a view but I don't scroll up or down, I am
really wondering why getView is called so many time.


Thanks a lot in advance for your responses.
Jabu

My code just in case even though it is a pretty basic piece of code:

        public View getView(int position, View convertView, ViewGroup
parent)
        {
                ViewHolder holder;
                if (convertView == null)
                {
                        convertView = mInflater.inflate(R.layout.row_action, 
null);
                        // Creates a view holder
                        holder = new ViewHolder();
                        ...
                        convertView.setTag(holder);
                }
                else
                {
                        holder = (ViewHolder)convertView.getTag();
                }
                        holder.params.set....
                        return convertView;
         }

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

3. How to retain EditText data when "BACK" key is pressed

4. How can use android native dialer to manage call events in our own way

5. Intent.ACTION_SEND problems with platform\emulator 1.1

6. GLES applications sometimes crashes "(SIGSEGV), fault addr 00000150" after turning screen off/on

7. How can I know if I can display a character ?