Posts by leonero • 177 points
10 posts
-
1
votes0
answers147
viewsQ: Problem with input and autofocus
I’m having a little problem with inputs... I have two inputs: the first has autofocus and the other does not. However, whenever I type in the second input, it loses focus and focus goes back to the…
-
3
votes1
answer2751
viewsQ: Notifications in a given time and on mobile phone
Hello. I’m making an android app that notifies me when I have to deliver a school assignment and, if it’s the day of the task or the day before, I want to be notified at certain times. The home…
-
0
votes0
answers215
viewsQ: List View always returns first position
I’m making an app to manage my exams at school and it’s almost ready. However, there is a problem: when I want the position (int position) of Listview, it returns ALWAYS the first position, even if…
-
1
votes0
answers185
viewsQ: Sqlite and Android database
Hello, I’m making a small app and need to search database data and display them on the screen. Databasehelper.java public class DatabaseHelper extends SQLiteOpenHelper { private static final String…
-
0
votes1
answer293
viewsQ: List View and Normal Layout in an Activity
Hello, I’m wanting a screen to have a button and, below that button, a list with several items. But it turns out that the buttons are multiplied. Behold: Activity.xml <?xml version="1.0"…
-
0
votes1
answer177
viewsQ: Reset Password with Rails
I am working on a project and I need to do a password reset system. I’m not using g and I don’t want to use. I found that the can_change filter runs and I am redirected to the user page, which makes…
ruby-on-railsasked leonero 177 -
0
votes1
answer323
viewsQ: Relationships with Rails
I’m doing a small blog in Ruby on Rails, but I’m having problems in the comments part. In controllers/posts/comments_controller.rb I have the following: class Posts::CommentsController <…
-
1
votes1
answer313
viewsQ: Map of Google Maps disappeared
Hello, I am using the JS V3 API from Google Maps. I went to style the page and the map disappeared. jQuery, CSS and HTML: $(function() { $('.nav-toggle').click(function() { if…
-
2
votes2
answers341
viewsQ: PHP array for JSON
Hello, all right, all right? I am taking the values of a table in a database and "transform" them into JSON. I am with the following PHP code: $sql = "SELECT * FROM pessoas"; $query =…
-
6
votes1
answer378
views