I have a website and the layout is completely messed up for mobile devices. Is it possible to set my cargo site to always load like the desktop version when someone visits it from a mobile device?
Related
I know very little about web development and mobile development. I have been using Safari Web Inspector as a means to automate reloading a webpage on mobile Safari on an iPhone by using the keyboard commands for refresh from the web inspector window.
I am wondering if I can further control mobile Safari over my Mac by sending commands to visit a new website (possibly via the JavaScript terminal?). If this is possible, my goal would be to automate a script to visit a list of different websites in a row.
Are there any possible approaches to accomplish this in web inspector? Is there another avenue I should explore?
I became aware of this issue soon after migrating the site from one hosting account (Media Temple) to another (InMotion).
Ultimately the site renders completely fine on all desktop browsers and all mobile devices other than iPhone/iPads, but any kind of browser on an iPhone or iPad is unable to connect (I've tested Chrome, Safari, Firefox).
This is specific to these actual devices - I can render the website just fine on browser-based mobile device emulators, and simulating Apple products using Chrome Development Tool.
The hosting company wasn't able to offer any insight and mentioned that the IP addresses of iPad/iPhone users don't even hit our weblogs or generate any sort of error he can see and that ultimately the IP address from the Apple device I was using to test isn't present in any logs.
Briefly, I did see an error in Safari Desktop that read:
NSPOSIXErrorDomain:100
At this point I'm planning to migrate the site back to the original host to see if that is a possible solution, but ultimately I'm just at a loss as to why iPad/iPhone devices are affected and not leaving any logs.
The site itself I did not develop, but is Wordpress based and I have tried turning off the plugins, switching themes, and retesting on my mobile device but I wasn't able to fix that error.
The domain can be found here
Would appreciate any insight.
I would like the iPad to see the desktop view of the website and not access the .mobile.cshtml version of the site.
Is there any documentation on how to do this?
I am new to PhoneGap I want to know whether PhoneGap is only for Native Applications or for remote web app HTML pages too. Please any one answer me.
Thank you Lakshmi
Phonegap! enables software programmers to build applications for mobile devices using JavaScript, HTML5 and CSS3, instead of lower-level languages such as Objective-C/core-java. The resulting applications are hybrid, meaning that they are neither truly native (all layout rendering is done via the webview instead of the platform's native UI framework) nor purely web based (they are not just web apps but packed for appstore distribution, and have access to part of the device application programming interface). You can try Sencha, Ext-JS HTML5! frameworks to create remote web app HTML pages.
Phonegap! enables a web developer access to mobile devices's phonebook, Geolocation, compass, accelerometer,etc.(A browser is not exposed to these APIs')
Appcelerator Titanium! is another platform for developing mobile, tablet and desktop applications using web technologies.
PhoneGap can be used on webapps too, if loaded through PhoneGap. It won't work in mobile safari directly, you must also open the site via PhoneGap (the app on iDevices)
The power of Phonegap is that you can build apps with web technologies and then package them to install as native apps from the app stores. To the user there is no differentiation between a pure native app and a phonegap app. The average user just sees an "app" that they are used to. If you're going to build a vanilla mobile website, you won't have access to the native libraries which is what Phonegap is intended to leverage.
I'm developing a site one of the targets of which is iPad.
What options do I have to debug client side (DOM inspector, style viewer/editor, javascript console, network analyzer - all thing every major desktop browser has) when viewing the site from iPad?
I'm not looking for some kind firebug lite, or anything that makes me to debug site from iPad itself. (This would be too tedious.) Instead, what I'm after is some sort of remote debugger for mobile Safary, allowing me to work with sites opened on iPad from a desktop machine, or an iPad emulator with same capabilities. I know there is the emulator that comes in bundle with official SDK, but does it have such means?
It's the first time I'm facing the problem, so not to blame!
This is what I'm aware of:
weinre (But does it really work?)
Check out BugSense and their HTML5 (javascript) installation