mobile-website

How does the development of a mobile website differ from a normal one?

走远了吗. 提交于 2019-12-07 14:24:43
问题 We are going to redevelop one website we developed as an ASP.NET website to be a mobile one. So, I'm wondering how does the development of a mobile website differ from a normal one? Also, what is the best approach to do this taken in consideration that this mobile website will be browsed mainly from iPhone? 回答1: There are a number of differences between a mobile device and a standard computer. The screens are much smaller (fewer pixels to display your page). You should put fewer elements on

Continuous HTML5 audio/video playback in iOS?

我的梦境 提交于 2019-12-07 09:22:45
问题 I'm working on a mobile web app and want to allow for continuous playback of HTML5 audio or video in both Android and iOS (i.e. queue up a playlist of YouTube videos or Grooveshark songs and have them all play in a row automatically). Android doesn't seem to be an issue, but everything I've read has suggested that Safari prevents audio from playing unless it's initiated by a user, and prevents continuous play if the screen becomes locked. That said, Grooveshark's mobile web app will play an

Mobile device is detected as non mobile device

拈花ヽ惹草 提交于 2019-12-07 03:42:07
问题 I've included a mobile web form in my asp.net project, I thought that it could/should be seen just for my mobile users but I realize that it can also be seen from any browser, I don't see problem there cause I could diff the access using HttpBrowserCapabilities.IsMobileDevice=true and transferring to the appropiate aspx page, but it results that when I access to the web form from my mobile device it is identified as IsMobileDevice = false and sends me to another page. How could it be possible

Do any automated browser testing tools support iOS and Android browsers? [closed]

假如想象 提交于 2019-12-07 03:06:16
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I am aware of both Selenium and Watir, but neither seem to offer support for iOS and Android browsers (including touch gestures) Is

Screenshot tool for BlackBerry?

纵然是瞬间 提交于 2019-12-07 02:24:19
问题 I am working on a web development project that I want to make sure works well on the BlackBerry browser. As part of both testing and documentation, I want to be able to take screenshots of my application and was wondering where to start. I see there are a couple of pay applications on BlackBerry App World when I search for screenshot, but I am looking for recommendations or other options. Specifically, I have a Bold 9700 (v5.0.0.296, platform 5.1.0.83). It appears this feature is built into

what units do you use for css for mobile web apps?

我是研究僧i 提交于 2019-12-06 17:04:14
问题 px? em? pt? seems like with varying device sizes and densities it's getting to be time to use something absolute like pts. Can anyone point me to a good, recent write-up of what to use when? (I'm specifically targeting webkit-based mobile devices as my primary platform, though the site needs to work on large monitors, as well. I'm fine ignoring IE and older browsers for the most part.) 回答1: Check out this and that from Luke Wroblewski. Googling his name will find more. 回答2: As you say with

minimal jquery alternative for fast mobile webapps

微笑、不失礼 提交于 2019-12-06 13:17:08
问题 I need a dead simple jq alternative, as tiny as possible and more or less with only requirements: slideUp/down. json get basic DOM The iPhone-look alike-frameworks doesn't do it for me (overdone and heavy for the purpose) which, to my knowledge, leaves me with xui.js, http://xuijs.com/. Unfortunately, the slideUp / accordeon - functions seems buggy or at least not working as expected. Thankful for any input if there's other minimal libraries around. Or if anyone has got the slideup to work

Desktop web version and mobile web version in Opera Mini

大城市里の小女人 提交于 2019-12-06 12:54:52
So I have a website and I mean to make 2 version of it, the desktop version (with full features) and mobile version (simplification of the desktop version). I'm using media query in CSS to adjust the style. It works well in native browser. When I open my web using native browser it will show the mobile version style. But somehow when I open my web using Opera Mini, it keeps showing the desktop version instead. I have googled it and didn't found any clue. Any idea how does it happen? Thanks! There are a number of reasons why Opera Mini is showing the desktop version of the site. The most likely

How do I get back to the iPhone web app after having logged in with Facebook Connect?

泄露秘密 提交于 2019-12-06 10:29:28
问题 I have a mobile web site built using jQuery Mobile. I often run it in full screen/mobile web app mode on my iPhone (I have added the web app to my iPhone home screen). On one of the pages, the user is required to log in to Facebook using the Facebook Connect JavaScript API. If the user is not already logged in, this is done by clicking a login button. The event handler for this button looks like this: ("#fbLogin").click(function () { FB.login(handleStatusChange(response), { scope: "publish

Can anyone suggest design pattern to separate business logic and presentation logic in JavaScript?

China☆狼群 提交于 2019-12-06 08:42:54
问题 I am going to develop mobile web application. App will use web services for back-end data. All presentation and business logic needs to write in javascript. There is different design in ios and android. And don't want to rewrite business logic separately for both. Can anyone suggest design pattern to separate business logic and presentation logic in JavaScript. 回答1: A good design pattern is to design a "REST-ful" API for storing, retrieving, and modifying the data that the application