Questions tagged as 'android'

0
answers

How to add an event to handle the click on a GridView row? [closed]

How can I handle the click event in a row in an android gridview?     
asked by 10.10.2016 / 17:36
1
answer

Activate an event when it is on the move

I have ImageView moving on the screen, I need to execute an animation when it is touched by the user, however image.setOnClickListener and also image.onTouchListener are not being activated when the image is clicked. res...
asked by 06.10.2016 / 06:15
0
answers

How to take the picture taken from the camera, not the camera preview

Good afternoon guys, I'm using this multiplatform camera project of the xamarin. In the Android part, I'm not getting maximum in the photo, I'm using this function: System.Collections.Generic.IList<Android.Hardware.Camera.Size> size...
asked by 19.08.2016 / 21:58
2
answers

Find simple SQLite data

I want to return only two simple data in TextView using SQLite . I have a common "Products" table and another "Information" temporary table that I use SUM() to add the column of the first table. DBHelper : public Li...
asked by 15.07.2016 / 17:42
2
answers

Public with 2 variables does not return value

I have 3 publics that should return a calculation value for me to display on the Activity screen. The first, volume_agua_mehta() , returns normally, but the second, massa_brita_mehta() , and the third, agua_material_cimentício_meh...
asked by 20.01.2017 / 16:20
1
answer

How to generate an APK without DEBUG in IntelliJ IDEA?

I just migrated my Eclipse projects to IntelliJ IDEA (it's the same as AndroidStudio uses, but with some minor differences). However every time I click Build > Build Apk it generates an APK with "debug enabled". What I've been rea...
asked by 19.07.2016 / 17:16
0
answers

Display button when scrolling ListView item

I need to make two buttons appear when I slide an item from ListView to the left. I even managed to do that, but it's pretty ugly. I would like them to appear as if they are being pulled from the right corner of the screen, same in the Gm...
asked by 22.07.2016 / 19:45
1
answer

Android json utf8

Good afternoon! I have a class that imports json data, but some characters are not recognized, I have to apply utf8 on them but I am not getting below the function that imports the data. public void carregarCategorias() { JsonArrayRequest...
asked by 08.07.2016 / 21:06
1
answer

How to get latitude and longitude without internet on Android? [duplicate]

How do I get the latitude and longitude in Java to Android without using the internet, only with GPS. I think there is some way to do it, because the "Maps" application of Android does not use the internet. If anyone knows...
asked by 16.04.2014 / 17:29
2
answers

Update ListView from a SortGroupGroup

I'm trying to update a ListView populated with database data from a sort of RadioGroup . Here are my codes: private List<ApplicationInfo> mAppList; private SimpleCursorAdapter adptLivros; private SwipeMenuListView lv_Livr...
asked by 08.07.2016 / 06:01