|
-
Apr 4th, 2013, 10:49 PM
#1
Thread Starter
Frenzied Member
mobile/tablet programming
It's like mobile and tablet now very popular these days for web development. How do you guys do it? Meaning what technology in C# and asp.net that you implement to make your site works with those devices too?
-
Apr 4th, 2013, 10:56 PM
#2
Re: mobile/tablet programming
You don't have to do anything to make a web page work with a mobile device. Any device with a browser can view any web page. The difference with mobile devices is that they usually have low-bandwidth connections to the internet, so complex pages take some time to download. Many sites provide mobile-specific versions of their pages that are simply lighter, i.e. contain less data to be downloaded. That's all the difference. It's still just HTML, like any other page, but designed to be as simple as possible so as to download quickly.
-
Apr 6th, 2013, 02:11 AM
#3
Thread Starter
Frenzied Member
Re: mobile/tablet programming
How do you detect if it's mobile or tablet to redirect them to mobile site? and how to convert a site to a mobile site?
-
Apr 6th, 2013, 02:50 AM
#4
Re: mobile/tablet programming
 Originally Posted by vbbit
How do you detect if it's mobile or tablet to redirect them to mobile site?
I've never actually done it myself but I believe that it's a matter of looking at the Page.Request.Headers to find information about the browser and platform and then redirecting as appropriate if required.
 Originally Posted by vbbit
and how to convert a site to a mobile site?
There is no "conversion". Let me repeat what I said in my previous post: there is no specific technology difference between a web site and a web site intended for mobile devices. It's purely the fact that the pages are designed to contain less data. There are some conventions, including the site being configured with a URL like m.domain.com instead of www.domain.com.
-
Apr 6th, 2013, 06:38 PM
#5
Re: mobile/tablet programming
There may be a difference if you are developing your mobile app in the mobile app language, meaning if, p.e. you are creating and android java application with web features, you usually go with eclipse suite. Now if you want to create the full application there and call on line routines then you will use the eclipse framework (nevertheless you are still creating html - xml code ) as the creating tool. If you want to create your web site on line somewhere and call it from mobile then you may use an available web browser control in eclipse and load your data there. Similar on how you will do so in .net .
I am starting on learning android development but i still do not know what is the preferred way to go. My first application used a web browser to call an internet site designed for mobile devices.
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Apr 6th, 2013, 08:07 PM
#6
Re: mobile/tablet programming
 Originally Posted by sapator
There may be a difference if you are developing your mobile app in the mobile app language, meaning if, p.e. you are creating and android java application with web features, you usually go with eclipse suite. Now if you want to create the full application there and call on line routines then you will use the eclipse framework (nevertheless you are still creating html - xml code ) as the creating tool. If you want to create your web site on line somewhere and call it from mobile then you may use an available web browser control in eclipse and load your data there. Similar on how you will do so in .net .
I am starting on learning android development but i still do not know what is the preferred way to go. My first application used a web browser to call an internet site designed for mobile devices.
I have to admit, I don't know how things work on other platforms and whether they provide tools intended for sites built for mobile devices. This thread is in the ASP.NET forum though, so the OP should probably read this:
http://msdn.microsoft.com/en-us/libr...vs.100%29.aspx
That was the first result when I Googled asp.net mobile site development.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|