Questions tagged as 'android'

1
answer

How to create a system to list the most popular images in my application

I want to put together a system to display the most popular images in my application. Today I've ready these images in a simple but efficient way: the folders become categories and ready the images from inside the folder. Then the application re...
asked by 30.01.2015 / 11:43
1
answer

Get database ID when selecting option in spinner?

Generally I get the ID of a selected / clicked object with onItemClickListener , but it does not work with Spinner . I've tried it this way: spn.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { @Override...
asked by 30.01.2015 / 02:39
1
answer

How to maintain screen orientation?

I would like to know the equivalent Java code for this command: android:configChanges="orientation" Justification: I'm creating an app with the NavigationDrawer Layout, and I need to make certain settings (or all screens) when the us...
asked by 02.12.2014 / 12:56
1
answer

How to have only one adapter for multiple Activity?

I would like to know if in some way it is recommended to have an adapter for each Activity . I know what to do with an Adapter for every Activity is quiet. Now how to make a generic Adapter , would it? Would you be following the...
asked by 02.12.2014 / 00:11
1
answer

What is the name of this screen on android?

I'd like to know the name of this screen on Android to add to my project. I appreciate it right away.     
asked by 01.12.2014 / 20:55
1
answer

View notification every day

I want to show a notification every day at the same time, I was able to show a notification at a time, but when it arrives at the same time again it does not appear MyActivity Calendar cal = Calendar.getInstance(); Date data1 = cal.getT...
asked by 14.01.2015 / 23:11
1
answer

Best score with unity-android playerprefs

Hello. I did a normal best score system in unity (when score > playerprefs, it will set the text of the textmesh). On the computer it worked, but when I step to Android the bestscore gets 0 Someone would know what iss is     
asked by 11.01.2015 / 13:13
1
answer

Group TextViews and then access them

Example: I have 3 TextViews and its id's : TextView tv1 -> id: "um" TextView tv2 -> id: "dois" TextView tv3 -> id: "tres" I would like to group them in some way that can access them through the group, eg: ViewGrou...
asked by 13.01.2015 / 00:08
1
answer

Bar code of a consumer account

When I pay for a consumer account (water, electricity, telephone), the bank shows me the operator's name, value, etc. How do I know what exactly these fields are and how (some library) could read them and get the name of the operator and what...
asked by 18.03.2015 / 18:40
1
answer

Mount list with files in different folders on android

Can anyone give me an idea of how to assemble a list, such as items that are within separate grazing? Example: folder1: files1 and files2 folder2: files3 and files4 the list would look like: files1 files2 files3 files4 The list I have...
asked by 07.10.2014 / 18:29