Categories
Development

Why this message “Recompile with -Xlint:deprecation for details” is happening?

I don´t understand why I’m getting this error message below: **C:\Users\cmorais\Desktop\AppSom\app\src\main\java\com\example\appsom\Main2Activity.java: uses or overrides a deprecated API. Recompile with -Xlint:deprecation for details.** How to fix it? I didn’t get it. Build Output: *completed successfully 12 s 300 ms Run build 12 s 84 ms Load build 11 ms Configure build 132 ms Calculate task graph […]

Categories
Development

API 28: BroadcastReceiver onReceive never executing

My onReceive is never executed. I’ve tried following guides online including from the official site. I’m testing on a virtual API 28 device. I understand that some of the GUI-related code might be wrong but I should at least get a log output right? What am I missing? Manifest: <?xml version=”1.0″ encoding=”utf-8″?> <manifest xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:tools=”http://schemas.android.com/tools” […]

Categories
Development Firebase

Is there any way to save location details from android app to firebase?

I have created an android application which gives me current location details i.e latitude and longitude on click of a button. This application acts as a service. I want to store the latitude and longitude details into the realtime database(firebase). I have added the firebase dependencies in build.gradle and connected. A database has been created […]