[android-developers] Re: Like Quartz

2011-06-10 Thread Emanuel Moecklin
You could always try to adapt Quartz to Android.
From my experience with other open source software (like Neuroph or
Sudoku Explainer) they normally need some tweaks to make them work on
Android (mainly due to memory/stack and/or performance issues) but in
the end it will work.
On the other hand I'm not sure if using Quartz on a mobile device
isn't taking a sledgehammer to crack a nut. I used Quartz in a J2EE
environment and it was a great product but maybe there are easier ways
to do what you need to do (you might want to elaborate on what your
intentions are to get more advice).

Cheers
Emanuel Moecklin
1gravity LLC


On Jun 9, 1:39 pm, Pierre Diderot II pierredide...@gmail.com wrote:
 Hi guys, I'm looking for a feature that wakes up from time to time to
 make particular actions, I know that there is quartz, but quartz
 doesn't exists in Android, do anyone have any solution? Thanks a lot!!!

-- 
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: Like Quartz

2011-06-10 Thread Nikolay Elenkov
On Fri, Jun 10, 2011 at 9:57 PM, Emanuel Moecklin 1gravity...@gmail.com wrote:
 You could always try to adapt Quartz to Android.
 From my experience with other open source software (like Neuroph or
 Sudoku Explainer) they normally need some tweaks to make them work on
 Android (mainly due to memory/stack and/or performance issues) but in
 the end it will work.

Unlikely for Quartz, unless you re-design it considerably. Quartz needs to
run all the time, with threads periodically waking up to check triggers
and jobs. Plus it's purpose is to handle lots of jobs, possibly running
for a long time and interconnected. 'Enterprise' level stuff, that
you are quite unlikely to do/need on Android. Very much *unlike*
porting 'Sudoku Explainer'.

 On the other hand I'm not sure if using Quartz on a mobile device
 isn't taking a sledgehammer to crack a nut.

Exactly.

-- 
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: Like Quartz

2011-06-10 Thread Kostya Vasilyev
AlarmManager ?

http://developer.android.com/reference/android/app/AlarmManager.html

-- Kostya

2011/6/10 Nikolay Elenkov nikolay.elen...@gmail.com

 On Fri, Jun 10, 2011 at 9:57 PM, Emanuel Moecklin 1gravity...@gmail.com
 wrote:
  You could always try to adapt Quartz to Android.
  From my experience with other open source software (like Neuroph or
  Sudoku Explainer) they normally need some tweaks to make them work on
  Android (mainly due to memory/stack and/or performance issues) but in
  the end it will work.

 Unlikely for Quartz, unless you re-design it considerably. Quartz needs to
 run all the time, with threads periodically waking up to check triggers
 and jobs. Plus it's purpose is to handle lots of jobs, possibly running
 for a long time and interconnected. 'Enterprise' level stuff, that
 you are quite unlikely to do/need on Android. Very much *unlike*
 porting 'Sudoku Explainer'.

  On the other hand I'm not sure if using Quartz on a mobile device
  isn't taking a sledgehammer to crack a nut.

 Exactly.

 --
 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