All Questions

Tagged with
Filter by
Sorted by
Tagged with
441 votes
28 answers
462k views

Detect a finger swipe through JavaScript on the iPhone and Android

How can you detect that a user swiped his finger in some direction over a web page with JavaScript? I was wondering if there was one solution that would work for websites on both the iPhone and an ...
827's user avatar
  • 5,032
310 votes
14 answers
213k views

Comparison between Corona, Phonegap, Titanium

I am a web developer and I want to move my web products to iPhone. One of the products is like Google Maps: show map on the phone screen, you can drag or resize the map and view some information that ...
Mickey Shine's user avatar
  • 12.3k
307 votes
15 answers
530k views

Capturing mobile phone traffic on Wireshark

How can I capture mobile phone traffic on Wireshark?
Xara's user avatar
  • 8,938
192 votes
2 answers
228k views

SSL certificate is not trusted - on mobile only [closed]

My site is working great over SSL in my desktops (chrome) I have a green lock near the address bar saying "Identity verified" But using a mobile mobile browser (Chrome/Safari)I see the following ...
Avi Zloof's user avatar
  • 2,963
180 votes
11 answers
228k views

adding multiple entries to a HashMap at once in one statement

I need to initialize a constant HashMap and would like to do it in one line statement. Avoiding sth like this: hashMap.put("One", new Integer(1)); // adding value into HashMap hashMap.put("Two", ...
user387184's user avatar
149 votes
7 answers
145k views

Can I avoid the native fullscreen video player with HTML5 on iPhone or android?

I've built a web app that uses the HTML5 tag and JavaScript code that renders other content synchronized with the running video. It works great in desktop browsers: Firefox, Chrome, and Safari. On an ...
AlpineCarver's user avatar
  • 1,708
144 votes
14 answers
39k views

OAuth secrets in mobile apps

When using the OAuth protocol, you need a secret string obtained from the service you want to delegate to. If you are doing this in a web app, you can simply store the secret in your data base or on ...
Felixyz's user avatar
  • 19.1k
132 votes
16 answers
147k views

Detecting touch screen devices with Javascript

In Javascript/jQuery, how can I detect if the client device has a mouse? I've got a site that slides up a little info panel when the user hovers their mouse over an item. I'm using jQuery....
Brad Robinson's user avatar
107 votes
9 answers
29k views

Android equivalent to NSNotificationCenter

In the process of porting an iPhone application over to android, I am looking for the best way to communicate within the app. Intents seem to be the way to go, is this the best (only) option? ...
John's user avatar
  • 1,528
97 votes
7 answers
35k views

Using Phonegap for Native Application development [closed]

I recently came across Phonegap. Have anyone of you tried it. Its an incredible tool which claims that developers can use HTML 5 based framework like Sencha touch and Jquery at the same time having ...
SaKet's user avatar
  • 1,638
89 votes
17 answers
20k views

What work has been done on cross-platform mobile development? [closed]

Have any well-documented or open source projects targeted iPhone, Blackberry, and Android ? Are there other platforms which are better-suited to such an endeavor ? Note that I am particularly asking ...
84 votes
13 answers
28k views

Alternatives to google maps api [closed]

Google maps API is great for developing location based services for mobile phones. But for some reason, the use of it is restricted for me in a special project. E.g. if your project is in conflict ...
82 votes
15 answers
188k views

Disable scrolling in all mobile devices

This sounds like there should be a solution for it all over the internet, but I am not sure why I cannot find it. I want to disable Horizontal scrolling on mobile devices. Basically trying to achieve ...
Sammy's user avatar
  • 3,089
82 votes
8 answers
130k views

Invoke native date picker from web-app on iOS/Android

I'm trying to explore the posibilities with running a native web-app on different platforms using HTML5. Currently, an <input type="date">field just opens the standard soft keyboard on Android ...
hnilsen's user avatar
  • 2,005
79 votes
2 answers
92k views

Is there a way to make a phone number clickable on an iphone or android phone to make a call in HTML?

Is it possible to make a phone number clickable in HTML so that when a user clicks on the number it is called?
leeand00's user avatar
  • 25.8k
73 votes
5 answers
56k views

how to scan barcode using phonegap

I need to scan a barcode using phonegap in Android and iPhone. Is there a way to do this?
Newbee's user avatar
  • 1,310
63 votes
2 answers
34k views

Difference between iPhone Simulator and Android Emulator

What is the difference between iPhone Simulator and Android emulator? I have heard people saying that Emulator really emulates the target device which is not true in case of simulator. I think ...
RK-'s user avatar
  • 12.2k
57 votes
10 answers
105k views

How to detect a long touch pressure with javascript for android and iphone?

