Questions tagged as 'android'

5
answers

One component on top of the other

I have a problem that I do not think how to solve it, I have an activity like in the picture below, the problem is, that when I emulate the application, the Button and the textView go under the two colored LinearLayouts (blue and green). Iwo...
asked by 23.06.2016 / 22:54
1
answer

Error: in Builder can not be applied

I'm developing a simple calculator. I'm doing a check if one of the fields is null open an AlertDialog, but I have the Error in Builder can not be applied, in this of AlertDialog.Builder. Can someone help me solve it? //Declarações de Variávei...
asked by 20.07.2016 / 03:31
1
answer

Type of android keyboard, text and number

How can I make the android keyboard have two types, in case I wanted numbers and letters. I tried using android:inputType , but it did not work. Is there a way to resolve this? Thank you. RESOLVED Looking further into the proble...
asked by 23.11.2015 / 13:55
2
answers

What is the best way to create a mobile application that communicates with a Webserver?

I'm developing a mobile application that should contain the same site content, and the same database ( MySQL mobile application. I believe that creating a direct connection from the mobile mobile to the remote database would be a securi...
asked by 01.12.2015 / 17:52
1
answer

Alert Dialog with custom Gif image

I would like to know how to create a custom Alert Dialog where you have an ImageView containing a GIF. In my Main. imgAndroid = (Button) findViewByid (R.id.imagandroid); imgAndroid.setBackgroundResource (R.drawable.imagee); anime = (Anima...
asked by 28.12.2016 / 19:31
1
answer

Which library do I use to send notifications?

Hello, I'm developing an app where patients have left it in the background or even open, and when the patient's time comes, the office sends a notification saying that it's his time. Do you have any specific library for this? I'm very new to and...
asked by 28.12.2016 / 19:40
3
answers

Create TextView's dynamically

I have TextView and would like instead of filling with a Arraylist , with all items in its setText , that it be created several times on the screen, with the respective items of this array, in each setText of each T...
asked by 19.12.2016 / 13:55
2
answers

Service versus BroadcastReceiver

What's the difference, on Android, between Service and BroadcastReceiver? How long can a Service run (running)? How long can a BroadcastReceiver run (running)? Can I create notifications via BroadcastReceiver or just via Service? Is it...
asked by 07.04.2016 / 17:19
1
answer

Stop notification (ringtone)

I have an Android application that wakes up with the standard notification system ringtone. The problem is that when it clicks the notification the alarm does not stop. I use a class for notification and one with BroadcastReceiver public cl...
asked by 31.12.2015 / 11:00
1
answer

How to pass the value of the EditText from a Fragment to the TextView of another Fragment?

I have a fragment containing an EditText in which the user will enter his name. In another fragment is the TextView that will receive the name entered in the previous fragment. Fragment Edit (where the user will type the name): pub...
asked by 14.04.2015 / 20:01