Maplecccoin
New Member
Hi everyone,
I am planning to build a small Android app with B4A for personal use. The idea is simple: track a few crypto prices and send a notification when the price reaches a target level.
I am still thinking about the best structure. The app would probably need:
My questions are:
Thanks.
I am planning to build a small Android app with B4A for personal use. The idea is simple: track a few crypto prices and send a notification when the price reaches a target level.
I am still thinking about the best structure. The app would probably need:
- a simple watchlist screen
- price data from an exchange or market API
- local target price settings
- background checks every few minutes
- push or local notifications when the target is reached
My questions are:
- In B4A, what is the best way to run periodic background checks without draining too much battery?
- Should I use a foreground service, receiver, or another method?
- Is it better to store alert settings locally with KeyValueStore or SQLite?
- Any recommended pattern for handling API errors and rate limits?
Thanks.