How to detect a long touch pressure with javascript for android and iphone? native javascript or jquery... I want something that sound like : <input type='button' onLongTouch='myFunc();' />
Christophe Debove's user avatar
56 votes
1 answer
9k views

Chrome dev tools to emulate mobile devices with navigation bar

Hey I'm a web developer and I'm looking for a way to emulate mobile devices which also displays their respective navigation bars, toolbars etc. In the 'Device toolbar' in Google Chrome (v58 on macOS) ...
Martin's user avatar
  • 1,926
53 votes
5 answers
78k views

looking for best barcode scanner library, besides zxing [closed]

I am looking for some best barcode libraries on all platforms. I know zxing but wondering more libraries besides it. Any help is appreciated~
Mickey Shine's user avatar
  • 12.3k
52 votes
8 answers
75k views

Redirect users to iTunes app store or google play store?

I'm looking for an easy solution to post one link of my app e.g. on Facebook and it should automatically redirect to the right app store if the user accesses it with a mobile device. Otherwise the ...
Florian's user avatar
  • 591
48 votes
5 answers
73k views

Do iPhone / Android browsers support CSS @media handheld?

I want to change my web page CSS for web browsers running on cell phones, like the iPhone and Android. I've tried something like this in the CSS file: @media handheld { body { color: red; } ...
Colen's user avatar
  • 13.6k
45 votes
6 answers
22k views

How to code sharing between Android and iOS

I'm moving away from strict Android development and wanting to create iPhone applications. My understanding is that I can code the backend of iOS applications in C/C++ and also that I can use the NDK ...
Sonoman's user avatar
  • 3,419
44 votes
12 answers
102k views

Full webpage and disabled zoom viewport meta tag for all mobile browsers

I want my webpage to be full screen and disable zooming on all mobile devices. With the meta tag: <meta name="viewport" content="width=1165, user-scalable=no"> I am able to do this for iPhone/...
user avatar
44 votes
3 answers
11k views

Mobile development - Native VS Cross Platform VS JavaScript [closed]

Our company will soon start developing few products for mobile platforms, as CTO I was asked to examine the Pro and Cons of the different tools available in order to achieve the best quality / cost ...
Oliver Blint's user avatar
44 votes
6 answers
27k views

How to wrap a website in a phone app?

I have seen a lot of mobile phone apps that just open a web page without the controls. Just the page. I am looking for guidance and links to start something simple like this.
EnexoOnoma's user avatar
  • 8,652
40 votes
10 answers
3k views

Is Android development restrictive in any way like for the iPhone?

Is Android development restrictive in any way like the iPhone, or can you download whatever and from whoever you want? I want to learn about development for either iPhone or Android, but from what I ...
mrblah's user avatar
  • 101k
39 votes
9 answers
122k views

scale fit mobile web content using viewport meta tag

I'm trying to figure out how to leverage the mobile viewport meta tag to automatically zoom the contents of a HTML page to fit into a web view. Constraints: The HTML may or may not have fixed size ...
rynop's user avatar
  • 51.8k
39 votes
11 answers
14k views

Crossplatform iPhone / Android code sharing

Simply put: What is the most effective way to share / reuse code between iPhone and Android builds? The two most common scenarios I think would be: Blank slate new project, knowing ahead of time ...
slf's user avatar
  • 22.7k
39 votes
1 answer
10k views

1 Keystore to sign all apps or 1 per app?

I am wondering which is the more popular option, Having 1 keystore to sign all the apps you publish, and duplicating that keystore into the cloud and locally to keep it safe, or generating a new ...
Glenn.nz's user avatar
  • 2,291
39 votes
4 answers
33k views

Is there any information database which lists all of the mobile devices and specifications? [closed]

Is there any opensource projects or sites which provide the lists of all the mobile devices and specifications?
Sarath's user avatar
  • 9,096
38 votes
5 answers
20k views

PCM audio amplitude values?

I am starting out with audio recording using my Android smartphone. I successfully saved voice recordings to a PCM file. When I parse the data and print out the signed, 16-bit values, I can create a ...
stackoverflowuser2010's user avatar
36 votes
4 answers
70k views

How can I force a site to scale to fix for mobile (Iphone android..)

When I load my site in an iphone it doesn't scale down. All I see is the top-left most couple hundred sqare pixels. I am new to mobile optimization, but I feel like most pages scroll to fit ...
Zach Lysobey's user avatar
  • 15.2k
35 votes
2 answers
133k views

Translating touch events from Javascript to jQuery

