Android with Web access?

MMEX4Android, Google Play, and F-Droid

Moderator: Renato

Post Reply
jolimaison
New User
Posts: 6
Joined: Sun Feb 09, 2025 12:56 pm
Are you a spam bot?: No

Android with Web access?

Post by jolimaison »

Hi, I have read in the other thread that a sync between two users is kind of complicated.
Would it be possible to have the web API enabled for the Android App?
My use case is the my wife and me can modify the database and it might be that we are doing it at the same time.
Or is there any way to use it with 2 users on android. A web UI is not available, right?

Regards,
Daniel
jolimaison
New User
Posts: 6
Joined: Sun Feb 09, 2025 12:56 pm
Are you a spam bot?: No

Re: Android with Web access?

Post by jolimaison »

I installed the web API and the Windows app.
Now, I understand what the web API is for.

This is not really working for us, unfortunately.

The Android App is really cool and it would be nice, if I could install a web-api which acts as a master. I think for the start it would be also ok to have lock/unlock button.
I need to lock the database when I want to add a new transaction an unlock after finishing. So, only one person can edit at the same time.
At the moment we use a Google sheet and you see when someone is editing. That's good enough.

Another idea: use the web API to request the lock and on unlock sync the database to web API. The other client could sync than from the web API. Could be also possible with current sync mechanism. Perhaps something like request lock for 2 mins. And with sync it's unlocked again.

Not sure, if this makes sense. Perhaps I will check the code and prepare a PR. Or any other idea how to solve that?
wolfsolver
Senior User
Posts: 45
Joined: Mon Mar 28, 2022 6:38 pm
Are you a spam bot?: No

Re: Android with Web access?

Post by wolfsolver »

There is a web server usable for input data from anywhere. Data is than grab from desktop version

https://github.com/moneymanagerex/web-money-manager-ex
jolimaison
New User
Posts: 6
Joined: Sun Feb 09, 2025 12:56 pm
Are you a spam bot?: No

Re: Android with Web access?

Post by jolimaison »

Yes, but then we have no overview in the app and I need to start the PC.
I want a full sync (short delay for sync is ok) solution between 2 apps. I'm pretty sure it's not that complicated to implement that as the sync is already there.
guangong
Developer
Posts: 582
Joined: Wed Dec 21, 2011 5:58 am
Are you a spam bot?: No
Contact:

Re: Android with Web access?

Post by guangong »

hi @jolimaison,

A sync solution exists between the app instances (with a short delay). also, you can refer to viewtopic.php?t=9079 to see its arch today. would be great if you could contribute.

btw, what is 'overview in the app' in your mind
guangong
Developer
Posts: 582
Joined: Wed Dec 21, 2011 5:58 am
Are you a spam bot?: No
Contact:

Re: Android with Web access?

Post by guangong »

in terms of `doing it at the same time`, it would be possible after SUID with some development work, e.g. manual/auto data importer/merger.
jolimaison
New User
Posts: 6
Joined: Sun Feb 09, 2025 12:56 pm
Are you a spam bot?: No

Re: Android with Web access?

Post by jolimaison »

With overview I mean just the current state with all data available in the app. @guanlisheng
In the web API you just have the delta.

And yes, we can sync with two apps, but in my use case I don't know when my wife syncs her data. Then I would sync at the same time and it might happen that we overwrite the others data.

I will check the other thread and try to find a non-invasive way for distributed access.
jolimaison
New User
Posts: 6
Joined: Sun Feb 09, 2025 12:56 pm
Are you a spam bot?: No

Re: Android with Web access?

Post by jolimaison »

@guanlisheng
Is SUID planned? Or already implemented?

Merging would be the cleanest solution.
I will start working on that than. It's testable and modular.
Most important are the transactions at the beginning.
guangong
Developer
Posts: 582
Joined: Wed Dec 21, 2011 5:58 am
Are you a spam bot?: No
Contact:

Re: Android with Web access?

Post by guangong »

SUID is already implemented and merging is still TBD
  • Desktop v1.9.0 or newer
  • Android v1071 or newer, it was paused for a while and the next new release will re-enable it
  • iOS 0.1.26 or newer
jolimaison
New User
Posts: 6
Joined: Sun Feb 09, 2025 12:56 pm
Are you a spam bot?: No

Re: Android with Web access?

Post by jolimaison »

Ok, I will send you a PM to clarify how I will implement it.
Post Reply