To update you widget faster than every 30 minutes instead of using
updatePeriodMillis you can use the AlarmManager, which will fire your
BroadcastReceiver every X ms.


YuviDroid

On Tue, Jun 1, 2010 at 3:33 AM, james pruett <gpscru...@gmail.com> wrote:

> Are you saying widgets can update faster than 30minutes? Polling?
> public int updatePeriodMillis
> Since: API Level 
> 3<http://developer.android.com/guide/appendix/api-levels.html#level3>
>
> How often, in milliseconds, that this AppWidget wants to be updated. The
> AppWidget manager may place a limit on how often a AppWidget is updated.
>
> This field corresponds to the android:updatePeriodMillis attribute in the
> AppWidget meta-data file.
>
> *Note:* Updates requested with updatePeriodMillis will not be delivered
> more than once every 30 minutes.
>
>
>
>
> On Mon, May 31, 2010 at 10:03 AM, niko20 <nikolatesl...@yahoo.com> wrote:
>
>> You can make it small, but I believe it will capture all "focus", so
>> even if you see other apps you wont be able to interact with them. I'd
>> think a widget work work...but yes the polling would have to be rather
>> high, which is not good for a widget.
>>
>> What you could do is tie a widget together with an app - have an app
>> that runs and puts a small icon in the notification bar, and if that
>> app is running then the widget updates more frequently. The app is
>> "invisible" except for the notification bar. When you pull down the
>> bar and click on the app it can open and you can then "turn it off"
>> from in the app, and then have the widget not update anymore.
>>
>> -niko
>>
>> On May 31, 7:39 am, TreKing <treking...@gmail.com> wrote:
>> > On Sun, May 30, 2010 at 3:04 PM, cellurl <gpscru...@gmail.com> wrote:
>> > > Can an app not be full-screen?
>> >
>> > Yes - check out themes, specifically the dialog theme.
>> >
>> > >  E.g. can I make a postage size app?
>> >
>> > I don't know if there are limits on the size, but probably.
>> >
>> >
>> -------------------------------------------------------------------------------------------------
>> > TreKing - Chicago transit tracking app for Android-powered
>> deviceshttp://sites.google.com/site/rezmobileapps/treking
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Beginners" group.
>>
>> NEW! Try asking and tagging your question on Stack Overflow at
>> http://stackoverflow.com/questions/tagged/android
>>
>> To unsubscribe from this group, send email to
>> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/android-beginners?hl=en
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>



-- 
YuviDroid
http://android.yuvalsharon.net

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to