Posts by SanOli • 152 points
9 posts
-
0
votes1
answer509
viewsQ: How to Get Header Information in Post Request, Ionic 3
Hello, I need to get the Token that returns in Header after I run a POST, I would like to know a way to achieve this, I am using Ionic 3 with Angular. What is the best way to get the Authorization…
-
1
votes1
answer157
viewsA: close Activities in Dialog
When going from one screen to another, and do not intend to allow the user to return, use the finish(); after the startActivity(intent);. Example: Intent intent = new Intent(getApplicationContext(),…
-
2
votes1
answer436
viewsA: String error using the nextLine() method in Java
Use the next(); in place of nextLine();. I ran a test, tried to replicate your code, just without the class methods Conta. He rode till the end of the deal. public static void main(String[] args) {…
-
1
votes1
answer597
viewsA: Complex Form Bootstrap
You just need to format your code better. Come on, I noticed that you have a fairly extensive form, in this case you can use different styles according to the inputs. I will try to exemplify and…
-
1
votes1
answer64
viewsA: DIV clone from one page to another
You cannot do this with Javascript because it requires server-side handling. Javascript is only for the client, it will only work for the same page. What you can do is in a standard js file that…
-
3
votes2
answers52
viewsA: How to format the mm/yy field in Javascript?
You can use jQuery with Maskedinput. The libraries are these <script src="//code.jquery.com/jquery-2.1.4.min.js"></script> <script…
javascriptanswered SanOli 152 -
1
votes1
answer212
viewsA: How to Make Dynamic Tablayout in Android Studio
The question was not answered, but I was able to figure out what the problem was, in the loop he was searching the tabs from the first index. It turns out that after removing the former the index of…
-
1
votes1
answer212
viewsQ: How to Make Dynamic Tablayout in Android Studio
I created a tablayout in my application, I need that by clicking on one of the menu options, it automatically takes the 0 position. Where the house would be would be an icon to return and the others…
-
1
votes1
answer61
viewsQ: Display preview of the video the user selects by input
In my application the user can select a video to add to the form, but before sending it I would like it to display the video when the user selects the file. I managed to do this already with images…