We proposed and developed a Bike-sharing system that accepts bike passengers’ real-time ride requests sent from smart phones and schedules proper bikes to pick up them via ride sharing, subject to time, capacity, and monetary constraints. The monetary constraints provide incentives for both passengers and bike drivers. Passengers will not pay more compared with no ridesharing and get repayment if their travel time is long or extended due to ride sharing; bike drivers will make money for all the long way around distance due to ride sharing or they contribute money for petrol. While such a system is of important social and environmental benefit, e.g., saving energy consumption and satisfying people’s commute, getting minimum vehicles, saving petrol, saving environment, relieve traffic jam. Real-time bike-sharing has not been well studied yet. To this end, we plan a mobile-cloud architecture based bike-sharing system. Bike riders and bike drivers use the bike-sharing service provided by the system via a smart phone App. The GPS first finds candidate bike quickly for a bike ride request using a bike searching algorithm. A scheduling process is then performed in the cloud to select a bike that satisfies the request with minimum increase in travel distance.