Questions tagged as 'android'

0
answers

How to get the attributes of another object with OrmLite in android?

I am working with OrmLite on android, I can obtain the attributes of my Debtor object with this code, but if I access the Debt object from Debtor, it returns null the attributes. On the other hand, if I access directly from the Debt object if th...
asked by 02.03.2018 / 16:48
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 / 13:50
0
answers

I get an IOException to use nominatim.openstreetmap

I am developing an Android application where I use OpenStreetMap. through my location, I try to get the street address by sending coordinates to nominatim , but I end up receiving an "IOException: error 403" in the ImputStream. Also, if there i...
asked by 23.02.2018 / 05:16
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 28.02.2018 / 23:54
0
answers

How to add fragments in order within an activity with a button?

This is the query I have, I have a ContainerActivity that contains an initial fragment, my RelevamientoFragment which is this screen In the floating button to add that they see the image, I have a case that opens another fragment, in this...
asked by 22.02.2018 / 01:57
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 21.02.2018 / 23:13
2
answers

Get Android application version?

I have the name of my application in strings.xml of the folder res/values : <string name="app_name">Liturgia+</string> I would like to change that value, adding the current version of the app. Assuming the current v...
asked by 25.10.2017 / 12:45
0
answers

Execution failed for task ': app: generateDebugBuildConfig'

When trying to create a new project with Android Studio. I could do the typical "Hello World". But now when I try to do the 2nd program I get this error.    Execution failed for task ': app: generateDebugBuildConfig': I've tried with p...
asked by 21.02.2018 / 11:40
1
answer

get the time and minutes of a TimePickerDialog on frgaments android

Does anyone know how to get the Time and the minute of a TimePickerDialog? I have two buttons in a fragment, one that triggers a DataPickerDialog from which I get the date very well and a button that launches a TimePickerDialog but gives me an e...
asked by 23.02.2018 / 04:34
0
answers

Error creating a FrameLayout to play videos in WebView full screen

I created a webview to view a website with YouTube videos linked to it. However, these can not be viewed in full screen. In this previous question , where I asked about how to make such a solution, they responded with a Framelayout. The prob...
asked by 23.02.2018 / 00:59