Questions tagged as 'android'

1
answer

How to print content from a webview in android studio

Good afternoon, I'm trying to print the contents of a webview in android on a mini bluetoo printer but I have not been able to do it, this is what I have loaded the web but I need to print what it loads. @Override protected void onCreate(Bundl...
asked by 07.09.2018 / 20:23
1
answer

How do I create this type of AlertDialog on android?

I am new to Android programming and I would like to know how to create these types of alerts with the title in blue plus the line of underline since those that I have tried make them different to this style.     
asked by 05.09.2018 / 21:07
1
answer

Android Studio Google preconditions

I'm starting in Android studio making small applications and trying new things. Until last night, Android Studio worked correctly and I did not have any problem, but today, when I turn on my computer and want to open my project it shows me the f...
asked by 07.09.2018 / 14:32
1
answer

The data in my ListView is not refreshed until I press my EditText

I hope you can help me, you will see I have a hamburger menu which loads in its main activity a FRAGMENT with a LISTVIEW and an EDIT TEXT (to search the list), When it starts it fills up normally and shows the info ok, BUT when in the side menu...
asked by 06.09.2018 / 22:20
1
answer

Place ImageView with ProgressBar on the edge of a RelativeLayout

I need to place the ImageView (it has a ProgressBar above) at the end of the RelativeLayout (above the edge). I have managed to do it with a FloatingActionButton but, apparently the ImageView behaves differentl...
asked by 10.09.2018 / 19:18
0
answers

In an activity that implements the httpd class to listen to http requests How to modify an element of your layout when receiving a request?

I have a problem that I can not solve and it is as follows: In the application I use SugarORM for data persistence and the Httpd Class to implement an http server that listens to requests that will modify the data of the application. Eleme...
asked by 10.09.2018 / 20:20
0
answers

Add more fields of the Database

I have a model app that I downloaded to consult the SQLite database that shows me the Name and Address columns, everything works perfectly but I would like the Phone column to show me, I tried to modify the code but the problem is that when I ad...
asked by 05.09.2018 / 01:19
2
answers

Change DatePickerDialog format: "d-m-yyyy" to "dd-mm-yyyy"

I want that when selecting a date for the calendar I return the format of two digits in the day and month (dd-mm-yyyy) but it only returns me one (d-m-yyyy) Could someone with this, I leave the code that I am implementing Calendar calendar...
asked by 03.09.2018 / 06:39
0
answers

My project does not recognize the R class in Android Studio

My project does not recognize the R class, I have searched for some videos and they are old and they do not work for me. Then I'll leave a photo of the error: If anyone knows any solution, it would be very helpful, Thanks in advance.  ...
asked by 02.09.2018 / 23:37
1
answer

How to get the grandchildren from a list of children of a parent node in Firebase?

I am currently working with Firebase and Android. I am trying to make a rating system for a list of restaurants but I have found a detail, I do not know how I can get the grandchildren from a list of children of a parent node and then take the a...
asked by 02.09.2018 / 17:10