Can't get Android's SDKcontroller to work - android

Hi I've been trying to use an android app that comes with the Android development tools call SDKcontroller. This app is suppose to let me test the multi touch capabilities of my apps. This app is suppose to send input information from a real android device to the emulator. It should let me control the emulator by using the touch sensor in my android device.
I fallowed the instruction and the app is telling me that is connected to the emulator but that is as far as i get. I can touch and touch all I want but the emulator is not responding.
Has somebody been able to get this to work? If so please let me know.
here is a link to the you tube video demonstrating the app:
http://www.youtube.com/watch?v=Erd2k6EKxCQ
here is the android project site:
http://tools.android.com/tips/hardware-emulation

Related

How to perform functional testing from and on Android devices?

Coming from a desktop and web background, I am familiar with tools that allow me to record mouse movements and keystrokes for Functional test.
What for Android apps? Is there any similar tool or tools? I assume with a device connected to your PC/Mac (emulator), but also simply on the device itself.
For the later, which is what I'm trying to accomplish, I would like to be able to record movements on the screen (just as in the eclipse emulator), i.e. swiping up, down, button on press, on release, etc., and simply have it run on the device itself without being connected to a computer, similar to being able to record a script (functional) and run it over and over, having this installed as an app on the device to allow me to record and run functional scripts as an overlay on top of an app in development?
Like being able to run something like MonkeyTalk directly on the device.
Think of being able to record and run Selenium functional scripts directly on and from the device.
Is there an overlay type of idea that would work? I've heard there are some security risks in this.
Looking for a solution please.
I suppose Espresso Test Recorder is exactly what you are looking for.

Android SDKCONTROLLER app (Sensor Emulation)

looked everywhere but no one had an answer to this sadly.
Been trying to use an android app that comes with the Android development tools called SDKcontroller. This app is suppose to let me test the multi touch capabilities of my apps. This app is suppose to send input information from a real android device to the emulator. It should let me control the emulator by using the touch sensor in my android device.
I fallowed the instruction and the app is telling me that is connected to the emulator but that is as far as i get. I can touch and touch all I want but the emulator is not responding.
Has somebody been able to get this to work? If so please let me know.
here is a link to the you tube video demonstrating the app: http://www.youtube.com/watch?v=Erd2k6EKxCQ
here is the android project site: http://tools.android.com/tips/hardware-emulation

How to simulate accelerometer events on Android wear emulator?

I have started to develop a new app for Android Wear, but now that I want to use the accelerometer, I'm a little stuck.
Since I dont have an Android Wear devide, I have tried to use SensorSimulator for simulate accelerometer events but seems that it forces close after just a while.
Any ideas of how to da that?,
thanks in advance
I think you can set up an Android Wear device by installing android wear app available on google Play & then Follow the app instructions.
And also you can create your own project.
I think this is a good link that gives you better idea onCreating & Running Wearable App :-
(http://developer.android.com/training/wearables/apps/creating.html)

Chromecast API doesn't accuratelly detect when device is connected/disconnected

I have a problem when i am trying to use my chromecast device.
Currently I have an app for Android , one for iOS
and these 2 apps from github.
https://github.com/googlecast/MediaRouter-Cast-Button-android
https://github.com/googlecast/CastVideos-android
All of them have a common problem. They sometimes cannot accuratelly tell if a chromecast device is connected or disconnected.Taking around a minute before they find it out themselfs.While an application like Youtube , discovers if it is connected or not, instantly.
EDIT #1 START:
While using the application "Cast Videos" for android from GitHub the following thing happens.
I hold the android device in my hand (Samsung Galaxy S2).
I know chromecast is on because I can see it on my monitor.
I start the application "Cast Videos".
The Chromecast icon does not appear, even if the chromecast device is on.
EDIT #1 END;
I have tried using the app_id from my own receiver application , and the default receiver app_id.
I have found a way to trick them into finding the device. By launching the youtube application on an Android or iOS device , connect to the chromecast device , then disconnect.
When I return to on off the apps I have mentioned at the start of the question , they can detect it now , and connect to it.
The two applications from github are not modified , and use the most up to date support libraries (appcompat, mediarouter, CCL).
The applications are now being currently build on a Mac (if that matters). I don't think it will be of any difference if they were built on Windows or something else.
EDIT #2:
I am starting to suspect that actually the wifi router in the building im programming may cause these connection problems. Because when I send the app to other people they don't have the same problem.
EDIT #3:
Good news :D.
The latest update on the castcompanionlibrary made chromecast detection much more reliable and the sample now detects preciselly every time if it is connected or not.

Stream video from Android phone to Google glass

I have new task in hand wherein I have to work on Google Glass POC. My main intention is to access a video file sitting in your phone and access/play it on the connected Google glass.
Preferably I have to implement using JavaScript or special library WearScript.
I have done some R&D, the Eclipse and ADT is set. I am now facing following issues.
I am not getting any idea what should the architecture of the app. I think there must be a Glass companion app sitting on phone which will read the video file and act as a content provider to the app running on glass.
I do not have actual device (Google glass) and could not find any emulator that I can use with eclipse to install and debug the app.
is there any readymade frameworks that can help streaming videos from phone or directly from server. (video size is limited 30-40 mb)
It will be great and very helpful if anyone can guide me on above points. Thanks in advance. :)

Categories

Resources