Android ddmlib: verify activity is running

I needed to find a way to verify if Android activity is running from java project, which uses ddmlib to connect to Android devices via USB. For this purposes, I created a class, which implements IShellOutputReceiver import; /** * Created by mihails.beshkins on 16/01/14. */ public class ActivityRunningReceiver implements IShellOutputReceiver { private byte[] bytes;… Continue reading Android ddmlib: verify activity is running

Android swipe gesture implementation

I was looking for a simple solution how to swipe screens left and right. I found some on this page “Android Gestures” It is so simple, that I do want to show it here. But I needed change a little code for my needs and Eclipse asked two times to remove “@Override” option.