Pr.Pg Next Pg

External Storage tutorials

  • In previous tutorilal we saved the data in a file which will be found in the Internal Storage, within our application package data.

  • The complete path of the file will be “/data/data/com.example.helloandroid/files/MyFile”.

  • We now will learn how to store data on the External storage like an SD card.

  • We will introduce in this section Toast and Spinner.

  • Spinner

  • Spinners provide a quick way to select one value from a set. In the default state, a spinner shows its currently selected value. Touching the spinner displays a dropdown menu with all other available values, from which the user can select a new one.


  • You can add a spinner to your layout with the Spinner object. You should usually do so in your XML layout with a <Spinner> element.

 

Pr.Pg border                                              Next Pg