That depends on the stationary bike and how much data about the exercise you want to collect. I recently picked up a stand to turn a regular bike into a stationary one, I grabbed a package of speed and cadence sensors (one each) by Wahoo from Amazon, but those report into their own app or one of 50 other apps but I'm not sure if the Samsung fitness app is one.
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See this link for instructions on how to join Android Central.