Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run in service: install dialog #8

Open
Behrouz-m opened this issue Nov 9, 2016 · 6 comments
Open

run in service: install dialog #8

Behrouz-m opened this issue Nov 9, 2016 · 6 comments
Assignees
Milestone

Comments

@Behrouz-m
Copy link

Hi
I've tested "run-in-service" branch
when service is running, the apk installation dialog install button is not clickable. is there any sort of flag to
fix it.

@thekirankumar thekirankumar added this to the Run in service milestone Nov 9, 2016
@thekirankumar
Copy link
Collaborator

That branch is still in progress, Will be fixed in next release.

@thekirankumar
Copy link
Collaborator

Please check updated commits

@Behrouz-m
Copy link
Author

It doesn't work.
device-2016-11-15-161805

@thekirankumar
Copy link
Collaborator

Android has a security feature where install button gets disabled when any other app draws on top (so that no one messed with the list of permissions by drawing over them). The fix for this will need a full rewrite of the library. So we will be targetting it in the next milestone (next month maybe)

@thekirankumar thekirankumar modified the milestones: v3.0, Run in service Nov 22, 2016
@thekirankumar thekirankumar self-assigned this Nov 22, 2016
@HungTDO
Copy link

HungTDO commented Nov 14, 2017

Is this issues closed? Any solution?
i'm forked main branch, and i have same probleam!
@thekirankumar

@HungTDO
Copy link

HungTDO commented Nov 15, 2017

@ray-pixar @thekirankumar
Over and over again tested. I had succeeded enable "install" button worked. I found that the width + height must not exceed 97% of the screen.

DisplayMetrics dm = getContext().getResources().getDisplayMetrics();
        int width = (int) (dm.widthPixels * 1f);
        int height = (int) (dm.heightPixels * 0.94f);
        WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams(width, height,
                flag,
                focusableFlag,
                PixelFormat.TRANSPARENT);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants