Questions tagged as 'android'

1
answer

Creating an Android Studio datepicker

I want to create a datepicker as shown below. ButwhenIcreateone,itstaysthatway. But when I use some example that creates one according to the first image, it ends up being the same as the second image. I want to create the datepicker...
asked by 16.11.2015 / 04:23
1
answer

How to change the Activity when clicking on an option in the AlertDialog menu?

I have the following problem, I have a method that is called, when the person clicks a button, and SAVE, (onLongClickListener) will appear an alert with several options. 1st Option is Cancel the Table, 2nd View requests, and 3rd Call another act...
asked by 02.12.2015 / 21:25
1
answer

Android not finding class inside a Jar. What to do?

This is the error: java.lang.ClassNotFoundException: br.org.projeto.precos.bean.Lista where "br.org.project.precos.bean.list" is the Jar of which I'm trying to use a class. I've imported everything right, I put it in the libs folder, i...
asked by 06.07.2015 / 21:07
1
answer

java.lang.NullPointerException: Attempt to read from field 'java.lang.String

I'm trying to implement a stack (database), the problem is that I'm not able to send my data to the other Activity's in my application, so when I open another activity to check if the data is there, it I want to be able to access the data in my...
asked by 28.03.2016 / 03:06
1
answer

EditText Android Studio

I have the following EditText: <EditText android:layout_width = "match_parent" android:layout_height = "wrap_content" android:id = "@+id/textSenha" android:layout_marginTop="40dp" android:hint = "@string/senha" andro...
asked by 06.10.2015 / 00:24
1
answer

Multiple errors compiling in Android Studio [closed]

I created a project in Android Studio (yes, the Rotate the device). I finished the main screen and created the action for the Root button. After I created a "Welcome" screen, several errors appeared. One of these are these;    Error: (23, 10)...
asked by 27.09.2015 / 04:16
1
answer

Try to call FACEBOOK

The following is this trigger an attempt and the same call the Facebook app. I was able to send email Intent sendIntent = new Intent(Intent.ACTION_VIEW); sendIntent.setType("plain/text"); sendIntent.setData(Uri.parse("[email protected]")); sendIn...
asked by 11.12.2015 / 09:58
1
answer

Put invisible item and another stay in place

I have a RadioGroup and a button underneath it, but this button is invisible until a certain moment, how can I make RadioGroup fill in the blank while the button is invisible?     
asked by 12.05.2015 / 00:19
1
answer

Background image of the activity distorts when you open the keyboard

I'm developing an application in which it has a background image of the image. But every time I open the virtual keyboard to fill a field, that image flattens. How do I prevent this from happening?     
asked by 15.05.2015 / 05:06
1
answer

Error handling in the Google maps Android API

I am making a register of people with address to show on the map where a person lives. When I type the correct address everything works normally, but when I get the error, which is not valid for Google Maps , the app closes. @Override public...
asked by 15.05.2015 / 14:37