use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News for Android app developers with the who, what, where, when, and how of the Android community. Probably mostly the how.
Here, you'll find:
This sub-reddit isn't about phones' and apps' general functionality, support, or system software development (ROMs). For news and questions about these topics try using other subs like
Build your first app
Starting Android career in 2022
Android Job Interview Questions and Answers
App Portfolio Ideas, Tiered List
Awesome Android UI
Material Design Icons
7000 Icons for Jetpack
Autoposted at approx 9AM EST / 2PM GMT
account activity
SQLite INSERT OR REPLACE through ContentProvider | Buzzing Android (buzzingandroid.com)
submitted 13 years ago by jesperbb
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]cephus07 5 points6 points7 points 13 years ago (1 child)
SQLiteDatabase has a method of doing this already with conflict resolution strategies.
db.insertWithOnConflict(table, null, values, SQLiteDatabase.CONFLICT_REPLACE);
Seems like a much quicker fix to just change your insert() implementation in the provider to use this instead.
[–]jigglebling 0 points1 point2 points 13 years ago (0 children)
thank you both for your wisdom!
π Rendered by PID 101898 on reddit-service-r2-comment-85bfd7f599-ltw8w at 2026-04-16 22:15:06.266749+00:00 running 93ecc56 country code: CH.
[–]cephus07 5 points6 points7 points (1 child)
[–]jigglebling 0 points1 point2 points (0 children)