Posts by denis • 499 points
38 posts
-
0
votes2
answers504
viewsQ: Creating folder that does not erase when uninstall to save backup - Flutter
I am developing a backup system using path_provider, with the following code. // Busca o local que esta o arquivo Directory documentsDirectory = await getApplicationDocumentsDirectory(); final path…
-
0
votes1
answer52
viewsQ: Dartime Format (month name with minuscule letter)
I am formatting the following date "2020-03-25" and I want it to come out "March 25" but with my formatting it is coming out "March 25" the name of the month is coming out with minuscule letter, it…
-
0
votes1
answer62
viewsQ: How to take off Floatingactionbutton from Bottomnavigationbar items?
I’m developing a screen with a floatingactionbutton in the middle of a bottom navigation however, it is very close to the menu items. How do I give a correct spacing? My code: class _NavigationState…
-
0
votes2
answers1988
viewsQ: Scrollview with a Fixed Container in the Footer - Flutter
I would like a Scrollview with a fixed container in the footer because in it I will position a banner of admob but I cannot fix this container I want it to be independent of the scrollview and…
-
-1
votes1
answer73
viewsQ: Zeroing a slider’s default margin on flutter
How do I reset the margins of a slider in the flutter Slider( value: valueHolder.toDouble(), min: 0, max: 100, divisions: 100, activeColor: Colors.green, inactiveColor: Colors.grey, label:…
-
0
votes1
answer73
viewsQ: Add two columns and subtract with condition
I am trying to sum two columns after subtracting the following way in sql: SELECT sum(valor) WHERE lancamentotipo = "R" - sum(valor) WHERE lancamentotipo = "D" from lancamentos From the above by…
-
2
votes0
answers141
viewsQ: Sign flutter project with the same Keystore as an already published project
I have a question I have an application made in Kotlin in android studio already published in the store but I discovered the flutter and I like to use it more as language, I was thinking of redoing…
-
1
votes2
answers1131
viewsQ: Convert Map to String to fill Dropdown in Flutter
I’m having a hard time filling one dropdown. Using data from a query sqflite I have already made the following codes: A Future map that returns my database categories in the following format: [ {…
-
-1
votes1
answer518
viewsQ: Day Scrolling for Month Scrolling
Good night! I have this example of day scrolling that makes the user scroll through the dates of the month with each click both forward and backward. However, I would like that, instead of every…
-
1
votes2
answers560
viewsQ: Check Empty Fluttter async return
How can I check if a return async of a particular sqlite is empty? I need to check if the "resultReceita" is null before displaying it in the widget. I tried with an if however, I did not succeed.…
-
1
votes1
answer141
viewsQ: Automatically scroll down an android layout after click event
Is it possible to automatically scroll down the layout after a click event? I have this layout that displays a result when the user fills the data and clicks, but I’m afraid that on devices with…
android-xmlasked denis 499 -
0
votes1
answer1150
viewsQ: How to display async sqlite query inside a Widget in Flutter
Good morning! I have an application with sqlite. The idea is to take the value entered by the user and display on the homepage through sum. I can display the value correctly by android studio…
-
0
votes1
answer185
viewsQ: Sum fields of a Firebase Bank
I need to add the fields of my bank Firebase, that is the field Receita that is inside the collection Dados follows the picture below: I am using the following code to make a simple read, sets to…
-
1
votes2
answers79
viewsQ: Action after back background application
I have a webview on android that always checks if there is internet when returning from the background checking if the connection status has been changed if it is offline the app sends the user to a…
-
0
votes1
answer59
viewsQ: Remove menu navigation controller
As I remove this gray menu from my webview I think it’s something related to navigation controller n I’m sure…
-
0
votes1
answer162
viewsQ: Doubt back button when opening webview browser
Good afternoon I have the following doubt I use a shouldOverrideUrlLoading to detect when certain link is clicked inside my webview for firing in android browser, Is there any way that opening this…
-
-1
votes2
answers80
views -
0
votes1
answer103
viewsQ: Read Json Object with PHP
Good evening I’m trying to read the following json with php: { "kind": "customsearch#search", "url": { "type": "application/json", "template":…
-
-1
votes1
answer66
viewsQ: How to scan data like google?
Good evening as I can make an application that basically works like google, I want to type a keyword and get results on, or pull data from google itself, which language and path should I use?
-
0
votes0
answers125
viewsQ: Pull information from another page
Through a certain url I receive the following code <script> window["ytInitialData"] = {"responseContext":{"serviceTrackingParams": [{"service":"GFEEDBACK","params":…
-
0
votes2
answers198
viewsQ: Automatically update data obtained from json api - Volley
Hello guys I have the following problem I have an application that uses Volley to get certain data json through api up to there all right it works properly but the problem is Volley cache that does…
-
0
votes1
answer41
viewsQ: How to Save Data on Mobile
Hello I have an application that receives certain data from an api, what should be done for the data received by the api to be saved on mobile? because I want the app to work without internet
-
3
votes1
answer328
viewsQ: How do Admob banner fill full width?
Hello zeroes padding of XML and put wrap_content, but the banner of AdMob does not fill all width is spaces as solve? Code: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout…
-
0
votes1
answer77
viewsQ: Display value from another screen
Hello I’m working with the following code: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_conversor); String t =…
-
0
votes1
answer57
viewsQ: Pass Volley api data to another screen
I have an application that gets given via api using Volley My code: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);…
-
1
votes1
answer309
viewsQ: Parsing JSON with Volley android
I have this JSON on the server side: [{"idreg":"271896", "code":"USD", "codein":"BRL", "name":"D\u00f3lar Comercial", "high":"3.2652", "pctChange":"-0.939", "open":"0", "bid":"3.2492",…
-
1
votes1
answer57
viewsQ: Application closing when consuming json
What should I do to fix this crash? My code: public class Tela1 extends AppCompatActivity { TextView textView2; String[] objetos = new String[0]; String url1 =…
-
1
votes2
answers439
viewsQ: Json path to get api value
How to take the value of low of the following api: [{"idreg":"257052","code":"USD","codein":"BRL","name":"D\u00f3lar Comercial",…
-
3
votes2
answers62
viewsQ: Misaligned images
I’m using the following .xml as a main screen: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent"…
-
-2
votes1
answer215
viewsQ: file_get_contents
How to get the quotation value through the file get Contents of the following page: https://www.google.com/finance?q=USDBRL&ei=tb1KWOHWLMX_mAGJyLnIBw…
-
1
votes1
answer41
viewsQ: Change Actionbar title in older versions
Hello I have four screens in my android app and I want in each screen the action bar has a different name. I tried to change the title using getActionBar().setTile(): But since I have API 9 as a…
-
0
votes1
answer452
viewsQ: Scrollview with Relativelayout
How do I make for the RelativeLayout occupy the entire height of the screen inside the ScrollView? (tried wrap_contet but as I have advertised Admob she gives error with the button) Code: <?xml…
-
2
votes1
answer644
viewsQ: How to increase Alertdialog text size?
You can increase the font size of a message I display inside a AlertDialog? Code: AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this); builder.setMessage("Gasolina");…
-
2
votes2
answers609
viewsQ: Layout does not fit on the screen after rotation
I developed an application that works normally but when I turn the screen to landscape orientation the app is cut and not to go down and view the rest of the content and also the Admob I implemented…
-
2
votes6
answers3996
viewsQ: Check if Edittext is empty
Hello guys I’m making an app on android studio but I don’t know exactly how to check if the text fields are empty, I tried the following solution in the code below : public class MainActivity…
-
1
votes1
answer918
viewsQ: By clicking anywhere on the page open a new page with a time limit?
How do I stop when the user clicks anywhere on my website to open a determined external site in a new tab and with cookies to limit the opening of the site determined by time?
javascriptasked denis 499 -
0
votes1
answer419
viewsQ: How to know which network a video belongs to?
How to know which network a video belongs through the youtube api?
-
4
votes1
answer1695
viewsQ: How to know if the video is copyrighted via youtube api
There is a way for json to find out if a particular video is copyrighted by the youtube api?