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
1943
votes
64 answers

How to detect a mobile device using jQuery

Is there a way to detect whether or not a user is using a mobile device in jQuery? Something similar to the CSS @media attribute? I would like to run a different script if the browser is on a handheld device. The jQuery $.browser function is not…
superUntitled
  • 22,351
  • 30
  • 83
  • 110
688
votes
22 answers

Media Queries: How to target desktop, tablet, and mobile?

I have been doing some research on media queries and I still don't quite understand how to target devices of certain sizes. I want to be able to target desktop, tablet and mobile. I know that there will be some discrepancies but it would be nice to…
betamax
  • 13,431
  • 9
  • 38
  • 55
425
votes
15 answers

How can I "disable" zoom on a mobile web page?

I am creating a mobile web page that is basically a big form with several text inputs. However (at least on my Android cellphone), every time I click on some input the whole page zooms there, obscuring the rest of the page. Is there some HTML or CSS…
Martín Fixman
  • 9,055
  • 9
  • 38
  • 46
391
votes
8 answers

What is the difference between Hot Reloading and Live Reloading in React Native?

I'm a bit confused here. When I'm debugging a React Native Application, I usually enable both Hot Reloading and Live Reloading. I want to know what is the difference between them?
Raman Choudhary
  • 4,283
  • 2
  • 14
  • 25
301
votes
6 answers

@Media min-width & max-width

I have this @media setup: HTML: CSS: @media screen and (min-width: 769px) { /* STYLES HERE */ } @media screen and (min-device-width: 481px) and…
rallybilen
  • 3,077
  • 3
  • 15
  • 7
275
votes
16 answers

Sharing link on WhatsApp from mobile website (not application) for Android

I have developed a website which is mainly used in mobile phones. I want to allow users to share information directly from the web page into WhatsApp. Using UserAgent detection I can distinguish between Android and iOS. I was able to discover that…
Yochai
  • 2,783
  • 2
  • 12
  • 8
269
votes
30 answers

Cause: buildOutput.apkData must not be null

My android application using Kotlin is throwing this exception when I try to Run 'app' in the emulator o in my cellphone. When I build my project it runs well, with no errors. I am using: SDK 28 (Android 9.0 (Pie)) Gradle 5.1.1 Gradle Plugin…
jzelar
  • 2,713
  • 2
  • 9
  • 6
245
votes
32 answers

Detect viewport orientation, if orientation is Portrait display alert message advising user of instructions

I am building a website specifically for mobile devices. There is one page in particular which is best viewed in landscape mode. Is there a way to detect if the user visiting that page is viewing it in Portrait mode and if so, display a message…
Dan
  • 10,171
  • 7
  • 38
  • 31
240
votes
6 answers

How to create hyperlink to call phone number on mobile devices?

What is the proper, universal format for creating a clickable hyperlink for users on mobile devices to call a phone number? Area code with dashes 555-555-1212 Area code with no dashes
MultiDev
  • 10,389
  • 24
  • 81
  • 148
239
votes
18 answers

Simplest way to detect a mobile device in PHP

What is the simplest way to tell if a user is using a mobile device to browse my site using PHP? I have come across many classes that you can use but I was hoping for a simple if condition! Is there a way I can do this?
Abs
  • 56,052
  • 101
  • 275
  • 409
234
votes
11 answers

How to access a mobile's camera from a web app?

In my web app (not native app) for mobiles, I want to take a photo and upload it, but I don't want to use Adobe Flash. Is there any way to do this?
夏期劇場
  • 17,821
  • 44
  • 135
  • 217
210
votes
13 answers

How to center a component in Material UI and make it responsive?

I don't quite understand the Material UI grid system. If I want to use a form component for login, what is the easiest way to center it on the screen on all devices (mobile and desktop)?
zorro
  • 2,305
  • 2
  • 11
  • 14
203
votes
8 answers

How to print to the console in Android Studio?

I just downloaded Android Studio for Linux from: http://developer.android.com/sdk/installing/studio.html I'm wondering how to print to the console? Neither System.out.print(...) nor Log.e(...) from android.util.Log seem to work.
Tyrick
  • 2,776
  • 3
  • 23
  • 33
169
votes
7 answers

Get GPS location from the web browser

I am developing a mobile based web-site, there I have integrated Google Maps, I need to fill the 'From' field of Google Maps dynamically. Is it possible to get the GPS location from web browser and fill it up in the 'From' field of a Google Map…
Ganesh
  • 1,707
  • 2
  • 11
  • 3
162
votes
6 answers

Remove textarea inner shadow on Mobile Safari (iPhone)

By default, it seems Mobile Safari adds the top inner shadow to all input fields, including textarea. Is there a way to remove it? It's especially ugly when you have a white background.
Lyon
  • 7,354
  • 10
  • 33
  • 46
1
2 3
99 100