Questions tagged as 'android'

1
answer

Trigger an event by pressing the 2x volume button?

I would like to trigger an event only by pressing the 2x volume button quickly. I have the following code, but it fires when I press the button once. How do I trigger it only by pressing 2 times at a certain speed? Follow the code: @Over...
asked by 13.06.2017 / 15:01
1
answer

Match functions if

   I have Codes of if and else, but I do not know very well, I will explain what I wanted to do, in my app, if I typed Right, post in api as id - X, if I typed Romance, but it is only posting with either X, or as Y, I believe either error in the...
asked by 13.06.2017 / 21:15
1
answer

Login with facebook Android

I am still studying programming for apps, I am with a doubt that for you should be simple, I created an app and an application Rest the user makes the registration in the app and saved the data in a MySQL database, when the user logs I save his...
asked by 10.06.2017 / 05:38
2
answers

Android Studio - Firebase - Search and edit data

I'm creating an app using Android Studio, which stores customer information in Firebase: I need to create a way to search for these clients by name or CPF, in case something needs to be changed, then I'd like to know if anyone can give a h...
asked by 23.08.2017 / 22:17
0
answers

JAVA - Is there any way to send a print to Windows Spooler?

I would like to know if there is any way to send a print to Windows Spooler via java ... I tried via Socket, PrintWriter and everything else, but I can not send it to Spool, just directly to the printer !!!! >     
asked by 17.08.2017 / 22:00
2
answers

Tools for prototype App mobile [closed]

What do you usually use to prototype a mobile app before its development? Even paper, some tool to draw what would be the screens and their navigations, etc.     
asked by 18.08.2017 / 20:08
0
answers

How does data encryption work in Firebase?

I'm developing an Android messaging application using Firebase and I realized that it will be necessary to protect user data and the messages exchanged by them, because at the moment it is possible to see everything through the Firebase console...
asked by 13.09.2017 / 15:57
0
answers

Change app background in "recent apps"

How to change the background of the application when you click the square button (recent applications)? I already researched and some indicated using onPause and onStart to change the background using getWindow().setFlags(Wind...
asked by 17.04.2017 / 18:33
1
answer

I can not put burger symbol in Navigation Drawer Panel

I'm trying to put a navigation Drawer Panel in my app, but I can not put the burger symbol on my MainActivity . The code I'm using is: public class MainActivity extends AppCompatActivity implements NavigationView.OnNavigat...
asked by 07.08.2017 / 17:13
1
answer

I can not define a vector image as an application icon [duplicate]

As you can see I have correctly added a image.svg so that it acts in a vector way: TheproblemhappenswhenItrytoputitasanapplicationicon: IgoinAndroidManifest.xmlandIusuallychangethelineandroid:icon="@drawable/ic_tree" just like I do w...
asked by 06.02.2017 / 22:10