Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

* | |

  Show Posts
Pages: [1]
1  PureMVC Manifold / Bug Report / [POSSIBLY NOT A BUG, BUT A STRANGE THING] android apps "forget" registered obsv on: March 28, 2011, 09:40:03
hello,

yesterday i run into a strange thing, and i am wondering if you people could find a solution to this problem, right now i cannot post a "not" working example, because it is my personal game project for android

so, what is the case?

i have an app with some views, proxies and controlers, everything as usual

when i run the app on the desktop environment as air app everything is working nicely

BUT when i start the app on an android phone, some notifications do not reach their destinations, i traced some pathes of it in a text output, and i came to the conclusion that most of the notifications are send and received as usual, but some notifications arent processed at all, my first guess is that i can not use "notifications" more than once, e.g. i try to use only one notificaiton for one view, and only one controller for that notification, and i also try to register only one view to a notification, by simply renaming a notification, adding a new const in the facade, i got one of the notes running again

any ideas what could cause this ?
as i said, the desktop app just runs fine, and the notes are sent out, i explain the behaviour again:

1. main menu press "start" the game starts
2. game press "back" the game goes back to main menu
3. pressing again "start" the game goes into start game mode, but the view isnt receiving a note about to display the game screen ...

i know it is hard to guess what it could be, if anyone is interested i am willing to provide some sourcecode
2  Announcements and General Discussion / General Discussion / Send Notification Queue ? on: November 18, 2009, 10:03:07
hello,

i just wanted to let you know, that i use a modified "ApplicationFacade" always in my projects

the change i made has to do with the "sendNotification" functionality of the facade, i had often
the cases, that notifications were send BEFORE another notification has received all its receivers ...

so, i had to supress dispatching of new notifications while a notification is under work ...

this modification has been used in nearly all projects, and if i started a project without this
mod, after a few weeks errors occured because of that problem ...

in my opinion it would be good to define the sending of notifications somehow, either with a flag, or another base class for applicationfacade ...

just wanted to let ya know, i will continue using it

cheers
ck
Pages: [1]