Questions tagged as 'android'

1
answer

Call database with (this) in fragment

I am trying to make a catalog by linking to a database that is in the folder assets, so that it is displayed in a recycleview. This activity already works on its own but now that I want to embed it in a fragment I can not (I'm new to this). Does...
asked by 17.10.2017 / 04:56
1
answer

Variables - Parameters

I can not erase the data when I click on a button, I explain, it perfectly opens the string "data", and also the "J1" and "J2", when I open the fragment for the first time, it shows me the url + data, correct, but when I press a button, it does...
asked by 08.10.2017 / 10:31
1
answer

Upload an image to hostinger with web services

I have an account with hostinger and I want to upload an image through a web services with php I see that the image goes to the database but it is not recorded in the root folder of the hosting. I attach my php code which is very simple <...
asked by 09.10.2017 / 04:45
2
answers

Problem with the android cellphone keyboard

I have a problem that when I run my application on Android what happens is that I have some buttons at the bottom of the screen and pressing an EditText appears the keyboard and hides my buttons , I want to know how to do so that the button g...
asked by 10.10.2017 / 21:44
1
answer

How to get the value of views that have been "inflated"?

Good, I have a problem and I have been researching and I have not found a solution, the problem is the following, wanting to get the value of an edittext that I have added dynamically stops my application and shows me the following error j...
asked by 04.01.2018 / 00:18
1
answer

close app from notification

I want to finish with the app by clicking the notification, my current code launches an activiti but I want to directly finish the app private void notificacion (String radio){ NotificationCompat.Builder mBuilder; NotificationManager...
asked by 06.10.2017 / 16:20
1
answer

setBackgroundresource in an ImageButton

I want to add a "gif" effect to an imageButton tiraDado.setBackgroundResource(R.drawable.dado); AnimationDrawable frameAnimation = (AnimationDrawable) tiraDado.getBackground(); frameAnimation.start(); tiraDado is an ImageButton T...
asked by 26.09.2017 / 18:49
1
answer

Help with getter on android

Good day to the community. I am a novice in programming and I need your help I am working with a simple example of android downloaded from the web, it indicates if a hearing aid is connected to the phone through a quick message.    My idea is...
asked by 25.09.2017 / 14:22
1
answer

Font of letters for a Textview

I need to change the source of a Textview . My question is the following the fonts for the letters are special for android or serves a standard. I suggest some bookstore or source download page, thanks. For example: I will plac...
asked by 08.09.2017 / 22:15
2
answers

How to go back once to a fragment?

I have a list which when clicking on an item shows me the detail in a fragment, and I have a button that allows me to add records, both load in the same container, the problem is generated when I start to open several items already the time I op...
asked by 09.09.2017 / 06:38