3

I don't have any programming knowledge, but I have installed Eclipse, and android SDK. I want to package some wallpapers into an apk and publish them in the android market. Can someone show me a tutorial or explain how to do it?

Thanks

2 Answers2

1

Files placed in your res folder when you build your application are placed inside the apk.

Though they will not be avaliable for external use other than your own application. Aka, you will not be able select them via the built in wallpaper picker options.

You would have to have the apk copy the resource files to the SDCard when it is run.

Actually here is another question asking the same thing:

How to put a wallpaper inside an apk file?

Its relatively straight forward but requires some basic android and programming skills.

  1. Store all your wallpapers in your res folder (apk).

  2. WHen the application launches, one by one, save the resource file to the SDCard. (Check if they already exist first).

  3. The user can now navigate his/her photos and see your wallpapers. - And hence able to set them as wallpapers.

Community
  • 1
  • 1
IAmGroot
  • 13,760
  • 18
  • 84
  • 154
  • Are there any tutorials how to build only a wallpaper apk pack on Eclipse? – user1501918 Jul 04 '12 at 17:48
  • Following my theory, this would be a wallpaper apk pack. There is no other way of doing it from what I've read. You cannot just put images into an APK as the user will not be able to access them. – IAmGroot Jul 05 '12 at 07:00
0

If you don't have any programming knowledge, it doesn't matter. Here is an android wallpaper app example code, you can easily replace your image url (which should be on internet) inside.

Android Wallpaper App Tutorial (1-4)

James
  • 5,119
  • 5
  • 25
  • 27