Questions tagged as 'android'

1
answer

how to put sound effect when clicking the button

I made the <ImageButton android:layout_width="178dp" android:layout_height="150dp" android:onClick="clickMyamarela" android:id="@+id/button1" android:src="@drawable/botao_amarelo" android:background="@drawable/baamar...
asked by 15.05.2016 / 17:20
2
answers

List my app in the list of programs that can open a document

When we receive an email with an attached file and click on this file it is shown a list of programs that can open this file. How do I make my app appear on this list too? I'm sorry, I'm new to the tool and did not see the answer. I changed...
asked by 09.01.2017 / 14:55
1
answer

Which event shows whether the android keyboard is active or not?

There is some event or method that shows if the keyboard is active on the android screen, as I need to do this check in a Fragment.     
asked by 04.11.2015 / 18:40
2
answers

Hide the WebView address bar

As I needed to develop an application of type WebApp , I followed a tutorial and I was successful (the tutorial used IDE Android Studio 1.0.2). The application works satisfactorily, but there is one detail I know this type of application s...
asked by 05.11.2015 / 22:03
1
answer

Qt Java - Get gallery image

I'm trying to get an image from the gallery of Android using Qt. I've already called intent of Java using a arquivo Java , but I do not know how to return the value to Qt. I have a class that calls a method in the Java file...
asked by 26.11.2015 / 17:43
1
answer

How to continue selecting after onItemLongClick?

I have a listView , which has a onItemLongClick method that when clicked selects the clicked item. I would like to know how to continue selecting with just one click. If someone can post an example, I would appreciate it.     
asked by 25.11.2015 / 15:04
1
answer

Parameter that controls camera brightness on android

I imagine it's some parameter in Camera.getParameters (), but I'm not really sure what to look for. I'm going to try one by one, but if anyone knows which one it's going to save me a lot of time.     
asked by 25.11.2015 / 23:06
1
answer

How do I know if the email was actually sent?

I am using a code for sending e-mail, I call the e-mail service and choose a certain e-mail that is already configured on the mobile phone. It's all working normally, however I want to put an alert after sending this email but I can not displa...
asked by 26.11.2015 / 14:40
1
answer

How do I allow "bind" to "SQLiteStatement" to accept a null value in SQLite?

I decided to use SQLiteStatement because it is faster to insert data into SQLite, but at some point it may be a null value object.getAlchemistry () and in this case an error with the message that the bind is empty. Does anybody know how to solve...
asked by 10.11.2015 / 19:56
1
answer

ksoup2 org.xmlpull.v1.XmlPullParserException:

I'm trying to make a query on the WEB SERVER implemented in PHP in this link . In the web service I have to send a request passing the parameters imei, password, operation . public class cargaColetaDao { private static final String URL =...
asked by 24.11.2015 / 08:45