closes down immediately
How can I use 2 screens with one activity
Jacques van Tonder wrote: .....but when I launch my app it opens for about a second and then closes down immediately.
Why is this happening?
Jacques van Tonder wrote:
@Randy Tong, I dont want a second activity, just a second screen.
Jacques van Tonder wrote:That would work, so i am going to have to activities, each with their own xml file?
That will work and I considered it already but i then need to somehow pass information from one activity to the other.
Activities are just that, you could call them screens or windows but in android terminology they are called activities.
When i click the button which is supposed to launch the second activity my app closes down.
Caused by: java.lang.NumberFormatException: s == null
Jacques van Tonder wrote:...how can I assign R1inputValue to totals1 with parsing R1inputValue to int as it is retrieved from as a string from the other activity....
Tim Moores wrote:The bottom line is: don't pass null arguments to Integer.parseInt - check the values before using them.
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your databasehttps://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database