Re: [android-developers] Re: AppWidgetManager, function updateAppWidget not working after an undetermined time

2016-05-04 Thread Test Dev
Hello,
I have same bug. Could you explain more about using a service to resolve 
your bug?


On Wednesday, May 23, 2012 at 5:55:23 PM UTC+7, Jorodan wrote:
>
> It seems that my bug was resolved by using a service. 
>
> Le mardi 22 mai 2012 08:02:27 UTC+2, Jorodan a écrit :
>>
>> The problem is the time to reproduce the bug (few days)*.* now I am 
>> waiting since i put the update in a service. 
>> Le 22 mai 2012 03:27, "TreKing"  a 
>> écrit :
>>
>>> On Mon, May 21, 2012 at 3:21 PM, Julien Del Rio >> > wrote:
>>>
 Is it possible to build a too big (in memory size) for my remoteview 
 with all the bitmap ?
>>>
>>>
>>> Take out the bitmaps, or use much smaller ones, and try again. See what 
>>> happens.
>>>
>>>
>>> -
>>> TreKing  - Chicago 
>>> transit tracking app for Android-powered devices
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-d...@googlegroups.com 
>>> 
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com 
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/9e200874-e0d0-4586-b9a3-7f5b66f0b80e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: AppWidgetManager, function updateAppWidget not working after an undetermined time

2012-05-23 Thread Jorodan
It seems that my bug was resolved by using a service. 

Le mardi 22 mai 2012 08:02:27 UTC+2, Jorodan a écrit :

 The problem is the time to reproduce the bug (few days)*.* now I am 
 waiting since i put the update in a service. 
 Le 22 mai 2012 03:27, TreKing treking...@gmail.com a écrit :

 On Mon, May 21, 2012 at 3:21 PM, Julien Del Rio 
 julien.del...@gmail.comwrote:

 Is it possible to build a too big (in memory size) for my remoteview 
 with all the bitmap ?


 Take out the bitmaps, or use much smaller ones, and try again. See what 
 happens.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago 
 transit tracking app for Android-powered devices

  -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: AppWidgetManager, function updateAppWidget not working after an undetermined time

2012-05-22 Thread Julien Del Rio
The problem is the time to reproduce the bug (few days)*.* now I am waiting
since i put the update in a service.
Le 22 mai 2012 03:27, TreKing treking...@gmail.com a écrit :

 On Mon, May 21, 2012 at 3:21 PM, Julien Del Rio 
 julien.del...@gmail.comwrote:

 Is it possible to build a too big (in memory size) for my remoteview with
 all the bitmap ?


 Take out the bitmaps, or use much smaller ones, and try again. See what
 happens.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: AppWidgetManager, function updateAppWidget not working after an undetermined time

2012-05-21 Thread Jorodan
Hi,

I add an idea. Is it possible to have to big elements sended to the 
WidgetManger ?

Le jeudi 17 mai 2012 06:24:42 UTC+2, Jose_GD a écrit :

 Hi Jorodan,

 Are you aware that broadcast receivers like appwidgets have a very short 
 lifecycle? 
 To make a robust updating scheme you must do the update from a service.

 HTH,

 José


 El martes, 15 de mayo de 2012 06:28:29 UTC-3, Jorodan escribió:

 Hi Android developers,

 I have a big problem ! 

 I have an alarm manager each minutes for updating the clock.
 When I received the Intent.
 For each instance of the widget, I calculate my RemoteView and send the 
 RemoteView to the widget using : AppWidgetManager updateAppWidget(int 
 appWidgetId, RemoteViews views).

 It is working well most part of the time.

 But, I don't know why, after an undetermined time, the function 
 updateAppWidget doesn't refresh the widget.

 I force stop the Home (from system settings). When I do that, the Home 
 will force close because of this error : java.lang.RuntimeException: 
 system server dead?
 When my clock is frozen, the system widget clock is frozen too.

 And for now, I found this bug only with the Galaxy Nexus and Galaxy S2.

 Any idea ? 


