Questions tagged as 'android'

1
answer

TextView does not center on android 4.1.1 [duplicate]

I have a problem in my layout , in API 16 (4.1.1) the TextView is not centered. I'm using ConstraintLayout . The properties in XML look like this: <TextView android:id="@+id/txv_textomeio" android:layout_...
asked by 26.08.2017 / 16:59
1
answer

OnItemClickListener to open an activity

I'm having the following problem, I'm using a list view and a search view, and when I click on an item, I'd like to open an activity and display a toast. So far so good, when I search and click on item 2 instead of opening activity "2" from id "...
asked by 25.08.2017 / 22:40
1
answer

Event Redirection Offline Offline HTML5

How do I identify if the HTML5 app identifies and redirects if it's offline or online? Ex: When you open the app if you are without internet it loads a warning html and if online it redirects to a website. I found this code but I do not kn...
asked by 26.09.2017 / 15:38
1
answer

I have the following error in the volley "jsonexception: end of input at char 0"

Sending the request the server behaves with no error, but on the side of the response it generates the following error "com.android.volley.volleyerror java.lang.runtimeException: bad url." I'm using Android studio, WebView and Volley. MainAct...
asked by 21.08.2017 / 15:59
1
answer

Questions Spring Boot Web App - Android

A few weeks ago I finished the project of a web system that does basic cruds, I used Java, Maven, Spring Boot, Hibernate, Bootstrap + Thymeleaf pro frontend, etc ... And I deployed to Heroku using the bank of PostgreSQL Data Now I'm starting...
asked by 21.08.2017 / 20:22
1
answer

How to define a data structure in Json, with the name of the object at the top of the structure?

I'm working on json and I really need to get this structure: { "Identidade": [ { "numero": 1704, "numeroFinal": 1804, "id": 28 }, { "numero": 1806, "numeroFinal": 1905, "id": 28 }, { "numero...
asked by 19.09.2017 / 12:38
1
answer

Error while trying to run android emulator without android studio

I installed android studio and studied how to use avd without the need of android studio, I learned how to make the machines via the command line and worked perfectly, but when I went on another machine and downloaded the sdk and executed the sa...
asked by 20.09.2017 / 19:22
1
answer

Text does not appear in the application land / activity.main in Android Studio 2.2.2 [closed]

I'm developing an application in the land version of android land / activity.main and I put an image, and two texts one with the name Donald Knuth and another one a text but when running the mobile application it only appears the image and the n...
asked by 12.08.2017 / 21:54
1
answer

AsyncTask compare 2 jsons

I'm trying to make it popular with my list view with a json, it checks the information of another json and returns me a link in which I'll use it to fill in photos, but everything happens right with you setar the link in a class but in th...
asked by 11.08.2017 / 14:22
1
answer

Run the gif during the webview load

Good night, I want to put a gif that appears until the page in webview is loaded completely ... the gif already has, I put a compile and I got the github code, my problem is that I am not able to run the gif before the web view. My plan is as...
asked by 11.09.2017 / 02:21