STFService.apk icon indicating copy to clipboard operation
STFService.apk copied to clipboard

take screenshot which follow minicap protocol

Open codeskyblue opened this issue 9 years ago • 9 comments

based on @stanliski work.

codeskyblue avatar Nov 25 '16 03:11 codeskyblue

adb install -r app-debug.apk
APK=$(adb shell pm path jp.co.cyberagent.stf | tr -d '\r' | awk -F: '{print $2}')
adb shell CLASSPATH="$APK" exec app_process /system/bin jp.co.cyberagent.stf.Capture

for now screenshot is about 4~5fps

codeskyblue avatar Nov 25 '16 06:11 codeskyblue

This is great, but could you add real header values?

sorccu avatar Nov 25 '16 09:11 sorccu

@sorccu So any other need to change? I can update now.

codeskyblue avatar Nov 25 '16 11:11 codeskyblue

Does it need QUIRK_ALWAYS_UPRIGHT?

On Fri, 25 Nov 2016 at 20:41 shengxiang [email protected] wrote:

@sorccu https://github.com/sorccu So any other need to change? I can update now.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/openstf/STFService.apk/pull/8#issuecomment-262939130, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_WhRue5YV4N3MwrBkUdiQp1ESyMgks5rBskhgaJpZM4K8FLP .

sorccu avatar Nov 25 '16 12:11 sorccu

no

codeskyblue avatar Nov 25 '16 12:11 codeskyblue

Thanks I'm a little busy now but I hope I can integrate this next weekend!

sorccu avatar Nov 30 '16 05:11 sorccu

might reach 14~20fps, I guess.

codeskyblue avatar Nov 30 '16 15:11 codeskyblue

I'm sorry I just realized I forgot to look into this last weekend. I will try again this weekend.

By the way I was able to find an HTC Desire 816 for relatively cheap and it just arrived (which is why I realized forgetting this). However it seems to work OK with current minicap (see https://github.com/openstf/stf/issues/484). Perhaps post your values to compare?

sorccu avatar Dec 08 '16 00:12 sorccu

@sorccu you can close it if it is ok, I do not have that HTC now.

codeskyblue avatar Dec 14 '16 08:12 codeskyblue