Questions tagged as 'android-studio'

1
answer

Error with Volley: Attempt to invoke virtual method 'com.android.volley.Request

I am working with an application that must connect with web services to be able to consult information from a remote DB, but when I press a button to launch my web service it gives me the following error:    Attempt to invoke virtual method '...
asked by 28.11.2018 / 17:47
1
answer

Error with firebase and Android studio Failed to convert value of type java.lang.Long to String

I have a mistake that I would like to see if you can help me, what happens is that in firebase I enter a long string manually which I want to be in my application in my code I have the following to bring the data from the base, the scrollt...
asked by 23.11.2018 / 10:24
1
answer

Android Studio Debbuger view content from a Cursor

I am debugging an application and would need to know which branch to enter to see the contents of when Cursor.getString (int) is called; To see if you are grabbing something from my Database and if you grab it, check that it's what I'm looki...
asked by 22.11.2018 / 22:50
2
answers

Why does my studio android apk not install?

   Why is my installation android studio not complete? When I emulate it on the cell phone it works great, but when the apk I want to install it does not complete the installation, I have tried several times but the same thing happens, it is...
asked by 27.11.2018 / 16:57
1
answer

Browse last data entered in PHP json

I am working on a project with sound arduino the theme that every few minutes a new datum is added to the bd, but I want to show in an android view the last data entered and update when a new datum is added the issue is that I have raised a half...
asked by 11.12.2018 / 23:49
2
answers

TextView Clickeable Android Studio

I need to make a TextView Clickeable, but the text of this is not always the same so I can not hardcode it in the xml, so I need to assign it dynamically, I do it this way: aux = (TextView) findViewById(R.id.tvPagWeb); aux.setText(c.getString(...
asked by 19.11.2018 / 22:36
1
answer

Problem of Positioning Buttons in Android Studio dynamically created

I have a database and based on this I create buttons with a name, but I can not find a method that puts one button under another.  I know it can be done in the .xml with the layout_below="" but dynamically I do not see a method to position them...
asked by 12.11.2018 / 02:37
1
answer

Hide image In Fragment

I have the following part of my code: public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { final View view = inflater.inflate(R.layout.llanterna_fragment,...
asked by 08.11.2018 / 22:44
2
answers

Remove items from a Linear Layout Android Studio

I have a Linear Layout in Andorid Studio and I want that by pressing a button all the elements it contains are deleted. This is the code that I have, it deletes the elements correctly but when in the same app I reinsert other elements dynamicall...
asked by 03.11.2018 / 22:01
2
answers

Call a callback to a fragment from an adapter

I hope you can help me, I have been looking for a solution for weeks and I only need this to finish a project. I want to call a method (UpdateItemcount) but I can not do it from my adapter. I have tried in several ways but it involves changing t...
asked by 30.10.2018 / 05:58