Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 59

chrspe
Android Fan
Profile
Posts: 95
Reg: Jan 07, 2012
Buffalo, WY
5,400
05/16/12 06:35 AM (13 years ago)

What code is ran first, changes that affect whole app? Code order

In the ios videos, it was shown how the code runs one line then the next. If I want to make changes to a plugin that affect the whole app..... Which Java file is the first to run or waht runs first when an app loads? If you make a change say to the showProgress setting on an higher up java file, does it carry through to all files after that unless one of those call for a change to that setting?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/16/12 07:10 AM (13 years ago)
A change to a file install by a plugin will not necessarily affect the app. The user may never call a screen using the file. So the code for the various plugins (screens) is only called when the user calls the screen. Did this help? Fred
 
chrspe
Android Fan
Profile
Posts: 95
Reg: Jan 07, 2012
Buffalo, WY
5,400
like
05/16/12 07:33 AM (13 years ago)
That does make sense, didn't think that a particular plugin with the changes, if not used, would have no effect. Thanks! Were you ever able to figure out why the javascript didn't run as expected in offline mode?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/16/12 07:50 AM (13 years ago)
Memory loss, which javascript ? Fred
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.