Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
120 views

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 ...
Pabashani Herath's user avatar
2 votes
1 answer
329 views

I'm new to WidgetKit and I'm trying to create a widget. I've constructed a simple grid to display the days of a month as shown below: struct extenEntryView : View { @Environment(\.widgetFamily) ...
MendelG's user avatar
  • 20.6k
3 votes
0 answers
1k views

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 ...
Nicolas Miari's user avatar
0 votes
1 answer
637 views

I am working on an accessoryCircular (lock screen) widget that shows 2 values; a formatted $$ value and a 3-letter word. The $$ value can be anything (e.g., $0 or $200K or 400M or 500B). I am ...
ppp's user avatar
  • 771
0 votes
1 answer
402 views

I am implementing timer on lock screen widget using Timer.publish and .onReceive on Text. But the timer is not firing. let ...
Armaghan's user avatar
2 votes
0 answers
424 views

please consider the following widget view (the entry.icon is a string which points to a resource where the file is an SVG): case .accessoryCircular: VStack{ Image(entry.icon).resizable().padding()....
Mathias's user avatar
  • 4,011
2 votes
1 answer
1k views

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 ...
Ravi Kotadiya's user avatar
0 votes
0 answers
466 views

How can we add a widget snapshot in "Add Widget" list as I have marked in red below? Once I create a widget I can see my app available under the list however not able to make it appear as a ...
Meluha's user avatar
  • 1,596
0 votes
2 answers
1k views

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: { ...
Deno's user avatar
  • 63
1 vote
1 answer
2k views

I am trying to add lock screen widget in existing app which is having .medium widget. The problem is as soon as I add lock screen widget on device, home screen widget getting blank. Once I remove lock ...
Mubin Mall's user avatar
4 votes
1 answer
2k views

Using the following code: var body: some View { switch widgetFamily { case .accessoryInline: inlineAccessory case .accessoryRectangular: ...
Ferdinand Rios's user avatar
0 votes
2 answers
1k views

I want the user to be able to tap on a lock-screen widget created by my app and deep link to my main app (eg, so that my main app can take some action) I have been able to do this with Home Widgets, ...
RawMean's user avatar
  • 8,815
2 votes
1 answer
1k views

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, ....
Ömer Karaca's user avatar
  • 1,040
1 vote
2 answers
251 views

I have the following code in my WidgetBundle class, but I want to remove the @available tag since as is, if the user is not iOS 16, they won't have access to Home Screen or Lock Screen widgets at all. ...
bmeikle's user avatar
  • 411
7 votes
1 answer
3k views

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 ...
GarySabo's user avatar
  • 6,830
5 votes
0 answers
2k views

I have a requirement to show a customised screen over/on the lock screen in android. logically I want to show a screen (an activity) when phone is locked. [] I have tried multiple ways to achieve this ...
ROSHANI SAHU's user avatar
1 vote
1 answer
684 views

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....
yogesh sharma's user avatar
1 vote
1 answer
199 views

How do I make my WearOS app work on LockScreen? My app reacts to tapping the smartwatch on an NFC tag. I hear about widget, but it's almost dead now. Is lockscreen programming still possible in ...
mzichao's user avatar
  • 13
0 votes
1 answer
410 views

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 ...
HypnoZ's user avatar
  • 55
4 votes
2 answers
2k views

What I have done I got the requirement that the user needs to be able to start my application through the windows lock screen. After searching the www it turned out to hook up hotkeys from the lock ...
HaaLeo's user avatar
  • 12.1k
0 votes
1 answer
749 views

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 ...
Ankit Arora's user avatar
1 vote
0 answers
26 views

I want to know if it is possible for my app to display information to the user EVEN if they haven't unlocked their iphone lock screen. I want it to act similar to the way the Medical ID information ...
user2591658's user avatar
2 votes
1 answer
1k views

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/...
Anil Ravsaheb Ghodake's user avatar
15 votes
1 answer
9k views

I'm using Glide for all loading images from server, but I'm having troubleshooting trying to set them in a correct way to notifications and RemoteControlClientCompat (that cool thing with lock screens)...
Damia Fuentes's user avatar
0 votes
2 answers
2k views

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 ...
user avatar
3 votes
0 answers
109 views

I'm developing an app with a widget. Now I've my widget on the lockscreen and I need to make a call when the user taps on widget. Is it possible to do that with locked screen? Is there a permission ...
MGDiez's user avatar
  • 111
0 votes
2 answers
1k views

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 ...
skyshine's user avatar
  • 2,866
0 votes
1 answer
292 views

I have developed a lockscreen app for window phone 8/8.1, that's released in the windows store, but lot of my friends suggested that I should integrate the weather widgets with customize options like ...
Debhere's user avatar
  • 1,075
1 vote
1 answer
2k views

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, ...
user avatar
1 vote
1 answer
388 views

I need to develop an app including feature to add widget on lock screen. I tried that on 3 devices so far - 1) Samsung Galaxy s4 (KitKat 4.4) - It worked well, if the lock is swipe screen lock, ...
user avatar
1 vote
1 answer
192 views

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 ...
SurenSaluka's user avatar
  • 1,593
1 vote
0 answers
168 views

I want to add a widget in the lock screen. On HTC ONE (android 4.4.3) I've added it, but somehow it's not on the main screen, you have to scroll to the second screen to see it and on Huawei Ascent P6 (...
Buda Gavril's user avatar
  • 21.7k
0 votes
0 answers
229 views

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 :)...
elmorabea's user avatar
  • 3,265
3 votes
1 answer
3k views

I am creating a multimedia iOS/Android app using Cordova and would like have control over the application (previous, next, play/pause controls) when screen is locked. Does someone know if there is a ...
user3832053's user avatar
10 votes
3 answers
18k views

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-...
Tofeeq Ahmad's user avatar