SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Android
mobilių programėlių kūrimo įvadas
Storage Options
Android provides several options for you to save
persistent application data.

Shared Preferences - Store private primitive
data in key-value pairs.

Internal Storage - Store private data on the
device memory.

External Storage - Store public data on the
shared external storage.

SQLite Databases - Store structured data in a
private database.
SharedPreferences   - getSharedPreferences() - Use this if you need
                    multiple preferences files identified by name,
                    which you specify with the first parameter.

                    - getPreferences() - Use this if you need only
                    one preferences file for your Activity.

                    To read values, use SharedPreferences
                    methods such as getBoolean() and getString().

                    To write values:
                    1. Call edit() to get a SharedPreferences.Editor.
                    2. Add values with methods such as putString().
                    3. Commit the new values with commit()
Internal Storage   To create and write a private file to the internal
                   storage:

                   1. Call openFileOutput() with the name of the file
                   and the operating mode. This returns a
                   FileOutputStream.

                   2. Write to the file with write().

                   3. Close the stream with close().
External Storage   If you're using API Level 7 or lower, use
                   getExternalStorageDirectory() to open a File that represents the
                   root of the external storage, then save your shared files in one of
                   the following directories:

                   Music/ - Media scanner classifies all media found here as user
                   music.
                   Podcasts/ - Media scanner classifies all media found here as a
                   podcast.
                   Ringtones/ - Media scanner classifies all media found here as a
                   ringtone.
                   Alarms/ - Media scanner classifies all media found here as an
                   alarm sound.
                   Notifications/ - Media scanner classifies all media found here as
                   a notification sound.
                   Pictures/ - All photos (excluding those taken with the camera).
                   Movies/ - All movies (excluding those taken with the camcorder).
                   Download/ - Miscellaneous downloads.
Databases   Android provides full support for SQLite
            databases. Any databases you create will be
            accessible by name to any class in the
            application, but not outside the application.

            The recommended method to create a new
            SQLite database is to create a subclass of
            SQLiteOpenHelper and override the onCreate()
            method, in which you can execute a SQLite
            command to create tables in the database.
Databases   You can then get an instance of your
            SQLiteOpenHelper implementation using the
            constructor you've defined. To write to and
            read from the database, call
            getWritableDatabase() and
            getReadableDatabase(), respectively.

            These both return a SQLiteDatabase object
            that represents the database and provides
            methods for SQLite operations.
GPS   GPS_PROVIDER
      This provider determines location using satellites.
      Depending on conditions, this provider may take
      a while to return a location fix.

      NETWORK_PROVIDER
      This provider determines location based on
      availability of cell tower and WiFi access points.
      Results are retrieved by means of a network
      lookup.

      PASSIVE_PROVIDER
      A special location provider for receiving locations
      without actually initiating a location fix.
Google Maps

              The Google Maps Android API v2 uses a new
              system of managing keys. Existing keys from a
              Google Maps Android v1 application, commonly
              known as MapView, will not work with the v2 API.

              To access the Google Maps servers with the
              Maps API, you have to add a Maps API key to
              your application. The key is free, you can use it
              with any of your applications that call the Maps
              API, and it supports an unlimited number of
              users.
Google Maps
              An Android application that uses the Google
              Maps Android API needs to specify the
              following settings in its manifest file,
              AndroidManifest.xml:

              Permissions that give the application access
              to Android system features and to the
              Google Maps servers.

              Notification that the application requires
              OpenGL ES version 2.

              The Maps API key for the application. The
              key confirms that you've registered with the
              Google Maps service via the Google APIs
              Console.
Camera
Q&A
v.valkaitis@appcamp.lt

Weitere ähnliche Inhalte

Andere mochten auch

Latihan powerpoint1 bambang aji nagan
Latihan powerpoint1 bambang aji naganLatihan powerpoint1 bambang aji nagan
Latihan powerpoint1 bambang aji naganBambang Nagan
 
