Consultation on simple gallery pro

As evident in the above patch, the app doesn’t explicitly depend on the proprietary editing functionality (if it did, then the file removals would’ve caused it to fail to build). Rather, the app provides an activity with a proprietary dependency and fires an intent to launch any available editor.
By introducing a “proprietary” product flavour, it should be possible to exclude (section off) the problematic license and activity as sources, exclude the activity from the AndroidManifest (see previous link), and exclude the dependency.
What remains is the plugin (which should be able to be handled like so), imglyConfig code block (which I imagine could also be handled similarly) and maven repository. I imagine that a repository whose modules are not depended on would not do anything, so it should be fine to leave the repository as is.
As such, perhaps a fork isn’t necessary, if these changes could be made upstream. This is all conjecture, mind you; I’ll update once I try to get this running.

Was thinking the same, but if upstream rejects a PR…forking will be the way. That would be sad since forking should be the last option.

1 Like

thx to Gitlab there could be a middle solution: mirroring,
Once down, at every wanted build:

  • (delete_if_exist/)create an fdroid branch from mirrored master
  • apply/cherry-pick patch
  • tag for new build

Umm, I’d rather not, or better said…not without upstream agreement, if they say it’s ok for F-Droid to package a different app (by all means), then yes. Did you ask?

I have successfully built foss and proprietary variants. Now to make a merge request (here’s hoping). Please wait warmly.

1 Like

Would also suggest to change build gradle id com.simplemobiletools.gallery.pro to
com.simplemobiletools.gallery which still exist for free on the Playstore.

thx for app/src/proprietary/AndroidManifest.xml tips (!)

No need to mess with IDs… I’ll try a build asap

@ForgottenUmbrella seems your commit reaches fdroid build, connected to SimpleGallery and missing in both AOSP & F-Droid, there is this rfp for a foss PhotoEditor (with graphical Notes possible feature) :

I tried to help but original dev may still need some assist from fdroid community ?

Better fork it then, as their answers come on a monthly basis if any. :frowning:

Since their goal is to provide a plug-in foss library SDK for all https://github.com/eventtus/photo-editor-android, they may deserve some kind of assist/help from foss communities (instead of divergent fork) ?

There are many on Reddit searching for this missing feature on Android.

1 Like

@oF2pks I’m a bit confused as to what you’re asking here. Are you suggesting that I could help replace the proprietary PhotoEditor SDK with this open source SDK (which happens to be named similarly but probably doesn’t provide the same API) or at least get it onto F-Droid?

At least get it on F-Droid, it’s the same experience, right? Press the edit button…(open app or internal function it does not matter_

No, SimpleGallery (like any Gallery app) uses a share action to every app able to edit photos, when pencil button is triggered.

I slightly modified this new rfp app to comply with that share intent <edit> and uploaded a debug flavor for testing : https://gitlab.com/fdroid/rfp/uploads/29ffb652ac0b0214900bf277d43f1e83/pEditor-debug.apk , which works fine with SimpleGalleryPro (and thus can bypass minimalist foss embedded useful crop).

Not only there are no such basic foss app, but on F-Droid it could also help both deaf or mute people to quickly express/communicate via this on-screen editing app with photos or graphical draws: the app support texting, brush and smileys (plus the simplified sticker database ?).

I thought you might be interested helping original devs, either to finalize the rfp ready, or app enhancement on github (?) , their repo is 2 parts : the app + the library/sdk https://github.com/burhanrashid52/PhotoEditor.

(I myself have many other apps on the go actually, and not very confident with photo/camera/draw processing …)

Thanks for the APK, works fine :slight_smile:

Now…hope someone (wink-wink-nudge-nudge) can make it a dream come true in a RFP :slight_smile:

Tried the apk, in my device (Samsung Galaxy Tab 10.1, Android Nougat AOSP) it runs well.
I don’t understand though why you say there is no photo editor in FLOSS world… My AOSP rom has an editor, which I believe to be stock android open source. Am I mistaken, does AOSP include non-free apps?

Thanks for it anyway :wink:

Lucky you…now…for the rest of us… :wink:

You’re not, but like aospMusic, aospGallery is not maintained anymore: mostly sdk adjustements for new android versions. Did you notice that buggy edit doesn’t triggers other apps, like SimpleGalleryPro embedded or this possible stand-alone photo editor ?: https://gitlab.com/fdroid/rfp/issues/993#note_275274884

In past Oreo, I remember some teams with such edit function: CarbonRom, halogenOS… ; nowadays Lineage, Omni and all others did gave up with edit possibility versus enhanced video/equalizer controls (that we don’t miss, thanks to stand-alone vlc).

Coincidentally, Google monopoly with GooglePhoto & GooglePlayMusic (+ android One) is breaking aosp components development: today, who is remembering Open Handset Alliance concept ?..

Give a try to Treble rom (xda…), conversely to custom roms, they don’t break OEM’s /boot & /vendor setup: only #adb flashboot.

Please don’t misunderstand me. I was asking only because if it could be useful, I would extract my tablet apk+sources and share it here. I understand people with other devices might need a FLOSS alternative to things such as a camera or a gallery :slight_smile:

Wait, so… It is a good idea to remove those AOSP apps and install ones from F-Droid that are still under development and maintenance?

Whatever rom you’re using, always give a try to:

  • SimpleGalleryPro (back, thx to @ForgottenUmbrella )
  • OpenCamera (complete resolutions & flash)

You can’t remove or extract aosp/system easily since they can provide embedded libs; only Magisk modules may work.

For specifics: vlc and ghostCommander are top standard; like these, the photoEditor mentioned above would also fill existing miss (only minimal brush in aosp/Gallery and none in other floss).

@relan any idea how to push commits to aosp anonymously ? (e.g. buggy aosp/Gallery3d share <edit> )