Adam, Sorry to reawaken an old thread but there's still not much around about this. >From looking at the code it seems like you're initialising the actorSystem lazily in a global object. Following the other thread on the same subject (where to put the system, whether or not to use services) did you basically come to the conclusion that you can throw everything in a global and only worry about the app being stopped completely rather than worrying about activities being stopped?
So for your original question about where to put stuff including services are we kind of substituting Akka for services altogether? My own application is intended to be long-running (it's a truck-drivers track and trace app - the sort of thing the delivery man has you sign) but linked into truck's engine and back office system and with fancy rescheduling. This means I've got to listen to various things - sensors, responses from the server (which may take a long time due to gprs signal outage), broadcasts from the satnav and some long-running calculations. I'm having a debate with my colleague about structuring the app and your previous questions about services and patterns is very pertinent. I'm wondering if you've had any further thoughts - after all the metronome is not mission critical and it's quite hard to start make your android do different and interesting things while practising to your metronome - but your original question hinted you were planning a much more involved app. Thanks Tim On Wednesday, July 24, 2013 10:01:13 AM UTC+1, Adam Mackler wrote: > > Thanks for the feedback and especially the rating/review! > > On Wednesday, July 24, 2013 4:41:44 AM UTC-4, rkuhn wrote: >> >> >> I just tried it out and it definitely is a keeper (I’m a hobby musician >> too)! Thanks a lot for sharing! >> > > -- > Adam Mackler > > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/groups/opt_out.
