lgfischer / widgethostexample Goto Github PK
View Code? Open in Web Editor NEWSource code for my blog post at http://leonardofischer.com/hosting-android-widgets-my-appwidgethost-tutorial/
Source code for my blog post at http://leonardofischer.com/hosting-android-widgets-my-appwidgethost-tutorial/
On Android v6.0.1 I get messages like this when the configure activity is displayed:
11-08 22:17:49.272 2324 3327 D BackgroundManagerService: getIdleTimeLimit: 120000
11-08 22:17:49.272 2324 3327 I BackgroundManagerService: com.lgfischer.widgethost idle 5022ms
11-08 22:17:49.272 2324 3327 I BackgroundManagerService: package not in whitelist: com.lgfischer.widgethost
And then after 12 second Android kills the App taking the configure activity down with it.
I already left a comment on your blog, but it ocurred to me that it might be better to have it in the issue tracker here.
Running on a simple android virtual device (android 2.2, stock image from the SDK). I notice that when i add the Analog Clock AppWidget, It displays and updates fine, but when I click it, I get an IntentSender Exception, which I only notice because I am looking at the LogCat, otherwise the interaction is ignored.
From the home screen the Analog Clock AppWidget launches the Alarm Clock Activity when you click it. Why does it behave differently in our AppWidgetHost? How can we make it work the same way?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.