Posts by Dibai • 335 points
14 posts
-
2
votes1
answer68
viewsQ: How do a button process the same Function more than once?
I’m making a Pomodoro Clock, consists of a clock that is a countdown of 25 minutes, after that 25 minutes has a Short Break, which is a 5 minute break for rest. My HTML5 code has two buttons that…
-
1
votes1
answer603
viewsA: Error accessing "Java Build Path" in Eclipse
Try to start Eclipse by cmd/terminal with the option -clean On Windows: Eclipse.exe -clean On Linux: ./eclipse -clean or if Eclipse is in your PATH eclipse -clean This will clear the cache of…
-
1
votes1
answer2629
viewsQ: Android Studio with Mainactivity Problem
I started using Android Studio today, and when creating the App Project I came across a problem: I can create, but the Mainactivity class is full of errors and I haven’t changed anything in the…
-
1
votes1
answer1138
viewsQ: Remove item from Listview
Well I have a list, in which there are some items that the user himself creates. With this I am also wanting to give the user an option to remove the items not to get accumulated, so I searched and…
-
0
votes0
answers1356
viewsQ: How to get the date that the user put in the calendar?
I’m making a program in which you need the user to put the date of their commitment, and what happens my application will send a notification to him two days before the commitment so that the user…
-
7
votes1
answer5620
viewsQ: How to make an expandable Listview?
I want to make a ListView only that customized, clicking on it will open a tab below to show more information and the next item of ListView will automatically descend a little to the open tab,…
-
1
votes1
answer86
viewsA: Google play services and setInterval
Hello my first tip is you put the connect and the disconnect within the onPause and of onResume thus: @Override protected void onResume() { super.onResume(); locationClient.connect(); } @Override…
-
1
votes1
answer124
viewsQ: Sharedpreferences within each Listview item
Let’s get to the point: I have two items in my ListView: Item 1 Item 2 Inside each item has a calculator that stores the result. Whereas: Item 1 = 0 Item 2 = 0 In the calculator that is in item 1, I…
-
0
votes1
answer251
viewsQ: How to get the main color of an Imageview?
I wanted to know without having to post my code, how to get the main color of a certain point within a ImageView, for example I have a frame and within that frame has 3 colors, the color on the…
-
0
votes0
answers81
viewsQ: How to exchange the value of variables between Activitys?
I have three classes : Main1 Main2 Main3 Now inside the Main1 have a float: static float f = 3.5; And inside the Main2 have a TextView: public static TextView tv; And in the Main3 want to put :…
-
0
votes3
answers2626
viewsQ: How to exchange information between classes?
I want to pass information from one class to another for example: TextView t; I have a Textview here called t and he’s in the Main class. Now in the Main2 class: t.setText("TextView saiu da Main…
-
4
votes2
answers1201
viewsQ: How to store information when leaving an application and recover in next use?
I would like to know how to store information, such as this variable: int t = 0; Let’s say that during the use of the application, the user did some operation that added + 5 in this variable. How do…
-
1
votes1
answer495
viewsQ: How to add two floats interacting with the UI?
I wanted to add two floats, but I put the first decimal number on EditText and when I’m going to add one more decimal number, I put it in EditText milestone in the CheckBox and he continues the same…
-
0
votes1
answer86
viewsQ: Android: Unfortunately, Sample has stopped
I’m creating an application but in case it gives problem when running to a certain point, I want to transform geoi = 0; and Mati = 0; , and when I add any number in edittext it will put that number…