Le jeudi 17 mai 2012 06:24:42 UTC+2, Jose_GD a écrit :

 Hi Jorodan,

 Are you aware that broadcast receivers like appwidgets have a very short 
 lifecycle? 
 To make a robust updating scheme you must do the update from a service.

 HTH,

 José


 El martes, 15 de mayo de 2012 06:28:29 UTC-3, Jorodan escribió:

 Hi Android developers,

 I have a big problem ! 

 I have an alarm manager each minutes for updating the clock.
 When I received the Intent.
 For each instance of the widget, I calculate my RemoteView and send the 
 RemoteView to the widget using : AppWidgetManager updateAppWidget(int 
 appWidgetId, RemoteViews views).

 It is working well most part of the time.

 But, I don't know why, after an undetermined time, the function 
 updateAppWidget doesn't refresh the widget.

 I force stop the Home (from system settings). When I do that, the Home 
 will force close because of this error : java.lang.RuntimeException: 
 system server dead?
 When my clock is frozen, the system widget clock is frozen too.

 And for now, I found this bug only with the Galaxy Nexus and Galaxy S2.

 Any idea ? 



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: AppWidgetManager, function updateAppWidget not working after an undetermined time

2012-05-21 Thread Jose_GD
It seems your question is not very clear...
Big elements?

El lunes, 21 de mayo de 2012 06:58:56 UTC-3, Jorodan escribió:

 Hi,

 I add an idea. Is it possible to have to big elements sended to the 
 WidgetManger ?

 Le jeudi 17 mai 2012 06:24:42 UTC+2, Jose_GD a écrit :

 Hi Jorodan,

 Are you aware that broadcast receivers like appwidgets have a very short 
 lifecycle? 
 To make a robust updating scheme you must do the update from a service.

 HTH,

 José


 El martes, 15 de mayo de 2012 06:28:29 UTC-3, Jorodan escribió:

 Hi Android developers,

 I have a big problem ! 

 I have an alarm manager each minutes for updating the clock.
 When I received the Intent.
 For each instance of the widget, I calculate my RemoteView and send the 
 RemoteView to the widget using : AppWidgetManager updateAppWidget(int 
 appWidgetId, RemoteViews views).

 It is working well most part of the time.

 But, I don't know why, after an undetermined time, the function 
 updateAppWidget doesn't refresh the widget.

 I force stop the Home (from system settings). When I do that, the Home 
 will force close because of this error : java.lang.RuntimeException: 
 system server dead?
 When my clock is frozen, the system widget clock is frozen too.

 And for now, I found this bug only with the Galaxy Nexus and Galaxy S2.

 Any idea ? 


 Le jeudi 17 mai 2012 06:24:42 UTC+2, Jose_GD a écrit :

 Hi Jorodan,

 Are you aware that broadcast receivers like appwidgets have a very short 
 lifecycle? 
 To make a robust updating scheme you must do the update from a service.

 HTH,

 José


 El martes, 15 de mayo de 2012 06:28:29 UTC-3, Jorodan escribió:

 Hi Android developers,

 I have a big problem ! 

 I have an alarm manager each minutes for updating the clock.
 When I received the Intent.
 For each instance of the widget, I calculate my RemoteView and send the 
 RemoteView to the widget using : AppWidgetManager updateAppWidget(int 
 appWidgetId, RemoteViews views).

 It is working well most part of the time.

 But, I don't know why, after an undetermined time, the function 
 updateAppWidget doesn't refresh the widget.

 I force stop the Home (from system settings). When I do that, the Home 
 will force close because of this error : java.lang.RuntimeException: 
 system server dead?
 When my clock is frozen, the system widget clock is frozen too.

 And for now, I found this bug only with the Galaxy Nexus and Galaxy S2.

 Any idea ? 



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: AppWidgetManager, function updateAppWidget not working after an undetermined time

2012-05-21 Thread Julien Del Rio
You're right. I talked about big bitmap.
A remoteView forces a maximum resolution of bitmap, my bitmaps are under
this resolution. But I apply multiple bitmap on multiple view in my
remoteview.
Is it possible to build a too big (in memory size) for my remoteview with
all the bitmap ?


