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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 1st edition of the Target Community Lens newsletter is out now! Click to the right to find all the latest updates

migrating phoneGap loadRequest to new Android SDK retrieveLocationContent method


Level 1

Hey Guys, I'm new to Adobe Target and I was asked to migrate a current solution that is using the old Adobe 4.x version with PhoneGap. In their code which by the way is not totally available for me they use the method 

ADB.targetLoadRequest(success, fail, name, defaultContent, parameters);

to get the requests.  So I thought that for this I needed to implement

public static void retrieveLocationContent(final List<TargetRequest> targetRequestList,
final TargetParameters parameters)
It seems that the interface changed a bit so I would assume that the TargetRequests is build using the 'name', 'defaultContent' and 'parameters' from the previous call but if that is the case I'm a little bit confused of how to build the TargetParameters class which we did not used to have. is it okay to leave it empty?
I have been trying this combinations but I always get the 'default content' back so I'm wondering if I'm doing something wrong. 
Thanks in advanced


0 Replies

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now