Search found 46 matches

by beelze
07 Nov 2018 07:45
Forum: User Help / Bug Reports
Topic: Why global variable can't be used as a function argument?
Replies: 2
Views: 6672

Re: Why global variable can't be used as a function argument

Your guess was close.

Autocorrection has corrected <.> to <. >, which was not noticeable before I catched it in log :-)
by beelze
07 Nov 2018 05:42
Forum: Feature Requests
Topic: Image compare
Replies: 11
Views: 28079

Re: Image compare

Let's define what we discussing exactly. If we're talking about «compare 2 images, common case» for similarity (i.e. calculate some abstract difference) which can be used in different contexts (comparing 2 photos in series, compare original and processed image, compare screenshots) – it worths discu...
by beelze
06 Nov 2018 14:34
Forum: Feature Requests
Topic: Image compare
Replies: 11
Views: 28079

Re: Image compare

Desmanto wrote:Hash method doesn't work, probably because metadata. .
Probably because it hashes not an Object, but str(Object). Which, I guess is a something like "blah.blah.Bitmap @somewhere".
by beelze
06 Nov 2018 13:02
Forum: Feature Requests
Topic: Image compare
Replies: 11
Views: 28079

Re: Image compare

I have tried getPixelColor() As expected, it is horribly slow. I even not thinked about it. As I said before, we should not blindly compare pixels, because of (simplified!): a) we have not a fullscreen images but croppings, so we can't rely on the same offset/size b) as you mentioned, there can be ...
by beelze
06 Nov 2018 06:49
Forum: User Help / Bug Reports
Topic: Why global variable can't be used as a function argument?
Replies: 2
Views: 6672

Why global variable can't be used as a function argument?

I'm new in AM, so maybe I just missing a some vital concept, but here's a problem: Tried to use condition expression like matches(join(somelist, ","), global_var) but it always evaluates as false (global_var is a string ".*text"). But putting the same regex as string literal: matches(join(somelist, ...
by beelze
05 Nov 2018 20:47
Forum: Feature Requests
Topic: Image compare
Replies: 11
Views: 28079

Re: Image compare

Seems there no «fuzz» logic of any kind needed? Just compare pixel data? It looks simple, but I failed to find the way to compare objects, stored in Init Variable Image File. Of course, comparing different objects is always returns false (even the underlying structures are same) . Though, we can FR ...
by beelze
05 Nov 2018 19:02
Forum: Feature Requests
Topic: Image compare
Replies: 11
Views: 28079

Re: Image compare

What exactly you're looking for? Plain compare files or some kind of «visual match»? The last involves different formats, sizes, colorspaces, EXIF data and so on.
by beelze
05 Nov 2018 18:39
Forum: Feature Requests
Topic: ADB over network
Replies: 8
Views: 18097

Re: ADB over network

Well, I've ended with the same «Root functions must be enabled…». All 3 name variants – the same exception.
by beelze
05 Nov 2018 18:13
Forum: Feature Requests
Topic: ADB over network
Replies: 8
Views: 18097

Re: ADB over network

Thanks for a detailed explanation. Interesting, but I've got different error when trying to set LOS Settings secure/adbPort value: ch.gridvision.ppam.androidautomagiclib.util.m: The settings have not been verified yet. Please verify first. Of course, AM granted root and WRITE_SECURE_SETTINGS. upd: B...
by beelze
05 Nov 2018 16:51
Forum: Feature Requests
Topic: Clear PIN/password, Android 8.1
Replies: 6
Views: 15080

Re: Clear PIN/password, Android 8.1

Desmanto wrote:Better use action Set Lock Pattern State
Thanks, it worked. At least for now :-)