Posts by Ari Melo • 131 points
25 posts
-
0
votes1
answer104
viewsQ: Configuration of the Notificationcompat
I have a simple app to send Notifications, vibrate, and tap on receipt. On my android 4.3 it works, on another my mobile with android 9 it just touch, does not show notification and neither…
-
-1
votes1
answer61
viewsQ: Error clear Textwatcher field
Staff use the TextWacher in the EditText, works perfectly and when I finish the registration I put campo.setText(""); it does not clean, close the application and shows an error. my class…
-
0
votes1
answer47
viewsQ: Create alternate layout
I have a project and I need to adjust to the various types of screens, I have tried with the ConstraintLayout more to what I want doesn’t work, I researched and found something about Alternative…
-
2
votes1
answer139
viewsA: Configure Cardview in Recyclerview
I could find it, just put cardUseCompatPadding in Cardview with true.
-
0
votes1
answer139
viewsQ: Configure Cardview in Recyclerview
I have a RecyclerView and use with CardView, the problem is that in one version of android the visualization is different from the other. I would like the visualization of android 9.0 to be the same…
-
0
votes1
answer94
viewsQ: Start with Splash Screen
I have a project and use the Navigation Drawer Activity, and there was the need to put a Splash screen at the beginning of the project, I tried to put and now is giving an error when opening the…
-
0
votes1
answer173
viewsA: Accentuation in Edittext
I was able to solve this problem with the following solution: It had this code snippet: Method that initiated the process. private void inserirWEBService() { String url =…
-
0
votes1
answer173
viewsQ: Accentuation in Edittext
I have an API 28 application that consumes Webservice and sends data by GET using Json, and I need a field EditText which accepts Accents, but when it arrives in the database it only records up to…
-
1
votes2
answers355
viewsQ: Validate Edittext within Alertdialog
I have a AlertDialog and inside of it I have a EditText and need to validate and after validate run the method enviarEmail(), how do I do? Man AlertDialog : AlertDialog.Builder caixaDialog = new…
-
0
votes1
answer246
viewsQ: Change the color of the Recycleview line
have a RecycleView and would like to change the color of the line when selected, click the selection I have already implemented and working.
-
0
votes2
answers73
viewsQ: Line limit in Recycleview
I have a RecycleView which returns many lines, configure the layout_height for a specific size, more than one cell phone to another the amount of line increases or decreases, I would like to adjust…
-
0
votes0
answers26
viewsQ: Click on the Recycleview Item
I have a project and use the Navigation Drawer As layout, and inflate all fragmentos, well there was the need to have RecycleView, in it I get the result done by a select, only I also need it to be…
-
1
votes1
answer626
viewsQ: How to change the font and color of the navigation Drawer side menu
Hello, I have a project created as DrawerLayout and would like to customize by changing the type of font, size and color. but I can’t. Change part to red.…
-
1
votes1
answer37
viewsQ: Email body in utf-8
I have a class that sends email, only it’s not sending with the accented characters. Send class public boolean send() throws Exception { Properties props = _setProperties(); if (!_user.equals("")…
-
1
votes1
answer320
viewsQ: Destroy fragment on return
I have a NavigationDrawer with many menus on Navigation all open as fragment, when I open a fragment and return it returns to the home screen and if it comes back again close, blz ta correct. But if…
-
-1
votes1
answer131
viewsQ: Use setSupportActionBar on Fragment
I have an app that uses NavigationDrawer, I need to change the name of toolbar for each fragment. My MainActivity extension of AppCompatActivity then I can change the fragment name using: toolbar =…
-
1
votes1
answer394
viewsQ: Event onBackPressed
I have a project with Navigationdrawer, on the main page I have a menu, and on the other fragments I inflate, only when I press the back of the navigationbar 'back button of the mobile phone', it…
-
0
votes0
answers151
viewsQ: Recyclerview Line Limit
I got a problem, I got a RecyclerView, and you’re bringing the information perfectly. It is basic only lists below each other, only it is not bringing all the records, do the query by another…
-
1
votes1
answer48
viewsQ: Select by period
I have this select. SELECT 5125 matricula, CONCAT(fum.nomeguerra, ' / ' , fuc.nomeguerra) nomeguerra, date_format(es.data, '%d/%m/%Y') as data, es.semana, es.horarios, es.linha FROM escala es LEFT…
-
0
votes0
answers277
viewsQ: Click Effect on Android Button
Hello people I have the following situation; boot selected.xml <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"…
-
1
votes1
answer1191
viewsQ: Get the phone chip number
I’d like to return the cell phone chip number. TelephonyManager telephonyManager = (TelephonyManager) this.getSystemService(Context.TELEPHONY_SERVICE); String number =…
-
0
votes1
answer677
viewsQ: Send SMS using android
I have an app and I would like him to send a text to his own mobile but I’m not getting, not from the error just not send. SmsManager smsManager = SmsManager.getDefault();…
-
0
votes0
answers190
viewsQ: Minimum version of android studio installs but does not open
I have a project that compiles in the version compileSdkVersion 28, and put the minimum minSdkVersion 18, I use the mobile to test the app and works perfect mine is android 8.0 and I’m trying to…
-
1
votes1
answer107
viewsQ: Include if in query
I would like to include a condition in the sql query, below. $Q_horario = "SELECT ". " H.horario As horario, ". " L.codigo As codlinha, ". " L.descricao As linha, ". " L.tipo As tipo, ". " IF…
-
1
votes0
answers423
viewsQ: Take the value of an html select option and put it in the query.
I am with a huge doubt, it would be the following; I need to take the value of the Select Option that is in the HTML form and play in the SQL query that is in the same file . PHP, follow ex:…