On Mon, May 21, 2012 at 10:10 PM, Jose_GD jose.gonzale...@gmail.com wrote:

 It seems your question is not very clear...
 Big elements?

 El lunes, 21 de mayo de 2012 06:58:56 UTC-3, Jorodan escribió:

 Hi,

 I add an idea. Is it possible to have to big elements sended to the
 WidgetManger ?

 Le jeudi 17 mai 2012 06:24:42 UTC+2, Jose_GD a écrit :

 Hi Jorodan,

 Are you aware that broadcast receivers like appwidgets have a very short
 lifecycle?
 To make a robust updating scheme you must do the update from a service.

 HTH,

 José


 El martes, 15 de mayo de 2012 06:28:29 UTC-3, Jorodan escribió:

 Hi Android developers,

 I have a big problem !

 I have an alarm manager each minutes for updating the clock.
 When I received the Intent.
 For each instance of the widget, I calculate my RemoteView and send the
 RemoteView to the widget using : AppWidgetManager updateAppWidget(int
 appWidgetId, RemoteViews views).

 It is working well most part of the time.

 But, I don't know why, after an undetermined time, the function
 updateAppWidget doesn't refresh the widget.

 I force stop the Home (from system settings). When I do that, the Home
 will force close because of this error : java.lang.RuntimeException:
 system server dead?
 When my clock is frozen, the system widget clock is frozen too.

 And for now, I found this bug only with the Galaxy Nexus and Galaxy S2.

 Any idea ?


 Le jeudi 17 mai 2012 06:24:42 UTC+2, Jose_GD a écrit :

 Hi Jorodan,

 Are you aware that broadcast receivers like appwidgets have a very short
 lifecycle?
 To make a robust updating scheme you must do the update from a service.

 HTH,

 José


 El martes, 15 de mayo de 2012 06:28:29 UTC-3, Jorodan escribió:

 Hi Android developers,

 I have a big problem !

 I have an alarm manager each minutes for updating the clock.
 When I received the Intent.
 For each instance of the widget, I calculate my RemoteView and send the
 RemoteView to the widget using : AppWidgetManager updateAppWidget(int
 appWidgetId, RemoteViews views).

 It is working well most part of the time.

 But, I don't know why, after an undetermined time, the function
 updateAppWidget doesn't refresh the widget.

 I force stop the Home (from system settings). When I do that, the Home
 will force close because of this error : java.lang.RuntimeException:
 system server dead?
 When my clock is frozen, the system widget clock is frozen too.

 And for now, I found this bug only with the Galaxy Nexus and Galaxy S2.

 Any idea ?

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: AppWidgetManager, function updateAppWidget not working after an undetermined time

2012-05-21 Thread TreKing
On Mon, May 21, 2012 at 3:21 PM, Julien Del Rio julien.del...@gmail.comwrote:

 Is it possible to build a too big (in memory size) for my remoteview with
 all the bitmap ?


Take out the bitmaps, or use much smaller ones, and try again. See what
happens.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: AppWidgetManager, function updateAppWidget not working after an undetermined time

2012-05-17 Thread Julien Del Rio
I know about the short lifestyle. My code is running during less than the
lifestyle. But you're right, maybe it is just the needed time and the
system code for updating the widget is stopped. I will test your idea.
Thanks
Le 17 mai 2012 06:26, Jose_GD jose.gonzale...@gmail.com a écrit :

 Hi Jorodan,

 Are you aware that broadcast receivers like appwidgets have a very short
 lifecycle?
 To make a robust updating scheme you must do the update from a service.

 HTH,

 José


 El martes, 15 de mayo de 2012 06:28:29 UTC-3, Jorodan escribió:

 Hi Android developers,

 I have a big problem !

 I have an alarm manager each minutes for updating the clock.
 When I received the Intent.
 For each instance of the widget, I calculate my RemoteView and send the
 RemoteView to the widget using : AppWidgetManager updateAppWidget(int
 appWidgetId, RemoteViews views).

 It is working well most part of the time.

 But, I don't know why, after an undetermined time, the function
 updateAppWidget doesn't refresh the widget.

 I force stop the Home (from system settings). When I do that, the Home
 will force close because of this error : java.lang.RuntimeException:
 system server dead?
 When my clock is frozen, the system widget clock is frozen too.

 And for now, I found this bug only with the Galaxy Nexus and Galaxy S2.

 Any idea ?

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: AppWidgetManager, function updateAppWidget not working after an undetermined time

2012-05-16 Thread Jose_GD
Hi Jorodan,

Are you aware that broadcast receivers like appwidgets have a very short 
lifecycle? 
To make a robust updating scheme you must do the update from a service.

HTH,

José


El martes, 15 de mayo de 2012 06:28:29 UTC-3, Jorodan escribió:

 Hi Android developers,

 I have a big problem ! 

 I have an alarm manager each minutes for updating the clock.
 When I received the Intent.
 For each instance of the widget, I calculate my RemoteView and send the 
 RemoteView to the widget using : AppWidgetManager updateAppWidget(int 
 appWidgetId, RemoteViews views).

 It is working well most part of the time.

 But, I don't know why, after an undetermined time, the function 
 updateAppWidget doesn't refresh the widget.

 I force stop the Home (from system settings). When I do that, the Home 
 will force close because of this error : java.lang.RuntimeException: 
 system server dead?
 When my clock is frozen, the system widget clock is frozen too.

 And for now, I found this bug only with the Galaxy Nexus and Galaxy S2.

 Any idea ? 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en