Questions tagged [mobile]

The tag Mobile should be used to mark questions regarding mobile computing issues. Mobile computing is a form of human–computer interaction by which a computer is expected to be transported during normal usage. Examples include smartphones and tablets.

Mobile OS-specific questions should be tagged accordingly. Please see , , , etc.

Mobile development refers to the process of programming specifically for hand-held devices, such as cell phones/smartphones, tablets, and PDAs.

Mobile computing is human–computer interaction by which a computer is expected to be transported during normal usage. Mobile computing involves mobile communication, mobile hardware, and mobile software. Communication issues include ad hoc and infrastructure networks as well as communication properties, protocols, data formats and concrete technologies. Hardware includes mobile devices or device components. Mobile software deals with the characteristics and requirements of mobile applications.

Reference

30536 questions
75
votes
2 answers

CORS security with ”Access-Control-Allow-Origin: *“ (wildcard)

We need to keep our API server security with CORS restriction : Access-Control-Allow-Origin : http://myonlinesite.com But we also needs this API to be accessible for our mobile apps (Android+iOs). All the solutions I found tell me to allow all…
Vincent Wasteels
  • 1,568
  • 2
  • 14
  • 21
75
votes
6 answers

Youtube autoplay not working on mobile devices with embedded HTML5 player

To my problem, I have one link . I want to play the video by clicking the link in a fancybox overlay window. This is not a problem. The problem is the parameters, for example…
theowi
  • 820
  • 1
  • 6
  • 13
74
votes
11 answers

Does css hover work on mobile devices?

Does css hover work on mobile devices? I have a css hover class which works fine on a regular web browser, but doesn't work on mobile browsers.
Sam
  • 1,045
  • 2
  • 9
  • 8
74
votes
4 answers

Creating an Android Service with Phonegap? (Have phonegap app run even when closed)

I have been working on an Android app using Phonegap and now would like to make it so when the app is closed it can still execute the java/js code in the app. So I understand I need to create a service. If I create a service plugin on phonegap can I…
Jonovono
  • 3,437
  • 5
  • 42
  • 64
70
votes
2 answers

Reducing the battery impact of apps that downloads content over a smartphone radio

If I'm building a smartphone app that regularly downloads data from a server, and also intermittently uploads data (analytics, ads, etc.) what can I do to minimize the battery life impact of those transfers? The battery impact of transfers using the…
Reto Meier
  • 96,655
  • 18
  • 100
  • 72
69
votes
9 answers

NoSQL for mobile apps?

Is there any established noSQL database solution to be used for developing native mobile applications (Android and/or iOs)?
Jeff
  • 14,365
  • 8
  • 30
  • 30
69
votes
6 answers

Position fixed on chrome mobile causing element to move on scroll up/down

I'm facing this strange issue that looks like a bug on Chrome mobile. I have a div with position:fixed; aligned to the top right corner of the screen. On desktop, it works fine (it stays in place), in mobile, however, the div is moving when I scroll…
Lucas Bustamante
  • 15,821
  • 7
  • 92
  • 86
69
votes
6 answers

How to detect when a React Native app is closed (not suspended)?

I have looked everywhere and cannot find an answer to this. How can I detect when a user is trying to close my React Native app (as in the process is running, and they manually manage their apps and force exit it). I would like to add logout…
Dale_Plante
  • 876
  • 1
  • 7
  • 15
69
votes
13 answers

Firebase: This domain is not authorized

I imported Firebase JS v3 API and used to initialize Firebase using: firebase.initializeApp(config); However the app failed to load correctly via web browser on localhost, resulting in the following error: Error: This domain is not authorized for…
user6039980
  • 3,108
  • 8
  • 31
  • 57
69
votes
12 answers

Twitter Bootstrap modal on mobile devices

Bootstrap modals don't work correctly on Android and iOS. The issue tracker acknowledges the problem but does not offer a working solution: Modals in 2.0 are broken on mobile. Modal window in 2.0 not positioning properly The screen darkens but the…
ty.
  • 10,924
  • 9
  • 52
  • 71
68
votes
8 answers

iphone/ipad triggering unexpected resize events

I'm working on a mobile version of my site. I'm using media queries and CSS as much as possible, but I'm also using some javascript to, for example, turn my navigation into a collapse/expand list on smaller devices to save room. To handle all of…
rdoyle720
  • 2,940
  • 3
  • 17
  • 19
68
votes
13 answers

Qt - remove all widgets from layout?

This doesn't seem easy. Basically, I add QPushButtons through a function to a layout, and when the function executes, I want to clear the layout first (removing all QPushButtons and whatever else is in there), because more buttons just get appended…
user375566
67
votes
3 answers

What database does PhoneGap use and what is the size limit?

I wrote an HTML5 database that abstracts localStorage, indexedDB, and WebSQL. Using straight HTML5 my database options look like this: IE10 - indexedDB - 1GB max FireFox - indexedDB - unlimited Safari - WebSQL - 50MB max Chrome - IndexedDB (or Web…
user1873073
  • 3,580
  • 5
  • 46
  • 81
67
votes
3 answers

Convert HTML5 into standalone Android App

I have a dynamic HTML5 document that does not contain any external resources (no images, css and scripts are coded inside of document). This HTML5 application is working fine with internet browser. I was wondering, if it would be possible to convert…
Ωmega
  • 42,614
  • 34
  • 134
  • 203
66
votes
14 answers

Is there a kind of Firebug or JavaScript console debug for Android?

I'm developing a website for mobile. It works on Firefox desktop. It works on iPhone, but when I press a buton on Android 2.x (and maybe lower). my JavaScript code crashes or what else... Can I get access to the logger or JavaScript console for…
Christophe Debove
  • 6,088
  • 20
  • 73
  • 124