Questions tagged as 'android-studio'

0
answers

Android Studio failed to compile with Xiaomi

I'm making an application with a Navigation Drawer image: link and I wanted to make it through clicking on the top image of the browser (where is the android image) that the Fragment document of the profile was opened (image where the profile...
asked by 27.01.2018 / 03:21
0
answers

How to avoid the loss of information of an activity when I go to another activity or I put the back button?

Good afternoon friends. I have the following problem, I am making a simple application in which it is basically a counter, I have a textview and 2 buttons, one to add and another to subtract the value that is in textview but it hap...
asked by 26.01.2018 / 22:36
2
answers

How do I clean the cache of an Android application by code?

I am developing an android application on a catalog, the images I load with Glide, but there is a problem, and that is that the images can be updated from an admin of a web page, and when I updated it in the application, it follows me appearing...
asked by 29.01.2018 / 18:43
1
answer

Android 6.0 closes app when trying to open camera

by hitting on allow throws me: 1.- There are devices that send me Superposition of the screen, which I do not want. How to solve this? 2 .- In other devices Samsung definitely closed when you open camera, Eye! I can not de...
asked by 23.01.2018 / 08:10
1
answer

how to trim the area inside the rectangle in the preview of the camera

Hi, I have days trying to solve the following issue. In the application that I am currently developing, I must cut the area inside the rectangle that I show in the perview of the camera as shown below. What do I have? the prev...
asked by 14.01.2018 / 16:29
1
answer

Query data in a table in a database of a host service using Retrofit (Android)

I am looking for a way to consult data in a table of a BBDD hosted in a host service by retrofit from android Studio. The problem is that to enter and view the data directly with phpMyAdmin from the host service I need:     1. Put my user...
asked by 13.01.2018 / 04:22
1
answer

can not be @Required or @NotNull

When using version 4.3.3 of REALM for android development I get the following error: Error:Field "groupName" with type "pizware.evaluapp.Models.Group" cannot be @Required or @NotNull. but I do not use any of those labe...
asked by 01.02.2018 / 02:29
1
answer

Upload an image in HTML

You see, I'm doing a program in which you have to show, through HTML code, a message (the classic "Hello World") and a sprite ("smile.png" I've called it). XML Code: <?xml version="1.0" encoding="utf-8"?> <WebView xmlns:android="ht...
asked by 01.02.2018 / 22:46
0
answers

Limits between circles

I have 2 circles, one drawn in the center of the screen and one that I move. What I want to do is that the circles do not overlap when I move one over another. I managed to do something similar but it is horrible, I wanted to know if there is a...
asked by 25.02.2018 / 20:43
0
answers

Search in Google Maps API Android

I am creating an application that uses Google Maps, I have implemented a search box, the problem is that when doing the search, it is done all over the world. What I want to do is that this search is limited only to my city where the application...
asked by 27.12.2017 / 21:42