2 sist. pencernaan biologi
2 sist. pencernaan biologi2 sist. pencernaan biologi
2 sist. pencernaan biologiBambang Nagan
 
Philadelphia
PhiladelphiaPhiladelphia
Philadelphiajordmac
 
The Globalist (Special Issue)
The Globalist (Special Issue)The Globalist (Special Issue)
The Globalist (Special Issue)Rosemarie Antonio
 
GML January - June 2013 (Governor's Monthly Letter)
GML January - June 2013 (Governor's Monthly Letter)GML January - June 2013 (Governor's Monthly Letter)
GML January - June 2013 (Governor's Monthly Letter)Rosemarie Antonio
 
Presentation1
Presentation1Presentation1
Presentation1jordmac
 
"Android" mobilių programėlių kūrimo įvadas
"Android" mobilių programėlių kūrimo įvadas"Android" mobilių programėlių kūrimo įvadas
"Android" mobilių programėlių kūrimo įvadasTadas Jurelevičius
 
Latihan powerpoint1 bambang aji nagan
Latihan powerpoint1 bambang aji naganLatihan powerpoint1 bambang aji nagan
Latihan powerpoint1 bambang aji naganBambang Nagan
 
All about dinosaurs 1
All about dinosaurs 1All about dinosaurs 1
All about dinosaurs 1jordmac
 
John adams quincy
John adams quincyJohn adams quincy
John adams quincyjordmac
 
INGLÊS 10º ANO: STUDYING ABROAD
INGLÊS 10º ANO: STUDYING ABROADINGLÊS 10º ANO: STUDYING ABROAD
INGLÊS 10º ANO: STUDYING ABROADDaniel Sousa
 

Andere mochten auch (16)

Latihan powerpoint1 bambang aji nagan
Latihan powerpoint1 bambang aji naganLatihan powerpoint1 bambang aji nagan
Latihan powerpoint1 bambang aji nagan
 
027665
027665027665
027665
 
Glándulas sudoríparas
Glándulas sudoríparasGlándulas sudoríparas
Glándulas sudoríparas
 
2 sist. pencernaan biologi
2 sist. pencernaan biologi2 sist. pencernaan biologi
2 sist. pencernaan biologi
 
App Camp 2014 Final Pitches
App Camp 2014 Final PitchesApp Camp 2014 Final Pitches
App Camp 2014 Final Pitches
 
Philadelphia
PhiladelphiaPhiladelphia
Philadelphia
 
The Globalist (Special Issue)
The Globalist (Special Issue)The Globalist (Special Issue)
The Globalist (Special Issue)
 
GML January - June 2013 (Governor's Monthly Letter)
GML January - June 2013 (Governor's Monthly Letter)GML January - June 2013 (Governor's Monthly Letter)
GML January - June 2013 (Governor's Monthly Letter)
 
Fusao nuclearpt
Fusao nuclearptFusao nuclearpt
Fusao nuclearpt
 
Presentation1
Presentation1Presentation1
Presentation1
 
"Android" mobilių programėlių kūrimo įvadas
"Android" mobilių programėlių kūrimo įvadas"Android" mobilių programėlių kūrimo įvadas
"Android" mobilių programėlių kūrimo įvadas
 
Latihan powerpoint1 bambang aji nagan
Latihan powerpoint1 bambang aji naganLatihan powerpoint1 bambang aji nagan
Latihan powerpoint1 bambang aji nagan
 
All about dinosaurs 1
All about dinosaurs 1All about dinosaurs 1
All about dinosaurs 1
 
John adams quincy
John adams quincyJohn adams quincy
John adams quincy
 
INGLÊS 10º ANO: STUDYING ABROAD
INGLÊS 10º ANO: STUDYING ABROADINGLÊS 10º ANO: STUDYING ABROAD
INGLÊS 10º ANO: STUDYING ABROAD
 
Daño axonal difuso
Daño axonal difusoDaño axonal difuso
Daño axonal difuso
 

Ähnlich wie "Android" mobilių programėlių kūrimo įvadas #3

Android booting sequece and setup and debugging
Android booting sequece and setup and debuggingAndroid booting sequece and setup and debugging
Android booting sequece and setup and debuggingUtkarsh Mankad
 
Android session 4-behestee
Android session 4-behesteeAndroid session 4-behestee
Android session 4-behesteeHussain Behestee
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A NutshellTed Chien
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App DevelopmentMike Kvintus
 
Mobile Application Development-Lecture 13 & 14.pdf
Mobile Application Development-Lecture 13 & 14.pdfMobile Application Development-Lecture 13 & 14.pdf
Mobile Application Development-Lecture 13 & 14.pdfAbdullahMunir32
 
Android programming
Android programmingAndroid programming
Android programmingvijay_uttam
 
2.Android Platform_Theory.pptx
2.Android Platform_Theory.pptx2.Android Platform_Theory.pptx
2.Android Platform_Theory.pptxNizarnizarsurche
 
Accessing Hardware on Android
Accessing Hardware on AndroidAccessing Hardware on Android
Accessing Hardware on AndroidGary Bisson
 
12_Data_Storage_Part_2.pptx
12_Data_Storage_Part_2.pptx12_Data_Storage_Part_2.pptx
12_Data_Storage_Part_2.pptxFaezNasir
 
Synapseindia android application development tutorial
Synapseindia android application development tutorialSynapseindia android application development tutorial
Synapseindia android application development tutorialSynapseindiappsdevelopment
 
Synapseindia android apps development tutorial
Synapseindia android apps  development tutorialSynapseindia android apps  development tutorial
Synapseindia android apps development tutorialSynapseindiappsdevelopment
 
Data Storage In Android
Data Storage In Android Data Storage In Android
Data Storage In Android Aakash Ugale
 
Android development classes in chandigarh : Big Boxx Academy
Android development classes in chandigarh : Big Boxx AcademyAndroid development classes in chandigarh : Big Boxx Academy
Android development classes in chandigarh : Big Boxx AcademyBig Boxx Animation Academy
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorialilias ahmed
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paperSravan Reddy
 

Ähnlich wie "Android" mobilių programėlių kūrimo įvadas #3 (20)

Android booting sequece and setup and debugging
Android booting sequece and setup and debuggingAndroid booting sequece and setup and debugging
Android booting sequece and setup and debugging
 
Android session 4-behestee
Android session 4-behesteeAndroid session 4-behestee
Android session 4-behestee
 
Android-data storage in android-chapter21
Android-data storage in android-chapter21Android-data storage in android-chapter21
Android-data storage in android-chapter21
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A Nutshell
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App Development
 
Mobile Application Development-Lecture 13 & 14.pdf
Mobile Application Development-Lecture 13 & 14.pdfMobile Application Development-Lecture 13 & 14.pdf
Mobile Application Development-Lecture 13 & 14.pdf
 
Android programming
Android programmingAndroid programming
Android programming
 
Android Anatomy
Android  AnatomyAndroid  Anatomy
Android Anatomy
 
Android cours
Android coursAndroid cours
Android cours
 
2.Android Platform_Theory.pptx
2.Android Platform_Theory.pptx2.Android Platform_Theory.pptx
2.Android Platform_Theory.pptx
 
Accessing Hardware on Android
Accessing Hardware on AndroidAccessing Hardware on Android
Accessing Hardware on Android
 
Cognos Software Development Kit
Cognos Software Development KitCognos Software Development Kit
Cognos Software Development Kit
 
12_Data_Storage_Part_2.pptx
12_Data_Storage_Part_2.pptx12_Data_Storage_Part_2.pptx
12_Data_Storage_Part_2.pptx
 
Aptech Apps
Aptech Apps Aptech Apps
Aptech Apps
 
Synapseindia android application development tutorial
Synapseindia android application development tutorialSynapseindia android application development tutorial
Synapseindia android application development tutorial
 
Synapseindia android apps development tutorial
Synapseindia android apps  development tutorialSynapseindia android apps  development tutorial
Synapseindia android apps development tutorial
 
Data Storage In Android
Data Storage In Android Data Storage In Android
Data Storage In Android
 
Android development classes in chandigarh : Big Boxx Academy
Android development classes in chandigarh : Big Boxx AcademyAndroid development classes in chandigarh : Big Boxx Academy
Android development classes in chandigarh : Big Boxx Academy
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorial
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paper
 

Kürzlich hochgeladen

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 

Kürzlich hochgeladen (20)

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 

"Android" mobilių programėlių kūrimo įvadas #3

  • 2. Storage Options Android provides several options for you to save persistent application data. Shared Preferences - Store private primitive data in key-value pairs. Internal Storage - Store private data on the device memory. External Storage - Store public data on the shared external storage. SQLite Databases - Store structured data in a private database.
  • 3. SharedPreferences - getSharedPreferences() - Use this if you need multiple preferences files identified by name, which you specify with the first parameter. - getPreferences() - Use this if you need only one preferences file for your Activity. To read values, use SharedPreferences methods such as getBoolean() and getString(). To write values: 1. Call edit() to get a SharedPreferences.Editor. 2. Add values with methods such as putString(). 3. Commit the new values with commit()
  • 4. Internal Storage To create and write a private file to the internal storage: 1. Call openFileOutput() with the name of the file and the operating mode. This returns a FileOutputStream. 2. Write to the file with write(). 3. Close the stream with close().
  • 5. External Storage If you're using API Level 7 or lower, use getExternalStorageDirectory() to open a File that represents the root of the external storage, then save your shared files in one of the following directories: Music/ - Media scanner classifies all media found here as user music. Podcasts/ - Media scanner classifies all media found here as a podcast. Ringtones/ - Media scanner classifies all media found here as a ringtone. Alarms/ - Media scanner classifies all media found here as an alarm sound. Notifications/ - Media scanner classifies all media found here as a notification sound. Pictures/ - All photos (excluding those taken with the camera). Movies/ - All movies (excluding those taken with the camcorder). Download/ - Miscellaneous downloads.
  • 6. Databases Android provides full support for SQLite databases. Any databases you create will be accessible by name to any class in the application, but not outside the application. The recommended method to create a new SQLite database is to create a subclass of SQLiteOpenHelper and override the onCreate() method, in which you can execute a SQLite command to create tables in the database.
  • 7. Databases You can then get an instance of your SQLiteOpenHelper implementation using the constructor you've defined. To write to and read from the database, call getWritableDatabase() and getReadableDatabase(), respectively. These both return a SQLiteDatabase object that represents the database and provides methods for SQLite operations.
  • 8. GPS GPS_PROVIDER This provider determines location using satellites. Depending on conditions, this provider may take a while to return a location fix. NETWORK_PROVIDER This provider determines location based on availability of cell tower and WiFi access points. Results are retrieved by means of a network lookup. PASSIVE_PROVIDER A special location provider for receiving locations without actually initiating a location fix.
  • 9. Google Maps The Google Maps Android API v2 uses a new system of managing keys. Existing keys from a Google Maps Android v1 application, commonly known as MapView, will not work with the v2 API. To access the Google Maps servers with the Maps API, you have to add a Maps API key to your application. The key is free, you can use it with any of your applications that call the Maps API, and it supports an unlimited number of users.
  • 10. Google Maps An Android application that uses the Google Maps Android API needs to specify the following settings in its manifest file, AndroidManifest.xml: Permissions that give the application access to Android system features and to the Google Maps servers. Notification that the application requires OpenGL ES version 2. The Maps API key for the application. The key confirms that you've registered with the Google Maps service via the Google APIs Console.