Questions tagged as 'android'

2
answers

Attribute _id and id in Database

When creating a database either externally or using java code, we must create an attribute Primary key Autoincrement called _id . With which, if I have in my relational database a id_producto in a table called Pr...
asked by 09.11.2016 / 13:31
2
answers

Listview with an icon and text

I have a Listview that brings me a text field from a Web server and shows it in the respective 'listview now the issue is that I want to add an icon plus the text to the lisview, but we must consider that the icon will be added as long...
asked by 23.12.2016 / 21:19
2
answers

Android: CoordinatorLayout problem with GridView

Inside a CoordinatorLayout I have a GridView, the problem I have is that only the first two images of the GridView are seen and the rest are not anymore, I hope and they can help me. <?xml version="1.0" encoding="utf-8"?> <android.su...
asked by 13.12.2016 / 01:01
1
answer

Json does not bring all the results

good morning I'm doing an application with Android Studio 3.0.1 with a mysql database and at the time of the query it returns me a json and at the moment of that comes to the app returns me    ["2", "Example2", "Author2", "Editorial2", "F...
asked by 11.04.2018 / 07:37
2
answers

Go to String content of an EditText

I am trying to compare the text of a label with that written in a text field, in Android Studio, specifically a TextView and an EditText, I explain: if (etInfinitivo.getText().toString().equals(tvVTE.getText().toString())) { tv...
asked by 13.04.2018 / 18:45
2
answers

How to change the height of my layout programmatically?

I have a little doubt .. I am setting up an item_layout for the cells of a list .. There is a way to handle the height of the cells, according to the data that they load ... I'm using PercentRelativeLayout oidit; oidit = (PercentRelativeLayou...
asked by 22.10.2018 / 17:39
3
answers

Generate apk cordova

When I generate the apk with cordova I add the android platform cordova platform add android then I build the application cordova build android The application is generated. But how do I know if I'm taking sdk (if I install sev...
asked by 26.02.2018 / 17:42
1
answer

How can I eliminate the line breaks generated by a String?

This would be the code that gives me the line break. miString = miString.replaceFirst("texto a reemplazar", ""); miString = misString.trim(); What happens to me is that when I save it in the .txt it generates that annoying line break. I nee...
asked by 28.08.2018 / 23:49
1
answer

Maps Android Studio is not displayed when the app is downloaded from play store

I'm having a problem showing google maps in my app, before the map was shown correctly, the marker with the requested approach, when I emulate my project in the emulator or I do it on my cell phone through cable, the map will be shows correctly,...
asked by 01.02.2018 / 18:21
1
answer

Material Design Toolbar to save content

I want to generate the following toolbar following the guidelines of Material Design on the left that shows the X , the title and on the right a button Save Starting with the template that is autogenerated by Android-S...
asked by 06.02.2018 / 15:37