Adding a Splash Activity

Discussion in 'Tutorials' started by Vas, Sep 3, 2013.

  1. sebastian Seasoned Vet

    Member Since:
    Feb 16, 2013
    Message Count:
    135
    Likes Received:
    36
    Trophy Points:
    100
    OK!! This is the leadbolt e-mail:This week New android SDK 6.0 !!!
  2. Friendlyspeaking Active Member

    Member Since:
    Oct 12, 2012
    Message Count:
    86
    Likes Received:
    27
    Trophy Points:
    50
    I had also sent mail and have received this reply

    "I completely understand the situation, and we have many clients like yourself in the same position. At the moment, we are just going over the last of the bugs, making sure that the new SDK is fully within the Play store guidelines, while also offering an SDK that is packed with amazing features! The features will not only help you monetising your app, but it will also provide analytics for you to greater understand your users, and troubleshoot your app to identify potential bugs.

    We will be making a press release once it is released, but it will most likely be early next week. It depends on when the rigorous testing is complete."
  3. sebastian Seasoned Vet

    Member Since:
    Feb 16, 2013
    Message Count:
    135
    Likes Received:
    36
    Trophy Points:
    100
    who tell you this?? leadbolt??airpush??
  4. Friendlyspeaking Active Member

    Member Since:
    Oct 12, 2012
    Message Count:
    86
    Likes Received:
    27
    Trophy Points:
    50
  5. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    175
    Trophy Points:
    500
  6. fatos LWC Major

    Member Since:
    Apr 2, 2013
    Message Count:
    268
    Likes Received:
    73
    Trophy Points:
    200
    So my live wallpaper appears in the app drawer but when I try to open the screen turns black and a pop up message appears sayng Unfornately Live Wallpaper has stopped

    This is the error from LogCat.......any ideas ?

    Splash Activity LogCat error.png
  7. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    175
    Trophy Points:
    500
    @fatos
    Project/Properties/Java Build Path/Order and Export -- Make sure there's a check in front of Android Dependencies.
  8. fatos LWC Major

    Member Since:
    Apr 2, 2013
    Message Count:
    268
    Likes Received:
    73
    Trophy Points:
    200
    @Vas
    It was already checked,or do I have to check something else

    Android Dependencies.png
  9. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    175
    Trophy Points:
    500
    @fatos
    Post your manifest
  10. fatos LWC Major

    Member Since:
    Apr 2, 2013
    Message Count:
    268
    Likes Received:
    73
    Trophy Points:
    200
    @Vas
    Here is my manifest

    manifest.png
  11. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    175
    Trophy Points:
    500
    You have to make sure you put down the exact path to the Splash class, including the package where it is located. In your case it should say com.sbg.lwc.Splash.
    I'll make a note of this in the original post :)
  12. fatos LWC Major

    Member Since:
    Apr 2, 2013
    Message Count:
    268
    Likes Received:
    73
    Trophy Points:
    200
    Vas maybe Im asking to much and you are tired with all my questions but it will be good if you put here your finished splash activity,can you put here your splash.java , splash.xml and manifest original like you have in your Eclipse. We will use them like a good sample how splash activity should be at the finish. It will be very helpful:)
    Joshua likes this.
  13. sebastian Seasoned Vet

    Member Since:
    Feb 16, 2013
    Message Count:
    135
    Likes Received:
    36
    Trophy Points:
    100
    Since new google policy my download go down and never grow up!!!! Why?? Somebady know che reason? Is incredibol all my download go down from 600 download a day to 100 download a day.....why?!?!?
  14. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    175
    Trophy Points:
    500
    I did. The attached files are straight out of my project. My project was a little different because I used an old 2.1 wallpaper, so I changed the posted code to make it fit more for 2.6 wallpapers. The code that you see quoted in the original post is for 2.6 wallpapers, and the attached files are for 2.1. However the only difference is one tiny thing - the specified package in the manifest.
    Is it still not working for you?
  15. fatos LWC Major

    Member Since:
    Apr 2, 2013
    Message Count:
    268
    Likes Received:
    73
    Trophy Points:
    200
    No Vas it is still not working...I would like to know if anyone did it (except of you Vas)
  16. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    175
    Trophy Points:
    500
    You updated the manifest right? What does the new error say?
  17. Friendlyspeaking Active Member

    Member Since:
    Oct 12, 2012
    Message Count:
    86
    Likes Received:
    27
    Trophy Points:
    50
    Hello

    I have created wallpaper with 2.6 and it is showing the following error in Splash.java

    [IMG]

    There are 2 quick fixes available, when I click on any of them it opens a R.java in new window, see below

    [IMG]

    Now I am not a programmer and do not know what to enter here, what is the solution?
  18. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    175
    Trophy Points:
    500
    You should look at your splash.xml. There's probably some issue there.
  19. Friendlyspeaking Active Member

    Member Since:
    Oct 12, 2012
    Message Count:
    86
    Likes Received:
    27
    Trophy Points:
    50
    This is the splash.xml

    [IMG]
  20. sebastian Seasoned Vet

    Member Since:
    Feb 16, 2013
    Message Count:
    135
    Likes Received:
    36
    Trophy Points:
    100
    boys finally managed to run the splash activity, now everything works fine, but I do not understand one thing: why the splesh appears only once? When I click the menu going smathphone the first time the splash screen appears, but after clicking on the menu I get sent directly to the live wallpaper but without displaying the splash.
    I think it is wrong, it is preferable that always appears, given that advertising will appear in this part of the application (at least, this is what I understand) ...
    what do you think?
    however, it was enough to change the font.

Share This Page