Last post Aug 25, 2009 04:02 AM by matrixvibe
Aug 05, 2009 11:04 AM|SanjayAdsure|LINK
Thanks Guang-Ming Bian for redirecting me here.
I am new to Mobile Web Application so if you find some basic things missing please consider. We have one live web site which we have created in Visual Studio 2005 & .NET Framework 2.0. Users are accessing this through PC from worldwide.
Now we want that our users can access this site through mobile also. As currently, we have designed it as per PC screen resolution, it's working great on PC/Laptop; but when we access this from mobile; we can't see it properly.
Now we want to work on this issue. So I had one basic query in my mind:
1. In this scenario, do we need to create another application in .NET Compact Framework for the same site (all the pages & code) & develop whole site or is there is any other way to do that?
I have posted this query on MSDN
Here you will see I got a couple of replies which stated I don't have to create seperate CF application. Thanks to both of them. A sigh of relief.
Now I have downloaded Windows Mobile 6.5 Professional Developer Tool Kit & with the emulator, I am accessing the same web site. I come to know that there are two options to view the content. One is mobile & other is Desktop.
What I am having in my mind is (please correct me if I am wrong):
When user will request to our web site; at Page_Load event, we will check, request is coming from IE or WinCE by using Request.Browser.Browser property as suggested by Satishkumar.
If it's coming from IE then we will show the design as present one. But if it's coming from WinCE then we want to show only the content which are IMP for usage like textbox, labels, dropdown.
But don't know is it the right way & how to do that?
Any help will be highly appreciated.
Aug 06, 2009 01:22 AM|shabirhakim1|LINK
True,You don't need to Create New Mobile Application,but again depends on How your Application is designed.if Application was not designed properly or according design pattern,then you might face lots of problems for doing your job,Anyways not an Issue because
Great Thing about Micrsoft Tool and Language is there great Productivity and ease.
Fine,If you can just give me brief about type of APPLICATION YOU HAVE
So i can easily suggest you the best way to make it happen,not only for Mobiles but for any device.
You can also see Something related to your Requirement here
Aug 06, 2009 11:42 AM|SanjayAdsure|LINK
Thanks for your reply. I have also went through the link you have forwarded. It's good & I think it will be helpful as
1. If request is coming from desktop browser then redirect it to current form.
2. If request is coming from mobile browser then redirect it to mobile form.
But in that case I have to build seperate pages for mobile application.
About my web application; it is related to legal domain. User comes to my application. First general login page. Then interaction with DB. Then on other pages, have some regular buttons, events, having functionality of uploading & downloading PDF files.
(So I will need mobile OS which supports PDF viewing, also having gridview for showing results.)
In present application, there are some large images on the forms & we are thinking that when user will come from mobile browser only controls related to user interaction (textbox, labels, buttons, grid) be seen.
Waiting for your suggetions.
Aug 07, 2009 09:12 AM|matrixvibe|LINK
Please look at this http://www.51degrees.mobi/Products . It is a open source .NET mobile API with lots of features.
1) Easily detects that request is coming from mobile device and redirects user to mobile landing page defined in web.config file. You do not have to write any code in page load event for this. It makes use of
WURLF (most trusted mobile device information database) for detection of request coming from mobile device.
2) Gives detailed information about mobile device requesting web page. Using this you can customize pages as per the features supported by mobile device.
3) It also provides free mobile controls like google maps, location, image, calendar etc.. You can integrate this features very easily in your website by just writing simple tags.
- The image control will be helpful to you, it automatically resizes the image of webpage as per the screen size of mobile maintaining the aspect ratio so that user do not have to scroll.
4) Many more features.
It has great features which will reduce the development time.
I have found this very useful and easy to implement.
Let me know if you find any issues.
Aug 12, 2009 07:51 AM|shabirhakim1|LINK
I do agree that you have to create pages for mobile but only if your web applications uses some webform specific controls otherwise why will you create mobile page.
here is the link ,which will show you common controls as well as difference between controls used for webform and mobile form
if you really feel unsecure about making existing site as mobile supportive,let me know then i will provide you the best solution for this project..
Aug 13, 2009 03:08 AM|SanjayAdsure|LINK
Hi matrixvibe & shabirhakim1,
Thanks for your replies. Sorry for my late reply. I am working on it...will try the things which you have suggested & will let you know here.
Aug 17, 2009 07:03 AM|SanjayAdsure|LINK
Yes, you are right shabirhakim, I don't want make existing site mobile supportive. In fact, the way you told ealier that check for the browser type of user & accordingly redirect it to mobile pages or desktop pages is good for us. I want to go with this
I will be glad if you will give me any suggestions in this.
I am going through the link you provided.
Currently I am using Windows Mobile 6.5 Emulator to test my application.
One more thing I want to ask both of you that. I have seen some companies like one in banking domain which works as follows:
1. They ask users to send one text message from mobile phone & in reply they are sending one link to download the application.
2. When user clicks on that link one application gets installed on mobile.
3. Now whenever user wants to access there site user goes to that particular application & open it.
4. First time login screen will appear & asks for username & password & also asks for reminding username & password for next times.
5. If user clicks yes; the application will validate the credentials & if validated then allow the user to next page.
I found it interesting & want to create something like this. Your thoughts are welcome.
I would be greatful to both of you if you will provide me some information or link related to how to do this?
Thanks to both of you for your valuable suggestions.
Aug 24, 2009 09:00 AM|SanjayAdsure|LINK
Still waiting for some reply. Please tell me in case, I am missing something or asked some wrong point.
Aug 25, 2009 04:02 AM|matrixvibe|LINK
Still i am not clear what type of business application you are trying to develop. If you can send me more details about the product will be in better position to provide suggesstions.
Please look at
http://51degrees.mobi/Demonstrations/tabid/57/Default.aspx it has "Mobile Banking" demo which can be helpful to you on the same lines as what you described above as per my view. If does not help, please pass on more details.