Questions tagged [fast-app-switching]

27 questions
7
votes
3 answers

UIApplication openURL background

In my iOS 4 application, I need to open a URL from the background, at a time specified from the user. However, for some reason, I cannot launch a URL from the background for some reason. Here is my code for opening a URL: if (![[UIApplication…
Richard J. Ross III
  • 55,009
  • 24
  • 135
  • 201
6
votes
2 answers

Default FBSDKLoginBehavior.Native not working on iOS 9

I just upgraded my app to Xcode 7 / Swift 2.0 and I'm struggling with the Facebook Login via AppSwitch. I'm on the latest FBSDK (4.6) and did everything according to the upgrade guide. Still, on iOS9 the Facebook login happens via in-app browser,…
Hannes
  • 3,752
  • 2
  • 37
  • 47
4
votes
4 answers

iPhone - fast-app switching and iOS 4

I'm trying to get the following functionality in my iPhone app: When backgrounded, stays running (doesn't have to do any background work) When resumed, app picks up where it was left off I'm mainly wanting the same screen on my app still up, as…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
4
votes
2 answers

Why should we copy blocks rather than retain?

I recently met a problem using blocks with Facebook's app switching. I needed to call a block after the Facebook login. First my block was destroyed when the app switched back ('cause it was on the stack), so I decided to retain it. But that didn't…
Jeremy
  • 248
  • 4
  • 12
3
votes
2 answers

Grey GPS arrow shown in statusbar although location based application killed using Fast App Switcher

I am writing a location based application for iOS 5. The application is using the CLLocationManager to receive Location updates. When the application is started I am creating the LocationManager, calling [self.locationManager…
android
  • 247
  • 1
  • 3
  • 12
2
votes
1 answer

How to test fast application switching in Mango?

I want to test out whether fast application switching is working in Mango. I start the app from the IDE, it kicks off the emulator. I then move away from the application (by clicking the Windows button on the emulator). Then I go back into the…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
2
votes
2 answers

WP7 - Fast app switching and Internet Connection

Example: My application is doing a HTTP Connection. If I change to home screen using Home Button (fast app switching) the connection that my application was doing is canceled. Why? Are there some way to avoid it?
richardaum
  • 6,651
  • 12
  • 48
  • 64
1
vote
0 answers

iOS - can I start "Magnifier" app programmatically?

I have a camera app and am interested in offering the user the ability to zoom, freeze frame and use camera flash. Very similar to magnifier app. Just so I don't re-invent the wheel: Is there a way to programmatically start a native iOS app, like…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
1
vote
1 answer

Handling Resuming event for MediaCapture - CaptureElement when combined with the File Picker sample

This applies to a Windows Universal App created from the File Picker sample. The base code for that sample includes the ContinuationManager class in the Windows Phone project and the OnActivated method in the App.xaml.cs file, as well as a common…
1
vote
0 answers

Cycle through the recently opened application in android

Please help me to cycle through the recently opened application in android. for example, if I have 1, 2, 3, 4, 5 and now I'm in the application 3 and I want to go to 2 and 1 application, in the same way, I want to go to 4 and 5 application. I have…
Rayyan
  • 23
  • 2
1
vote
2 answers

How to tell if leaving iOS app entered foreground from fast-app switching or manually?

Is there a way to tell if an iOS app enters the foreground from fast-app switching or manually? I need to know by the time applicationWillEnterForeground is called, so some specific code can be executed (or not executed) depending on the condition…
SAHM
  • 4,078
  • 7
  • 41
  • 77
1
vote
1 answer

Stop CLLocationManager when user stops app using Fast App Switcher

I am developing an iOS Application which uses CLLocationManager to get GPS Data. What's a proper way to stop CLLocationManager when the user presses the home button and then kills the app using fast app switcher? How can I stop the CLLocationManager…
0
votes
1 answer

WP7 and WCF Services: Fast app switching

I'm currently building a WP7 app that consumes WCF Data Services hosted on a web server. What I'd like to deal with is cathayService.ServiceException += (sender, e) => { Debug.WriteLine(e.Exception.ToString()); …
matt
  • 2,857
  • 7
  • 33
  • 58
0
votes
1 answer

willEnterForeground randomly restarts app

I thought my app was almost ready to ship, but this one thing is making me crazy! In my didEnterBackground handler, I save some images to cache and dump everything I can possibly think of and the OS seems to randomly dump my app and restart it. It…
pizzafilms
  • 3,829
  • 4
  • 24
  • 39
0
votes
0 answers

DataBindings lost during App-Switching/Tombstoning in WP7

I've set up a viewmodel to bind a listcontrol to an ObservableCollection in my program. A UI control on the page adds and deletes objects to the collection, which works fine as the list is automatically updated. After App-Switching and returning to…
Jay Kannan
  • 1,372
  • 3
  • 14
  • 30
1
2