All Questions

1
answer

Convert RTSP stream to HTTP Live Stream

How do I convert RTSP stream to HTTP Live stream? I own an IP Camera that uses the RTSP protocol to stream video, and would like to make it work on iOS using the Safari browser. According to the Safari documentation 1    Safari on the de...
asked on 13.02.2015 / 18:35
6
answers

How can I highlight the radio button that is selected?

I have this radio group in which it is used to specify the severity level of a certain occurrence, using the colors to classify the level. See: <html lang="en"> <head> <meta charset="UTF-8"> <meta na...
asked on 06.12.2017 / 19:30
4
answers

Receive json data in PHP

I'm having trouble receiving JSON data in PHP to save to the database, and this data is sent from a python script , I already tried json_decode using the $_REQUEST variable, but without success, when I write to a .txt I can...
asked on 09.11.2015 / 12:26
0
answers

How to make ajax calls through the reverse proxy in an elegant way?

I have a project that validates, in JavaScript, the structure of a JSON. Here is more or less the structure I had used to do the asynchronous redemption of the structure, as well as what would be the static redemption for a default structure of...
asked on 07.08.2018 / 22:35
1
answer

Read message from USSD Android code

Using the API on Android is it possible to communicate via USSD? Is it possible otherwise? If yes how can I get the response message when entering a USSD code in Java?     
asked on 08.07.2014 / 11:43
1
answer

Force Android GPS to refresh reading

I recently added my application to the collect feature the latitude and longitude points of the GPS on which the device is located. I've added lines to AndroidManifest.xml: <uses-permission android:name="android.permission.ACCESS_FINE_LO...
asked on 20.02.2017 / 15:21
3
answers

Abort AJAX request

I have a question. I need to cancel an AJAX request on the client side and on the server side. On the client side I use abort() var requisicao = $.ajax({ url : 'xyz.php' }); if(requisicao && cliente_abortou_requisicao){...
asked on 07.11.2016 / 19:05
1
answer

Count number of PDF pages with JavaScript

I am generating a PDF file with reports generated through PHP. In the PDF file, an x number of reports is generated and each report has a number of pages. I need to know if this number y is even or odd, if it's odd I need to add a blank page....
asked on 25.08.2016 / 14:34
1
answer

$ e $$ are now browsers' native functions?

When using the console on a page without JavaScript, I noticed that typing $ had the same effect as document.querySelector and typing $$ had the same effect as document.querySelectorAll . Would two functions shortcu...
asked on 24.04.2017 / 23:07
2
answers

GMT returns -0306 instead of -0300, what's the reason?

Locale ptBR = new Locale("pt", "BR"); SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyy", ptBR); SimpleDateFormat iso = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.sssZ"); GregorianCalendar calendar = new GregorianCalendar(ptBR); String data...
asked on 01.12.2015 / 18:10