Questions tagged as 'android'

2
answers

Misaligned images

I'm using the following .xml as the main screen: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_p...
asked by 14.12.2016 / 18:53
1
answer

Two databases in an Android application

I have an Android application and it works with an internal database. Now I need this application to work with 2 internal databases. Is this possible on Android? Any examples that might help?     
asked by 01.07.2014 / 16:26
1
answer

How to change the name in the android application package?

The current name of my package is com.newapp.nomedopacote . Well, in case I want to change it to com.newapp.novopacote , without any damage to the application. I tried to simply do a refactor and it lost the R file. How can I do t...
asked by 21.02.2015 / 03:41
2
answers

How to receive data via POST, sent from android to webservice PHP?

I've done a webservice in java, now I'm switching to PHP and I'm having trouble implementing a page that receives via POST a JSON that the Android app sends. ANDROID public static String POST(Context context, String endereco, String jso...
asked by 22.01.2015 / 18:17
1
answer

ExpandableList Custom

I'm new to Android, but with an ambitious project. I'm trying to make a% custom% with two ExpandableList on items and the one on the left needs to have the background changed as per customer satisfaction. ItturnsoutthatIjustcannotseem...
asked by 29.12.2015 / 16:23
1
answer

Installing Android Studio: Path to the JDK

A few weeks ago I installed Android Studio and was developing the project and "accidentally" deleted some folders that I should not (careless of me). I did not find a solution to repair the deleted folders so I decided to uninstall the AS and...
asked by 27.05.2016 / 13:53
1
answer

Read values from a table in SQLite

I need help in the following situation: I need to get the values of a column in the bank and write these values into a variable, and then this variable will randomly generate one of those saved data. Below the class where I create the bank:...
asked by 13.06.2016 / 06:22
1
answer

How to make a Carousel

I'm trying to create a Carousel on Android like this from this video , but it's not working too well.     
asked by 22.08.2016 / 20:20
1
answer

Images are repeating in ImageViews

I have 54 images I need to show only 8, but there has to be a random selection and they can not be repeated, I'm programming on the Android Studio platform. I use this code it works quietly, it shows the results in 8 ImagemView , More ....
asked by 14.09.2016 / 04:28
2
answers

Android Configuration Parameters

I would like to know if you have any way to get the values directly from the android settings example I want to know if "Unknown Fonts" is enabled, "Developer Mode" is enabled, "Language", "Brightness level" ... ..     
asked by 07.10.2015 / 20:59