Posts by DaviDEV • 115 points
9 posts
-
1
votes1
answer49
viewsQ: Java is not splitting a String correctly
I am trying to split a string using the following character "|" But java is understood to divide letter by letter. List<Curso> cursos = new ArrayList<Curso>(); List<String> pacotes…
-
0
votes1
answer8196
viewsQ: iframe does not work with external websites
I am developing a panel with several iframes, however, putting external sites as google.com is not opening anything in iframe <html> <body> <h1>ADM</h1> <iframe…
-
0
votes0
answers390
viewsQ: Android: Copying a file from the Assets folder to your mobile memory
I am making an application, which on a button that the user press, will open a PDF file... There is the problem, this file is in Assets folder and I want to put it in the internal memory of…
-
0
votes0
answers33
viewsQ: Mediaplayer stops after a few seconds
I’m developing a radio app, to acquire knowledge, so I took a stream and I took this code: package tk.davidev.android.ews; import android.media.AudioManager; import android.media.MediaPlayer; import…
-
5
votes2
answers1518
viewsQ: API of Mercadopago
I’m making a trolley system here to test the API of the marketplace. Everything is working, except the part about creating the payment that I have no idea how to get started. API Mercadopago I’m not…
-
3
votes2
answers195
viewsQ: How to convert a string with minutes/month/year to Timestamp?
I am making a code for testing only. In it, I have the following String: String tempo = "1s"; //1 segundo This string is modified all the time: String tempo = "30d"; //30 dias So I want to convert…
-
-2
votes2
answers152
viewsQ: How to make something expire after certain months in db?
I want to add a "license" for a purchase in my database, plus this license that my "customer" will buy will have an expiration date, let’s say he bought a license... INSERT INTO compras (userid,…
-
-2
votes1
answer73
viewsQ: Help with XML in Php
Guys, I have the following XML: <erros> <erro> <description>Nao localizado</description> </erro> <erro> <description>Nao especificado</description>…
-
0
votes1
answer88
viewsQ: Send live notification without repeating
I have a code, I wish to make a notification system in live push, here is my code: <script> Notification.requestPermission(); function requisitar(){ var xmlhttp; if (window.XMLHttpRequest) {…