Posts by user2647038 • 337 points
11 posts
-
0
votes1
answer170
viewsQ: Add information to a. json file
You can add information with a different reference to a json file with php? Type: file json. { 'id': 'rt6hj7'{ 'nome':'Miguel' }, 'id': 'rt10hg9'{ 'nome':'Sagas' } } And add Jose with id: 8dhus8763…
-
0
votes1
answer31
viewsQ: Error in mysql query
I am hours away from realizing what is wrong with my query. I would like you to give me a help SELECT `recargas`.`valor_recarga` as saldo FROM `contas_pessoais` INNER JOIN `contas` ON…
-
1
votes1
answer124
viewsQ: Store data in the database using PDO::commit
Hello... I never used PDO::Commit, but now I see the need to use ... and just now, even following the php doc and some examples on the net, I can’t store the data ... here’s my code: php connection.…
-
6
votes1
answer732
viewsQ: Difference between scheduleAtFixedRate and Schedule in the Scheduledexecutorservice class
What’s the difference between scheduleAtFixedRate and schedule? I am developing an Android app that I want to be 50 minutes late before starting an action and repeat that action in the next 50…
-
1
votes0
answers129
viewsQ: Start service with Timertask
I am trying to start an Android notification service with Timertask but returns me the following error: 02-03 16:06:00.164 15051-15379/com.celiogarcia.setapp E/AndroidRuntime﹕ FATAL EXCEPTION:…
-
1
votes1
answer189
viewsA: Alarmmanager does not cancel scheduled alarm
I changed the line Intent intent = new Intent(context, MyReceiver.class); for Intent intent = new Intent(context, ReceiverNotification.class); public void setAlarmCancel(Context context){ Intent…
-
1
votes2
answers813
viewsA: Alarmmanager only stores an Alarm
If you have the alarm for 4:00 and the alarm for 4:30, surely you’ll have to create a real-time check to verify. For example, you’ll have two methods, one that sets the alarm for 4:00 and one for…
-
1
votes1
answer189
viewsQ: Alarmmanager does not cancel scheduled alarm
I have the following code on MyReceiver: @Override public void onReceive(Context context, Intent intent){ context.startService(new Intent(context, BackgroundService.class)); } public void…
-
7
votes4
answers10421
viewsQ: How can I get a date (day, month, year, time, minute, and second) converted into milliseconds in Java?
How can I get a date in milliseconds? Example: 24, Sat, Jan, 17:39:50 2015
-
0
votes0
answers273
viewsQ: Error when resetting alarm with Alarmmanager right after cancelling it
I have an alarm set to wake up at a certain time and repeat every five minutes. But after a few repetitions, I automatically set the cancellation of the same, that is, call the method to cancel…
-
4
votes3
answers4171
viewsQ: Time in Java counting seconds in real time
I want to show the system time and the seconds counting in real time in Java.