mobile

Best practice discussion: When to favor a webview over a native UI in titanium?

喜欢而已 提交于 2019-12-10 10:35:20
问题 I'm currently working on a cross-platform mobile app and have gone through the process of creating the UI of my application using the given Titanium api. Compared to when you are building a mobile web application this is a time consuming task, because you don't have the possibility to work on the rendered UI like you can on a rendered webpage using firebug. Especially form creation is bothersome, so I decided to build my forms using html and render them in a Webview, which worked out pretty

jQuery Mobile listview descrption with scrolling

我们两清 提交于 2019-12-10 10:33:23
问题 I have a listview with some long title which automatically is hidden on small screen display and post fixed with ... I am not sure if it is possible to make these long title of descriptions to scroll if whole title doesnt show up on the screen. Example on jsFiddle <div data-role="page" id="MessagesPage"> <div data-role="header"> <a href="#HomePage" data-icon="home" data-direction="reverse">Home</a> <h1 id="ScheduleDayText">Messages</h1> </div> <div data-role="content"> <ul data-role="listview

Getting Zipcode using GPS android [closed]

╄→гoц情女王★ 提交于 2019-12-10 10:27:22
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I am developing an application where I need to find zipcode using GPS. Can anyone help me in this regard? 回答1: Look into using Geocoder. Specifically Geocoder.getFromLocation. Once you get the List of Address(es)

send a sms without any gateway using jsp/servlet

假装没事ソ 提交于 2019-12-10 10:24:38
问题 I want to build an Web-application using jsp/servlets where we will be able to send sms to recipient,lwt me know,wheather could it be possible without using gateway/gsm modem or I must have to use that.I don't want to use 3rd party's sms appliation. 回答1: You'll need a 3rd parties gateway into top level aggregators for this or get a gateway into them yourself (can have expensive setup fee's). (I work in this field). 回答2: I have personally used http://www.smspm.com/en and I am very happy with

Manipulate positioning of jQuery Mobile Footer

对着背影说爱祢 提交于 2019-12-10 10:22:59
问题 I have a question that has been viewed, but with no answers or comments on the matter, so I thought I'd try to simplify my question. For those curious about my overall issue, please see the link: Persistent header in jQuery Mobile Anyways, my question is how can I force the JQM footer to be at the top instead of the bottom? Here's the code for the JQM footer. It persists fine across page transitions, but it is at the foot of the page and I need it at the head: <div data-role="footer" data

Protect my public oauth API from abuse, but allow anonymous access from my app?

佐手、 提交于 2019-12-10 10:20:53
问题 I have a website and an API. The website allows anonymous people to browse the catalogue, but you must be logged in to post stuff. I have built an API that exposes the same functionality. The API is used by a mobile app we are developing, but we are also going to allow other developers to use the API (i.e. it's publicly documented). The entire API is currently requires OAuth (2.0) authentication. To prevent abuse we use rate-limiting per OAuth client-id/user-id combination. Now a new

Auto-advance on choice selection code doesn't work

北慕城南 提交于 2019-12-10 10:14:52
问题 Qualtrics provides some JavaScript that it claims will automatically move participants to the next survey question when they select an answer choice. They have options for single-answer and multiple-answer multiple choice questions, but I only need the former for my survey. I put their code in the correct place, but I can't get it to work. NOTE: I'm trying to make a mobile compatible survey (not just compatible, but very well made for mobile use). Qualtrics' code does not work on mobile

Firefox mobile ignores viewport

隐身守侯 提交于 2019-12-10 09:55:08
问题 I'm testing viewport settings with different browsers on mobile phones and my tablet (Android 4). Firefox seems to be the only one that ignores my settings on the tablet. My doctype is HTML5. I couldn't find a working solution. Is there a way to deal with or a known problem? 来源: https://stackoverflow.com/questions/10466810/firefox-mobile-ignores-viewport

Google Fonts doesn't load in mobile

戏子无情 提交于 2019-12-10 09:46:49
问题 I've read similiar threads but this problem is a bit different: I have: <head> <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic' rel='stylesheet' type='text/css'> //rest of the code... And in the css style file I have: body{ font-family: 'Source Sans Pro', sans-serif; //rest of the code... It works perfectly in the browser, but when I enter with my mobile, the words just dissapear, and the page is loding forever with only the structure. I'm still developing

Titanium Appcelerator: iPhone Development without a Mac (like PhoneGap)

馋奶兔 提交于 2019-12-10 09:46:02
问题 I am about to embark on some mobile development projects but I'm doing a little homework first. My primary goal is to deploy to Android and iOS, but the latter is posing some problems because I do not have access to (nor do I have any interested in acquiring) a Mac. Phonegap offers a cloud service where you can upload your mobile development project and they will do the building for you - no Mac required. From the Phonegap Build FAQ: Simply upload your web assets - a ZIP file of HTML, CSS and