Shit we've tried
Posted by brownm04 on 2012-04-18 00:26
- Tried to immediately pull which buttons were clicked from current implementation of the ripper
(not implemented and we can't find any way to use the android jar files to get which button was clicked in an application
- Tried to use MonkeyRecorder to pull (x, y) coordinates and pull button information based on that
(Can't directly say which button is here at (x, y), need to get height and width to find range of each widget, but getHeight() and getWidth() always return 0 since thewidgets aren't calculated until they're shown, same with getMeasuredHeight() and getMeasuredWidth(), and getDrawingRect()
- Tried to alter adr-server to add touch listeners for every view
(Could only overwrite the on touch listener since it only allows 1. Doing this gave us their heights/widths, but overwrote teh basic functionality of the buttons
- Tried to add an on touch listener to the top view
(Can't necessarily overwrite the activity's onClick method since it's already there and implements functionality
- Tried to add Log.d() messages
(Can't efficiently parse the information we need
- Tried to think about adding Sockets to each activity and adding lines in each onClick/onTouch method to send info over the Socket
(Can't be sure we can open several sockets/effectively add lines of code to a user's programs
If we're allowed to just use MonkeyRecorder/Replayer we can just use the (x, y) coordinates from those.
(not implemented and we can't find any way to use the android jar files to get which button was clicked in an application
- Tried to use MonkeyRecorder to pull (x, y) coordinates and pull button information based on that
(Can't directly say which button is here at (x, y), need to get height and width to find range of each widget, but getHeight() and getWidth() always return 0 since thewidgets aren't calculated until they're shown, same with getMeasuredHeight() and getMeasuredWidth(), and getDrawingRect()
- Tried to alter adr-server to add touch listeners for every view
(Could only overwrite the on touch listener since it only allows 1. Doing this gave us their heights/widths, but overwrote teh basic functionality of the buttons
- Tried to add an on touch listener to the top view
(Can't necessarily overwrite the activity's onClick method since it's already there and implements functionality
- Tried to add Log.d() messages
(Can't efficiently parse the information we need
- Tried to think about adding Sockets to each activity and adding lines in each onClick/onTouch method to send info over the Socket
(Can't be sure we can open several sockets/effectively add lines of code to a user's programs
If we're allowed to just use MonkeyRecorder/Replayer we can just use the (x, y) coordinates from those.
Home / Developer API / Tour / Get a Project - Solutions for Bug & Issue Tracking, Collaboration Tools, Subversion Hosting, Git Hosting
Androidguitar is powered by Assembla.
1 Comments
By cschulze.usa on 2012-04-18 01:22