contacts-android
SQLDelight
Our great sponsors
contacts-android | SQLDelight | |
---|---|---|
12 | 32 | |
572 | 5,908 | |
- | 1.6% | |
8.1 | 9.6 | |
3 months ago | 6 days ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
contacts-android
-
Where to save the contacts (simple contacts app)?
https://github.com/vestrel00/contacts-android might be something to look at if you find the contacts provider too complicated.
-
Programmatically adding numbers to my phone book
There's a library that can do this: https://github.com/vestrel00/contacts-android
- I spent several days composing a GitHub release to celebrate the biggest milestone in my passion project that I've been working on for over three years. I want to know what people think about the release notes. Should I stop or continue? Does it set a new standard or is it just a waste of time?
- Contacts, Reborn has reached a colossal milestone! APIs for Blocked Phone Numbers, SIM Card Contacts, Lookups, Custom Data for Google Contacts, Pokemon, RPGs, and more improvements. All optimized and complete with beautiful documentation =)
- Show HN: Android Contacts API – Built with 3 years of dedication
-
I dedicated 3 years to building this Android Contacts API library written in Kotlin with Java interop. I want to share it with the Reddit community for the first time.
That is a really good, deep question! I do believe I encountered undocumented behaviors. At least I think they are undocumented but maybe I just didn't find documentation on them. I wrote everything down in a single file I cal the DEV_NOTES.
- Does extensive documentation do more harm than good?
-
Creating a type-safe WHERE clause DSL using Kotlin
u/jayaSuryaT has officially reduced my 500 lines of code down to 2 lines with his PR; https://github.com/vestrel00/contacts-android/pull/163
-
I spent 3 years writing an Android Contacts API in Kotlin with Java interop. What I’ve learned…
Android Contacts has just been Reborn! Using the Contacts, Reborn library, you no longer have to deal with the complexities of ContactsContract.
SQLDelight
-
querky – autogenerate Python functions and types for your SQL queries
This seems to be similar to https://github.com/cashapp/sqldelight, and I've always wanted a python equivalent!
In typescript, there are query builders (not talking about ORMs) that can basically do this within the type system, but that would be infeasible in python's type system. This approach (type/code generation is a good alternative, though I like using sqlalchemy / alembic to manage schemas/migrations.
One thing I'm curious about is how it knows the types of columns? I looked quickly at the Readme but didn't see it (probably a parameter somewhere I missed).
- I'm creating a REST API using KTOR. What's the best ORM to go with KTOR ?
-
KMM alternatives to Android Datastore & Room DB?
That functionality has existed for almost exactly a year
-
What were your negative experiences when adopting KMM?
- SQLDelight - great experience overall, the only issue that I found, was when that I made a database migration that worked on Android, but not on iOS (https://github.com/cashapp/sqldelight/issues/3812)
-
Adopting Kotlin Multiplatform Mobile(KMM) on 9GAG App
Database - SQLDelight
-
Android Starter Template (hilt, ktor, coroutines, flow, modules, gradle.kts, version catalog, compose, MVVM, tests, GitHub CI)
room is a great example but like I said our data is kotlin-only so we tend to use libraries like sqlDelight.
-
Announcing new crate - "hugsqlx": turning SQLx queries into Rust functions
This seems similar to https://cashapp.github.io/sqldelight/ for kotlin, I think this approach is pretty neat, good luck with it!
-
ADVICE WANTED - Typescript PostgreSQL without ORM
Sounds like you want what SQLDelite offers, but for TypeScript. SQLDelite is only for Kotlin and SQLite though.
-
Why We're Moving on from Firebase
SQLDelight had neat built in support for this
https://cashapp.github.io/sqldelight/
-
Flyweight: An ORM for SQLite
You would really like sqldelight[1] then. It takes the concept of an ORM and flips it on its head. Instead of mapping function calls to SQL statements, it lets you write SQL statements and then generates classes for you that have methods for those statements.
For instance, you could have a SQL statement like getCardsForFight: select * from fights where cardId = ? and titleFight = ?, and it would generate a class that has a method getCardsForFight(cardId: number, titleFight: number).
[1]: https://github.com/cashapp/sqldelight
What are some alternatives?
davx5-ose - DAVx⁵ is an open-source CalDAV/CardDAV suite and sync app for Android. You can also access your online files (WebDAV) with it.
Exposed - Kotlin SQL Framework
contactstore - A modern, strongly-typed contacts API for Android.
Realm Asset Helper - A small library to help with Realm.IO integration in Android apps
CbKtx - A lightweight Kotlin friendly wrapper around Couchbase lite for Android.
jOOQ - jOOQ is the best way to write SQL in Java
sketch - An image manipulation library for Kotlin
Ktorm - A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs.
android-arsenal.com - Source to android-arsenal.herokuapp.com
RoomAsset - A helper library to help using Room with existing pre-populated database [DEPRECATED].
android-dagger-butterknife-mvp - Simple application using Dagger Android (2.11-2.17), Butterknife (8.7-8.8), and Model-View-Presenter (MVP) with support for Singleton, Activity, Fragment, and child Fragment scopes written in Java and Kotlin
Realm - Realm is a mobile database: a replacement for Core Data & SQLite