Posts by Nathan • 794 points
80 posts
-
1
votes1
answer24
viewsA: Pictures don’t line up
Try to put inside a LinearLayout(horizontal), and checks whether his xml is LinearLayout or RelativeLayout. I recommend that user the RelativeLayout because you can work better.…
-
1
votes1
answer69
viewsQ: Share my result
Good afternoon, I created a football refereeing app... and looked on the internet to share the result I found this way(a member here of stackoverflow in English) String message = "Text I want to…
-
0
votes0
answers50
viewsQ: Listview error
Good afternoon, I have an error that came up after having edited a function to save data by Dialogfragment, in logCat presents the error that and my Listview is null, only that I can not take the…
-
4
votes1
answer382
viewsQ: Method to pause the countdown
Good evening, I did a countdown on my app with the play button so I could start the countdown.... only that I wanted to make a method of pausing time and when I clicked on the play button again it…
-
2
votes1
answer58
viewsQ: Post my app result on Facebook
Good afternoon... my app is to follow soccer game... containing number of goals, which teams.... and when you click to save it shows to me time1 X time2 = 2 x 0 (example) and wanted to share on…
-
0
votes1
answer89
viewsQ: Error when opening Listview of database
In my app you have activity 1 which contains editText to write the nome, contagem de golos, and nome da equipa and a button to save on banco de dados in the activity 2 contains a ListView…
-
0
votes1
answer144
viewsQ: Insert data into the database by Alertdialog
Good evening, I created a Alertdialog that asks the name of the player and puts in editText... when the user clicks to confirm it saved in the database... I made the code and it seems that I am not…
-
1
votes1
answer33
viewsA: Edition in Listview
I managed with help from @Wakim, I needed to pass the id inside the Adpter builder thus: @Override public void onResume(){ super.onResume(); DbHelper dbhe = new DbHelper(this); List<Esporte>…
-
1
votes1
answer33
viewsQ: Edition in Listview
I created a separate xml to work better with Listview.. but I’m not able to relate his id to my onCreate XML: <?xml version="1.0" encoding="utf-8"?> <LinearLayout…
-
0
votes2
answers222
viewsQ: Place an Edittext in Dialogfragment
Need to put a Edittext to fill the name... ie when the user click the button will appear a Alertdialog, which should put the name of the player, I did up to a step, here in Sopt has a question of…
-
2
votes2
answers111
viewsQ: Error in delete button
Good Afternoon, I made a delete method in my database and called it in my Activity, only my problem is that when I click on the button it doesn’t happen anything, and doesn’t present me any error in…
-
0
votes1
answer8729
viewsQ: Method of closing an Activity
Good evening, in my application I made a Dialogfragment I put a function to close current Activity and go back to previous, the call put in the onBackPressed() and the code that makes this function…
-
0
votes2
answers102
viewsQ: Delete onClick error
My application has a button to delete all records from the database, I did the delete method and when I click the button it presents me the error. Logcat: E/AndroidRuntime: FATAL EXCEPTION: main…
-
0
votes2
answers2189
viewsQ: How to delete all records from the database
Good afternoon, in my application has a database that shows the results of the game, I put a button that its function will be to erase all the data of the bank... how do I do this part? in the blogs…
-
0
votes1
answer62
viewsQ: Format the Chronometer
In my application I inserted a Chronometer that simulates a playing time... but when I click stop and then continue it shows me in format (00:00:00:00) and wanted to show me again at (00:00) Note:…
-
0
votes1
answer84
viewsQ: onClick on the menu
Good Afternoon, in my application I have a menu with two items and are ifRoom, when I put my function to save the match it shows an error in Logcat but I do not know how to solve... someone could…
-
1
votes1
answer41
viewsQ: Not converting INTEGER to String
Good Afternoon, my application has the function of monitoring virtually a football game, and it contains a button that saves the name of the team and the number of goals that the team made... Only…
-
1
votes1
answer216
viewsQ: Error "Please configure your build for Vectordrawablecompat"
I created an application that uses the database and it is not running. When I open it shows the following message "The Beta Database app has stopped" So I went to see Logcat and he shows that the…
-
2
votes1
answer137
viewsQ: My application is closing when starting the screen with database
My activity with the database is with some problem, because I created the class right and Android Studio is not showing any error, but when I will run it on mobile when opening activity that has the…
-
0
votes1
answer297
viewsQ: After Sqlite my application stopped working
I’m developing an app and needed to put the database SQLite, after I put in when I will open the application it gives an error showing that the application stopped working, I asked my teacher of…
-
2
votes1
answer398
viewsQ: Calling up database in another Activity
Good afternoon, I created an application that counts the number of goals and the name of the team, and in the application has a button called result (in the menu) that opens another Activity result,…
-
-3
votes1
answer1959
viewsQ: Jquery code $ accuses that is not set
Good afternoon. I was tidying up the code (cleaning) and when I see it on the Chrome console, it accuses that $ is not defined. Code jQuery: $(document).ready(function () {…
-
1
votes1
answer334
viewsQ: Timer with the Chronometer
I’m developing an app and it uses the timer by clicking on play to start and pause it to pause, only when I click again on play he Zera, would have how to keep counting the time? java code: public…
-
1
votes1
answer67
viewsQ: Click one button and make another appear
How do I click on botao1 and do the botao2 and botao3 appear on the screen? I left the botao2 and the botao3 visibility = invisible.…
-
0
votes1
answer7472
viewsQ: Share content
Good afternoon, in my html project, I put a button that when I click it shares in Whatsapp with the title I put, I wanted it to share and appear my content, showing the title, the description...…
-
1
votes1
answer36
viewsQ: Javascript Error Event Definition
Good afternoon, I made a popup with jquery, and when I put it to work in inspecte of element it shows an error to the following : Events:1357 Uncaught Referenceerror: abre_popup is not defined I…
-
1
votes2
answers4318
viewsQ: Change color CSS
Good afternoon, I’m with a doubt as I can do to change the color of a div by passing the mouse on another for example: I have two div with the name of the first div of 1 and the second div with the…
-
0
votes0
answers120
viewsQ: Error uploading an html page
Good afternoon, I have a problem when I go up an html page on the server, I created this project in mvc5 c# and use Filezilla to move things up the server when, the part I did was a popup and when I…
-
-2
votes1
answer257
viewsQ: Sqlite database in android project
Good afternoon, I’m having a question, I’m doing a project on Android Stúdio and my application has an idea of notepad, and I was wondering if it has how to show the annotations when initializing…
-
1
votes1
answer152
viewsQ: Button with link on MVC5 is not working
I created a popup in a project mvc5 (Razor) and it is not working the link that when clicked on the button would go to another page but is not working I will post the code here below. Code : <div…