Questions tagged as 'android-studio'

3
answers

Problem with Android Studio on windows 10

I have a problem, I installed Android Studio on my PC with windows 10 64 bits, but when I started to make a project I realized that my components were not shown (buttons, texts etc in the preview, I do not know how to fix this problem I hope you...
asked by 13.06.2018 / 08:54
1
answer

Problem with Android Studio

Download today on my android studio PC and I have a rendering error. It does not let me visualize any component. This is the mistake I have: Failed to find style 'coordinatorLayoutStyle' in current theme     
asked by 16.08.2018 / 00:53
2
answers

Store data temporarily on android

I have created a shopping cart in Android, the user has the option to see a product in a ListView, then clicking on it goes to an activity where he sees the product detail and has the option to confirm the purchase, until now all right but I wan...
asked by 26.10.2018 / 23:25
1
answer

Error showing libGDX animation

When drawing the animation, just grab the first texture, do not go through the array and I do not know why ... Here I leave the fragment of the render, when I call the animation if(juegoAcabado){ // Si hi ha hagut col·lisió:...
asked by 31.05.2018 / 12:33
3
answers

Print ArrayList in TextView

Hi, I'm doing a game and I need at the end of the game to show me the last 10 scores, so I create an arraylist where I'm going to store the scores. The problem is when I want to show the scores in a textview. I can not do it. application Array...
asked by 21.05.2018 / 23:14
2
answers

Pass data between activitys, sqlserver

I am doing a project in which I receive data from a database, and I have reached the point of being able to list them in a ListView, with a HashMap, but here I find that I do not know how to pass them to another activity, I explain a little....
asked by 30.04.2018 / 10:24
1
answer

Return TimePicker on OnClick (Android)

How can I return the time chosen by the user in a TimePicker? Calendar cal = Calendar.getInstance(); int minute = cal.get(Calendar.MINUTE); int hourD = cal.get(Calendar.HOUR_OF_DAY); btnHour.setOnClickListener(new View.OnClickListener() {...
asked by 07.05.2018 / 19:22
1
answer

Error in Realm: UnsupportedOperationException: Missing right-hand side of OR

I'm trying to make a query in realm. I have an array with the id that I want and I get this error: java.lang.UnsupportedOperationException: Missing right-hand side of OR When I make the RealmQuery match to RealmResult, I make this match si...
asked by 12.04.2018 / 18:31
1
answer

Go from an activity to a fragment

I am creating an application in which the user starts from a fragment, he is redirected to an activity where he introduces a series of data and I want him to return to the fragment from which he left. But at the time of returning to the fragment...
asked by 05.04.2018 / 19:41
1
answer

Can you recycle an activity to use it in various activities in Android Studio?

I'm doing a project of an app that will have a button to make a new record, the app has as main activity the listing of data in listview by clicking on it the previous activity appears but to update. SqlLite     
asked by 25.03.2018 / 03:15