Posts by Osvaldo César • 15 points
4 posts
-
1
votes3
answers9575
viewsQ: Allow only letters, numbers and hyphen
How to validate a php string to contain only letters, numbers and hyphen ( - ) Thank you
-
0
votes0
answers163
viewsQ: Shared Preferences - Error in some cell phones
Is there a reason for an application that uses Shared Preferences to work on only a few phones? Yes, the reason the particular application stops working on some phones is the Shared Preferences. If…
-
0
votes0
answers827
viewsQ: Why does the image get bad quality?
Well, the question is simple, why is the image in low quality? Code: Main class: @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode ==…
-
0
votes1
answer232
viewsQ: Take the name of an item within an array in strings.xml
I have the following array: <array name="Codes"> <item name="Vermelho">e74c3c</item> <item name="Azul">3498db</item> <item name="Rosa">FC14E5</item>…