Posts by Fernando Leal • 9,770 points
219 posts
-
1
votes3
answers1091
viewsQ: Is it possible to attach an Android res/drawable file to an email using Javamail?
I’m looking for a two-way solution: Get the file path: I would like to get the path of an image that is in res/drawable on my Android project. I’m in need of the path because I have to send it in…
-
1
votes1
answer124
viewsA: Image disappears when making a flip on Sprite
Well scale negative works, only it totally reverses the coordinates, being that if you arrow scale x as negative you must change the coordinates of the objeto concerning x for negatives. In your…
-
3
votes3
answers180
viewsQ: It is a standard for email providers' SMTP addresses to be in the default: smtp.provedor.com?
There may be an email provider that uses an address SMTP that does not start with smtp.? Or is there a rule that doesn’t allow servers to be configured SMTP out of this pattern. Because I am…
-
20
votes1
answer10051
viewsQ: Difference between TLS and SSL protocols
I’m implementing a class for sending emails on Android. And I’m implementing so that I can support most email services. Ex: Gmail, Live, Yahoo, And emails from your own domain (Ex:…
-
1
votes7
answers3980
viewsA: How to check if there are numbers inside an input with Javascript?
As you quote in the question: I can’t allow numbers to enter This function will not allow the entry of invalid characters (numeric in your case), can be used together with a final validation, as…
javascriptanswered Fernando Leal 9,770 -
1
votes1
answer135
viewsA: ERROR while trying to delete news (ANDROID JSON)
Urls are not being filled in, with the service path: private static final String READ_COMMENTS_URL = " "; // URL LISTAR NOTICIAS private static final String DELETE_COMMENTS_URL = " "; // URL DELETAR…
-
1
votes2
answers4861
viewsA: How to order a JSON in descending order?
I’ve used that one library for sorting and also for filters, in javascript arrays (JSON). I just don’t know if in your case you can change your object to an array, so it can be ordered. If you can…
-
1
votes1
answer2117
viewsA: How to add and remove classes when clicking an SVG path?
An example: here Later, I edit and explain better how it works, now I have little time. The more look there if it was like this? Any doubt comments aew. Hug. EDIT 1 This is the remove code and adds…
-
2
votes3
answers3604
viewsA: How to make a background of an element in SVG in a decent way?
If you make a hack css like this: /* hack css para navegadores que não suportam svg */ background: url(http://www.quatrocubos.com.br/img/qq.png) top center no-repeat; background:…
-
1
votes4
answers3223
viewsA: Generate xml through a class, even without value in the property
Inform the serializer that this element can be serialized null (Empty tag) [XmlRoot("pessoa")] public class pessoa { //[CPFValidation] [XmlElement("cpf", IsNullable = true)] public virtual string…
-
2
votes5
answers2656
viewsA: How to manage a Sqlite connection between multiple simultaneous threads?
So after some more time of research, and following some paths pointed out by you, I came to a "Cake Recipe*¹" as I was looking for. I’ll show you the solution that met my needs: I followed the tips…
-
10
votes5
answers2656
viewsQ: How to manage a Sqlite connection between multiple simultaneous threads?
So I’m facing some problems with my Sqlite connection, where I’m not finding a skilled solution. Setting My scenario is this:: I synchronize the data of my application with a legacy system, through…
-
5
votes8
answers45427
viewsA: How to disable the scroll of a web page?
Wrap your page in a div with a class specifies, for example: <div class="wrap">Conteudo...</div> And specify the height of all parent elements in 100%, so for example: body, html…
-
1
votes3
answers3345
viewsA: Div with height 100%
From what I understand you leave the footer fixed: thus: div#footer { width: 100%; background-color: #ccc; color: white; position: fixed; bottom: 0; left: 0; height: 100px; text-align: center;…
-
0
votes3
answers31700
viewsA: Exactly how Javascript works
The Return in javascript is similar to the Return in Java and C#, which are the languages I know, already in Delphi the Return for the little I know works differently while going through a…
javascriptanswered Fernando Leal 9,770 -
1
votes2
answers29287
viewsA: Take JSON data array and print with jQuery
You might have to have a property on the rep indicating which state it belongs to, and you should filter your rep list by state, you can do this by hand with a for and creating a new filtered list,…
-
0
votes3
answers878
viewsA: Unsuccessfully installing an app on a Genesis GT-7240 tablet
Here in the company I also use a Genesis Tablet for development (GT-1230), and I realized that these devices do not have multiple sensors, I’ve had problems trying to download apps in Google Play,…
-
0
votes1
answer310
viewsQ: Pdfdocument Support API (API 19) version from API 14
I am in need of implementing a way to generate a PDF and send an email as confirmation of an order. I realized that was added in API 19 the Pdfdocument that already creates a PDF from a Canvas…
-
3
votes7
answers31206
viewsA: How to insert data into DB with jQuery/Javascript without using PHP?
Hello I saw this question and I thought, I think I know what he wants. Well you do not want to create a complex and laborious back-end to do some trainings as you spoke, and from what I realized…