Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Need urgent help and idea!!! I have a website in which registered users can book rooms in a hotel...I want to create an

I want to make app which is connected to my website..where new users can register and existing users can login and book rooms...So how will I connect android app to my website

What drives your website's back-end? Your app will need to talk to that just the same as the front-end of your existing web page does.

8 Answers

Asp..do we need web services for that..I mean REST API is the solution ?? Any good reference which will help to build this kind of app

ASP comes with full documentation; it is all .NET framework. I've never linked a mobile app to it, but that should be very straightforward with a clear API. You may have more trouble with iOS compatibility, though, as I'm sure both sides make that as hard as possible for obvious reasons!

So can you list out the requirements for this kind of project...or any link where I can find good reference

Yes, I can - and that's what I attach my hourly rate to! Google searches may help you - there's lots of Microsoft documentation that should help you. I just did a search for "ASP android API" and there's loads.

I think you're at risk of reinventing the wheel, though. There are a million web apps and mobile apps that you can book rooms through - there's no need to write another. Dig about and see if there's a template to follow. Indeed, since you have an established database driven back-end, you should make this your web providers problem - they'll probably have a solution in place that you can brand up accordingly. You'll need to approach your web provider for access anyway. They should be able to sort you out.

OK thanks for the help..I will check out what needs to be done...so should I ask my web development team to create an API for me so that I can access my site on mobile device

You have a 'web development team' who don't know how to give you access to your own website on your mobile device?

I suggest you approach whoever hosts the hotel website you are talking about. This website, you've said, can handle online bookings. So the hard work is already done.

You just need to link your phone - you've specified Android; I don't know why Apple users are excluded - to your website using exactly the same methodology that your existing web page already does.

If your 'web development team' can change the site, ask them to make it mobile-friendly using appropriate media queries etc, and the work you need is already done. There's no need for a separate app; you can just access the web site through your phone.

You've clearly got a high-level site that can handle online bookings & financial transactions. If you have all that, they will be able to sort your needs out without any requirement from you to develop APIs unnecessarily.

Thanks a ton brother...this is something very resourceful...its completely mobile responsive...so using webview should I build the android app ???

What's the hotel website? I can view from there.

Why can't users just visit the website and book online with their mobile device? Why do you need an app?

http://www.capitalclubdubai.com/Mobile/Home.aspx I need an app for publishing it further and attracting users...so I wanted to create an android app for it and if everything goes successful then will go for iOS too.

Good looking site.

Apps don't attract users but they broaden the user experience and get the more enveloped in your brand.

What will your mobile app deliver over the website? What problem will it solve? Why do you need a mobil app?

There are lots of questions to go through long before you get to your starting point. Happy to help out. Look me up on my profile & tweet/email me if you want help.

Steve.

My idea was to add full functionality of android..I wanted to make a complete native app for my site.

My later comment, below, refers. What will your Android app do that your site doesn't?

I just wanted an android app with good user experience..so that visitors can sign up as well login and book rooms if available..that is the process..for that I wanted an android app

Yeah, and that's why you need some help. Your site looks awesome. Visitors can login and book rooms, right?

What will your app do that your site doesn't?

There will be some additional point systems and discount offers if booked by mobile app...and I will have a dedicated app for my business.