Questions tagged as 'android-studio'

0
answers

Show message sent by the server with SocketIO on android

I am trying to send a message from my server made in nodejs, when I start my server the message I show it in console but I want to know how I have that message displayed on my android smartphone this is what I have server: var array = {"...
asked by 28.04.2017 / 17:26
1
answer

Error adding certain libraries in Android Studio, APK META-INF / LICENSE

It turns out that I am passing an application that I made in java to android but when copying the libraries to the Android libs folder when running the app I get an error which is the following: This only happens with some libraries and I...
asked by 17.05.2017 / 17:24
1
answer

OnClick in Fragment does not change my TextView [duplicated]

public class MainMenu extends Fragment implements OnClickListener{ @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View v = inflater.in...
asked by 21.04.2017 / 10:42
2
answers

Cursor error when querying in sqlite from the assets folder when the application is removed and reinstalled

I have a problem when I query the sqlite database from the assets folder only when I uninstall the application and reinstall it. If it is the first time you install the application runs normally without any problem. In the list of errors it show...
asked by 20.04.2017 / 01:35
2
answers

Error to populate listview with cursor and sqlite

I want to populate a listview with information from a sqllite table, but it gives me an error. This is the structure of the project In fragment clients I have the call to the cursor in the following way private class ClienteLoadTask...
asked by 21.04.2017 / 19:29
1
answer

error JSONException error No value for

This is my code String line; while((line = reader.readLine()) != null){ result.append(line); } JSONObject respuestaJSON = new JSONObject(result.toString());...
asked by 03.05.2017 / 05:54
1
answer

Gradle sync failed: Failed to find CMake

Hello friends I am new here and also in the world of programming I did a web developer course and now I am in one of apps development in android studio which I am from scratch I just installed android studio and I get this error :    Gr...
asked by 15.04.2017 / 20:29
1
answer

I am failing to upload an image by Glide. The specified child already has a parent. You must call removeView () on the child's parent first

Good, I'm trying to add an image in the application through Glide or piccasa and it gives me both the same error and I do not know why - The specified child already has a parent. You must call removeView () on the child's first parent. I t...
asked by 30.04.2017 / 22:51
1
answer

Open Activity according to the Item selected in ListView [closed]

How to make an item in the Android listview open a "different activity" according to the selected item? I have declared these variables in the java file, but it flags me in red adapterView package com.example.juan.pruebaprueba; impor...
asked by 18.04.2017 / 18:08
3
answers

error: incompatible types: Object can not be converted to Graph

I'm relatively new to programming on android with Android Studio and I was doing the tutorial that I show in the link. However, I got stuck because it gives me an error when I make the following for loop: for (Grafico asteroide: Asteroide...
asked by 18.04.2017 / 17:45