FAQ Database Discussion Community


Javascript Battery API returning Infinite discharging time

javascript,android,mobile,battery
It is the wish of every smartphone user if it could come true but unfortunatly this doesn't represent reality. Meanwhile... I'm getting that the battery.dischargingTime of my android phone is Inifinite...! (and I wish it was, but it isn't) This is my code: if(navigator.getBattery){ var battery = navigator.getBattery().then(function(battery){ var level...

Avoid long-tap behaviour on mobile devices while pressing a button

javascript,android,jquery,ios,mobile
In my HTML there is a button that can be short- and long-clicked. If you click on it shortly (like on every other button) it executes a given callback function. When you keep pressing the button the callback will be repeatedly executed until a mouseup or mouseout event is detected....

Javascript, Array of Objects?

javascript,oop,jquery-mobile,mobile
I am a bit of a JS noob, but have good .net experience in my pocket. I am working on a mobile website/app, and I have collected some data similar to business listings from a custom web service. On .net, I would have, at this time, started building a custom...

no more allow open Drawer layout from right side in navigation drawer

android,mobile,navigation-drawer,slidingmenu
I want to open drawer from right side, but when swite it works but when i click on toggle button in action bar it force close and give error that "No drawer view found with gravity LEFT" please help... I add layout like <ListView android:layout_gravity="right|end" android:id="@+id/left_drawer" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_alignParentTop="true" android:divider="#ccc"...

Problems scaling to mobile and small screens in general

css,twitter-bootstrap,mobile
I've recently deployed my first ever website and on my wide screen 1920x1080 monitor everything looks fantastic. However, things start to get really weird on 13" laptop screens, tablets and mobiles. I've been analysing my code and a few development tools such as googles and bootstraps recommendations for mobile and...

How can i render html website in nativescript application?

html5,mobile,nativescript
How can I render html and/or non local website into a nativescript app? I cant find a way to start or manipulate a browser instance.

Why is my navbar scaling the page on mobile?

google-chrome,mobile,navbar
My website has a scaling problem on the chrome browser in android on mobile. This does not happen in Firefox on mobile or in any desktop browser. When the navbar is selected and drops down, it scales the webpage. Note that the page is scaled differently depending on which dropdown...

Scaling Website to Fit Mobile Screens

html,css,twitter-bootstrap,mobile
So I'm working on a small website, http://www.liftlists.com, as a summer project just to get better at web design and programming. Everything is going great so far design wise, but I'm having a ton of trouble getting it to fit on mobile - it displays the full site every time....

What is the best way to implement icon based custom toolbar with Xamarin?

android,mobile,xamarin,android-actionbar,toolbar
I would like to have a toolbar (actionbar) in my app which looks like the screenshot, basically 4 icons shown on top of the screen with no text: What is the best way to implement icon based custom toolbar with Xamarin? ActionBar with some special settings Custom toolbar layout consisting...

uncaught typeError: cannot read property 'querySelectorAll' of null

javascript,jquery,mobile,navigation,internet-explorer-11
I am trying to use this menu for mobile on a site. http://tympanus.net/codrops/2013/08/13/multi-level-push-menu/comment-page-8/#comment-466199 I have it working but one ie11 user is reporting an error and i am seeing the following error in console Uncaught TypeError: Cannot read property 'querySelectorAll' of nullmlPushMenu._init @ mlpushmenu.js:89mlPushMenu @ mlpushmenu.js:67(anonymous function) @ (index):1062 Here...

How to make :hover more mobile friendly and accessible? [closed]

css,user-interface,mobile,sass,user-experience
I'm using SCSS to make a dropdown menu. Here is an excerpt of how it works: li { font: bold 12px/18px sans-serif; display: inline-block; margin-right: -4px; position: relative; padding: 15px 20px; background: $menuBG; color: $menuColor; cursor: pointer; transition: all 0.2s; &:hover { background: $hoverBG; color: $hoverColor; } Now what I'd...

Display Mobile Compatible when it's on mobile

css,jquery-mobile,mobile
Please allow me to ask a silly question about Google's site(google.com). I have tested their site with computer browsers and smartphone browsers. Okay! Here is the question that i have, when the time i make the computer browser to a small screen, the layout of Google's site does not fit...

ASP.NET Web Forms Switch from Site.Mobile.Master

asp.net,mobile
I have an ASP.NET 4.5 Web Forms Application utilizing Bootstrap. http://goo.gl/GZZp9r I had a problem whereby Site.Mobile.Master was being utilized whenever the website was being rendered in Extra Small ViewPort. Since using Bootstrap I did not need this Site.Mobile.Master. I had implemented a solution that would cause Site.Mobile.Master to not...

Increase fonts for mobile devices with Zurb Foundation

css,mobile,fonts,responsive-design,zurb-foundation-5
I've created a clean new web project with Zurb Foundation 5. On desktop and laptop it looks great. I use rem units for font sizes. On small devices the layout is responsive but the font is much smaller - I guess because of higher pixel density. The solutions (this for...

Vertical distance control of
if it spills to next line, in mobile dynamic website

javascript,html,css,mobile
I am building a mobile version of a website. The site displays pictures with captions underneath. The problem I am having is that, on mobile version, when the next line of picture is displayed, it overwrites the caption above it. My question is is there a way to control how...

Change form action url when mobile is detected?

jquery,forms,mobile,action
I'm using a simple form: <form class="myform" action="desktop.php" method="post" name="none"> But now I want that he detects when user goes mobile that the form action url is different (mobile.php). Is that possible? Maybe with jquery?...

PhotoSwipe not working on mobile

javascript,mobile,photoswipe
I have integrated PhotoSwipe 4 on my website. It works well on a desktop machine when using a mouse, but when I open on mobile nothing works, and I can scroll down (it should close like that). Any ideas why this happens? Here's a test page with this issue: http://d9281484.u62.c14.ixinstant.com/events/first-event-2014...

AngularJs from xml to json

android,xml,angularjs,mobile
I have a problem to convert from xml to json the response of the web service with angularjs. This is my code: <!DOCTYPE html> <html> <script src= "http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script> <script type="text/javascript" src="http://demos.amitavroy.com/learningci/assets/js/xml2json.js" charset="UTF-8"></script> <body> <div ng-app="myApp" ng-controller="customersCtrl"> <ul> <li ng-repeat="x in names"> {{ x.theme }} </li> </ul>...

Stop Prevent Default in else clause

if-statement,mobile,menu
Hello I have a mobile nav where some items have a subnav so I have set a preventDefault to stop these doing there normal actions and open the sub menu but some don't have a submenu ad now these don't work as normal. Any help would be great here is...

How to use Meteor Slideout package

javascript,user-interface,mobile,meteor
I am trying to create a basic meteor project using the Chris Wessels's slideout package: https://github.com/chriswessels/meteor-slideout/ . However I don't see any slider animation. Here is my code: Javascript: if (Meteor.isClient) { Template.home.rendered = function () { var template = this; var slideout = new Slideout({ 'panel': template.$('.panel').get(0), 'menu': template.$('.menu').get(0),...

AngularJS $http and jQuery AJAX not firing on Mobile Browsers only

jquery,ajax,angularjs,mobile
I have a very simple angular test app that calls $http.get('http://localhost:3001/pets') and writes them using ngRepeat as < DIV >s into index.html The URL returns Array with 3 objects like so: [ { "id": 1, "name": "cat", "location": "bedroom" }, .... ] Which then get assigned using .success() to $scope.pets...

initial-scale = 1.0 + width= device-width not fitting the whole screen on any mobile

mobile,responsive-design,media-queries,viewport,initial-scale
So I'm pretty stumped right now. I'm building a responsive website using the theme Delicate. It comes in built with the meta tag Which I was under the impression would set the entirety of the content on the screen width. On my phone I have to zoom out to have...

Proper try of Cesium creation, error catching, cross browser compatibility and developer errors

javascript,mobile,error-handling,cross-browser,cesium
I am currently working on a GIS project hat has to be cross browser, mobile, multiplatform and omnipotent. Cesium does not work without WebGL, on some older browser and other minor exceptions, but i have to catch them all. I decided to swich to OpenLayers when Cesium can't be an...

Using Xamarin Forms, How can I change page without displaying a navigation bar?

mobile,xamarin,xamarin.forms
I want to change pages in Xamarin Forms, to do this I have read that you need to use a NavigationPage as the root page. My problem is I can't get rid of the navigation bar at the top. I have tried using SetHasNavigationBar but it doesnt seem to work...

Rendering Error with Devise and Mobylette

ruby-on-rails,mobile,devise,config,renderer
I am using Mobylette with Devise on my Rails 4 app. When I try to sign up, sign in, or reset my password on my mobile device I get this error: ActionController::MissingRenderer (No renderer defined for format: mobile) Has anyone else had this issue? I've tried setting up a fallback...

Jquery Mobile: Horizontal Buttons, fill container

javascript,jquery,jquery-ui,jquery-mobile,mobile
Working on a mobile app, I am trying to create two buttons, that should grow and fill their container. So in portrait view, the two buttons should use up the entire width of their parent, and in landscape view, they should also grow to fill up their entire parent. I...

JQuery - Detect dimension of screen in cm/inches or alternative for displaying on mobile platforms

jquery,jquery-mobile,mobile
I have looked through all the information that I have been able to. As far as I can tell, it appears as if there is no way to detect the dimensions of a screen in cm/inches using jquery. I was wanting to do this because on mobile phones and tablets,...

Cannot create custom toolbar button that works on mobile

javascript,jquery,jquery-mobile,mobile,photoswipe
I have the simple code: <button class="pswp__button" id="CustomButton" style="background:none;" title="Custom" onclick="CustomClicked()"> <img src="~/CustomImage.jpg""> </button> This works as expected on desktop browsers. When I switch to mobile though, I cannot get the event to fire when I tap the button. I've tried attaching every event handler I can think of: tap,...

How to remove splash screen on meteor

cordova,mobile,meteor
How can I remove the default splash screen for the Cordova integration with MeteorJS? I can't seem to find anything about it on the Meteor Docs.

The website can't be logged in using mobile devices

php,mobile
I'm now constructing a website in mobile version and it's like www.example.com/m/ . And now I got a problem which is I can't login the website using mobile devices(Android, iPhone, iPad). However, it works under following situation: login the website using mobile device on localhost login the website using laptop...

Mobile Apps using MVC ? Can we develope?

asp.net-mvc-4,mobile
Using Asp.net MVC 4, can we develop android mobile app and window mobile app also. visual studio 2012 is enough or i have to add some other tools, while i am searching in google i found xamarin like that any other tools or we can directly develop the mobile app...

What can I use to view a mobile device remotely instead of VNC options which are too slow?

user-interface,testing,mobile,vnc,mirroring
We have a dozen or so mobile devices for testing. Emulators in SDK's like Android's or Xcode have quirks. So, we use actually devices. I've tried browser synchronization like browser-sync but that routes everything through a proxy. I'm looking for a way to remotely view and control these devices from...

What is the Difference between Xamarin and Telerik Platform

javascript,c#,mobile,xamarin,telerik
This is going to be quite a hectic question and im hoping that you can all Bear with me. Im having difficulty fully understanding some things about mobile App development. So my Main question is : What is the difference between Telerik Platform and Xamarin ? Dose it just depending...

CSS / Bootstrap - font-size not properly resizing from computer to mobile device: Font on Mobile device looks so small

css,twitter-bootstrap,mobile,responsive-design
This is my CSS: @media(max-width:767px){body { font-size: 22px; }} @media(min-width:768px){body { font-size: 20px; }} @media(min-width:992px){body { font-size: 16px; }} When I resize my browser window on my laptop, it properly resizes. But this is my issue: When I visit my website from my mobile device, the font-size is way too...

Re-ordering bootstrap columns on desktop and mobile views

html,css,twitter-bootstrap,mobile,twitter-bootstrap-3
Basically, I want a certain column (search) on the right sidebar to be on top when on mobile devices and still maintain the right sidebar on desktop views. So here's what I have so far.. <div class="container"> <div class="col-md-3 col-md-push-9">B</div> <div class="col-md-9 content col-md-pull-3">A</div> <div class="col-md-3 col-md-push-9">C</div> </div> It looks...

Simplified: White space on mobile when defining div min-width

html,css,mobile,width,removing-whitespace
Problem: White space appears at bottom of page on mobile Chrome. I gutted everything to isolate the problem. There's now a single div. Page takes up full viewport just fine, until I define a min-width for the div. I tried a css reset. Did not solve problem. Am I just...

I'm using htaccess to redirect mobile users from desktop to website but i keep getting the $_GET variables inside

.htaccess,redirect,mobile
This question may look like its been asked already and i have seen them all, i've been looking and attempting a lot of answers AND answers that weren't approved. I have successfully made it so that if the user goes to desktop version it will go to the mobile site...

Single page app viewport mobile using Foundation

javascript,css,mobile,responsive-design,zurb-foundation
I am using Foundation for a responsive website and have a problem with SOME mobile devices not properly scaling the viewport ONLY when you load another page via our ng-include. This loads new content into the page and the width of the page then breaks and requires horizontal scrolling. This...

Mobile parallax with fixed background

javascript,html,css,mobile,parallax
I would like to know how to achieve the parallax effect in mobile devices with a fixed background. Is there any plugin available to achieve the same? I could see that background-attachment fixed not working on mobile. For eg: I need to achieve the same effect like the one in...

Loopback passport mobile login

facebook,mobile,passport.js,loopbackjs
I'm developing an API with loopback and passport. I've seen this example, which is quite good: https://github.com/strongloop/loopback-example-passport In the documentation, they say loopback follows this step to authenticate users via third party providers: A visitor requests to log in using Facebook by clicking on a link or button backed by...

“Mobile first” or last from a breakpoint perspective?

mobile
"Mobile first" is recommended, I know. However, I understand this to be because of the progressive enhancement principle. But when I build a simple site, where I am just scaling/re-arranging items to fit better and have better legibility on smaller devices, can I not just as well start with the...

How to use media query with div as screen for mobile preview in desktop website?

html,mobile,media-queries,screen-size
I need to show a preview of the code responsive in a div that has the size of a mobile phone, how can I use media queries? or i can do it with jquery? Thanks a lot !

Setting ContentView when updating a notification eventually freezes up the app? (Android)

java,android,mobile,service,notifications
I have a service that updates a notification every millisecond (stopwatch). It works fine initially, the problem is, the app eventually slows down and stopwatch updates look really laggy. I've pinpointed this issue to the fact that I'm resetting the notification's contentview. If i comment out that code, the timer...

mobile version extra skinny, viewport set, no overlapping items

html,css,wordpress,mobile
I'm using Jetpack's Mobile plugin to create a mobile version of my client's otherwise non-responsive theme. It works fine on most of the site, except this one landing page, where it loads very skinny. I don't see anything obvious that is loading at a width that would bump everything to...

Difference between Liferay Mobile SDK and Liferay Screens

mobile,liferay,liferay-6
Can someone tell me the difference between Liferay Mobile SDK and Liferay Screens? Thanks a lot....

Website looks different on actual mobile device than with spoofed user agent on desktop

css,mobile
I'm learning HTML and CSS. I made this site at http://sharpe.link/. When I view the site on an iPhone or iPad, the three images on the bottom are vertically stacked. When I view the website on Chrome using the Developer Tools, or "User-Agent Switcher for Chrome" (plugin), or mobiletest.me (website),...

Secure way to download AWS S3 Contents from mobile app

mobile,amazon-web-services,amazon-s3,amazon-cognito
Problem Statement: I want to download S3 contents through mobile app from multiple mobile devices. Solution that I came across. Solution 1 Create an IAM user in AWS. Create a policy to download S3 contents only for particular bucket and assign that policy to IAM user. Whenever mobile application wants...

jQuery mobile library - buggy swipe detection

javascript,jquery,html,mobile
So I have an issue of in my code. I would like to detect right and left swipes only. I'm not interested in other events that the library provides. I'm using the jQuery mobile library however it's buggy. Behavior expected is for my code to detect right and left swipes....

Why does my viewport look different when I deploy to heroku?

html5,mobile,heroku,responsive-design,viewport
I have a simple web app that I am deploying to heroku. In my html, I am have the meta information about the viewport: <head> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <title>Notify</title> <link rel="stylesheet" type="text/css" href="./app.css"> <link rel="stylesheet" type="text/css" href="./bootstrap.css"> </head> Here is my server code: var express = require('express');...

(Unity3d) How do I make a “move pad” on the screen? (Mobile)

mobile,input,unity3d
In my game you can control the character by moving left and right, jumping and attacking. (This is a mobile game) I have a button that I use to jump and attack, which is easy because I just make a button and jump or attack with OnClick(). But for moving,...

Scale Only One Image Down in Mobile View

css,html5,mobile,responsive-design
I don't have very much html/css knowledge. I have the whole site golden for mobile/tablet view. I am running in to a problem with the navigation bar. When the screen is scaled down, the logo takes up the whole navigation bar and you can't see the links. All the other...

Convert MVC Website to be Responsive

mobile,model-view-controller,seo
While investigating the Google SEO issue with respect to not having a mobile web site. I've learned recently that lack of proper mobile site would reduce the search ratings, and a different content for a mobile and a desktop sites might hurt your SEO as well. Currently we have a...

Firefox mobile: Links getting activated by touching elsewhere

firefox,mobile,hyperlink,scale,viewport
I've got a strange probleme here. If I have this line in the HEAD part <meta name="viewport" content="width=1200,initial-scale=2,minimum-scale=2"> touching the lines which are not links in the following example causes one of the links to get activated: <ul> <li><a href="http://www.example.com">example</a></li> <li><a href="http://www.test.com">test</a></li> <li>Text in between</li> <li>Even more text in between</li>...

How can I check if my website appears correctly in mobil devices? [closed]

android,html,iphone,mobile,web
I am learning web design, and I can make basic web sites on Windows desktop. My question is, how can I check this site if it appears correctly in other devices like Android or iPhone. I want to see it from my website directory on device, not from a "html://www.example.com"....

Navigation icon not showing up on mobile version?

html,css,mobile,navigation
So i've modified the css elements to add the background image but so far nothing succeeded in displaying the navigation icon on mobile devices. Please assist me in debuging the code in responsive design view at Link and tell me what worked. thanks for your time.regular css down below #menu-icon...

How can I add a “tag” to a contact?

android,mobile,contacts
I've got a fragment with a listView that displays the native contact list. The project has a feature that allows the user to add a "tag" to a contact (list item has 2 textViews, one with the name and the other one with the tag, i.e. "John Smith", "Dentist"). Any...

Responsive website - slider content with images does not fit in mobile viewport

html,css3,mobile,responsive-design,slider
I have a website http://www.vinjerac.com which has an image slider. The complete site is responsive, but the slider content does not fit the viewport in mobile devices and the website looks distorted. Can you please suggest a solution for the same. Thanks...

Fix horizontal scrolling

html,css,mobile
Trying to fix horizontal scrollbar on the page I'm building http://www.fotoimpuls.eu/, and can't figure out what might cause this issue... The issue appears only on max-width : 767px, where the width of the contentWrapper is off for some reason, causing horizontal scrollbar to appear....

liferay like restfull api mobile

mobile,liferay
I have a app and I need develop a restfull api to be used for this app. Is liferay a valid option to develop this (using the service builder and persistence layer of liferay) to expose my service api to be used for the app? I have in mind the...

Controlling a player using touch input on the mobile device

android,ios,mobile,unity3d,touch
I am new to Unity, and was following the tutorials of roll a ball. I was to create it for both mobile and desktop and it is working but the only problem I have is that I am unable to create touch keys arrows(left,right,up,down) to control the player on the...

Bootstrap: Gap between columns on mobile display

html,css,twitter-bootstrap,mobile
I am doing a website using bootstrap 3.0 which I want the HTML and CSS to be seen neatly on a desktop, tablet and mobile. A problem that I am having is that when you view the site on a mobile display the column are stacked (in which I am...

Unable to build new project in Android Studio

java,android,mobile,android-studio
I created a new project in Android Studio with the default activity settings. As soon as the project loads into the IDE it throws the below error message. Also I notice the layout folder with activity.xml is missing. Error:Unable to start the daemon process. This problem might be caused by...

ng-view will not auto hide address/navigation bar on mobile devices

javascript,android,ios,angularjs,mobile
I am building a mobile website using Mobile Angular UI. After almost completion I tried to finally test it on my mobile devices. I realized that: when I scroll down the page, the navigation bar of the browser(i.e. Safari on iPhone, Chrome on Android devices) does not auto hide like...

Textarea with font-size:30px still autozooms when activated on mobile

html,css,mobile,textarea,zoom
As I understand it, setting a text input's font-size to a size greater than 16px, is supposed to disable the autozoom effect that happens when you activate the text input on a mobile device. I set the font-size to 30px, but the autozoom effect is still there. Tested on Chrome,...

Responsive CSS only working in mobile view, refusing to hide in normal view

css,mobile,responsive-design,haml
I've created two different footers for a page, given them two different ID's, and then written CSS so that one footer is hidden and the other shown for regular browsing, and then the opposite for mobile browsing. You know the drill. @media (max-width: $screen-lg) { #main-footer { display: block; }...

Why my access from my mobile to my computer network doesn't work?

android,mobile,connection
I have a problem and it is that, yesterday, I could access from my mobile phone to my computer network but today it doesn't work. Why it could be? What I have ready: I have running my server(XAMPP) I'm connect via WIFI to the same network. My mobile phone it's...

How do I vertically fix an element in a mobile browser but still allow for horizontal scroll?

javascript,mobile
On a Desktop browser, I can use the following javascript to vertically fix an element, but still allow for horizontal scroll. As you see, it re-positions the element on every scroll event. To see what I mean, try horizontally and vertically scrolling in this JSFiddle. var verticallyFixedBox = document.getElementById('verticallyFixedBox'); window.addEventListener('scroll',...

bootstrap responsive navigation. Toggle button position

mobile,responsive-design,navigation,bootstrap
I'm working on a responsive template and I can not sort this out!!! So.... My header and navigation HAS TO LOOk like this in mobile screen: But I'm struggling because the natural behave of the navigation, as you see in desktop size: The navigation is the grey bar, so when...

This code hits a roadblock on Android, any idea why?

c#,android,mobile,unity3d
The method below runs great on ios Iphone 5, Mac, PC, and web but has major slowdown on Android. This is in unity 5 c#. using UnityEngine; using UnityEngine.UI; using System.Collections; using OpenCVForUnity; public class MouthDetect : MonoBehaviour { private WebCamTexture _webCamTexture; private Color32[] _colors; public bool isFrontFacing = true;...

Bootstrap small device order of the grid row

html,css,twitter-bootstrap,mobile,row
On desktop the order of the grid row is: Text | Picture Picture | Text Text | Picture On mobile this becomes: Text Picture Picture Text Text Picture Is there any way to change this order on mobile? to for example: Text Picture Text Picture Text Picture Thank you!...

Variable price for mobile app for various countries [closed]

android,ios,mobile,mobile-application
Can I provide a different price (not just a converted currency) for my app for different countries stores? p.s.1 I want to do this for apple's app store and google's play store. p.s.2 I don't want to upload a separate app for each country's store. I want it to be...

Mobile css loaded on chrome inspector but not working on phone

html,css,mobile,responsive-design,media-queries
So i have a website that I am working on, when I use the "phone icon" on google chrome inspector the site looks ok, it switches to the responsive mobile design, but on my phone it's showing the desktop version. The styles are in the same file desktop&mobile. I have...

Responsive issue. Websites remains big while elements scale

html,css,wordpress,mobile,media-queries
I am currently working on making a website responsive. However i am experiencing an issue which i can't seem to figure out. The website i am working on is: http://www.vouwwagencentrumnoordbergum.nl/ So, when you visit the website on a mobile phone or you just scale your browser, most of it (...

When debugging on an Android device, Video objects sometimes refuse to play a Camera or a NetStream object

android,flash,video,mobile,air
I have been coding in Flash for a while, though I haven't worked a whole lot on AIR Mobile yet. That being said, when debugging on an Android device via USB, Video objects sometimes work just fine when Camera or NetStream objects are attached, and sometimes they refuse to do...

How to update value in Autoform Placeholder

javascript,mobile,meteor,meteor-autoform
I have a form where I want to update user information. I want to provide the update form with current user data located in placeholder. This data will be provided using a routecontroller. However it does not work. I was wondering if there is any solution to this. {{> afFieldInput...

How to Remove class or activate class for specific view port only

css,mobile,media-queries,viewport,tablet
Not sure if this would require Javascript, or if there is a way to do this with CSS alone. Basically I want to have a class active only for medium and small size browswers. Example: <style> .big {font-size: 2em;} .normal {font-size: 1em;} </style> <div class="big"> <p> This text is huge...

Authenticate against an Azure Mobile Service App with ADAL.js acquired token

c#,azure,mobile,azure-mobile-services,adal
I'm trying to authenticate a HTML app against an Azure Mobile Service app. The Setup Both apps use AAD as authentication backend, so both apps have an application registered in the Active Directory: Azure Mobile Service app: configured as described in https://azure.microsoft.com/en-gb/documentation/articles/mobile-services-how-to-register-active-directory-authentication/ I edited the manifest to enable the client...

Mobile navigation - Not activating on touch

html,css,mobile,responsive-design
I'm trying to make my website accessible via mobile and have arranged it so below a certain size the menu bar at the top turns into a dropdown. Unfortunately it works with hover so when I try to use it on my mobile nothing happens at all. Can anyone suggest...

Performance Testing for Native Mobile Applications

android,performance,mobile,apk,performance-testing
I have to do a POC on Performance Testing for a Native Mobile Application. Need some help on how to go ahead. Many tools in the market work on a browser based on the Mobile. What if, I have developed an app (eg: like Facebook app on Android phone) and...

Cordova ENOENT Error

android,cordova,mobile
I've been testing some cordova admob plugins then this error shows up and I cant add/remove/build or anything now. Error: ENOENT, no such file or directory 'C:/myapp/plugins/com.connectivity.monitor/plugin.xml' Does somebody can explain what to do?...

Parse & Pubnub for image messaging chat appllcation

android,image,mobile,parse.com,pubnub
We are developing a real time android chat application that will support text and image messaging. It will also sort other users based on their location and proximity to the user. Is using pubnub and parse a viable solution? How can we implement sending image messages using Pubnub? Also, can...

Android - is it possible to interact with apps?

android,mobile
I wanted to know if an app can interact with and change behavior of other apps ? Like, if someone has my app installed and opens whatsapp, I would pre-fill the input with a default text, for example. It doesn't matter if the phone needs to be rooted. I didn't...

How Does YouTube Stream Long-Form Videos to Mobile

html5,video,mobile,youtube,streaming
I'd like to know how YouTube plays long-form videos so quickly, with seeking, on mobile. This is an example video: https://www.youtube.com/watch?v=eyU3bRy2x44 I can load it just fine on mobile within 5-15 seconds and I can even seek through it. Are they using HLS? Or are they using any other streaming...

Does SEO markup need to be on both versions of a website?

html,mobile,seo,canonical-link
Lets say I have 2 pages (1 for mobile and 1 for desktop) Mobile URL: http://www.example.com/mobile/ Desktop URL: http://www.example.com/ And I put these kind of SEO tags in the <head> of the desktop version of my site: <meta name="description" content="Amazing Description"/> <meta property="og:type" content="Website"/> <meta property="og:url" content="http://www.example.com/"/> <meta property="og:title" content="Perfect...

CKEditor 4.4.7 does not show up on any mobile browsers

android,iphone,mobile,ckeditor,ckeditor4.x
I am creating an internal CMS for work, and it is important that all pages be mobile-friendly. When you view a page with CKEditor 4.4.7 installed from a phone, the editor shows up as a normal textarea and none of the HTML or text within it is properly formatted. I...

As a beginner mobile developer, I need some guidance

android,ios,mobile,xamarin
I need input on my research so far on paths for mobile development With job availability being the priority, so far I see 2 reasonable options (I'll add my take on both so far) Xamarin/Xamarin.Forms development I feel like this cross-platform development technology is still very young, and therefore risky...

Can on-device sqlite database of a mobile app be updated without updating the the app at the app store?

android,sqlite,mobile,android-sqlite
I am not an app programmer. I am planning an online e-commerce marketplace app and will be outsourcing the job. I have some programming knowledge and have few questions regarding the design of the app. I want the app to be fast. so I am willing to store the information...

menu for mobiles no longer working

jquery,css,html5,mobile
When I view this page for mobiles, the navigation menu no longer works.I don't know why because it was working before I put the image slider in . here is the html markup: <!DOCTYPE html> <html lang="en"> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <script src="assets/jquery.flexslider.js"></script> <script type="text/javascript" charset="utf-8"> $(window).load(function() { $('.flexslider').flexslider(); }); </script>...

Efficiently sorting large arrays of people by their proximity to the user

javascript,arrays,sorting,mobile,latitude-longitude
So I'm trying to create a list of the 15 closest people in an array of varying sizes. The array will almost always be ~100 objects in size, but for the sake of testing, I'm trying to make it work with 10,000 (there may be need for the project to...

My background isn't appearing on some mobile browsers

html,css,mobile
I know there are a few other similar posts to my question so apologies for that. I've tried out all the solutions that were offered in those posts before posting. I have a table on my page that has a background image using css. html { width:100% height: 100%; margin:...

how to disable image map on a slider on mobile devices

html,css,image,mobile,dictionary
hi im working on a site that features an image slider with image maps on each image. it works fine but gets messed up on mobile versions. Im wondering if theres any way to create a new image map when viewed on phone or even to disable the image map....

Mobile site — scale it to full width

html,css,mobile
There is a site with fixed width 1280px. How can I tell a smartphone to scale this site to full width? At least initially, after page loading. For now I use: <meta name="viewport" content="width=1280, initial-scale=1"> But it doesn't seem to work. Is there any 100% working solution?...

div css styling not responding to media query for width

html,css,mobile,media-queries
I have a div I created that I am using for a subscribe button. This div is responding perfectly to my desktop CSS, but it isn't responding to my commands in my media query. I have set the width to many different things and it fully takes up the entire...

Background image issues

jquery,css,html5,image,mobile
I'm getting this issue. Also the background is going on all of my pages and I just want it at home. On the other pages however, it is showing as a banner under the header. I can't get the image to work on jsfiddle but here is the link Also,...

How do you force a website to be in landscape mode when viewed on a mobile device?

css,asp.net-mvc,mobile,responsive-design,media-queries
I've seen a lot of questions about this, but no definitive answer on how to do this in a Razor/MVC site where the mobile site is determined using the DefaultDisplayMode class. Also, a lot of the answers are just code snippets without details on where the code goes (is it...

iOS 7 jQuery animation fail on mobile opera

jquery,mobile,ios7,safari,jquery-animate
I'm working on drupal theme which should support iOS7 device. On my page I placed little button that scrolls to exact page position (After specified item). I wrote simple function: $('#scrollbutton').click(function(e){ e = e || event; var offset = $(this).offset(); //offset.left -= 20; offset.top += 1; $('html, body').animate({ scrollTop: offset.top,...

JQM: Correct touch event to use for navigation, that does not fire on finger scrolling

javascript,jquery,cordova,jquery-mobile,mobile
I am building a cordova application. I have a page with multiple Navigation buttons on it (16). The nav buttons get wrapped to 2 buttons per line. This causes the page to be scrollable. I have an issue where when I scroll the page with my finger, the button I...

Is there a standard pattern for verifying an async request is still needed?

multithreading,swift,mobile,closures
In mobile apps apps we can't (or should not) make network requests on the main thread. We normally get the results of the request back via a callback or a closure that is executed on the main thread when the result is available. Since the user may have moved on...

Strange Right Margin in Mobile View

css,css3,mobile,responsive-design
I'm having a strange issue and am hoping someone can see what I can't. In a mobile view only, I am getting a right margin that is outside of the body. This only happens if I am using a device emulator or looking at it on an actual phone. The...

Is there any IDE for mobile development cross platform free for commercial use?

mobile,cross-platform,development-environment
I'm in need to create a mobile application, but I wanted to make it cross platform (pick the same code and compile to android, ios without much problems). In my searches, I only found frameworks, like PhoneGap, but no IDE free for commercial use. I have only found Visual Studio...