1. Download our Official Android App: Forums for Android!

Apps implementing singleton ads in andengine android game

Discussion in 'Android Development' started by kushalrocks3, Jan 19, 2013.

  1. kushalrocks3

    kushalrocks3 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jan 9, 2013

    Jan 9, 2013
    1
    0
    5
    Hi,


    I have developed a game using andengine now i want to implement SINGLETON ads using FRAGMENTS.
    It gives me an error because the SingletonAd class extends FragmentActivity and my GameClass extends BaseGameActivity.

    Can anyone tell What should i do ?

    One way i can think of is combine all three activities of fragment, andengine and singleton but it will become too complex


    Plssssssssss help
     

    Advertisement

  2. jonbonazza

    jonbonazza Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,930
    Joined:
    Jul 13, 2010

    Jul 13, 2010
    1,930
    457
    163
    Male
    Im no andengine expert, but it sounds like youll want to use the SingletonAds class as your Activity and then turn your current Activity into a Fragment and attach it to the SingletonAds Activity.
     

Share This Page

Loading...