Posts by ruiperes • 99 points
8 posts
-
0
votes2
answers45
viewsA: Arraylist statico returns size 0 when I try to recover it in an Activity
You can do it like this: public class ListaEstaticaDeErros { private ArrayList<DescritorDeErro> listErros = new ArrayList<DescritorDeErro>(); private boolean fimSinc = false; private int…
-
0
votes1
answer102
viewsA: Update image whenever a new one is chosen?
Instead of using the Image path use the bitmap you receive to set the image. private void foto_Completed(object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { // se teve sucesso na…
-
0
votes2
answers75
viewsA: Can I access a Web Api from Windows Phone?
Are you using localhost? You can’t even test for the emulator. You have to exchange localhost for the host IP.
-
2
votes1
answer55
viewsA: Using Facebook Login on Windows Phone 8.1
To call facebook app can do so: string url = string.Format("fbconnect://authorize?client_id={0}&scope={1}&redirect_uri=msft-{2}:authorizeByFacebook", ConfigConstants.FacebookAppID(),…
-
1
votes1
answer68
viewsA: How to download a simple text file?
You can do it like this: private async Task<string> DownloadAndReadFile(string url) { HttpClient client = new HttpClient(); return await client.GetStringAsync(url); }…
-
1
votes1
answer27
viewsA: App published for Windows Phone does not install on handsets
I’ve been there, the best thing you can do is re-create a new packeged with Build in Release and the Platform with ARM and then re-publish.
-
-1
votes2
answers106
viewsA: Windows Phone 8.1 Saving Toggleswitch Status
The best thing would be to pass the statusToggles(); to the Loaded page.
-
3
votes1
answer213
viewsA: Select City and Status [Filter]
The simplest way is when there’s a selectionChanged at first listPicker change the source of the second listpicker.