📜 ⬆️ ⬇️

My [Credit] Cards for Android application

Usually, when I start developing for a new (for me) platform, the first thing I do is porting one of my applications from already mastered platforms. But this time, having come to grips with Android, I decided to change the traditions and write a completely new application. Experience shows that the applications you use yourself are successful ...



I have accounts in four banks to which 7 credit and debit cards are attached. Do not ask why so much ...

Banks send notifications about poloneniye, write-offs and purchases by SMS. And everything would be fine, but in one of the banks I have 4 cards, and all the SMS on them are added to one “thread” in the Hangouts. Those. to find out the balance on the card, on which the transaction was, say a couple of weeks ago, the message has to be searched manually, by card number.
')
Since Android allows third-party applications to read incoming SMS, I began to develop an application that scans sms / inbox and displays the current balance on all cards.

At first, I implemented SMS recognition by the rules for each bank. Everything worked, but looking at the list of banks in Russia and presenting the scope of work, I decided to take the “insane step”: try to write an algorithm for parsing messages from banks.

Oh ... what I just did not see enough in banking SMS:
- some banks still believe that the currency in our country is RUR
- some banks do not send the last 4, but 6 digits of the card number
- “gifted” banks send transactions on the account, not on the “Account replenishment * 1234” card
- even more “gifted” simply send “POSTUPLENIE SREDSTV NA SCHET” - without specifying an account
- it is quite “interesting” to parse messages in which, in addition to information about the map, there is an advertisement
- variations of balance formatting - an uncountable number

At the moment, the implemented algorithm works quite well. If in the first weeks after the release I received daily complaints that some messages were not recognized, then after the release of version 1.10, there are already ten days no complaints.

If the message from your bank is not recognized, please send it to mycards@alsedi.com - we 'll fix everything promptly.

For special cases, a mode of "additional recognition" is provided, for example, you can associate messages with account operations with a specific card (whose numbers, with a probability of 99.99% do not match).

Some banks (and maybe all?) Include the credit limit in the available balance. You see, for example, “Balance: 20000r.”, And in fact 15,000 credit limit and 5,000 of its own funds - and you need to constantly remember and count on which card which limit. The application allows you to enter this limit, which is automatically subtracted from the displayed balance. If you got into a loan, then a negative amount will be displayed - just corresponding to the size of the loan used. Very comfortably.

The application is absolutely free, without advertising, does not require an Internet connection (and, of course, does not merge SMS anywhere. For this, even Flurry did not integrate).

What is planned to add: a widget, custom images of cards (instead of the Visa / MasterCard logos), bank logos, change of the theme, password protection (at the entrance).

Google Play: My Cards - 256 Kb.

Ps. Yes, I know that there are applications of analogues (although I learned about them after writing my own).
Pps. I repeat once again - this is the first development experience for Android. Do not judge too harshly.

Use on health.

Source: https://habr.com/ru/post/220697/


All Articles