Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

christa_mabee
Level 2
Level 2

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. 

1 Accepted Solution
Gigazelle
Correct answer by
Employee
Employee

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.

View solution in original post

3 Replies
shekhardhiman
Employee
Employee

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
Correct answer by
Employee
Employee

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.

View solution in original post

christa_mabee
Level 2
Level 2

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