7 ms·
Is this an instance where it might be reasonable to create a 'powerful path' and a 'simple path' to support both needs?
by Goosey 17y ago
Is this an instance where it might be reasonable to create a 'powerful path' and a 'simple path' to support both needs?
- orangecat 17y agoYes, and there's already a reasonably simple path. If you just want to switch to a new screen (say, an "about" view) and don't need to be notified when it exits, you just add the new Activity in AndroidManifest.xml, create a NewActivity class, and call "startActivity(new Intent(this, NewActivity.class))". The extra steps he describes are only relevant if you need to pass in additional data, or get a callback when it exits, and you'd need extra code to handle that for the iPhone as well.