Questions tagged [home-screen-widget]

35 questions
0
votes
1 answer

Unable to manage click event on individual items in a listview present in home screen widget of flutter app

I have a list view present in the home screen widget of my android app. I am using a flutter plugin called home widget to enable communication between kotlin and dart code. There are two elements in every item of the listview: a checkbox and text.…
Pro
  • 445
  • 4
  • 14
0
votes
1 answer

How to return value from a child activity started using pending intent to the parent activity

So I have a home screen widget in my app and clicking this widget opens a single instance activity, this activity opens a dialog box consisting of a few radio options. The user selects a radio option and the activity closes. I want to send the…
Pro
  • 445
  • 4
  • 14
0
votes
1 answer

How to hide Android home screen widget

Is there any way to hide(or handle under a flag) the HomeScreen Widget from preview screen so that user can't add it? Tried to remove the WidgetProvider broadcast component declaration from Manifest file and its seems to be working fine.The Widget…
Jess
  • 85
  • 1
  • 8
0
votes
0 answers

Flutter Home Widgets on iOS - MissingPluginException(No implementation found for method registerBackgroundCallback on channel home_widget)

I have a weather app that works on Android and iOS. The android version has a home screen widget that updates in the background using the Home_widget and WorkManager plugin's, and I'm trying to implement the same on iOS. I am certainly no expert,…
roly151
  • 53
  • 8
0
votes
1 answer

Need to create a link to a qr code on a phone home screen

This might be too simple to find an easy solution for. We are moving to a system where our staff clock on and clock off using a QR or Bar code. We can provide each staff member with their own QR code on a sticker and they clock on/off by passing it…
Daavid
  • 1
  • 1
0
votes
0 answers

Widget for Home screen of Mobile App in flutter

I am trying to Implement Home Screen Widget with flutter, this is the package i am trying to use home_widget but unfortunately I run into some exceptions i could not understand. here is the my code, import 'dart:async'; import 'dart:io'; import…
0
votes
0 answers

WorkManager not starting job if application is not launched

I use WorkManager to periodically update widget once in hour. In onEnabled method of AppwidgetProvider I enqueue PeriodicWorkRequest and cancelAllWorkByTag in onDisabled. Here is my code from onEnabled method: val constraints =…
0
votes
0 answers

Getting the Dimensions of a Home Screen Widget's Element

I am working on a widget, where I need to have a chart displayed in addition to some text fields. I have figured out how to generate a visualization of the graph and then convert it to a bitmap, which gets placed in the ImageView. The problem is the…
0
votes
1 answer

How to use ListView in app widget and fill it with data in android?

I´ve searched a long time, but I don't understand the methods which are used. So, I want to add a home screen widget to my app and then populate the widget with data... String[] data = new String[]{"first","second","third"}; But my problem is to…
JonasPTFL
  • 189
  • 4
  • 15
0
votes
0 answers

chronometer in home screen widget - wrong count down format

I have home screen widget which have one chronometer as RemoteViews item. I need this chronometer to countdown from some time in the future. Chronometer works, but I have noticed some strange time formatings on some devices. For example, if there is…
0
votes
0 answers

How to make my app interact with Android home screen?

I am building an app that uses frontal camera to track where user is looking at the screen. When user blinks, smartphone registers that as a tap. Currently it works "inside" my app. I have a few dots around the screen, when i look at one of them and…
0
votes
0 answers

How can I pass an object to a widget

I am currently making an app that containing a widget. When placing the app a WidgetConfigure Activity opens where you can select an object out of a recycleViewer. The object (Kitten) implements the parcelable and the recyleviewer is filled by an…
neqopa
  • 119
  • 1
  • 12
0
votes
1 answer

Android Widgets: Differentiating between initial update and auto-update?

I'm currently developing a widget that requires the user to be logged in. When the user initially adds the widget and they're not logged in, I take them to the login activity so that they can log in. However, I don't want to do that when the widget…
0
votes
1 answer

System overlay window with Android NDK C++, inc. OpenGL-ES for graphics

I am very experienced with Visual C++ and I am just starting to program native Android C++ apps with Visual Studio 2015 C++. I need to do a homescreen overlay-style app, presumably by using a TYPE_SYSTEM_OVERLAY window and SYSTEM_ALERT_WINDOW…
0
votes
1 answer

“Add to homescreen” Android icon mane not showing

I added meta info so that it should be pinned to iOS and Android homescreens and should be launched as a web app. I use this one tutorial to add the add to home screen callout ATH, bit on Android icon name is not showing - it takes Page title…
Palaniichuk Dmytro
  • 2,943
  • 12
  • 36
  • 66