Questions tagged as 'android'

1
answer

Error ProgressDialog along with threads on Android

I have the following structure in my class: public class Registro extends AppCompatActivity { private ProgressDialog progressDialog; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentV...
asked by 20.04.2017 / 17:33
1
answer

I miss Android Studio [closed]

Yesterday android studio asked me for an update then I installed it and since then it does not want to work, when launching the application to the emulator the buttons or edit text are placed in the upper left together     
asked by 20.04.2017 / 19:40
2
answers

How to make a larger imageview by clicking on it

I have a gallery in my app, with a GridLayout and I want that when the user clicks on some image have this effect, how can I achieve that? If you could tell me what effect it would be that or a library that does it would be very helpf...
asked by 20.04.2017 / 03:25
1
answer

How to detect a click on an array of buttons in Android Studio

Look, I have an array of buttons that I obviously created in the "Java Code", I implemented the class of View.OnClickListener and within the onClick method (View view) I have the following: public void onClick(View view){ for...
asked by 09.03.2017 / 05:08
1
answer

Long.valueOf does not show zero to the left

I have a problem when making an append to a StringBuilder from a linkedList and display it in the form of long, the code is as follows: for (int i=0; i < new_list.size(); i++) { stb.append(new_list.get(i));...
asked by 07.03.2017 / 06:30
2
answers

Constant movement of an actor in libgdx

I am developing a game in libgdx . The game consists of an actor, which the camera constantly follows with that actor centered. My problem is that the movement of the actor is not resolved, because I would like it to behave like S...
asked by 27.02.2017 / 10:34
1
answer

Eclipse or Android Studio? which is better for application development with OpenCV library [closed]

In Kali Linux I program with Eclipse Neon in NDK but I can not make the OpenCV library that I imported, be added as a library of my project. Which IDE is best to program with the OpenCV library? considering the version of the IDE and the version...
asked by 27.02.2017 / 18:33
1
answer

Android Studio error with my AMD PC

I have a problem, and that is that I am starting in Android Studio and it seems that the Gradle fails because it can not load a library. In summary, the error that appears to me is that I transcribe it below:    Gradle sync failed: Can not lo...
asked by 31.01.2017 / 02:41
1
answer

I can not have getSupportFragmentManager ()

' import android.content.Context; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.view.LayoutInflater; import android.view.View; import andro...
asked by 18.01.2017 / 00:07
2
answers

Error Resources $ NotFoundException for ImageView with vector drawable on Android

I just received an ANR report in the Google Play Console of an app that a user has shown to me using my app. android.content.res.Resources$NotFoundException: File res/drawable/ic_circular_way.xml from drawable resource ID #0x7f02006a. If the r...
asked by 16.01.2017 / 14:48