Questions tagged as 'android-studio'

0
answers

shared preferences are deleted when you close and open app XC wtf

When I select the image it saves it well and I can open it in other activitys when I close and open the app and the image does not appear in any activity, the same thing happens to me with audio files that I put in other activites what am I doin...
asked by 14.11.2018 / 19:52
1
answer

Error generating apk with Proguard

I am developing a geolocation app. I need to obfuscate the code of my application, when I activate proguard and I generate the apk it shows me the following: Warning: com.caverock.androidsvg.SVGImageView: can not find referenced class com.cav...
asked by 14.11.2018 / 19:48
0
answers

How can I change the font type in a fragment [Android]

How about, I have problems to change the type of source, it turns out that I create a folder called "assets" and that's where I keep my types of sources, the problem is that only fragments do not recognize this folder, instead in the activitys i...
asked by 12.11.2018 / 01:05
1
answer

Error connecting Firebase to Android app

I'm trying to implement Firebase in my Android app but I can not get it to work. I tell you the steps that I have followed I've registered with firebase I have created a project in firebase In the application folder of my application I h...
asked by 10.11.2018 / 19:09
0
answers

The RequestQueue returns null

Well I have a code on Android that should be connected to a Web Service, but I can not connect and the truth is that I do not know why. I have started the RequestQueue requestqueue=Volley.newRequestQueue(this); but it gives me null and I...
asked by 10.11.2018 / 00:56
0
answers

How to identify when there is movement in the camera?

What I want is for the camera to detect movement (without showing any image) when a person passes in front of it and do some action (in this case that action is to make a noise to get the attention of the person passing by of the camera), I woul...
asked by 10.11.2018 / 04:00
0
answers

why can I save the rintong in URI with RingtoneManager.TYPE_RINGTONE? will permit problems?

Occupy Uri uriSoundDefault = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_RINGTONE); SharedPreferences.Editor editor = prefs.edit(); editor.putString("urime",uriSoundDefault.toString()); editor.apply(); to put the default...
asked by 11.11.2018 / 01:33
0
answers

sounds on android studio

I'm using the proximity sensor function, basically what I want with it is that when something happens in front of the cell phone, it emits a slight sound, how can I make it emit that sound? or how can I play these sounds in android studio? thank...
asked by 11.11.2018 / 04:05
0
answers

Problem with gradle in android studio

I updated android studio and I had to update gradle and others the issue is that this one does not synchronize me, can someone help me configure gradle? Thanks from now. module: app apply plugin: 'com.android.application' android { com...
asked by 11.11.2018 / 00:09
0
answers

Obtain hardware information from an Android device

I have already used the class Build but it does not provide me with the information I need. I need to know if it is possible and how to get the battery serial, screen and all the sensors that a device android may have. It would be...
asked by 09.11.2018 / 19:13