Questions tagged as 'android'

1
answer

My application is closing when starting the screen with database

My activity with the database has a problem, because I created class right and Android Studio is not showing any errors, but when I run it on the mobile when opening activity that has the bank of data it closes. Would any...
asked by 05.10.2016 / 03:34
1
answer

QRCODE reader android

Well, I need to put a qrcode reader in my android app, can anyone give me a hint? I do not want it to open another app, I want it to be inside the app itself     
asked by 18.03.2018 / 02:17
1
answer

Conflict onFling with onSingleTapUp in GestureDetector

I have an application running on Android with a GridView (grid). In this grid I need to detect several events and so I'm using a gesture detector. However, clicking a grid item sometimes causes the onFling event instead of onSingleT...
asked by 24.05.2016 / 15:18
1
answer

Error of passing param paramenter from an Activity to a PageAdpter

Good evening, I have an Activity Class that generates an Array String, I need to pass this array to another Class but this class is a PageAdapter. What I need to do is take the FileArray variable from Activity and send it to PageAdapter....
asked by 10.05.2016 / 00:46
2
answers

How to select a database blob and transform into bitmap?

I have the following error in my project, I select an image from the gallery I transform it into a byte in the database, but at the moment of loading it to imageView it does not appear and not from the error in the application, I'm not touching...
asked by 15.10.2016 / 00:59
1
answer

How to get the ListView ArrayList?

I have a screen in my application with various fields, spinners and a listview, one of the spinner's is products. When I select a product in the spinner and click on a button called add, the application populates this listview with the id, name,...
asked by 12.05.2016 / 14:27
2
answers

Firebase cloud messaging - Benefits [closed]

In addition to being able to work with messages, push notifications; What advantages do you see in FCM? I'm talking about resources that really matter and help developers, not just the FCM N features.     
asked by 17.10.2016 / 20:58
1
answer

Working with camera and gallery

I have the following problem, in my application I take a photo and present it in a imageView , but when I take the photo it gets the good quality in the gallery only in imageView no, if it is a text not even to read, lower I'll put...
asked by 21.10.2016 / 02:41
1
answer

Recognize a JSONObject or JSONArray

I'm developing an app that consumes data from a WebService, which can return one or more records at a time. So far I've always been given a JSONArray, I'd "convert" it: JSONArray arrayDados = new JSONArray(dados); However, when I get only o...
asked by 13.07.2016 / 15:07
3
answers

How to use ScrollView + Listview

I'm creating a profile system for users using ListView and RecyclerView and I'm not able to make scroll work. Currently it works like this: WhenIdonotuseScrollView,itjustdoesthescrollofLisViewandthetoppartislocked.WhenIu...
asked by 04.05.2016 / 03:37