I'm making an app for managing money. It includes entering your payments and expenses.
To make it slightly innovative I wanted to do the following - Whenever we withdraw using a CC, we always get a message(SMS) from the bank that a certain amount has been withdrawn. I wanted my app to detect such messages, extract the number specifying amount withdrawn,save it and then subtract that from the income the user has entered in the app (his balance).
Still new to this, can any help me with the code here?
Edit - Sorry, but the problem is that I'm not sure how to tackle this. Saw something similar here - Android - Extract text from SMS
But wasnt sure if that can be applied here.
This is an example of an SMS received from a bank - https://i.stack.imgur.com/1sI30.jpg
What I was thinking is that searching for a string like "available balance" and extracting and saving a number that follows such a text