I am using window.addEventListener("touchstart", function(ev){ console.log(ev.touches); // good }); How can I translate this to jQuery? I've tried: $(window).bind("touchstart",function(ev){ ...
K2xL's user avatar
  • 9,940
35 votes
6 answers
44k views

Is there Android Intent concept in iPhone SDK

Just switching from Android to iPhone. In Android I can make several apps and use a tabView to call each app as intent. In iPhone, I can make several apps. I need a tab to call each apps or app views....
user661192's user avatar
35 votes
3 answers
23k views

Android's viewDidLoad and viewDidAppear equivalent

Does Android have an equivalent to Cocoa's viewDidLoad and viewDidAppear functions? If not, then how would I go about performing an action when a View appears? My app is a tabbed application, in ...
Code Slinger's user avatar
  • 1,100
35 votes
6 answers
20k views

Can I prevent phone from sleep on a webpage

In app I can use http://developer.android.com/reference/android/os/PowerManager.WakeLock.html but is there a way to keep webpage running and prevent from going to sleep? It would be nice if it runs at ...
set's user avatar
  • 351
34 votes
3 answers
12k views

Secured RESTful API that can be used by Web App (angular), iOS and Android

I have to lay out a plan to develop a RESTful API (Python/Flask) that could be used by our future web app (Angularjs) and mobile apps (iOS/Android). I have been researching for three days and have ...
Houman's user avatar
  • 65.1k
34 votes
3 answers
7k views

Securing communication [Authenticity, Privacy & Integrity] with mobile app?

An Android/Iphone app will be accessing application data from the server. [Django-Python] How can I secure the communication with the mobile app ? Expectation : Secure enough for sensitive ...
Yugal Jindle's user avatar
  • 44.8k
33 votes
3 answers
51k views

Mobile Web - Disable long-touch/taphold text selection

I've seen/heard all about disabling text selection with the variations of user-select, but none of those are working for the problem I'm having. On Android (and I presume on iPhone), if you tap-and-...
Brad Orego's user avatar
  • 3,036
32 votes
8 answers
41k views

Can a website (HTML5,JavaScript) access a mobile device's (android/iPhone) contact list, SDCard files

Can a website (HTML5,JavaScript) access a mobile device's (android/iPhone) contact list, SDCard files? A website as in one opened in a browser not a phonegap application/webapp.
chaitanyad's user avatar
  • 1,008
32 votes
12 answers
12k views

Technology to write iPhone, BlackBerry and Android phone at the same time? [closed]

Is there a strategy or at least best practice to write an app that runs on iPhone, BlackBerry and Android? I'm ignorant about the development environments for BB and Android, but I assume they both ...
Michael Pryor's user avatar
30 votes
3 answers
19k views

What h.264 format loads on android AND IOS?

Theoretically both IOS and ANDROID will play h.264 files, but I can't figure out a setting to encode them so they actually work cross platform. Does anybody know how to encode for both Android and IOS ...
JKirchartz's user avatar
  • 17.8k
30 votes
2 answers
17k views

What happens to JavaScript code after app is compiled using Titanium Mobile

I installed Titanium from appcelerator and built the "KitchenSink" example application. All works well, I'm just wondering where does the javascript code ends up in a built app. I grep-ed the Xcode ...
Michal's user avatar
  • 4,865
30 votes
6 answers
15k views

Flurry Analytics vs Google Analytics on the mobile platform [closed]

I am working on a mobile app on the Android platform (and going forward for the iPhone) and am evaluating the Flurry Analytics and Google Analytics platforms for the app. Both platforms have SDKs for ...
The Fat Oracle's user avatar
30 votes
4 answers
26k views

Serving a local website via bluetooth to a cellphone without using the internet [closed]

I'm trying to run a local computer via bluetooth on a cellphone, ipad, and other wireless devices. We'd like to be able to run a website hosted locally on this server without it being connected to ...
Vesone's user avatar
  • 309
29 votes
7 answers
56k views

jQuery on iPhone/Android/BlackBerry

I don't have any of the devices to test at the moment. I guess I'll start using the emulators later on. We're looking to offer mobile support. I was wondering how jQuery or even javascript renders in ...
Brian Liang's user avatar
  • 7,754
29 votes
7 answers
31k views

How to deploy Phonegap app to iPhone without having Apple hardware (iPhone + Mac) [closed]

I have a Phonegap app which works perfectly in Android. I chose Phonegap as a platform mainly because the same code can be used for Android, iPhone, etc.. My question is though, how can I create ...
Frodik's user avatar
  • 15.2k
29 votes
3 answers
49k views

Determine and bind click or "touch" event

I'm using the below code to bind "click" or "touchstart" events (using jQuery's on(eventType, function() { ... })). var what = (navigator.userAgent.match(/iPad/i)) ? 'touchstart' : ...
mhulse's user avatar
  • 4,062
28 votes
5 answers
30k views

Jquery-ui sortable doesn't work on touch devices based on Android or IOS

Is there any fix to make Jquery-ui sortable work on touch devices based on Android or IOS?
Alexey Zakharov's user avatar

1
2 3 4 5
66