Questions tagged as 'android-studio'

0
answers

Android class diagram (uml)

I want to generate the uml diagram of an android app. I added the plugin SimpleUML and generated the uml from Android studio, but the classes are not related. Is there any way for them to come out already related?     
asked by 25.02.2018 / 16:36
1
answer

Blocked button

I would like to know how I can do on android a button that says accept and another to buy and that its function is that for example I enter certain amounts in a form and first I must click on accept, if I click on the buy button I just have to t...
asked by 25.02.2018 / 19:38
1
answer

Error in Android from a Login (MainActivity) to an AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener, IFragments

I am trying to move from my MainActivity, which is my Login to a window that contains a list of different fragments, but when I enter my data in the Login and I give the "Enter" button, it launches the other activity and the application is close...
asked by 24.02.2018 / 14:50
1
answer

Problem with Navigation Drawer (query)

I'm getting into Android Studio and I need to get a question out. On the one hand I have a Activity that within you has 2 fragment ( Data and Details ) where the 2nd reacts depending on what is selected in the first...
asked by 21.02.2018 / 17:25
0
answers

Insert WebP image in AndroidStudio

I am creating an Android app and I would like to know if I am correctly using the insertion of images in WebP format inside a CardView. Is it correct to save the image within resources / drawable and enter it directly in an ImageView referrin...
asked by 01.03.2018 / 00:54
0
answers

Run Method for a period of time

My goal is that given a time by the user, in that time the phone vibrates for all calls. This last thing to do, what I do not know how to do is to run for a certain period of time, for example from 6:00 a.m. to 11:00 a.m., then at 11:01 a.m. to...
asked by 22.02.2018 / 00:13
0
answers

How can I compare coordinates in android studio?

I want to compare my real location with a separate marker and that you can send me to another intent, this is my code package com.voxpop.voxpop.myapplication; import android.Manifest; import android.content.Intent; import android.content.pm.P...
asked by 22.02.2018 / 00:41
0
answers

X data colors in Barchart?

How to show the description of the data next to the colors that are marked in the image below? Bookstore: link     
asked by 20.02.2018 / 14:26
3
answers

Request the time in an AlertDialog

What I want is to have an EditText that when pressed will display a dialog in which you choose the hour and the minutes. The dialog box comes up, but when I click on the accept option I get the classic "Unfortunately the app stopped" ... This...
asked by 19.02.2018 / 00:14
0
answers

How to pass data from a fragment to an Activity to send them in an email on Android?

You see, I have a MainActivity that a function that sends an email with the data of a fragment. In this my Fragment are inputs in which data is loaded. Now, in that same fragment there is a button "New data" that opens the same fragment b...
asked by 17.02.2018 / 20:41