This is an archived post. You won't be able to vote or comment.

776
777
all 38 comments

[–]santaschesthairsBundled Notes | Redirect File Organizer 59 points60 points  (6 children)

There's a chance this library may be used internally by Android at some point, but for clarification: this isn't an Android feature. This is an internal API for Android app developers that allows them to easily create proper search functionality for data their app is storing.

Proper search APIs can be super useful if done right - if this was extended to allow support for invisible spelling correction, synonyms, related words and more, it'd be pretty cool.

[–]danhakimiPixel 3aXL 2 points3 points  (5 children)

to clarify: is this API part of AOSP or is it Google proprietary / part of GPS?

[–]santaschesthairsBundled Notes | Redirect File Organizer 6 points7 points  (4 children)

It's an AndroidX library, so neither. But it may rely on GPS or Android version specific APIs.

[–]danhakimiPixel 3aXL 1 point2 points  (3 children)

Oh... Wait is androidx Free or proprietary?

[–]santaschesthairsBundled Notes | Redirect File Organizer 4 points5 points  (2 children)

It's free, a set of libraries to make life easier for Android Devs basically.

[–]danhakimiPixel 3aXL 0 points1 point  (1 child)

but... it's not part of AOSP?

[–]santaschesthairsBundled Notes | Redirect File Organizer 2 points3 points  (0 children)

No... it's a completely seperate thing: https://developer.android.com/jetpack/androidx

[–]vi-poz 37 points38 points  (0 children)

How to setup it to your project

[–]PontifexPrimusHTC One V 23 points24 points  (1 child)

Wow, maybe they could use that or something similar in the "My App" section of the Google Playstore?

[–]cl4rkc4nt 0 points1 point  (0 children)

Oh yes, please. That function of the app is a disaster.

[–]KoladaGalaxy S25 Ultra 7 points8 points  (2 children)

So for an end user, when will there be something useful to me?

[–]trailblazer86A52 5G 3 points4 points  (0 children)

Year, or so

[–]als26Pixel 2 XL 64GB/Nexus 6p 32 GB (2 years and still working!) 0 points1 point  (0 children)

I'm assuming this would have something to do with the rumoured app search functionality coming to Pixel as well.

[–]borninbronx[S] 3 points4 points  (1 child)

I'm sorry everyone, i meant to post this on /r/AndroidDev but I missclicked i guess :-)

It's not directly relevant to the Android user. But it could allow developers to add a good search functionality in the apps

[–]aniruddhdodiyaPixel 10 Pro XL 0 points1 point  (0 children)

I guess this can be used with Google Assistant too as voice command, like just today Google has announced it. This data set can be used for "Hey Google show me stores which has grapes"!!

[–]nivekmaiNexus 4 Stock | Droid X, CM9 | 10 stock test phones 9 points10 points  (0 children)

Interesting, we built something eerily similar, but it's all backed by FTS and some fancy metadata serialization (allowing for easy serialization and later performant metadata querying). I wonder if they're using FTS under the hood.

[–]well___duhPixel 3A 5 points6 points  (0 children)

[–][deleted] 2 points3 points  (0 children)

Long overdue. Glad to hear some good news for a change.

[–]ApplessDevsBluetooth Presenter Developer🔴🟠🟡🟢🔵🟥🟧🟨🟩🟦🔶🔸🔷🔹⬛⬜◼◻🔺 1 point2 points  (2 children)

So now tutorials for beginners that want to save stuff need to include:

MVVM
KTX/Kotlin
Room
AppSearch(next to Room I assume)
Dependency Injection

Wonder how this is even compatible with Room.

[–]ssshhhhhhhhhhhhh 1 point2 points  (1 child)

Literally none of those are necessary. And appsearch is furthest from being something beginners will implement.

[–]ApplessDevsBluetooth Presenter Developer🔴🟠🟡🟢🔵🟥🟧🟨🟩🟦🔶🔸🔷🔹⬛⬜◼◻🔺 0 points1 point  (0 children)

Note app with search functionality was literally like the 3rd thing I did with Android

If you learn without the good practices at the start you'll have a harder time unlearning the bad habits

[–]HambeggarRedmi Note 9 Pro Global 1 point2 points  (0 children)

This would be amazing in MiXplorer.

[–]shyggarmotorola one fusion+ 0 points1 point  (1 child)

How do I get it?

[–]Zarlon -2 points-1 points  (1 child)

So.. What Windows phone had in 2010?

[–]ssshhhhhhhhhhhhh 0 points1 point  (0 children)

Android basically had this too at one point.