Posts by Sérgio S. Filho • 452 points
19 posts
-
0
votes1
answer60
viewsA: Upload progress with angular 6 and Asp net core 2.2
Just to update you guys, my problem was in the backend. At the time the documentation was not very clear, a few days later it was updated but I had forgotten to update here. The documentation at the…
-
2
votes1
answer60
viewsQ: Upload progress with angular 6 and Asp net core 2.2
I am sending a file selected by the user in the browser through the tag "input" to the Asp net core and would like to display the progress of the upload. I currently only get the Enum…
-
2
votes1
answer106
viewsA: Button to play audio dynamically
That way, all buttons you create with this class and this attribute will be "touchable" <html> <head> <link rel="stylesheet" type="text/css"…
-
1
votes1
answer59
viewsA: CSS effect before server request
simple example with jquery <html> <head> <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44="…
-
1
votes1
answer575
viewsA: C Sharp : error Object Reference not set to an instance of an Object
This message means that you have tried to access a property of a null object. From the code you pasted here, it appears to be the "picImage" variable that hasn’t been started. I couldn’t find where…
c#answered Sérgio S. Filho 452 -
1
votes1
answer90
viewsA: Android Load JSON
Google suggests Volley, as far as I can remember. For a very simple application, you can simply use: import android.util.Log; import java.io.InputStream; import java.net.HttpURLConnection; import…
-
1
votes1
answer27
viewsA: How I customize these Edittext that will be generated (backcground, Textcolor, fontsize, etc.)
vetorEdits[i].setTextColor(Color.PINK); vetorEdits[i].setBackgroundColor(Color.PINK); vetorEdits[i].setTextSize(24);
-
3
votes0
answers2259
viewsQ: Error 403 disallowed_useragent, when logging with google in mobile browser using angularfire2
Hello, I am using the angularfire2 v4.0.0-rc.2 package in an angular4 project published in firebase. I integrated the logins of facebook and google and both are working perfectly in the browser of…
-
1
votes1
answer765
viewsA: How to remove this automatic slide from blog posts?
For the 'Slick' function to exist in your script, it was necessary to reference a script that is a slide plugin. Then one of the things you will do is remove the reference of this plugin from your…
-
0
votes1
answer107
viewsQ: Lighting inside a room in Blender
I’m starting at the Blender now, it must be a simple question. I made a room, with a cube stretched to the floor, then some cuts in the cube to be the bases of the walls and an extrude to all rise…
-
1
votes1
answer41
viewsA: Ajax Javascript error
setInterval is not ideal for this situation, it can bring the results in the wrong order if by some delay in the network the answer to a request that was made after get first or stack a lot of…
-
2
votes1
answer1190
viewsA: Unity 5 Delay in animation
It’s the transition animation, that other Timeline that gets on the inspector when you select a transition in the Imator. Just click on the white lines with arrows between a state and another, for…
-
1
votes1
answer155
viewsA: How to do navbar slidedown and slideup when der scroll on page
In the scroll event, you compare the navbar height to the scroll position. If the scroll position is greater than the navbar height, you hide it, otherwise it displays.…
-
2
votes2
answers501
viewsA: Have two menus and when minimize get only 1 containing both
The navbar class does this, when the screen is small it shows the menu in one way and when it is big in another. The three rich ones you mentioned are right in the first example of navbar in the…
twitter-bootstrapanswered Sérgio S. Filho 452 -
3
votes1
answer668
viewsA: sharedpreferences in the first Activity, show only once?
First you implement a class to manage Sharedpreferences (by organization). public class PreferencesManager { public static final String ENTERING_FIRST_TIME = "EnteringFirstTime"; public static void…
-
2
votes2
answers596
viewsA: How to route Gmaps with shapes/polygons
If you want to trace routes as a hint of a path from one place to another, whether by car, bus, or other means of transport, you should not use shapes/polygons, but the Directions service api, which…
-
2
votes1
answer97
viewsA: Google Directions Service doesn’t account for requests made with my key api
Okay, I figured out why the route() calls don’t count. This Directionsservice that I am using is the built-in version within the Maps Javascript API, so it is subject only to the limitation of that…
-
1
votes2
answers54
viewsA: jQuery each - Clarification
Usually what one does is instantiate this out of the callback method. ex: var self = this; setTimeout(function() { //aqui use a variável self para acessar o objeto que chamou o callback //no caso se…
-
2
votes1
answer97
viewsQ: Google Directions Service doesn’t account for requests made with my key api
I’m using the same javascript reference both to use the Directions service and the maps api: <script type="text/javascript"…