control android device/emulator by python [closed] - android

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I am not familiar with android development. But just want to use python script to do something on my android device/emulator.
For example:
change system settings.
set a proxy.
open app A, click some place, do something else...
then open app B, tap up down, do something else...
and so on.
I have tried
monkeyrunner, which actually is not by python(it's by Jython), and usually I don't know why the example code can't work(lack of debugging methods in this way.I can use ipython or pycharm if one support python),
appium, which introduce a very good framework, completely support python.But the tutorial always says about testing only one app, seems it can not change system settings or something like press HOME or BACK button.
I have never do such things before, are there any tools or tutorials could cover my case?

You can try AndroidViewClient/culebra which provides also a UI (see Culebra GUI) which allows you to do what you describe as your needs.

Related

AOSP / Android Source code indexing tools [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I'm searching for tools that would allow me to index and navigate within AOSP source tree a little bit easier.
My team works mostly at the lower level (so C and C++), but we interface with Java quite a bit. Currently we use:
ack-grep,
ctags,
cscope.
Since we're building a whole platform, we're not limited to just our code, but sometimes also need to understand better what's happening inside Android.
I currently make an attempt to use OpenGrok -- indexing is far from being done and the log is already swollen from git warnings.
The tools we currently use are hardly a convenient way to navigate the code. I would like to reach out for Android hackers wisdom - how do you navigate the code?
For the Java part Android Code Search is quite a blast. Unfortunately, I think it's "online-only" And also, for the low-level (C/C++) stuff things need to evolve a bit.

Remote logging for Android Beta [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there a tool that does android remote logging for Android apps, kinda like Testflight's for IOs ?
I found Deploy Gate very helpful for me.
You can do remote loggin and also trac application launches, crash reports.
Also, TestFlight is just about to launch support for Android: https://testflightapp.com/android/ so you might want to sign up to be informed when they do.
I've used ACRA in my projects with great success. You can find that at: http://acra.ch/ It works great when used in the debugging process, but I remove it before publishing.
It can be configured to automatically send a report on a crash, if the app enters a particular state, via a trigger (like a button a user could press) or what have you. For my purposes, I usually have it trigger on a crash, and I add an option to the menu to send a Force Debug Report if the tester feels like the app is doing something odd, but isn't crashing.

Looking for functional GUI testing tool for Android without code access [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a functional GUI testing tool for Android without the base of source code. Most things I found are JUnit testing frameworks that extend the ActivityInstrumentationTestCase2<Activity> from Android SDK.
But I look for a tool that provides f. exe. button clicks, enter String to txt fields and so on without knowing the Activity class name, package or further information.
Perfect would be something that finds Widgets on a already started Android app, can interact with it from an other application without the information I told above.
I was having a look at Robotium RC, but found no information, tutorials etc. just the JavaDoc and the .jar file.
edit: It should be open source
I think you should look at the standard monkeyrunner android tool. With the help of this tool you can start your application, emulate drag gestures, press on buttons, tap on the screen. To automate the process of creation of these scripts you can use monkeyrecorder.py script.
You can try bot-bot. Following is the link:
http://imaginea.github.com/bot-bot/
It can integrate itself with an apk. It works best if you have the source code of the app under test.

Looking for an in-depth keyboard development tutorial [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I know there have been questions here before about keyboard dev, but none of their answers seemed to help me. I'm new to android, but I am an experienced programmer. I'm looking for something that will show me, preferably from scratch, how to write an android keyboard. I want to write something that looks nothing like a standard keyboard (think 8pen). I've looked at Creating an Input Method and the SoftKeyboard source. The problem with the former is that there's not enough detail - it tells me what the different classes do, but not how to edit them to get what I want. The latter is great for changing what happens when the standard keyboard is used, but it doesn't really have any information about changing the layout.
tl;dr I want to make a keyboard that is essentially just 8 gigantic buttons. Where can I go to learn how to do this?
Here is a good sample that will get you started: http://developer.android.com/resources/samples/SoftKeyboard/index.html
From there, everything else is stock Android development. In-depth documentation can be found here: http://developer.android.com/index.html
There are some examples for the soft keyboard in the sdk/samples/version. That is googles own modifiable code. Other than that you can make several keyboard skins using the listed examples or smartkey.

Video making software for Android Tablet [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I wanted to make video demo of my application in order to present. How can i make my application video when it running and open on android Tablet.
I've tried to come up with ways to do this to no avail. Best I've ever been able to achieve is stick your device in front of a nice camera.
However this http://www.bluestacks.com/ seems like it might be promising for this purpose once it is released. If you can run your apps on a windows machine (and it is much better than the emulator) then you could record that section of your screen with something like Fraps.
Edit: Bluestacks has since opened up for beta. For me it runs similarly to the emulator so does not provide a whole lot of benefit for the purposes of recording your applications. If you don't have a development environment with an emulator set up already though bluestacks will be ready for you to actually start recording quicker.

Categories

Resources