Questions tagged [onupdate]
74 questions
2
votes
0 answers
Augmented image detection is not working fine when device ARCore updated to 1.11.0
Augmented Image detection is working perfectly with 1.10.0 when I updated the ARCore version from 1.10.0 to 1.11.0 then ARSceneview is not detecting the augmented images trackables from updated frame in addUpdateListener in Android. Due to…

Naveeen Kumar
- 57
- 4
2
votes
1 answer
Call widget's onUpdate method from the app's main activity
I'm working on an Android application which includes a widget. The main interface of the app is a simple activity, but some of the things users can do in the activity make it necessary to update the widget - i.e. run its onUpdate method.
How can I…

Greg
- 309
- 1
- 4
- 16
2
votes
2 answers
Android Widget Refresh
I have implemented a widget but have problems refreshing it.
I get the initial onUpdate , and again if I leave it for ages.
However I want changes in my main application to be automatically reflected on the widget.
How do I get that to refresh ?
Is…

Chris
- 629
- 3
- 8
- 14
2
votes
1 answer
Is it possible to figure out if a specific field has been updated, in a Sql Server Trigger?
If I have a simple table and I want to do something (say .. execute a stored procedure) when a column (and I know the column I wish to look for) has changed.
Is this possible?
Version: SQL Server 2008 R2.
Example table :-
ID INTEGER PRIMARY KEY
Name…

Pure.Krome
- 84,693
- 113
- 396
- 647
2
votes
1 answer
IN Liqubiase, how do I change the "On UPDATE" value of a column?
I’m using Liquibase 3.3 with MySql 5.5.37. I had a column with
+--------------+-------------+------+-----+---------+-----------------------------+
| Field | Type | Null | Key | Default | Extra …

Dave
- 15,639
- 133
- 442
- 830
2
votes
1 answer
MySql "cannot update parent row" when I have "ON UPDATE CASCADE"
So, I am getting:
Error Code: 1451. Cannot delete or update a parent row: a foreign key
constraint fails (playground.Person, CONSTRAINT sk_Person_Parent
FOREIGN KEY (parent_id) REFERENCES Person (id) ON DELETE CASCADE
ON UPDATE CASCADE)
This…

vasil todorov
- 145
- 1
- 11
2
votes
1 answer
Create MySQL Trigger to update multiple records in another table
Im not to sure if this is possible. I'm developing a fantasy golf tournament App asr a project. The user picks 6 golfers from six groups, each group contains ten golfers. The group that the golfer is in is determined by the group boolean in the…

David Mac
- 67
- 7
2
votes
0 answers
Widget update not working properly
I have a widget which I am updating from my application. The widget is showing a live game score. When there is an update from the server, Widget is updated but it blinks between the previous update and the current update. Like if the score was…

Feona
- 295
- 2
- 6
- 18
1
vote
1 answer
Cloud function batch() with a .where() doc reference
I have a collection named "adverts"
/adverts/{advert_id} <-- where advert_id is auto generated by firestore.
And I have my collection "users"
/user/{user_id} <--- where user_id is defined by a username
So inside the "adverts" docs I have the next…

Luis Quiroga
- 718
- 2
- 7
- 22
1
vote
1 answer
How to load 2 different Firestore docs in one 'onUpdate' Cloud Function?
I am trying to make an "onUpdate" function that loads the document that has been updated. Then I want to load another document using the data received by the wildcards. So to summarize I want to access the document that was updated and one more that…

Yewla
- 325
- 3
- 21
1
vote
2 answers
How to call onUpdate method of widget on button click?
So basically, I have a simple app widget that shows a value from a file and updates every 24h. It works properly but then I wanted to add the refresh button to my widget and I want to call onUpdate every time I click on that button. I've been…

Vuk Todorovic
- 21
- 4
1
vote
0 answers
MS Access SQL On Update/On Delete
I am practicing SQL in MS Access for my test. Currently trying to create constraints on a table.
CREATE TABLE Container (
Nr int NOT NULL,
Soort varchar(255),
Aanschaf double NOT NULL,
Huurprijs double NOT NULL,
Verhuurder varchar(255) NOT…

Athylus
- 193
- 1
- 1
- 10
1
vote
1 answer
How to replace(overwrite) DB from external file
I want to replace old base to an new one from specific path. Should i remove old version an just copy new file? It works but app apply new base just after i clear cash or reboot device. Why so? Or i should use dbHelper.onUpgrade()? Probably its…

helloWorld
- 219
- 2
- 11
1
vote
0 answers
SQL Server trigger on update inserts entire table to history
Gotcha alert re Need help tuning an on update trigger to honor a where clause.
SQL Server 2008. Main table has, say, 12345 rows. My intent is, on update I want to copy only the records being updated to a history table when an update is done. On…

gordon
- 1,152
- 1
- 12
- 18
1
vote
1 answer
onUpgrade() at newly installed app
I'm a little bit confused about onUpgrade. I'm developing my app and in the proces of developing I did changed the DATABASE_VERSION five times so it is 6 now.
Everything was going smoothly till I totaly uninstalled application from my phone and…

relliz
- 19
- 7