Android versions are confusing!
By Austin Evans
As the title states my main focus this past week was to get the Import and Export working for the android version 7 to 11. The funny thing is that each version of android changes the way a file is stored on the phone. Like in Android 11 we can save a file to the external storage without an extension using something called a MediaStore. However, in android 10 we need that extension to save the file directly. These changes to the save file method for the file cause a problem with each of the versions. Although through trial and error I was able to get the Android 10 to import a file. Since the file is written through the app, so having the different versions won't effort how the file is written. Only saving the file cause a problem. So how did I fix this, well I got a little help online and asking questions with a person I am working with. Through that, I figured out how i.e. the mention of the extension. With that in play, Andriod 10 and 11 are working beautifully.
Another thing I worked on was to have approval or disapproval for the imported file show up. Originally, I had a toast pop up stating that the file was imported but had to switch due to a toast error not having the toast show up. But with a wipe of the data and a cold boot on the emulator, I was able to have the toast show up. Right now we only have the message showing up as a text view in the import activity but it doesn't seem like a good choice on how the app runs and feels. See below is how we are showing the message now:
The final thing that I worked on was a group effort and that was to test the app with future users. Since my teammates and I are entering into the final weeks of this app development and bugs fixing phase before it goes on the play store at the end of this month we got 5 people to test our app and give us feedback on the app and what it could improve. After everything we got together and made a pretty nice list of things that the users suggested and things us, developers, came across when we doing the testings.
Comments
Post a Comment