Good Afternoon will someone give me an example of how to create sharedpreferences ... I'm in a bad situation where .. I validate the user and password on the server using php via webservice and after validation I need to show the user to their companies registered .... but when I perform the SELECT via web service again returning a json .. it returns me everything that has in the database follows the example.
$result = mysql_query( "SELECT UC, Instalacao, Nome_Logo FROM Tab_UC ") or die('Could not query');
But I need this SELECT to return only the UI, Installation and LoginName of the logged in user and not all registered users ... I need an example to see how it works.