35 questions
1
vote
1
answer
108
views
React Native: Lock Screen Audio Widget Disappears on Pause (react-native-track-player)
I'm building a React Native app that plays audio using react-native-track-player. Everything works well when the audio is actively playing — I can see the media widget on the lock screen, control ...
3
votes
0
answers
1k
views
Accessory Widget Rectangular with Rounded Corners, Highlighted Background
My iOS accessory widget (a.k.a. iOS 16 "lockscreen" widget) supports both the .accessoryRectangular and .accessoryCircular families.
But since I want a "pill" shape for my ...
0
votes
1
answer
396
views
SwiftUI: Timer.publish not working on Lock Screen widget iOS 16
I am implementing timer on lock screen widget using Timer.publish and .onReceive on Text. But the timer is not firing. let ...
2
votes
1
answer
1k
views
How to set a custom font for accessoryInline iOS 16 Lock Screen widgets?
I want to set a custom font for inline widget text. I put the custom font to the accessory Rectangular and it's working well however, I am not able to set the font to the accessory Inline widget.
Here ...
0
votes
2
answers
1k
views
SwiftUI lockscreen widget Gauge accessoryCircular modifier how to set value to empty like weather 0% Precipitation probability
I tried set value to 0, -1, and 999999, and didn't work.
My code:
Gauge(
value: -1,
label: { Text("label") },
currentValueLabel: { Text("4") },
minimumValueLabel: { ...
4
votes
1
answer
2k
views
How do you get rid of the background color in iOS lock screen widget?
Using the following code:
var body: some View {
switch widgetFamily {
case .accessoryInline:
inlineAccessory
case .accessoryRectangular:
...
2
votes
1
answer
1k
views
New Widget Families for Lock Screen Widgets in SwiftUI doesn't appear among supported families
I am trying to code new lock screen widget introduced with ios 16. I follow the steps on the link below, but new supported families of WidgetFamily class (.accessoryInline, .accessoryCircular, ....
7
votes
1
answer
3k
views
How can we add a Lock Screen Widget (requiring iOS 16) and still support iOS 15?
How can we add a Lock Screen Widget to an existing Widget Bundle and still support iOS 15? :thinking_face: for ex this won't compile
struct SecondExtraBundle: WidgetBundle {
@WidgetBundleBuilder
...
1
vote
1
answer
683
views
Android LockScreen Widget
Can we show any widget on the lock screen as per the latest android sdk? or
How we can draw a layout on lockscreen?
Reference Application: https://play.google.com/store/apps/details?id=app.medicalid....
0
votes
1
answer
409
views
Create an alarm clock on lock screen
I would like to make my own alarm clock app, but I can't figure out how to display an activity on top of the lock screen - like the alarm screen here.
Even after some research, I have no idea what I ...
0
votes
1
answer
749
views
How to create lock screen notifications in my app?
I'm trying to create a custom notification in my android app with an image that will also be visible when the phone is locked.
Right now, Im building push notifications which are visible on the ...
2
votes
1
answer
1k
views
Android Notification not working for single click/tap on lock screen
I am putted my logic in android background service,which will be start on onClick action of my sticky notification.Everything working fine but problems are:-
When I am lock my phone and try to click/...
0
votes
2
answers
2k
views
How to set android Lock Screen Wallpager via Intent
I see many people have asked about this problem like here, here and ... but I can not find any solution.
However, I see some background app on playstore can do it.
My purpose is that I want to ...
0
votes
2
answers
1k
views
How to make lock screen widget wallpaper android
Actually I am working on music player widgets, I made home widget for music player and it is working fine,but when I play any song I need to show that song image on android lock scren, I tried ...
1
vote
1
answer
2k
views
Provide custom lock screen method
I'm looking for a way to create a custom lock screen method, but was unable to find any official informations about in the API docs. Stock android currently ships with different methods such as PIN, ...
1
vote
1
answer
190
views
Android Multiple API Integration
I need to know how to build an Android app targeting android:minSdkVersion="8" but also include features available in Latest Android API's as well. So when a user runs the app on FROYO basic ...
0
votes
0
answers
229
views
Can i show a widget or notification that user can interact with on lock screen?
Is it possible to show some kind of widget or notification that the user can interact with without having to unlock his phone ? such as the media player on the HTC phones [Didn't use any other brand :)...
10
votes
3
answers
18k
views
Media Control on Lock Screen like Google Play Music in android?
I had gone through Lock-screen Widget documentation, i implemented it but this is not what automatically place on main Lock Window. I searching for solution which provide Media Control over Main Lock-...