Questions tagged as 'android'

0
answers

Broadcast in service does not work

I tell you, I have android 8, so the broadcasts do not work declared from the manifest and that's why I have to insert them programmatically ... The process is easy, I show you my service where I add it (extends from Service) @Override...
asked by 15.11.2018 / 13:10
1
answer

Upload video on node js that I do wrong

I have a special server to upload files in nodejs that is this var express = require("express"); var app = express(); var multer, storage, path, crypto; multer = require('multer') path = require('path'); crypto = require('crypto'); var form =...
asked by 15.11.2018 / 13:36
0
answers

Handling dates in MPAndroidChart X axis

I have a line graph, which shows 2 lines. The data comes from Sqlite where I have the 2 columns that feed the lines, apart from the id, another 2 more one with dates in String and the other with dates in long. In the image the x-axis shows the v...
asked by 13.11.2018 / 23:02
0
answers

Changing presentation of ListPreference

I am using ListPreference to launch a configuration menu and for aesthetics I would like to differentiate the title of the menu (serial port) from the rest of the options, either changing the color of the text or changing the typeface to bold, b...
asked by 14.11.2018 / 01:37
0
answers

When changing activity, data is reset

I have an application which contains a table to which you can add data, as seen in the images And to create a second activity I have this code public void metodo_anadir(View view) { Intent intent = new Intent(getApplicationContex...
asked by 15.11.2018 / 12:56
0
answers

Component on top of others, android

I have a problem in android studio, I have two fragments in which the first fragment sends data to the second fragment, what happens is that when loading the second fragment I get a button that belongs to the first fragment. And the only thing I...
asked by 14.11.2018 / 00:05
0
answers

Activate alarm manager 5 minutes before scheduled

I am investigating with AlarmManager and until now it is activated according to the programmed. This is what I use intent = new Intent(mContext, AlarmReceiver.class); alarm.toIntent(intent); sender = PendingIntent.getBroadcast(m...
asked by 13.11.2018 / 16:14
1
answer

Get all the fields of a document

How can I get all the fields of a Firestore document. For example if in a collection I have several documents, and in each document I have fields; but each of these documents does not have the same number of fields, some have more and others les...
asked by 15.11.2018 / 06:17
2
answers

Error in conversion String to Double

Hello this is my error and my code.    FATAL EXCEPTION: main                     Process: com.idjmatrillegmail.point sales, PID: 7566                     java.lang.NumberFormatException: Invalid double: ""                         at java.lang...
asked by 14.11.2018 / 04:18
0
answers

Random keys in Firebase How to show the data of the BD in Android Studio?

Cordial greeting, I am developing a project for the measurement of blood pressure and the data that I relate below is generated by a voltage meter through the arduino card, however I could not visualize them in android studio, the attached code...
asked by 13.11.2018 / 00:34