Posts by Danilo Oliveira • 603 points
23 posts
-
2
votes1
answer1048
viewsA: How to show the data of an XML file in an input field with jquery?
To take only the data inside the Voce object you can use JSON $.ajax({ url : "lerArquivoXML.php", type : 'GET', cache : false, contentType : "application/json", error : function(){ alert('Erro ao…
-
0
votes1
answer795
viewsA: Show image in gallery
The images were being saved, but needed the Media Scanner to index images in the gallery Media Scanner: Mediascannerconnection provides a way for passing applications a media file newly created or…
-
1
votes3
answers5147
viewsA: Angularjs vs Jquery input mask
Use the jQuery Mask Example of use $("input[type=number]").mask("0.000,00"); https://github.com/igorescobar/jQuery-Mask-Plugin…
-
1
votes1
answer795
viewsQ: Show image in gallery
I am developing a mobile application with Apache Cordova, where I download some images, I can download them, but the images don’t go to the gallery. I tried to save the images inside the Pictures…
-
2
votes1
answer5204
viewsA: How to remove alert from "Uncaught Rangeerror: Maximum call stack size exceeded"
I removed the setTimeout that was causing the problem and added setInterval for the movement to keep repeating and was like this: //====================================================== // Efeito…
-
8
votes4
answers599
viewsQ: Tool for mobile zoom
I am developing a mobile application with Apache Cordova, I need a tool similar to Zoomify, but for mobile. I tried to use Zoomify, I did not get good results, which tool is the most suitable for…
-
6
votes1
answer14394
viewsQ: Decrypt db.crypt files
I wonder if there is any way to decrypt files with the extension db.crypt in general, on the Android platform and there is some API that does this work?
-
1
votes1
answer212
viewsA: Problem with "match" attribute of a text field
Follow @Patrick for example <h:panelGrid columns="2" id="matchGrid" cellpadding="5"> <h:outputLabel for="pwd1" value="Password 1: *" /> <p:password id="pwd1"…
-
9
votes2
answers717
viewsQ: Receive variable value without passing parameter
I have the following method: private string toCamelCase(string text) { text = string.Format("{0}{1}",text.Substring(0, 1).ToLower(),text.Substring(1)); return text; } To use it I need to call it…
-
0
votes1
answer85
viewsQ: Problem with AJAX
I am developing a site in ASP.NET MVC, I wanted that when I changed screen only be updated my div .ESTRUTURA here is the code: Javascript: function loadPage(page) { $.ajax({ type: 'GET', url: page,…
-
0
votes4
answers1206
viewsA: Java Class Scanner Loop Error
The right thing would be for you to use a different scanner for each primitive variable type. Or clean the contents inside your Scanner and use it again (I don’t recommend)
-
2
votes3
answers4786
viewsQ: Line break into email message
In my string mensagem, i would like to have a two line space, I tried using "/n" and I did not get the expected result. @{ var customerName = Request["customerName"]; var customerEmail =…
-
1
votes3
answers134
viewsA: Menu with the themes
Just like the guy said, there are several ways to do it HTML: <div id="nav"> <ul> <li><span class="Email" ></span><a href="#"> EMail </a></li>…
-
1
votes1
answer841
viewsA: Upload contacts from Android device - Contactscontract.Contacts - Contentprovider
I answered a question similar to this one... This link will help you clone the contact list of your mobile device (Android) These links -> (Part 1 and Part 2) found complete, Voce can read that…
androidanswered Danilo Oliveira 603 -
0
votes1
answer997
viewsA: Insert a youtube video into an html page
With this code you can insert a video in your HTML page: <iframe width="X" height="Y" src=http://www.enderecodovideo.com frameborder="0" allowfullscreen></iframe> You need to get the…
-
1
votes1
answer166
viewsA: Problem with Grunt-uncss
In accordance with this comment on Github I managed to solve my problem the code was like this: module.exports = function (grunt) { grunt.initConfig({ uncss: { dist: { files: { 'Content/home.css':…
-
2
votes1
answer166
viewsQ: Problem with Grunt-uncss
I wonder if it is possible to read a file . CSHTML with Grunt-uncss, because I searched and tried and so far had no results..
-
1
votes1
answer468
viewsA: How to list the phones of all contacts?
I hope this article helped you @Pedrorangel, good luck with the development :) http://www.frameworksystem.com/blog/mobile-lendo-lista-de-contatos-do-android/…
androidanswered Danilo Oliveira 603 -
6
votes3
answers2635
viewsQ: How to put my ASP.NET site online
I’m trying to put my ASP.NET application on the air, and I’ve never had contact with it, I need to turn my . CSHTML into . HTML? Or something like?
asp.net-mvcasked Danilo Oliveira 603 -
2
votes2
answers5399
viewsA: Maximum number of characters in a String and Stringbuffer in Java
The maximum limit they both support is 2 31-1 (or about 2 billion) String concatenation efficiency Stringbuffer
-
1
votes2
answers202
viewsA: Change class vector size
I don’t know if you’re working with JSP, but if you are, you need to use Request for this request.setAttribute("key", "valor") //set uma variavel de request RequestDispatcher rd =…
-
2
votes4
answers12028
viewsA: How to get height of a div by jQuery?
I took your code and I moved it a little bit, I switched that replace that was breaking and I took the autoH2 for . height() and here it worked well, if I could not help you, comment here that I…
-
0
votes1
answer818
viewsA: How to leave my Gridview in the middle of the screen?
all right? When you are creating a Gridview on an ASP.Net page, one of the things you can try is to put a <div></div> around it in order to centralize the Gridview on the page, by…
c#answered Danilo Oliveira 603