Questions tagged as 'android-studio'

0
answers

How do I use the queryForAll () method of OrmLite on Android?

I have created an entity, but at the time of doing the foreach it indicates that they are not the required types Dao dao; try { dao = getHelper().getPersonaDao(); for ( Persona persona:dao.queryForAll()){...
asked by 22.05.2018 / 15:11
1
answer

Do not insert SQlite data

What kind of colleagues do I try to insert from an Activity but it gives me these errors? What will it be? public class HelperSQLite extends SQLiteOpenHelper { public String TABLACLIENTE = "CREATE TABLE Cliente(RFC TEXT PRIMARY KEY, Nombre T...
asked by 22.05.2018 / 22:52
0
answers

Login Google on Fragment Android

Today I was trying to strengthen an app that I have doing a login with google, I did it as I said a tutorial with two activitys one login and another where they show you the mail data, such as your photo, name etc, what I wanted to do is to move...
asked by 21.05.2018 / 04:25
0
answers

The option 'android.enableAapt2' is deprecated and should not be used anymore

I'm doing a basic project in Android Studio in its latest version that I downloaded in May 2018, when I try to compile the project I get the classic error of "AAPT2 error: check logs for details" which the whole Main class me marks errors in the...
asked by 20.05.2018 / 18:54
1
answer

Problem With Android Studio Interface Editor

I try to edit the design for smaller screens but change the settings for Nexus 7 screens or other screens when you clicked the red circle menu and select the option of another smaller screen does not happen change and it's always for Nex...
asked by 20.05.2018 / 02:08
1
answer

Save arraylist with sharedpreference

hi I am with a problem I have an arraylist that has strings in and I want to keep them with sharedpreference the theme is that I can not keep a arraylist then reading by there lei how to do it by transforming the arraylist in a hashset I did it...
asked by 22.05.2018 / 03:17
0
answers

Problems with ic_launcher

I've noticed that when installing my app on systems> = Api 26 the launcher icon is changed to the default of android studio, while in versions under 25 the ic_launcher that I have predefined comes out. I have changed the ic_launcher in its re...
asked by 26.05.2018 / 07:07
0
answers

File Transfer with Java CIFS Client Library

I am using this library for file transfer between Servers I get the address of one and then convert it to a SmbFile as it would be possible to send that file to the other address of the Server Code: String user = "usernam...
asked by 18.05.2018 / 22:03
0
answers

shared preference language Android

I have the problem that when you change the language you only do it in the main activity, when you change to another you return to the default language, I guess I misuse the shared preference because when you start the app you return to the defa...
asked by 20.05.2018 / 22:01
0
answers

Insert script in an android app

Hello people how are I have a query I have a script that is a player that has a live broadcast 24h my question is if this script can pass it to an app since I tried it but I know little about app development <script type='text/javascr...
asked by 17.05.2018 / 23:32