Questions tagged as 'android'

1
answer

Firebase Insertion Problems

I'm developing a native application on Android that uses maps, insertion is usually happening through the code below. Location is a variable of type LatLng . mDataBase.child("location").child("Roubo").child(String.valueOf( new Date()....
asked by 18.11.2017 / 14:32
1
answer

Android pick up data from the ImageButton to send in a post

I have a Fragment view with a form, in this form I have an imagebutton in which I upload images from the Android gallery when I save this form I need to get this image and post it to Base64. public class EditarPerfilActivity extends Fragment {...
asked by 14.11.2017 / 23:55
1
answer

Data disappear when scrolling scroll RecyclerView with Firebase

Hi everyone, I am creating a chat with Firebase and listing with RecyclerView, to list the messages but I have a problem is that when moving or scrolling the RecyclerView some messages disappear, please help me solve this! Here is my code and...
asked by 17.11.2017 / 13:50
1
answer

Expanding SQLite Android Database

I need to export my SQLite database to a folder on the device on which it will be installed, and every time I open the application, the .db file be updated so that at the end of the month I can convert it to Excel. I just need to find this f...
asked by 27.02.2018 / 20:56
1
answer

Attach File in Gmail via Intent

I have a problem ... When I try to open Gmail via Intent to attach a file, it appears the part of writing a new email, but it does not attach my file. The PDF is inside a folder of the app itself with this path.:(/storage/emulated/0/Android/data...
asked by 05.11.2017 / 00:31
1
answer

Enable navigationbar or create a panel on top of tabpage xamarin.form

I have this page (TabbedPage) that creates two tabs: <?xml version="1.0" encoding="utf-8" ?> <TabbedPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmln...
asked by 07.02.2018 / 20:08
1
answer

Change themes through Java

Hello! I have a code in java where I would like to change the themes of AndroidManifest according to the return of a certain function. Example: Having a boolean function that checks the internet connection, the activity will use one theme whe...
asked by 29.12.2017 / 20:04
1
answer

Recover network gateway?

Does anyone know or know any way to find the ip address of gateway of the network? The local ip I know I can recover with class InetAddress : InetAddress.getLocalHost().getHostAddress();     
asked by 23.04.2018 / 22:12
1
answer

Widget action confirmation is possible?

I have to put an AlertDialog to confirm that the user wants to perform a certain action, it is simple to do this in an activity or fragment, but I am having trouble doing this in the widget, I tried to do but I am only getting errors as a return...
asked by 13.10.2017 / 14:48
1
answer

Change color of a Button that already has an Assigned Background

Hello, in my application there is a table (Alert Dialog) that will be used to select the color of a component. In this table there are several equal buttons with the background already defined so that they have a round style. For this, I used an...
asked by 02.11.2017 / 17:47