Posts by Vitor Hugo • 328 points
19 posts
-
0
votes1
answer144
viewsQ: Firebase Authentication with googleAuth
here is the code I am using to log in, the firebase account is configured to receive the login Function signIn() { var Provider = new firebase.auth.Googleauthprovider(); firebase.auth().…
-
0
votes1
answer100
viewsQ: Receiving json from a web server
I am working with firebase, and I am searching the server data with Httpwebrequest, I was able to recover this data in the following way; {"-L1od7ljenm8zhsps7ne":{"Age":"18…
-
1
votes1
answer277
viewsQ: web request and json no c#
I am working with firebase, and I am searching the server data with Httpwebrequest, I was able to recover this data in the following way; {"-L1od7ljenm8zhsps7ne":{"Age":"18…
-
0
votes1
answer379
viewsQ: how to hide a progressBar after given time
I’m using the following code new Thread(new Runnable() { public void run() { while (cont < 100) { cont += 1; try { Thread.sleep(20); } catch (InterruptedException e) { e.printStackTrace(); } }…
-
-2
votes1
answer168
viewsQ: add a listener to editText
how do I make an action be executed, every time the user type some letter in editText, I searched but did not find what wanted, if someone knows at least a hint of how to search already help
-
0
votes2
answers792
viewsA: Check if Registration Exists in BD Sqlite and if there is no Return Message
The way I do this type of task and the next, right after the query I make a comparison to see if the query returned any result, then I take my Cursor and check it, if(cursor.getCount() == 0){…
-
2
votes1
answer2400
viewsA: How do I display the data in an Edittext of an Activity in another Activity?
you have to send the data of one Act and receive them in the other to send you use the putExtra method first parameter is a key and the second the data Intent intent = new…
-
1
votes1
answer84
viewsQ: Problems sending a notification
I’m using the following code to send notification from android and not console public static void pushFCMNotification(String userDeviceIdKey) throws Exception { URL url = new…
-
2
votes2
answers1159
viewsA: Convert string to integer
Your post is a little confused, so what I understood from the code tries this solution: veiculos.AnoFabricacao = int.Parse(txtanofabricacao.Text);
-
2
votes1
answer816
viewsQ: Working with camera and gallery
I am with the following problem, in my application I take a photo and present her in a imageView, but when I take the photo she gets the good quality in the gallery imageView no, if it is a text not…
-
1
votes1
answer373
viewsQ: Working with high quality images in sqlite3
In my application I make the selection of an image from the gallery, then I save it in the bank, but if the image has a high quality the app does not save, besides not saving it to work, has some…
-
0
votes1
answer444
viewsQ: sort the dates in the bank
I’m having the following problem, I can’t sort in ascending order the dates that are saved in the bank, I’m using order by no select but just sort the first two houses until I get to / causing the…
-
2
votes0
answers611
viewsQ: How to save an image in the bank
I want to take the image of imageView save in the bank and make the last saved image back when open the app code to transform the image in byte ByteArrayOutputStream saida = new…
-
1
votes2
answers1178
viewsA: How to use Scrollview and Linearlayout with full screen height?
scrollView is only required if you have a component you want to see that is below the screen, in your case you don’t need scrollView pq the listview component itself already creates a scrolling…
-
2
votes2
answers607
viewsQ: How to select a database blob and transform into bitmap?
I have the following error in my project, I select an image of the gallery turn it into byte register in the database, but at the moment of loading it to imageView it does not appear and not the…
-
0
votes1
answer657
viewsQ: import image from gallery - android
Eai personal, I need help with my application, I have q select an image from the gallery, make it appear in an imageView and save it in the database(sqlite), so q the person can exit the application…
-
0
votes0
answers111
viewsQ: keep the data in a variable of the first Act after returning from the second Act by the up button
I have the following problem , I have a list view in act1 q depends on a variable to be loaded, when I finish my act2 or go back by the back button of android (bottom button) the value of the…
-
3
votes2
answers1006
viewsQ: How to reload an Activity
I have the following problem, in my application I have a ListView in act 1, and register with the act 2, but when I finish the registration I also finalize the act 2, with this return to act 1, the…
-
0
votes2
answers602
viewsQ: Listview with two lines
in android studio in the component I found the following Twolinelistitem, by the name I figured I could put two lines of text without needing to create a custom xml, someone knows if it is possible…
androidasked Vitor Hugo 328