New Android SDK version 5 from Leadbolt.

Discussion in 'Advertising Discussion' started by fatos, May 10, 2013.

  1. NewKid Seasoned Vet

    Member Since:
    Apr 1, 2012
    Message Count:
    100
    Likes Received:
    20
    Trophy Points:
    100

    I quoted this post because we have different things there.
    You were having problems with this line: <receiver android:name="com.<sdkpackagename>.AdNotification" />

    and hubris fixed it by renaming the <sdkpackagename> to the name it appears in your BootReceiver.java
    Well, there I just copied the way it appears on the leadbolt PDF wich is like this:

    So I didnt experienced that error.

    Also I see that there is another difference between my code and yours, underneath your error line you added this line:


    <service android:name="com.<sdkpackagename>.AdNotificationService" />


    I dont have that line in my code, why do you think it is? Is it an important one?
  2. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    175
    Trophy Points:
    500
    I think that the latest SDK update generates a unique package name. So if you are using the new SDK, this line <receiver android:name="com.pad.android.xappad.AdNotification" /> will need to be updated
    NewKid likes this.
  3. NewKid Seasoned Vet

    Member Since:
    Apr 1, 2012
    Message Count:
    100
    Likes Received:
    20
    Trophy Points:
    100
    Alright Vas, thank you, I'm going to update it then. All of this is still so new for me.
    Is there any other line you think must be changed?

    Edit: I respond myself: No, I think that's the only line, I checked all the rest of the lines I added on the Manifest and they seem to be alright, just as the ones in SBSettings.
  4. fatos LWC Major

    Member Since:
    Apr 2, 2013
    Message Count:
    268
    Likes Received:
    73
    Trophy Points:
    200
    Hi NewKid,.about this this part of the code <receiver android:name="com.pad.android.xappad.AdNotification" /> I think I didnt seen at PDF,...tell me the page nr of the code
  5. NewKid Seasoned Vet

    Member Since:
    Apr 1, 2012
    Message Count:
    100
    Likes Received:
    20
    Trophy Points:
    100
    This is the PDF file I used, I followed Vas tutorial.

    Attached Files:

  6. fatos LWC Major

    Member Since:
    Apr 2, 2013
    Message Count:
    268
    Likes Received:
    73
    Trophy Points:
    200
    NewKid I can see that you are using LeadBolt PDF for version 4.....are you trying to implement SDk 5 or SDK 4 beacuse the pdf you send it to me is for version 4
  7. NewKid Seasoned Vet

    Member Since:
    Apr 1, 2012
    Message Count:
    100
    Likes Received:
    20
    Trophy Points:
    100
    Yes, is the version 4, I'm implementing SDK 5 with that PDF because is the only one I found, in fact, it was my Leadbolt contact that gave it to me.
  8. fatos LWC Major

    Member Since:
    Apr 2, 2013
    Message Count:
    268
    Likes Received:
    73
    Trophy Points:
    200
    NewKid likes this.
  9. NewKid Seasoned Vet

    Member Since:
    Apr 1, 2012
    Message Count:
    100
    Likes Received:
    20
    Trophy Points:
    100
    Thank you!!!!!
    I spent a lot of time looking for it but I couldn't find it, that's why I used the only one I had (v4).
    Where do you access those files? I couldn't find a link anywhere.
  10. fatos LWC Major

    Member Since:
    Apr 2, 2013
    Message Count:
    268
    Likes Received:
    73
    Trophy Points:
    200
    You are welcome....,ok so open Leabolt,go to Helps/Faqs,then got to App Developer SDKs,and go to LeadBolt SDK for android.There you can find latest SDK5 and the PDF 5.
    NewKid likes this.
  11. NewKid Seasoned Vet

    Member Since:
    Apr 1, 2012
    Message Count:
    100
    Likes Received:
    20
    Trophy Points:
    100
    Oh right, there it is, right under "Complete SDK Integration". I can't believe I missed it when I downloaded the SDK :eek:
    Thank again!
    fatos likes this.
  12. fatos LWC Major

    Member Since:
    Apr 2, 2013
    Message Count:
    268
    Likes Received:
    73
    Trophy Points:
    200
    You are always welcome my friend.
    NewKid likes this.
  13. NewKid Seasoned Vet

    Member Since:
    Apr 1, 2012
    Message Count:
    100
    Likes Received:
    20
    Trophy Points:
    100
    Alright, I updated my lwp to SDK 5, uploaded it to Leadbolt and it's been approved. How do you guys know if everything is set up correctly?
  14. Steel Ape Studios In the know

    Member Since:
    Feb 11, 2012
    Message Count:
    38
    Likes Received:
    6
    Trophy Points:
    25
    Hey guys, quick question. I've implemented the new SDK and I believe I did it all correctly, but I have yet to receive a notification on my phone (only been about 20 minutes). My app is in test mode on the server, and I have it set to send a notification after 1 minute. So far, nothing... Not sure if I implemented incorrectly, or if I have to do something to send a test notification. Any insight?

    Thanks!

    Edit: Found my issue, nevermind. :)
  15. fatos LWC Major

    Member Since:
    Apr 2, 2013
    Message Count:
    268
    Likes Received:
    73
    Trophy Points:
    200
    If you started to have Impressions/viewers on your leadbolt account then it is ok
    NewKid likes this.
  16. hubris In the know

    Member Since:
    May 3, 2013
    Message Count:
    36
    Likes Received:
    6
    Trophy Points:
    25
    its at first in test mode. install it on your phone and test it out and after an hour or so see if the impressions and clicks have shown up on the leadbolt dashboard.
  17. hubris In the know

    Member Since:
    May 3, 2013
    Message Count:
    36
    Likes Received:
    6
    Trophy Points:
    25
    i found that 1 minute isn't really 1 minute for leadbolt. i set for 5 minutes and give it a while then i try out the on demand setting. when both are showing good for licks and impressions i set it active.
  18. mudak New Guy

    Member Since:
    May 21, 2013
    Message Count:
    3
    Likes Received:
    0
    Trophy Points:
    0
    How to add "Alert add"(And Wall add)? I've tried several ways, but don't know where I should place "public boolean onKeyDown" code.
  19. James Rebello Active Member

    Member Since:
    Mar 28, 2013
    Message Count:
    70
    Likes Received:
    31
    Trophy Points:
    50
    For Live Wallpaper, the only place to put alert ads or wall ads would be in settings. Just add the method to LiveWallpaperSettings.java
  20. mudak New Guy

    Member Since:
    May 21, 2013
    Message Count:
    3
    Likes Received:
    0
    Trophy Points:
    0
    I've tried to add code from Step 3 - LeadBolt_Entry_Exit_Ads_Integration_Guide. But eclipse throw many errors.

Share This Page