Questions tagged [home-screen-widget]

35 questions
31
votes
2 answers

LockScreen widget in Flutter?

There are some plugins like home_widget: ^0.1.6 that supports only HomeScreen Widgets. Recently Apple launched LockScreen Widgets on iOS 16. Is there any plugin for that? How do I implement that?
4
votes
1 answer

How to include a CardView in a home screen widget

I am trying to build a simple home screen widget with multiple clocks(different regions). Design wise, I want to use a CardView (e.g. the google search bar) as the root layout element, but since its not supported in widgets, how can I replicate it?…
3
votes
0 answers

How to sort my app widgets when adding a new one?

My app has several widgets. Each of them is declared in the Manifest file with something like this:
Ton
  • 9,235
  • 15
  • 59
  • 103
3
votes
1 answer

Can I convert my existing objective-C Today View widget into an iOS 14 Home Screen Widget?

My app already has a Today View widget, written in Objective-C. I am updating my app for iOS 14 and I wanted to include the widget as a home screen widget however the only documentation regarding iOS 14 home screen widgets utilizes Swift. Is there…
Jackson
  • 3,555
  • 3
  • 34
  • 50
2
votes
1 answer

Xcode14 beta(iOS 16), SwiftUI, _clockHandRotationEffect doesn't exist anymore

in order to achieve clock animation on home screen widget. i use _clockHandRotationEffect(.custom(cycleTime), in:.current, anchor: .center) but on Xcode14, it doesn't exist anymore. any replacement?
1
vote
0 answers

Flutter workmanager with home_widget working in debug and profile, but not in Android build APK

I have a todo app built in Flutter and intended only for Android. I built a home screen widget for it (using the home_widget package in Flutter) to allow users to see a list of tasks and check them off directly from the widget. At midnight, the…
1
vote
1 answer

Receiving "old" Intent data from Widget PendingIntent. How to clear out?

My WidgetConfigActivity creates an onClickListener PendingIntent to pass through RemoteViews to perform two tasks: (1) open SliderActivity and (2) pass the appropriate appWidgetId. val views =RemoteViews(context.packageName,…
1
vote
1 answer

Is it possible to remove title underneath iOS home screen widget?

Many users ask me, can you remove title underneath the widget? But as per Apple's design guidelines, we can't keep the app name empty or remove the home screen widget title. Does anyone already fixed this issue?
Sunil Targe
  • 7,251
  • 5
  • 49
  • 80
1
vote
1 answer

Is there any possibility to paste content of clipboard in Home Screen Widget for android 10?

I am trying to create a widget which takes an input of serial key from users. I also added a paste button for convenience because serial key is 14 digits long. Below code was working fine for devices before android 10 ClipboardManager clipboard =…
1
vote
0 answers

Make your android widget default on android home screen

I have system level privileges and I want to be have my widget be a default item on the devices home screen. What I have tried using the following in my manifest
1
vote
1 answer

How to add a shortcut to a button in the homescreen of the phone using Codename One?

I am trying to develop an application in Codename One where I have built a form to accept name, phone number, address and save all these information to the persistent storage using a submit button. Now the problem is to save all these details the…
1
vote
3 answers

Handling a button click in a home screen widget

I am trying to make a home screen widget which will toggle on and off the gps (Location in settings). I still don't understand how to handle a button click event. I took this code from a tutorial online. public class LocationWidget extends…
Gobtron
  • 21
  • 4
0
votes
0 answers

ios Home Screen Widget Not working Build using Swift

I have created a ios app using flutter which needs a homescreen widget for showing live rate of gold and silver which is Intgerated from socket.So I created a Homescreen widget for my app using swift,but the problem is thaht the widget is showing…
0
votes
0 answers

Control audio playback from interaction on the home screen widget (android)

I am not able to control audio playback(play/pause/seek_next/seek_prev) from the buttons on the home_screen widget in flutter (android). not being able to control playback from buttons on Home_widget means that the callback that I am registering in…
codeboi
  • 150
  • 1
  • 9
0
votes
0 answers

Is it possible to add widget of some other app to home screen programmatically?

I wanted to add a widget for a targeted app which is present in the device from my app to home screen programmatically. Tried some things but not working
1
2 3