Difference between resume/launch in 2.x Android SDK versus 4.x | Community
Skip to main content
Level 2
October 16, 2015
Solved

Difference between resume/launch in 2.x Android SDK versus 4.x

  • October 16, 2015
  • 3 replies
  • 1423 views

In the 4.x SDK, if the app launches from the background less than five minutes from the previous launch, it counts as a resume, but past five minutes (by default) it counts as a new launch. 

Was it the same way in 2.x? Was there a time distinction between resume and launch, or some analogue of the lifecycleTimeout field? 

Also: where can I find documentation about 2.x? I have some legacy code that had it (which is no longer in production) and am frequently asked about how things have changed. Questions like that are hard to answer if I don't know how it should have behaved when the code was using the 2.x version of the SDK. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gigazelle

Here is the link to Android 2.x Appmeasurement:

http://microsite.omniture.com/t2/help/en_US/sc/appmeasurement/android/oms_sc_appmeasure_android.pdf

Note that Appmeasurement for Android was 1.x and iOS was 2.x; Android went from 1.x to 3.x. This is why the doc says it's for version 1.x, but it's the one you're looking for.

3 replies

WhoaShekhar
Level 10
October 16, 2015

Hi there,

Thanks for reaching out to Adobe Community.

See if the migration doc helps :

https://marketing.adobe.com/resources/help/en_US/mobile/android/migration_v3.html

Thanks!

Gigazelle
Adobe Employee
GigazelleAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Here is the link to Android 2.x Appmeasurement:

http://microsite.omniture.com/t2/help/en_US/sc/appmeasurement/android/oms_sc_appmeasure_android.pdf

Note that Appmeasurement for Android was 1.x and iOS was 2.x; Android went from 1.x to 3.x. This is why the doc says it's for version 1.x, but it's the one you're looking for.

Level 2
October 16, 2015

The migration documentation does not cover how resume or launch were handled in 2.x.