Calories of weight training!!

The app simply calculate the cardio exercises, but what about the weight training ? How can i know that im eating the right amount of calories and not losing any muscles ?

Thanks

Replies