Posts by Renan Rodrigues • 3,709 points
283 posts
-
-1
votes1
answer372
viewsQ: Post request going without angular body
I’m having trouble with ionic 4 and angular to make a request post in case I am implementing the login, but is not being sent my body in the request. My files are like this: Baserequest. public…
-
0
votes2
answers198
viewsQ: Problems with QR Code Ionic reader
I’m using the plugin Cordova-plugin-qrscanner but when I do all the steps and try to generate the application it generates the error: See http://g.co/androidstudio/manifest-merger for more…
-
1
votes0
answers34
viewsQ: Buffer on URI javascript basis
Well I’m trying to save in my bank Mysql a column in Blob, in the bank he’s saving perfectly like this:…
-
5
votes2
answers6999
viewsQ: Link href to id div
Well I know we can make links by directing the click href for a page id using #. #content1, #content2, #content3, #content4 { height: 50vh; border: 1px solid red; } <a href="#content1">…
-
1
votes1
answer103
viewsQ: Div fixed when it reaches the top
Well I do not know even ask and name as is the name of this feature, something similar to the site of Airbnb when the right side card reaches the top of the page it stays fixed moving only the…
-
1
votes1
answer78
viewsQ: Hide and open div under certain conditions
I’m having trouble opening and closing a particular search bar. I need to open a div while Focus is in the field and take while you don’t have it, but when you click on div open source cannot be…
-
0
votes1
answer204
viewsQ: Working with after and before css to add items on the screen
Well I need to add an item to div when selected, the real image should look like this: It would be this bank dot on the left in the green item. How to do this in css, using after or before can be…
-
2
votes1
answer196
viewsA: Returning an array object item
I was able to solve using the current() it returns the first position of an array so it stayed this way: public function returnObjectByDayAndTrip($links, $trip, $dayOperation) { $newArray =…
-
2
votes1
answer196
viewsQ: Returning an array object item
Well I need to go through an array and return a property of the object of that item in question. My array has this format: I tried to solve this with the following function: public function…
-
0
votes0
answers31
viewsQ: Problems with Mongoosis research
I’m having a problem doing research on moongose, I have a function that does research for all ids which I send when I pass the id amid "5a01e1dbaf371d00152eae89" works very well but if I pass by the…
-
3
votes1
answer28
viewsA: For Node service from within js
Call the method process of the global object Exit: Documentation process.Exit ([code]) Ends the process with the specified code. If omitted, Exit uses the 'success' code 0. To come out with a 'fail…
-
0
votes1
answer28
viewsQ: For Node service from within js
Well I need to finish a Node process from within js itself. What happens is that I have a cron that executes a command node meu_arquivo.js and accurate within this meu_arquivo.js end the Node so…
-
0
votes1
answer235
viewsQ: Polygon events on google maps with javascript
I need to capture the event of DWELL, ENTER, LEAVE of the polygons, can already add them on the map with the following code: this.map.addPolygon({ points: geofence, strokeColor: '#FF0000',…
-
0
votes1
answer211
viewsQ: Run image from google maps not working
Well I need to run the icon image according to the header that comes for me. I’m trying to make several but none of them worked, let’s go to the codes. FIRST ATTEMPT [PATH OF THE ICON] this.marker =…
-
1
votes3
answers632
viewsA: Filter array of dates
I managed to find my mistake, it was the {} then so var array = ["08:00", "09:00", "10:10", "10:30", "10:50", "11:30", "11:50", "12:00"], min = "09:00", max = "11:30", result = array.filter(a =>…
javascriptanswered Renan Rodrigues 3,709 -
0
votes3
answers632
viewsQ: Filter array of dates
Well I know there’s a .filter() that in it I can filter an array to return it just the way I want, and using a lot for research, when we spend what we want to search in that array. But I’m having…
javascriptasked Renan Rodrigues 3,709 -
2
votes2
answers443
viewsQ: Leaked triangle with css
I’m needing to do this kind of effect with css will have as ? It wouldn’t matter to use css3 or any technology, this kind of css will be used in an application ionic, I don’t know if this would…
-
3
votes2
answers4339
viewsQ: Difference between start date and end date with Moment js
I need to inform how much time I have of a certain chronometer, I have the date of the moment at which I started the event. I’m developing with angular 4 typescript and use plugin Moment js In my…
-
0
votes1
answer290
viewsA: Existing Undefined return on javascript model
The solution to my problem was to mess with the class. export class Navigation { line: any = { _id: String, code: String, name: String, isVia: Boolean, _operator: { _id: String, name: String, },…
-
-1
votes1
answer290
viewsQ: Existing Undefined return on javascript model
I have a well-defined model, written this way: export class Navigation { line: { _id: string; code: string; name: string; isVia: boolean; _operator: { _id: string; name: string; }; via: { _id:…
-
1
votes2
answers81
viewsQ: Step made with css
I need to do this detail in css: The gray detail, with this step. The question is, how do you do it with css? Or just with an image ?…
cssasked Renan Rodrigues 3,709 -
1
votes0
answers385
viewsQ: Ionic 3 Sliding Button
I need to apply the slider effect with these buttons. I have the following html: <ion-row class="row-two-button"> <ion-col class="button-group"> <button ion-button round…
-
0
votes1
answer159
viewsA: Modal transition effect
I solved the problem, went to check the code until I found the possible types of transitions. So I found out what can be passed in options the final code was like this: openModal() { let options:…
-
0
votes1
answer159
viewsQ: Modal transition effect
Well, I’m with the following doubt, I have a Modalcontroller when I’m running on iphones, the input transition comes from below to cover the fool screen. With this library, can I change that…
-
0
votes1
answer162
viewsA: Remove command not working Ionic
I found the problem ! According to this inssue in the Ionic team: https://github.com/ionic-team/ionic/issues/12238 There is an error in the structure, the solution was to install the correction via…
-
0
votes1
answer162
viewsQ: Remove command not working Ionic
I’m having trouble with the navCtrl.push. The flow is as follows: On the pages 1.1, 1.2 e 1.3 I can go back and forth as many times as I want but when I click the back button I need to return to…
-
0
votes2
answers646
viewsQ: Push screens Ionic 3
I’m using this command this.navCtrl.push('HomePage'); to navigate between pages on ionic 3 but I need to make sure he doesn’t show up like this: I can’t give the guy a chance to get back to the next…
-
1
votes0
answers137
viewsQ: Post storage for nodejs server with Ionic error Xmlhttprequest
I’m using the ionic 3 to effect a requisition http post to a local server developed in node js but the error is occurring: VM1515 ? ionicplatform=android:1 Xmlhttprequest cannot load…
-
0
votes0
answers180
viewsQ: Making http post request to webservice
I’m making a requisition here http for a webservice apsh, to make request I do so: validaLogin(user: User) { var data = JSON.stringify({ email: user.email, senha: user.senha }); console.log(data);…
-
1
votes1
answer212
viewsQ: Angular asynchronous responses 4
I’m making a request, and I’m waiting for a return, however it is asynchronous, may or may not, in my case I just want to display a message on the screen. Time she send undefined and hours returns…
-
0
votes1
answer559
viewsQ: Set value in textview
Basically I’m not getting to set the value in the field. I’m doing so, I declared the variables: Restaurante restaurante; @ViewById TextView nmRestaurante; @ViewById ImageView imgLogoRestaurante;…
androidasked Renan Rodrigues 3,709 -
0
votes0
answers128
viewsQ: As of Finish in past Activity
Well I am with the following doubt, has to give finish() in fragment who have passed ? The case is as follows: I have a few screens in sequence where I use for the comrade to choose the snack, then…
-
0
votes2
answers301
viewsQ: Null Object Reference JAVA
The whole problem is happening in a search, when I click and start typing the field it goes filtering the results, when I click on one of these results to open another screen, this error: Attempt to…
-
0
votes1
answer1079
viewsQ: Take scroll bar on Ionic 3
I’m having a hard time getting the scroll bar on ionic 3 is appearing in all versions (ios, android, windows phone) What should I do ?…
-
1
votes2
answers3187
viewsQ: Sensitive and global variables Ionic 3 and angular 4
I have some sensitive variables, and the ideal would be to leave all the variables in one environment, when it is necessary to change, for example from production to development, this task becomes…
-
1
votes0
answers207
viewsQ: Problems with DOM PDF PHP
I am generating a document and this error appears: Call to Undefined method Dompdf Framedecorator Tablerowgroup::get_cellmap() My printing method is developed so: public function…
-
0
votes1
answer882
viewsQ: Decrease page size for printing
I made a function that printed a div for me, but I need it printed in tonner size. This is the code: $('#imprimirComprov').click(function () { var conteudo =…
-
0
votes1
answer58
viewsQ: Removing items from a list
The case is as follows, when I remove the data from the list, when the number of the head is greater than the second is all right for example: List<a> 0 - ITEM A 1 - ITEM B (X) Exlui este! 2 -…
-
0
votes1
answer81
viewsQ: List null android
I’m having trouble with the list, the method init() that is triggered as soon as I enter the screen has the following code: listaOpcionais = Globales.getListaOpcionais(); At this point I list what…
-
0
votes0
answers65
viewsQ: Pick up date from Intent Activity
I am setting the information like this in my Home, but I need to recover case back to screen. how to do ? Intent data = new Intent(); data.putExtra("OPCIONAIS", (Serializable) listaOpcionais);…
androidasked Renan Rodrigues 3,709 -
0
votes0
answers70
viewsQ: Replacement for onGetView on the Holder
I’m having trouble with onGetView when I have a large list of items and change for example the amount of one of them, and roll the page it is setting this number for another item. I tried to do…
-
1
votes1
answer68
viewsQ: Problems with masks in the field
My application is closing when I do a few clicks in the field, I found that it is trying to add twice mascara to the field. @FocusChange(R.id.edtTelefone) void focusAlterado(View v, boolean…
androidasked Renan Rodrigues 3,709 -
0
votes0
answers73
viewsQ: Listview updating when scrolling the page
Well this happening something very crazy, in a list I have several items where I can change values, but when I increment these values and scroll the screen down and up the values are zeroed. Another…
androidasked Renan Rodrigues 3,709 -
0
votes1
answer33
viewsA: Problems setting an Adapter on the list
After trying many times, I succeeded, they were a set of things that needed to be done: 1st did not set my view in mine onCreate lisComentarios = (ListView) findViewById(R.id.lisComentarios);…
-
0
votes0
answers26
viewsQ: List picking entire android page
People of mine listview is coming out, I need her to take only parts, I’m terrible at layout android and the expectation is totally different from the reality kkkk I need you to stay like this: And…
-
0
votes1
answer33
viewsQ: Problems setting an Adapter on the list
I need to create a dynamic list, I do not understand well how it does, some people told me that it is made with adapter and so I’m trying to do. According to break point my data is coming in…
-
1
votes1
answer112
viewsQ: Round rating for fixed stars
Good precise for example: Fill 4 and a half stars To set the value I do so: ratingBar.setRating((float) restaurante.getMedia()); When information comes from for example 4.5 he rounds up putting like…
androidasked Renan Rodrigues 3,709 -
2
votes1
answer156
viewsQ: JSON parse class java
I’m having some doubts, as I do to parse a JSON that is coming from the webservice. My class comentarios is like this: public class Comentarios extends BaseEntity { private Integer avaliacao;…
androidasked Renan Rodrigues 3,709 -
1
votes2
answers36
viewsA: Activity does not return the view
I managed to solve the problem, it was enough to change my class to: package com.fomedemais.FomeDemais; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import…
-
0
votes2
answers36
viewsQ: Activity does not return the view
I’m trying to compile but it’s not giving, my layoute is like this: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"…