mobile

WCF REST basic authentication on certain methods

好久不见. 提交于 2019-12-20 10:47:33
问题 I have quite a few RESTful (GET and POST) methods implemented in WCF 4.0. All these work over SSL. An example of some of the methods: [OperationContract] [WebInvoke(UriTemplate = "Login?", Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Bare)] LoginResponse Login(LoginRequest request); [OperationContract] [WebInvoke(UriTemplate = "UpdateDetails?", Method = "POST", ResponseFormat = WebMessageFormat.Json,

HTML5 vs Native App : Which to choose ?? [closed]

戏子无情 提交于 2019-12-20 10:46:26
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . This question is quite popular, and there are already lot of questions pertaining to it. But some of them are old (like 6 months back), and for the current date - May 2012 ... it will be awesome if you can type out which one is better as of now ! I am working on some apps

Change the color of the iOS 7 status bar in Safari and Chrome

时光总嘲笑我的痴心妄想 提交于 2019-12-20 10:33:22
问题 I want to change the color of the iOS 7 status bar in Safari and Chrome. I'm working on a mobile web app and would like it to feel native and right now, I just get a white status bar. 回答1: I'm using this while ios has the bug mentioned in other answers. First I set the statusbar with this: <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> For me, that sets the text white and background transparent. It also floats over my content. Then I have following css: body{

Realm vs Sqlite for mobile development [closed]

[亡魂溺海] 提交于 2019-12-20 10:24:33
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . Am an Xamarin Developer , I used to use Sqlite as mobile database , recently Realm comes to the picture. Any idea about Differences between them in Performance & ease of use..etc? What is the best practice of using either one? 回答1: Realm and Sqlite are quite different in many

Standard way to detect mobile mail client?

痴心易碎 提交于 2019-12-20 10:00:44
问题 This question is similar to "Standard way to detect mobile browsers in a web application based on the http request" except for mail clients. For instance, if an email message is opened on the built-in iPhone mail client it will display a version of the message specially formatted for the iPhone. If opened on an tablet or desktop it will display as the complete, full-size version of the email. This is similar in principle to web sites that have mobile-friendly versions of the site that load

Mobile (touch) device friendly drop down menu in css / jquery

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-20 09:56:24
问题 I have been reading many topics on this subject, a drop down menu which is friendly on mobile devices. Many times it is considered best to have a non-hover action on the drop down menu. There are workarounds, with one being that the main hyperlink for the drop down item should link to a hashtag. This makes it work on mobile devices but for the normal desktop user, this would be confusing. So the solution would be to have a normal drop down menu for desktop users in which the first hyperlink

Qt or Symbian C++? [closed]

社会主义新天地 提交于 2019-12-20 09:46:23
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . I am planing to develop on Symbian systems but I am not familiar with it. I know (might be) the most popular way of developing on Symbian is Symbian C++, and I also heard of Qt. What's the difference between them? If I want my app run on most of the Symbian systems, which

Disabling swiping gestures in mobile chrome browser

℡╲_俬逩灬. 提交于 2019-12-20 09:46:12
问题 Mobile chrome (IOS/Android) has a feature where if you swipe at the left or right hand margins of the screen it changes tabs. My web app uses swiping, and this "feature" just seems to get in the way. Is there a way to disable this? 回答1: No, there's no way to disable this gesture. There's a ticket requesting the feature over at https://code.google.com/p/chromium/issues/detail?id=117657 if you want to star it / chime in. 回答2: If you use two/multi fingers, the swipe works even from the edge

How to handle Facebook's deprecation of offline_access when you use token both in both iOS app and a server

馋奶兔 提交于 2019-12-20 09:40:03
问题 Facebook's deprecation of the offline_access permission is coming May 2012 and the documentation isn't giving us enough information on how to handle it. We have an iOS app and corresponding service that powers it and integrates with Facebook in a deep way to leverage a user's friend list within out app (so if your FB friends are also using the app you can more easily connect). This is like how all social apps seem to work, so nothing special here. Client Our app uses Facebook iOS SDK to allow

More than 5 items per line in jQuery Mobile navbar

倖福魔咒の 提交于 2019-12-20 09:35:08
问题 I have unsuccessfully looked for a variable to change the maximum number of items in a single line in a navbar. I am just starting with jQuery Mobile, trying to create a navbar with around 7 single-letter items. The navbar wraps automatically when more than 5 items are present, which is undesirable for my project. Can anyone point me to a piece in the code or css that regulates this behavior? 回答1: Using jQuery mobile 1.4.0, all I had to do is to create my own CSS class: .mytab { width: 12.5%