Code Monkey home page Code Monkey logo

fullscreenintentexample's Introduction

fullscreenintentexample's People

Contributors

giorgosneokleous93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fullscreenintentexample's Issues

Keyguard doesn't get locked after pressing back button when isn't secured with a password on at least API 29

After the LockScreenActivity is launched over the lockscreen and there's no password configured when pressing back button you will go back to the MainActivity instead of the lockscreen.

The fix is to add attributes android:showWhenLocked(true) and android:turnScreenOn(true) to the LockScreenActivity tag in the manifest. The code in the LockScreenActivity class and the attribute android:showOnLockScreen are useless (at least on Android 10). Fix it by yourself, I'm just too lazy to create a PR.

App can not wake device

Thanks for this VERY helpful example!

The issue is that the app can not wake the device since it is missing the wake lock permission:

<uses-permission android:name="android.permission.WAKE_LOCK" />

By adding this permission the app would be able to wake the device as well. As it stands it does not open in sleep-mode.

Why couldn't we display a real fullscreen alert as we could pre Android 10

Hello,
I'm trying to adapt an existing application for Android 10.
We used to switch to an alarm full screen activity (thus interrupting the user) in case of a high importance events.
This seems no more possible with Android 10.
What is your experience?
I thought that we could display a full screen notification, but your sample seems to prove me wrong, in the sense that the notification is not full screen (like an incoming call would?).

Full screen notification is not working if clicked back button when the device is locked.

Hi,
Thank you for this wonderful example. Helped me very much. But, I'm having an issue when the device is locked and the app is not open.

  1. App is opening the LockScreenActvitiy if the device is locked and a new notification is initiated.
  2. If I click on the back button, before unlocking the device, the full-screen activity will be going to the background and the notification will also become hidden.
  3. When I unlock the device, the notification is still there. But it is not a pop-up ( full screen ) notification anymore. Rather the notification is hidden now.
  4. Whatsapp or phone call notification is working fine in this scenario.
    Can you please check what's happening here? Thanks in advance.

Scheduled FullScreenIntent For Locked Screen Android 10 not open if the phone is turned off

Hi,
nice project I have learned much from this.
I am testing scheduled fullscreen intent and it do not start when phone - Samsung A51 Android 10 - is turned off.
I can see sound from notification, but the screen is always off.

I have add
android:showOnLockScreen="true android:showWhenLocked="true"
but it did not help.

I am also trying to add some more permissions to manifest, but it also do not help me.

But your similar project works much better - github.com โ€บ yuriykulikov โ€บ AlarmClock
I am trying to add some code from your AlarmClock to this project, but I am probably missing something.

What is the different ? What is important to add here to start work from phone, which is turned off ?

Best Regards

Slavomir Fabian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.