forked from vinaygaba/Ultimate-String-Array-List
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added List of app categories from Google play store
Fixed issue Country with telephonice codes.xml vinaygaba#10 in README file
- Loading branch information
1 parent
47238c4
commit 0e090f7
Showing
2 changed files
with
58 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,53 @@ | ||
<string-array name="app_categories"> | ||
<item>Art & Design</item> | ||
<item>Auto & Vehicles</item> | ||
<item>Beauty</item> | ||
<item>Beauty</item> | ||
<item>Book & Reference</item> | ||
<item>Busines</item> | ||
<item>Comics</item> | ||
<item>Communication</item> | ||
<item>Dating</item> | ||
<item>Education</item> | ||
<item>Entertainment</item> | ||
<item>Events</item> | ||
<item>Finance</item> | ||
<item>Food & Drink</item> | ||
<item>Health & Fitness</item> | ||
<item>House & Home</item> | ||
<item>Libraries & Demo</item> | ||
<item>Lifestyle</item> | ||
<item>Maps & Navigation</item> | ||
<item>Medical</item> | ||
<item>Music & Audio</item> | ||
<item>News & Magazines</item> | ||
<item>Parenting</item> | ||
<item>Personalization</item> | ||
<item>Photography</item> | ||
<item>Productivity</item> | ||
<item>Shopping</item> | ||
<item>Social</item> | ||
<item>Sports</item> | ||
<item>Tools</item> | ||
<item>Travel & Local</item> | ||
<item>Video Players & Editors</item> | ||
<item>Weather</item> | ||
<item>Action</item> | ||
<item>Adventure</item> | ||
<item>Arcade</item> | ||
<item>Board</item> | ||
<item>Card</item> | ||
<item>Casino</item> | ||
<item>Casual</item> | ||
<item>Educational</item> | ||
<item>Music</item> | ||
<item>Puzzle</item> | ||
<item>Racing</item> | ||
<item>Role Playing</item> | ||
<item>Simulation</item> | ||
<item>Sports Games</item> | ||
<item>Strategy</item> | ||
<item>Trivia</item> | ||
<item>Word</item> | ||
|
||
</string-array> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,11 +22,11 @@ Name|Description | |
[China Province Codes.xml](/Country%20Lists/China/China%20Province%20Codes.xml)| List of codes of provinces in China | ||
[China Provinces.xml](/Country%20Lists/China/China%20Provinces.xml)| List of provinces in China | ||
[Countries.xml](/Countries.xml)| List of all countries in the world | ||
[Country with telephonice codes.xml](/Country%20with%20telephonice%20codes.xml)| List of countries with their telephone codes. | ||
[Credit Card Networks.xml](/Credit%20Card%20Networks.xml)| List of credit card networks | ||
[Country telephone and iso codes.xml](/Country%20telephone%20and%20iso%20codes.xml)| List of countries with their telephone codes. | ||
[Credit Card Companies.xml](/Credit%20Card%20Companies.xml)| List of credit card networks | ||
[Cuisine.xml](/Cuisine.xml)| List of the different types of cuisines that people eat | ||
[Days of Month.xml](/Days%20of%20Month.xml)| List of days possible in a month | ||
[EPL Clubs.xml](/EPL%20Clubs.xml)| List of EPL Clubs(Season 14-15) | ||
[EPL Clubs.xml](/EPL%20Clubs.xml)| List of EPL Clubs(Season 22-23) | ||
[Gender.xml](/Gender.xml)| List of the possible gender options | ||
[Genre.xml](/Genre.xml)| List of the different genres of music | ||
[India Banks.xml](/Country%20Lists/India/India%20Banks.xml)| List of all the banks running in India | ||
|
@@ -40,8 +40,8 @@ Name|Description | |
[Olympic Sports.xml](/Olympic%20Sports.xml)| List of the different sports being played in 2016 Olympics | ||
[Seasons.xml](/Seasons.xml)| List of the possible season of a year | ||
[Sex.xml](/Sex.xml)| List of different sex categories (You have a disgusting mind :smile:) | ||
[US State Codes.xml](/US%20State%20Codes.xml)| List of codes of States in the US | ||
[US States.xml](/US%20States.xml)| List of States in the US | ||
[US State Codes.xml](/Country%20Lists/USA/US%20State%20Codes.xml)| List of codes of States in the US | ||
[US States.xml](/Country%20Lists/USA/US%20States.xml)| List of States in the US | ||
[Weather.xml](/Weather.xml)| List of different weather conditions | ||
[Years.xml](/Years.xml)| List of years from 1900 to 2050 | ||
|
||
|
@@ -63,7 +63,6 @@ Copy the string array you want to use and place it in the `res/values/some_file_ | |
</string-array> | ||
</resources> | ||
``` | ||
|
||
Now to access this programmatically, we can do this: | ||
|
||
```java | ||
|
@@ -90,21 +89,19 @@ for(int i=0;i<us_state_codes.length();i++){ | |
} | ||
|
||
``` | ||
|
||
As you can see, this is a really flexible way to access data and can be used in various scenarios. | ||
|
||
**Note: This is extremely basic stuff but I wanted to show these examples for people who have not worked with string-arrays before.** | ||
|
||
Contributing | ||
----------------- | ||
|
||
Please use the issue tracker to report any discrepancies in the data or any string-arrays you would like to see. | ||
|
||
For contributions to this repo, fell free to send a pull request. | ||
|
||
|
||
Credits | ||
----------------- | ||
|
||
Author: Vinay Gaba ([email protected]) | ||
|
||
<a href="https://plus.google.com/+Vinaygaba"> | ||
|
@@ -120,10 +117,11 @@ Author: Vinay Gaba ([email protected]) | |
src="https://github.com/gabrielemariotti/cardslib/raw/master/demo/images/linkedin.png" /> | ||
</a> | ||
|
||
|
||
License | ||
------- | ||
|
||
Copyright 2015 Vinay Gaba | ||
Copyright 2015 Vinay Gaba | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|