senchalabs / android-tools Goto Github PK
View Code? Open in Web Editor NEWAndroid tools for web developers
Android tools for web developers
Collection of tools to help web developers on Android Copyright (c) 2010 Sencha Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Readme.md links to the wrong url for imagediff.py
it should be:
https://github.com/senchalabs/android-tools/blob/master/eventrecorder/src/shell/imagediff.py
When I run remotejs (either shell or desktop) no console.log values are printed.
$ python2.6 remotejs.py
# RemoteJS - Remote JavaScript Console for Android.
# Please wait...
# Target device is HT15TTJ00445.
www.google.com
console.log('foo')
Looking at a concurrent adb logcat
I see:
D/AndroidRuntime(11529):
D/AndroidRuntime(11529): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime(11529): CheckJNI is OFF
D/dalvikvm(11529): creating instr width table
D/AndroidRuntime(11529): Calling main entry com.android.commands.am.Am
D/AndroidRuntime(11529): Shutting down VM
I/ActivityManager( 1345): Starting activity: Intent { act=android.intent.action.VIEW dat=amF2YXNjcmlwdDooZnVuY3Rpb24oKSB7IGNvbnNvbGUubG9nKCdmb28nKTsgfSkoKQ== flg=0x10000000 cmp=com.sencha.remotejs/.RemoteJS } from pid 11529
D/dalvikvm(11529): GC_CONCURRENT freed 104K, 66% free 351K/1024K, external 0K/0K, paused 0ms+0ms
I/AndroidRuntime(11529): NOTE: attach of thread 'Binder Thread #3' failed
D/jdwp (11529): adbd disconnected
I'm running Mac OS 10.6 with Android SDK Tools 16 and Android SDK Platform-tools 10.
Revision of android-tools: 895c929
When running "python recorder.py test" comand I'm getting an error "Device tool installation failed - cannot open 'c:\docume1\user121\locals~1\temp\tmpfksn2g': No such file or directory".
Host OS: Windows XP SP3.
Thank you!
I can't start shell version of remotejs on Windows 7 x64 Python 2.7.
That what I've got after running remotejs.py:
There is a small delay between "Please wait..." and "Target device..." which can be removed by -n command option. Probably it caused by host package upload.
No package appeared on target device.
adb logcat works fine. I even see default browser's log messages.
I've tried this on emulator with android 2.2 and on Motorola DEFY with android 2.1 on it. Didn't find any differences in behavior.
Probably, problem caused by some errors during host package installation. But I don't know how to debug it.
Manual installation of remotejs.apk didn't help. I've tried remotejs.py with -n option and behavior was the same. remotejs.py without options removed application from target device.
When I try to run the qmake command, I just get
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: C:/.../android-sdk/tools/remote/src/desktop/remotejs.pro
I just downloaded and installed the whole QT sdk. I had a few copies of qmake.exe come up, but the installer didn't put any of them in the path, so I'm not sure which is correct.
The senchalab is great! I hope to use EventRecorder to capture screen at certain time interval, for example, every 100ms, and record all the URLs by users. Is this possible? Thanks so much!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.