Posts by rodrigo.oliveira • 1,251 points
82 posts
-
2
votes0
answers23
viewsQ: Textview does not show all the long text, no automatic line break
Textview name does not show all text, name text is dynamic, I’ve tried to leave it with multiple lines but it didn’t work. <?xml version="1.0" encoding="utf-8"?>…
-
0
votes0
answers33
viewsQ: Screens starting on full screen
I’m facing a problem with browsing between screens in my app, the screens are starting on full screen and I can’t leave it normal. What I call navigation void onDonePress() { // Do what you want…
-
0
votes1
answer64
viewsA: Trouble getting Oauth2 token
Problem solved, the Collection I had created was capitalized. And Mongoose couldn’t find it. I changed it to everything minute and it worked;
-
0
votes1
answer64
viewsQ: Trouble getting Oauth2 token
I’m having trouble getting the token from Oauth2 I’m trying by Postman to get the token. I have registered in the user who is trying to get a token { "statusCode": 400, "status": 400, "code": 400,…
-
5
votes0
answers63
viewsQ: Progressibar with Steps position gets wrong
I’m having trouble leaving in the correct position of the flow with progress <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/checkout_hsv_scrollview"…
-
1
votes1
answer512
viewsA: Android - Hide Actionbar buttons
To hide Actionbar buttons you need to create an instance Menuitem item follows an example of how I do. public boolean onCreateOptionsMenu (Menu menu){ String permissoes =…
-
0
votes1
answer32
viewsA: Insert Image in code, Android Setimage, Error while doing dynamic in java
Try it this way SeuContexto.getDrawable(R.drawable.img)
-
4
votes2
answers1951
viewsA: App - Xamarin or Ionic?
What is the main difference between Xamarin and Ionic? Xamarin: Native mobile apps can be developed by writing in C# for both IOS and Android. Ionic: App is hybridized, runs within a browser and…
-
1
votes1
answer93
viewsA: How to keep Textview centralized in the emulator?
If textView is inside a Linearlayout you can assign it to it like this android:Gravity="center" will already center the text. <TextView android:id="@+id/txtSeusEquipamentos"…
-
0
votes0
answers39
viewsQ: Android mode twelve does not return app in background
I have a problem that is this: My application sends the coordinates from time to time (I get this interval from Webservice). But the biggest problem is when the phone is turned off or even restarted…
-
0
votes1
answer46
viewsQ: Bottomnavigationview does not work on first click
I’m having a problem in my forward menu, it does not work when I click the first time, it is necessary to click twice to perform the action…
-
0
votes1
answer357
viewsQ: java.lang.Indexoutofboundsexception: Invalid index 2, size is 2
I’m having an error to save my package’s vigencias, I’m passing the array position. which may be wrong? int position = 0; for (Pacote pacote: pacoteList) { Vigencia vigencia = new Vigencia(); if…
-
0
votes1
answer137
viewsQ: Bottomnavigationview is not at the bottom of the screen
I am with a problem is a layout I am developing, this is my Activity for customer registration and I have only in it a Bottomnavigationview, and a Linearlayout that I will replace with a Fragment…
-
0
votes1
answer495
viewsQ: Botao FAB does not stay in place
I do not know what is happening the FAB button climbs on top of another component when compiling, but in the preview it is right. <?xml version="1.0" encoding="utf-8"?>…
-
0
votes0
answers139
viewsQ: Return Null even with registration in Sqlite database
I’m having a problem making this query where I’m looking for the product code and service code. If I make a select without WHERE I get results but doing this way my Product object always returns…
-
0
votes1
answer254
viewsQ: Custom Recyclerview Blanks
I’m having trouble in my custom list is with too much blank item space for each other Follows code <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content"…
-
0
votes0
answers179
viewsQ: Icone android app got smaller than the Standard
My app got the smaller icon than the display pattern of other apps, what could be happening to make it smaller? follows a display image.…
androidasked rodrigo.oliveira 1,251 -
1
votes1
answer621
viewsA: How to pass Delphi qry.filter parameters
I was able to solve it this way qryLista.Filter := 'UPPER(CSITUCTMNF) LIKE'+ UpperCase(QuotedStr(situcacao))+ 'AND UPPER(CTPDCCTMNF) LIKE'+ UpperCase(QuotedStr(documento))+ 'AND UPPER(CTIPOCTMNF)…
-
1
votes1
answer621
viewsQ: How to pass Delphi qry.filter parameters
I need to filter data from a grid, but I need to pass by parameter. in case all data needs to be returned. Always do as follows to show all data in Grid Example: SELECT FROM TABELA A WHERE (A.NUM =…
-
0
votes4
answers4554
viewsA: GROUP BY and ORDER BY Mysql
If you do so by grouping by ID and year should come the expected result SELECT * FROM tabela WHERE id_cliente = '$id_cliente' GROUP BY ano,id_cliente ORDER BY ano,id_cliente DESC…
-
0
votes1
answer767
viewsA: Newtonsoft.Json.Jsonreaderexception When making a POST
The problem was time to Deserialize the object, I switched to Dynamic and solved my problem. public async Task<dynamic> AddFrutas(Fruta fruta) { HttpClient client = new HttpClient(); var data…
-
1
votes1
answer767
viewsQ: Newtonsoft.Json.Jsonreaderexception When making a POST
I’m having trouble doing the post in my API my app up to register the object but then it locks the application and closes with this error of execution: Newtonsoft.Json.Jsonreaderexception:…
-
1
votes1
answer131
viewsQ: Delphi Add line in SQL error LIST OF BOUNDS (3)
I have a problem adding a line to my SQL LIST OF BOUNDS (3) Delphi : clausulaIn := 'AND A.NNUMEMAPAF IN (0'; while not Q_Mapas.Eof do begin clausulaIn := clausulaIn + ',' +…
-
2
votes1
answer259
viewsQ: Export Date Type to openoffice/libreoffice Delphi
How can I export a Date type to openoffice/libreoffice when I need to export a String type. SheetOpenOffice.GetCellByPosition(vCont,vlinha).SetString(Q_Assoc.Fields[i].AsString); How can I do when…
delphiasked rodrigo.oliveira 1,251 -
0
votes1
answer597
viewsA: How to return zero when JOIN does not bring me a value?
It was settled with a OUTER JOIN, I forced to bring the data even if they were null. SELECT A.NCODIMVEPI, D.CCODIEQEPI, A.DDATAMVEPI, B.CNOMEFUNCI || ' / CRACHA& ' || B.CCHRMFUNCI || ' /…
-
0
votes1
answer597
viewsQ: How to return zero when JOIN does not bring me a value?
I have a problem with this SQL, when I need to list a drive but SMTITMVE the code has not yet been recorded. Ai when JOIN AND A.NCODIMVEPI = E.NCODIMVEPI.and JOIN AND D.NCODIEQEPI = E.NCODIEQEPI.…
-
1
votes1
answer1663
viewsQ: Checklist Box Delphi how to get the Item String checked
I’m having a problem with how to get the Checklistbox string that is selected. how can I solve the problem var setores : array of string for I := 0 to auditoriaDeEPIFrm.lckCheck.Items.Count - 1 do…
delphiasked rodrigo.oliveira 1,251 -
1
votes1
answer340
viewsQ: Oracle End of file when running
I’m getting the following error message when running this trial *Encontrado simbolo "end of file" quando era esperado:* DECLARE -- LOCAL VARIABLES HERE I INTEGER; BEGIN FOR NCM IN (SELECT * FROM…
-
0
votes1
answer622
viewsA: Dblookupcombobox listfieldindex Setting the index the combobox comes empty
I solved as follows using keyValue cbcPais.keyValue :=1;
-
1
votes1
answer622
viewsQ: Dblookupcombobox listfieldindex Setting the index the combobox comes empty
I have a problem with Dblookupcombobox, even setting the value of listfieldindex , he is not bringing the item to the combobox cbcPais.ListIndex := 1;
-
3
votes2
answers246
viewsQ: DATES applied SQL Decode function
I have a question I need to make a select where I need to show if a client’s registration is active or not, in the database is treated as follows, has a field date of exit if the field is empty the…
-
1
votes1
answer163
viewsA: START_TAG error {http://schemas.xmlsoap.org/soap/envelope/}
I looked at your URL by SOAPUI and saw that the version of your xml is 1.1 change the line SoapSerializationEnvelope envelope = new SoapSerializationEnvelope( SoapEnvelope.VER10); To…
-
1
votes1
answer521
viewsQ: How to add only a few Activity navigation Drawer
I’m having a question how I can add the navigation Drawer the left side menu in some activities. I started the project by Blakactivity and now the need to add the side menu has arisen. I already…
-
3
votes2
answers2696
viewsQ: Regular expression
I have a question how can I make a regular expression to remove phone masks, Cpf, cnpj. I managed to get ("-") out of the zip code String[] cepText = edtCep.getText().toString().split("-"); there in…
-
2
votes1
answer50
viewsA: Open new screen with clicked user options
listDebitosPendentes.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { Intent intent =…
-
3
votes1
answer195
viewsQ: Calling a method using Spinner selection
It is possible to call a method using a Spinner android? I need to be selected the option and based on this selected option I need to send a request to the webservice, and this return me the other…
-
1
votes1
answer262
viewsA: Alertdialog button does not appear
Had stayed like this: activity.runOnUiThread(new Runnable() { @Override public void run() { mProgressDialog.dismiss(); builder = new AlertDialog.Builder(activity); // builder.setMessage("Teste ok?")…
androidanswered rodrigo.oliveira 1,251 -
1
votes1
answer83
viewsQ: Listview Adapter problems with whitespace
I am creating a listview with adpater and I have a problem, I needed to add an image in the middle of the list to stay in the right corner, this image is only an arrow. how can I solve there it…
-
1
votes2
answers633
viewsQ: Toast is not displayed
I’m having a problem Toast doesn’t show up when I make a request on for my web service, the whole method stays inside my thread, I did a test putting a message out of the thread then it shows up,…
-
1
votes1
answer29
viewsQ: Meta tag wordpress
I have developed a site in wordpress for real estate administration to rent houses and apartments on the beach, and I’m wondering how can I add meta tags to optimize the searches in google, how can…
-
5
votes1
answer300
viewsA: Android - String and varchar comparison
Type String are objects and to compare you should use the equals to make the comparison between them. if (pass_jogador.equals(verifica_pass) ){..} I suggest you read this answer:…
-
-2
votes1
answer288
viewsQ: How to add navigation Drawer
I’ve already added Drawer navigation to my project, only I need to add menu button in the action bar, how can I solve this problem?
-
1
votes1
answer111
viewsA: Error generating apk in Ionic framework v 1
Update your SDK android list sdk android update sdk --no-ui --filter extra Update your Ionic Android settings ionic platform remove android ionic platform add android…
ionicanswered rodrigo.oliveira 1,251 -
0
votes2
answers659
viewsA: How to use the Clipboard to copy and paste
My solution: final AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(DetalhesDebitosActivity.this); //alertDialogBuilder.setMessage(result); final TextView input = new…
-
-1
votes2
answers659
viewsQ: How to use the Clipboard to copy and paste
How to use the clipboar android, to copy a text from a textView, I need to copy this text and use to paste elsewhere.
-
3
votes1
answer69
viewsQ: Error while adding Progressidialog
I’m having trouble adding a dialog in this listview method, there is another way to make it work? listDebitosPendentes.setOnItemClickListener(new AdapterView.OnItemClickListener() { dialog =…
-
0
votes1
answer40
viewsA: Button does not call web service method
I was able to solve the issue, researching more what could be causing my problem, I found about good practices on how to use click events. It was as follows: public View.OnClickListener…
-
3
votes1
answer40
viewsQ: Button does not call web service method
I’m having trouble calling a method from my webservice,this method I send the boleto by email to the user, for some reason it’s not working. I have a listview with all the boletos and the user…
-
1
votes2
answers50
viewsQ: Layout with listview questions
I’m facing a problem in layout, in this layout I have a Listview and after I have 3 more Buttons only when the list is too big it uses all screen size and I can’t see the Buttons, someone can help…
-
1
votes1
answer17
viewsA: Android Parser from soapFault
I decided as follows, in the method where I call the Web Service to check the login I used the following check: if(envelope.bodyIn instanceof SoapFault) { strFault = ((SoapFault)…