Posts by Tulio F. • 490 points
14 posts
-
4
votes2
answers3572
viewsA: installment value Invalid Pagseguro
According to the documentation of Pagseguro for installments without accretion, the XML template for installment shall follow the following format. You must use endpoint…
-
0
votes1
answer32
viewsA: Is there a tool to help organize multiple click events?
You can follow the following steps to organize your code. 1. Divide your code, modularize! Divide your javascript according to the use of each function. Example: A JS file only for the functions of…
-
4
votes1
answer301
viewsA: Sync Android x Web
The method System.currentTimeMillis() returns how many milliseconds have passed since midnight on 01/01/1970. The problem is that it can be changed by the user or the cellular network itself. Your…
-
1
votes1
answer118
viewsA: How to use Google Glass in Android Studio
According to the documentation, you need to install the Android SDK 4.4.2(API 19) and the Glass Development Kit Preview(GDK) also from API 19. This should already enable the project option for Glass…
-
1
votes2
answers148
viewsA: How to write a JSP page using characters from other languages?
In his method doPost you arrow the encoding to UTF-8. ServletResponse::setCharacterEncoding response.setCharacterEncoding("UTF-8"); The tag <meta http-equiv="Content-Type"…
-
1
votes1
answer466
viewsA: Using Sqlite on Android with Phonegap
In the callback of the _db.executeSql you can check if the last record has been processed and then hide its loading. // Uso de função imediata (Immediately Invoked Function) !function…
-
1
votes2
answers1323
viewsA: Save Checkbox Values in Android Studio
The Android Api has ways for you to save your app preferences as key/value(key/value) sets. Check out the documentation Saving Key-Value Sets. To create the preferences file (in which case checkbox…
-
4
votes1
answer1075
viewsA: Method that recognizes the touch of the MOBILE SCREEN C#
This is an example taken from a site tutorial unity3d. using UnityEngine; using System.Collections; public class TouchTest : MonoBehaviour { void Update () { Touch myTouch = Input.GetTouch(0);…
-
1
votes2
answers229
viewsA: user tree with dots and profile in C#
Create a class that has the following properties: class DadosRamo { LinkedList<Filho> PontosDoRamo; int TotalDePontos = 0; Dictionary<Filho, int> contagemPorTipoDeFilho; } PontosDoRamo:…
-
1
votes1
answer534
viewsA: How to get markers close to the user’s location?
I’m studying the same problem at the moment and found this paper: Finding Points Within a Distance of a Latitude/Longitude Using Bounding Coordinates - By Jan Philip Matuschek It addresses the…
-
2
votes2
answers215
viewsA: How to maintain a local file that is in conflict with the repository?
You can use the git stash. stash stores the modified files and reverts your branch to HEAD, then you can do your git pull normally. To create the stash: git stash save <uma descrição> To list…
-
1
votes1
answer82
viewsA: How to make a list of available "wifis"
The registerReceiver (Broadcastreceiver receiver, Intentfilter filter) registers a BroadcastReceiver for a particular IntentFilter. That means when the event(in your case)…
-
1
votes2
answers552
viewsA: jQuery - create a jQuery element ( create a tag ) from a string
Use jQuery.parseHTML() to turn your string into a gift object, then you can insert that object into the page. var a = "<div style=\"text-overflow: ellipsis; overflow: hidden; padding-bottom: 2px;…
-
1
votes1
answer494
views