All -
I am trying to write a Web Browser application for Windows Phone 7 and I am able to create a general browser application (not that hard) but the specific site that I am writing the application for does not technically "Support" Windows Phone 7. What I want to do is to have the Windows Phone 7 browser somehow make the site think that it is an Android, IOS, or Desktop machine so the site can be viewed on windows phone. Currently I am just using the general Navigate argument to display the site in a browser control but have not seen any properties to change for the browser to control to tell it what to show the page as, any help would be greatly appreciated. I am doing all of my dev work in VS 2010.
Thank you,
John
You need to set the User-Agent header to a user-agent string used by one of the other browsers. There are a few apps that already do this., incidentally.
jbailey1882 said:
All -
I am trying to write a Web Browser application for Windows Phone 7 and I am able to create a general browser application (not that hard) but the specific site that I am writing the application for does not technically "Support" Windows Phone 7. What I want to do is to have the Windows Phone 7 browser somehow make the site think that it is an Android, IOS, or Desktop machine so the site can be viewed on windows phone. Currently I am just using the general Navigate argument to display the site in a browser control but have not seen any properties to change for the browser to control to tell it what to show the page as, any help would be greatly appreciated. I am doing all of my dev work in VS 2010.
Thank you,
John
Click to expand...
Click to collapse
The Navigate() method accepts a parameter for user agent string. But will only work for initial page requests, not for clicked links from within the webbrowser content.
Related
Hi,
I am trying to find out if there is a way to run thie IG Index's IPhone trading platform on Windows Mobile 6.
The platform can be found under this address:
http://www.igindex.co.uk/dealing/lt/home.htm?locale=en_GB&webSiteId=igi
When I try to log in I get a message from the website:
"We have detected your browser is not setup to allow Session Cookies"
I enabled them in my standard WM6 browser but with no luck. I also know that the platform is using Java Script.
I would be gratefull for your advise.
Swav
Hi all,
I would like enter my company web portal trough Android devices like Nexus One or Nook Color... this portal is designed on IE but I believe it could run also on other browser... well I tried to set user agent to IE6 in the stock Android browser (running CM7) but the web portal still says me that a Windows plattform is required...
is there a way to fake the site and make it believe it's a Windows platform?
Thanks!
I'm curious how well it works? Anyone use it over IE?
The app will need to be recompile to take advantage of Internet Explorer Mobile 9 in Mango.
IE9 on Mango supports compatible document modes similar to IE9 on Windows, controlled via a compatibility list. If a site is set to IE7 or quirks document mode on that list, the UA string that is sent will be:
Mozilla/4.0 (compatible; MSIE 7.0; Windows Phone OS 7.5; Trident/3.1; IEMobile/7.0; <manufacturer>; <model> [;<operator])
We’ll describe more details on how the compatibility view list works on Mango in a future blog post.
Finally, note that for app compatibility reasons, apps that use the WebBrowser control will send the old Windows Phone 7 (IE7) UA string until they are re-compiled with the WPSDK 7.1.
Click to expand...
Click to collapse
http://m.youtube.com/index?desktop_uri=/&gl=US#/profile?user=WMPowerUser
Preview of SC on Mango!!
Hi, I'm a final year Computer Science Student. My Final year project is to design a windows phone 7 app for transferring files from a remote database /sever to the windows phone device.
I have never been taught any C# or windows phone development. So far I have developed a windows phone 7 client app which connects to an SQL Server 2008 database, I can query the database from the app and return and display the text stored within the database tables. I am also able to store a picture in the database as binary data.
Can anyone advise me is it possible to store pdf and office documents within the SQL server database and download them to the windows phone 7 client and then open/view these files on the device. I believe that any files must be downloaded directly to isolated storage on the device but that there are restraints where that these files cannot be accessed by any other apps on the phone.
Any help or advice would be greatly appreciated..
It's possible to open supported media and documents (pictures, PDFs, etc.) from an app, I'm pretty sure (for example, see the SkyDrive app). I know that it's possible using native code and a couple of other mildly undocumented features. Using only official APIs... never tried, but I think it can be done (I'm just not sure how).
Unless you use the undocumented ID_CAP_FILEVIEWER capability in your app (or use one of a number of available hacks), your app will not have write permissions anywhere except in its isolated storage. Officially, one app can't access the isolated storage of another app, although the Office stuff may bend the rules somewhat.
I have some requirements for an android application, Since java development will take time, I am trying to figure out if I should code the application using Html5)
1. It should submit some fields from the mobile device to a web application
2. It should be able to capture pictures using camera/gallery and submit to the server/web application
3. It should retrieve some info from the web application and display it (I know that write JavaScript to fetch info from the web application using Ajax)
Can I achieve this using a bunch of Html page running on the mobile phone, or I need to write a designated android/Java application?
Thank you for your help.
shark669 said:
I have some requirements for an android application, Since java development will take time, I am trying to figure out if I should code the application using Html5)
1. It should submit some fields from the mobile device to a web application
2. It should be able to capture pictures using camera/gallery and submit to the server/web application
3. It should retrieve some info from the web application and display it (I know that write JavaScript to fetch info from the web application using Ajax)
Can I achieve this using a bunch of Html page running on the mobile phone, or I need to write a designated android/Java application?
Thank you for your help.
Click to expand...
Click to collapse
You'll have to use Android SDK to build an app, that requires at least Java and C++.
Sent from my SM-S903VL using Tapatalk
Not only ^^, but you'll also have to learn php if you want it to be purely html, since html can't do all that.
Server side I'm ok, I know java, I am asking about client side
Seems like camera interaction is possible with html 5
https://www.html5rocks.com/en/tutorials/getusermedia/intro
Submission to the server is just simple form submit,
And reading from server is possible with Ajax,