mobile-application

what is the advantage of using Alamofire over NSURLSession/NSURLConnection for networking?

依然范特西╮ 提交于 2019-12-04 22:33:05
Can anyone help me in understanding these question : What is the advantage of using Alamofire over NSURLSession/ NSURLConnection? What are the differences between NSURLSession and NSURLConnection? NSURLConnection is Apple's old API for doing networking (e.g. making HTTP requests and receiving responces), while NSURLSession is their new one. The latter one is higher level and is generally much easier and involves less boilerplate code to use for most application developers - there's basically no reason to use the former except in legacy code that you don't want to update. A bit of history:

Mobile Application Shared Preferences Saving and Calling User Login

末鹿安然 提交于 2019-12-04 20:32:43
Currently my application is searching for an existing device in "Device" table to enable login access. However, I want to register a new device every time they're required to log in and have them bypass the login page every time the application runs. Currently, the application says there's invalid credentials upon opening since the username and password aren't being saved properly. How do I solve this? protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_login); // declaring variables etUsername = (EditText)findViewById(R.id

Background data sync for mobile apps

百般思念 提交于 2019-12-04 20:21:54
问题 We're building an API and mobile app on top of a database that has a few hundred thousand records in the main table of interest. Our mobile developer is pushing hard about pre-loading the app with the full table in a local db, then having a service which the phone can sync changes against an updated_at column. While this can definitely increase performance of the app by having it search a local store, I'm worried this will create a lot of load on the server as we acquire more customers. Has

Do Mobile apps need to comply to the EU Cookie Law? [closed]

大城市里の小女人 提交于 2019-12-04 18:48:31
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I've had an interesting question from a client regarding the EU cookie law and how it affects their mobile apps. As you may well know, the Cookie Law requires websites to let users know that the site uses cookies, and tells them how to disable these. What is the standing with Android/IOS apps? I don't

Create expansion file for AS3 android Air App Flash cs6

五迷三道 提交于 2019-12-04 18:14:39
I have created an AS3 mobile app and exported successfully through flash CS6. In this .apk I have included my video files (going to be a presentation for Android Tablet). The total size of the .flvs alone is 64mb. When I tried to upload to Google play I got the (expected) warning about the file size being >50mb . I have spend two hours trying to find a fix, including using the jobb.bat , zipalign.bat , putting the files into the format of main.1.obb and many other options. The Google website seems to think that I am using Eclipse (which I’m not I used Flash CS6), but I tried all those tools

mobile version of Facebook app going into redirect loop

好久不见. 提交于 2019-12-04 18:05:33
I have developed a Facebook app using the C# SDK and it is working fine. Now I want to also enable it on mobiles, so I tried to set the "mobile url" to the same one as my canvas url (which is a cloudapp.net address). However, when I try to access it from a mobile, it seems to go into a redirect loop involving my canvas url, the apps.facebook url and the m.facebook/apps url. Sometimes it goes out of the loop and I get the facebook error message saying : "the mobile version of the app is unavailable because it is misconfigured. It appears to be caught in a redirect loop." I think it may have to

Background behavior for iOS Web App (so app doesn't restart)

你。 提交于 2019-12-04 14:02:17
问题 I'm trying to build a mobile web app and am intrigued by the "apple-mobile-web-app-capable" option, making the app feel a lot more native. The issue I'm having is that it's an app that lets a user browse through a bunch of content, some of which opens a new browser window outside the web app (on purpose). The problem is, when a user goes back to the web app, it re-launches and starts them from the home page. Has anyone found a way to avoid this complete reloading process? 回答1: ive got it

What is a Hybrid App for mobile?

最后都变了- 提交于 2019-12-04 13:31:26
问题 What is a hybrid app for mobiles? What is basic architecture to follow while developing? What are the components? What will be the back end and what will be the UI? Is it for only iPhone or can be for any mobile device? 回答1: With iOS, you can create an application that combines features of native applications and webpages. A hybrid application is a native iPhone application that provides most of its structure and functionality through a web viewing area, but also tends to contain standard iOS

How to get the system ip address after usb tethering of android phone?

只愿长相守 提交于 2019-12-03 21:02:05
I'm developing a mobile application in android. Here I want to detect the IP address of the computer,system,etc after the usb tethering of the any android phone I cannot find the solution. If I put the following code then it takes the only the IP address of phone ,I need IP address of system The following are code ArrayList<InetAddress> arrayList=new ArrayList<InetAddress>(); try { for (Enumeration<NetworkInterface> en = NetworkInterface.getNetworkInterfaces(); en.hasMoreElements();) { NetworkInterface intf = en.nextElement(); for (Enumeration<InetAddress> enumIpAddr = intf.getInetAddresses();

Authentication in Android

空扰寡人 提交于 2019-12-03 17:23:09
I am developing an Django based web application with a client android app. On the web side the authentication is done with the help of session id stored in cookies(the default Django implementation). But I am not able to figure out how to authenticate the user in android client. The available options are to go with the same session/cookies or Tokens. Tokens can be OAuth or just simple tokens. The points that I am not able to understand are these Whats the problem in sessions authentication?? Does no use it for their mobile apps? What are the advantages of using Tokens over the session thing?