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
108
votes
5 answers

What's the right OAuth 2.0 flow for a mobile app

I am trying to implement delegated authorization in a Web API for mobile apps using OAuth 2.0. According to specification, the implicit grant flow does not support refresh tokens, which means once an access token is granted for an specific period of…
Pablo Cibraro
  • 3,769
  • 3
  • 25
  • 17
107
votes
8 answers

Restrict API requests to only my own mobile app

Is there any way to restrict post requests to my REST API only to requests coming from my own mobile app binary? This app will be distributed on Google Play and the Apple App Store so it should be implied that someone will have access to its binary…
Thiago
  • 1,088
  • 2
  • 8
  • 6
106
votes
11 answers

Create a link that opens the appropriate map app on any device, with directions to destination

I rather thought this would not be so hard to find out but appearantly it is not easy to find an awesome cross device article, like you'd expect. I want to create a link which opens either the mobile device's browser and surf to google maps OR open…
Alex
  • 9,911
  • 5
  • 33
  • 52
105
votes
9 answers

Apple Touch icon for websites

Up to now, I've been including the line for the Apple Touch icon in my head like this: However, in the Q&A "What are the correct pixel dimensions for an apple-touch-icon?" it is stated in…
J82
  • 1,657
  • 4
  • 16
  • 18
104
votes
4 answers

What's the point of 'meta viewport user-scalable=no' in the Google Maps API

I'm using the Google Maps JavaScript API V3 and the official examples always have you include this meta tag: Most of the 3rd-party examples I've seen also do it. I wrote a…
Ian Dunn
  • 3,541
  • 6
  • 26
  • 44
104
votes
5 answers

Why does Twitter Bootstrap Use Pixels for Font Size?

Given that Twitter Bootstrap is designed to be responsive / device-friendly, why doesn't it use relative font sizes?
Undistraction
  • 42,754
  • 56
  • 195
  • 331
102
votes
1 answer

Using form input to access camera and immediately upload photos using web app

I came across this answer which is brilliant: In iPhone iOS6 and from Android ICS onwards, HTML5 has the following tag which allows you to take pictures from your device: Capture can take…
micah
  • 1,937
  • 6
  • 27
  • 40
102
votes
4 answers

How does Chrome's "Request Desktop Site" option work?

For iOS google chrome, when a user hits the "Request desktop site" button what does the browser do to try to bring up a desktop site? I imagine some sort of header on the request that sites are looking for, or something similar?
butallmj
  • 1,531
  • 4
  • 14
  • 21
101
votes
4 answers

:touch CSS pseudo-class or something similar?

I am trying to make a button, such that when the user clicks on it, it changes its style while the mouse button is being held down. I also want it to change its style in a similar way if it is touched in a mobile browser. The seemingly-obvious thing…
Elias Zamaria
  • 96,623
  • 33
  • 114
  • 148
100
votes
9 answers

Android id naming convention: lower case with underscore vs. camel case

I'm currently programming an application for the Android. Now what I found out is that you cannot place resource objects, say, an image in the drawable folder and name it like "myTestImage.jpg". This will give you a compiler error since camel case…
Juri
  • 32,424
  • 20
  • 102
  • 136
98
votes
10 answers

pinterest api documentation

Update Aug 2015: Pinterest provides it here now https://dev.pinterest.com/ Is there official or unofficial documentation on the v2 Pinterest API? Things I know: JSON api is in version 2. https://api.pinterest.com/v2 gives you a json…
Dylan Valade
  • 5,565
  • 6
  • 42
  • 56
95
votes
7 answers

screen styling when virtual keyboard is active

Ideally, i would want the entire interface to have a custom styling that is seen on the ios (itouch / ipad) or android equivalent with the virtual keyboard present. See below for more details. A custom set CSS hacking rules to be active, when the…
PicoCreator
  • 9,886
  • 7
  • 43
  • 64
94
votes
4 answers

HTML file input control with capture and accept attributes works wrong?

My problem: Then user click the input type=file user must get the upload file + camera dialog. I'm using for this html attributes accept and capture. But on some modern devices this doesn't happen. Below there are the code examples and the table…
Alex
  • 11,115
  • 12
  • 51
  • 64
91
votes
15 answers

HTML5

According to: http://developer.android.com/sdk/android-2.0-highlights.html Android 2.0 should support the HTML5 video element. I haven't been able to get this to work using a Motorola Droid, and haven't been able to successfully view a video on any…
jmans
  • 5,648
  • 4
  • 27
  • 32
91
votes
12 answers

Make an image responsive - the simplest way

I notice that my code is responsive, in the fact that if I scale it down to the size of a phone or tablet - all of the text, links, and social icons scale accordingly. However, the ONLY thing that doesn't is my image in the body; which is wrapped in…
Anonymous
  • 971
  • 3
  • 9
  • 8