Why don't you use ioioservice and communicate to the activities throughout intents or use something like eventbus
On Tue, 29 Mar 2016, 06:48 Ilan Tal, <[email protected]> wrote: > Ytai, > I just wanted to let you know that I very much appreciated your detailed > answer. > There is a course from Udacity which goes through the development process > but I can't stop everything while I go through the course. > So, like it or not, I have to feel my way around and make mistakes. > The most important part of your letter, from my point of view, was you > pointing out I was doing nonsense by creating a new activity. > I could have wasted endless hours on that, going in a totally wrong > direction. > > I sat on your letter and turned it around in my mind for 24 hours before I > decided that at this stage, simplicity was the best method. > It is always nice to try to learn new things but at this stage I need "a > bird in hand", which gets the job done. > So I have returned to the original code, with some additions from what I > learned from my mistakes, and can continue to work again. > We just have to insure that the android doesn't go to sleep during the > measurements. > The really interesting point was the timer in the application continues > on, while the connection to the IOIO board goes away. > Up front I would have expected "all or nothing", but it doesn't work that > way. > > When I have more experience I can return to see if I can implement your > suggestion. For the moment, I have something which works. > > Thanks, > Ilan > > -- > You received this message because you are subscribed to the Google Groups > "ioio-users" 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 https://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ioio-users" 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 https://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
