Posts by Oscar • 80 points
9 posts
-
0
votes2
answers77
viewsA: POST in Ajax arrives with null data in the Actionresult of MVC5
This way of passing the date for ajax function could be provoking, for stamping on the undefine island. Try it this way data: {'values':[{ 'values': '1006' }, { 'values': '1005' }, { 'values':…
-
0
votes2
answers162
viewsA: Error trying to insert values in Mysql
Basically this occurring un Nullpointer Exception because of that dealing with facer una connectiona a localhost, cual para o android e o propio device, para faver refencia a maquina onde esta…
-
0
votes3
answers1157
viewsA: How to download a pdf on android
The simplest way would be to release a browser input with the PDF url Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(pdf_url)); startActivity(browserIntent);…
-
-2
votes4
answers1730
viewsA: How to display "Update your Browser" warning when it does not support HTML5?
Could use Browse happy to warn the user to update the browser <!--[if lt IE 7]> <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a…
-
0
votes2
answers5778
viewsA: How to send Jsonobject to a Web Service?
To avoid having to deal directly con json on android and recommend using GSON https://code.google.com/p/google-gson/ avoid having these problems en manipulate string to create json…
-
1
votes2
answers238
viewsA: Httphostconnectionexception - Android
Try opening the api from the genymotion browser using the computer’s network ip index (something like 192.168.x. x)
-
4
votes1
answer181
viewsA: What are the variables/functions Anonimas and closures for? And what are they for? How to use?
Functions Anonimas and closures are very distinct elements, but basically Anonimas functions are functions that have no name (it seems obvious) and this allows a huge ease in implementing callbacks…
-
1
votes2
answers56744
viewsA: Run apps in Android Studio through mobile by USB
Basically it is to have debbug mode enabled and usb drive installed on the PC, and when connecting the device the Android Debug Bridge (adb) recognizes it as a device for debbug. More info, in…
-
0
votes1
answer44
viewsA: Labels position is changed when window is lowered
You can use css media query to reposition your label when size decreases /*normal*/ label{ margin-top: 12em; } /*quando o width diminui de 765px eu reposiciono o section*/ @media screen and…
javascriptanswered Oscar 80