Posts by Marcio Vieira • 83 points
10 posts
-
0
votes1
answer651
viewsQ: Set cursor focus position in Edittext
Is there any way when I call the virtual keyboard (SoftKeyboard) set the cursor position? I have a EditText which is already filled in by default the number 10, when the keyboard starts I want the…
-
2
votes1
answer434
viewsQ: Check Connection to bank and validate to user
I would like to know the following: I am trying to make an application that makes several connections to the database. I always wanted to check the connections and if the connection is not available…
-
2
votes3
answers883
viewsQ: Validate whether INSERT was successfully executed or not (JTDS)
I would like to know a form of validation to know if the Insert was successfully executed, I have no idea how to do this because the execute() method does not return anything!!! Connection…
-
1
votes0
answers329
viewsQ: JAVA - Is there any way to send a print to Windows Spool?
I wonder if there is any way to send a print to Windows Spooler via java... I tried via Socket, Printwriter and everything, but I can’t send it to Spool, only directly to the printer!!!!
-
1
votes1
answer864
viewsQ: How do I call a progressBar inside the Dialog?
I wonder if there is any way to call a Progressbar inside a Alertdialog... If so, how do I?
-
0
votes1
answer805
viewsQ: Android Studio Screen - Block Completely Touch
My question is the following, I have an Activity that finalizes an order and inserts the data of that request in the database and it takes a little time.... I wonder if there is any way to lock the…
-
0
votes1
answer29
viewsQ: Get Timestamp from Sqlserver
I really wanted to get the TimeStamp from the Sqlserver database, but I’m not getting it, follow my example: Connection connUpdate = DriverManager.getConnection(ConnectionURL); PreparedStatement…
-
0
votes1
answer221
viewsQ: Toggle Tabs in Viewpager via the Fragment button
I wonder if there is any way to switch between tabs by the Ragment itself. I have a Viewpager with 2 tabs and I would like to switch via buttons because I validate some fields before switching tabs.…
-
0
votes1
answer177
viewsQ: Android Studio Scrollview - Is there any way to modify the size via code?
The question is this... I have a Vertical Scrollview with 20 buttons positioned in 5x2 view, when I use the scroll I see the other 10 buttons that are hidden, but these buttons are invisible if I do…
-
0
votes0
answers351
viewsQ: Android Studio - Print via Windows spooler
I wonder if there is a way to send the prints via windows spooler. I am making a bar site and as I have many apps connected at the same time in the network, if I have printed directly in the…