Android Question [CLOSED] v5.50 : something changed with RemoteViews ?

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello,
Compiled an old project with version 5.50 and noticed this : when the phone is rebooted an existing widget does not receive _Click events until the main Activity has been opened.

I have even tried with the example provided here : https://www.b4x.com/android/forum/threads/android-home-screen-widgets-tutorial-part-i.10166/page-10. It does the same.

So, I have tried with an old apk and noticed that the widget was really restarted when the phone was rebooted. Now, but I could be wrong, I can see the widget started 3 times but no event seems to be fired (tested on Sony T3, Android 4.4.4 - compiled with android:minSdkVersion="8" android:targetSdkVersion="22", release (obfuscated))

Many thanks
 
Last edited:

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello Erel,
Thanks a lot for your confirmation.

No, I am not killing the app at all : it is when the phone is rebooted and until the Main Activity has been started.

I will check with other devices and report
 
Upvote 0

lemonisdead

Well-Known Member
Licensed User
Longtime User
Please could someone test the two apk attached ?
- HomeWidgets.apk is one compiled in january 2015
- 550.apk is the one compiled with b4a 5.50

Those widgets are the one provided by Erel in his tutorial about. The behavior is the one mentioned above. Thanks
 

Attachments

  • 550.apk
    125.1 KB · Views: 220
  • HomeWidgets.apk
    122.3 KB · Views: 214
Upvote 0
Top