FORUMS

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and … more

[Live Wallpaper] Custom Creater 2.6 [SCRIPT] [WINDOWS]

3,309 posts
Thanks Meter: 648
 
By Daneshm90, Retired Recognized Developer on 30th July 2010, 02:29 AM
Post Reply Subscribe to Thread Email Thread
Purpose : Create a live-wallpaper out of a bunch of images

Instructions :

- Download zip
- Extract zip
- Run Run.bat (follow instructions)
- Once done, install the resulting apk

Tip : Pre-attached with the zip comes the "haters gonna hate" animation, so if u want to test it, just Run.bat and enter 14 as the # of images.

Requirements :
- Java in ur environmental path (to check go start -> run -> cmd -> java -jar
Do u see "command not found" ? if so go to java.com and install it, otherwise ur fine.

Capabilities :

- Customizable live wallpaper w/o coding
- Change application name / icon
- Adjust loop invariant to ensure no skipping
- Change app description
- Now u have up to 100 images to use

- Automatically inserts the place-holders
- Change package name
- Apk produced now takes on the package name (easier to identify)
- Option to install the app to ur phone at end of script
- Added java check, it'll tell u if java is in ur path or not

- Now u have up to 300 images to use (thanks olivvv59)
- Added vista compatibility (delete's $.tmp files if they exist)
- Cleaned up the code a bit.


Note : The naming convention of the images are n01.png,n02.png,n03.png..n32...n100.png

Thanks : Goes to the andrew121 who created this link I just took his apk, modified it and made it customizable.

Heres his site : Link


Last edited by Daneshm90; 5th August 2010 at 05:11 PM.
The Following 8 Users Say Thank You to Daneshm90 For This Useful Post: [ View ]
 
 
30th July 2010, 02:43 AM |#2  
h_zee13's Avatar
Senior Member
Flag Montreal
Thanks Meter: 1,128
 
Donate to Me
More
once done, where do we find the .apk file?
30th July 2010, 02:47 AM |#3  
pbedard's Avatar
Senior Member
Flag boston
Thanks Meter: 839
 
More
mytouch slide
cant get ./loop running on my phone
30th July 2010, 02:48 AM |#4  
Daneshm90's Avatar
OP Retired Recognized Developer
Thanks Meter: 648
 
More
Quote:
Originally Posted by h_zee13

once done, where do we find the .apk file?

U'll find it in the root directory where u extracted the zip. It'll b called repackaged-signed.apk.
30th July 2010, 02:49 AM |#5  
Daneshm90's Avatar
OP Retired Recognized Developer
Thanks Meter: 648
 
More
Quote:
Originally Posted by pbedard

cant get ./loop running on my phone

Im confused, please clarify ur post.
30th July 2010, 02:54 AM |#6  
Daneshm90's Avatar
OP Retired Recognized Developer
Thanks Meter: 648
 
More
Quote:
Originally Posted by h_zee13

once done, where do we find the .apk file?

Quote:
Originally Posted by pbedard

cant get ./loop running on my phone

Just realized i hadn't posted requirements, u need java on ur machine and in ur path.

Ive updated the OP so please use the "check method" and then proceed.
30th July 2010, 03:03 AM |#7  
h_zee13's Avatar
Senior Member
Flag Montreal
Thanks Meter: 1,128
 
Donate to Me
More
ok let me try again
30th July 2010, 03:45 AM |#8  
h_zee13's Avatar
Senior Member
Flag Montreal
Thanks Meter: 1,128
 
Donate to Me
More
Alright so here is a little TEST LWP

First thing I realized is that when when we add a name to the LWP, it never appears anywhere so it's useless....other than that it works great and its really easy

do you think you can make full size LWP with this? like currently its only like a static LWP...any chance to make it move when you change screens?


Attached Files
File Type: apk repackaged-signed.apk - [Click for QR Code] (1.53 MB, 1248 views)
30th July 2010, 06:45 AM |#9  
ogdobber's Avatar
Recognized Developer
Thanks Meter: 1,831
 
Donate to Me
More
thats awesome! why only 49 pngs? I tried more and obviously it didn't work...
*edit nevermind I figured it out
Last edited by ogdobber; 30th July 2010 at 06:48 AM.
30th July 2010, 07:08 AM |#10  
h_zee13's Avatar
Senior Member
Flag Montreal
Thanks Meter: 1,128
 
Donate to Me
More
Quote:
Originally Posted by ogdobber

thats awesome! why only 49 pngs? I tried more and obviously it didn't work...
*edit nevermind I figured it out

dude what did you figure out? Share with us......
30th July 2010, 08:05 AM |#11  
ogdobber's Avatar
Recognized Developer
Thanks Meter: 1,831
 
Donate to Me
More
Quote:
Originally Posted by h_zee13

dude what did you figure out? Share with us......

its in the >public.xml< more pngs can be added with a change here
Quote:

<?xml version="1.0" encoding="UTF-8"?>
<resources>
<public type="drawable" name="icon" id="0x7f020000" />
<public type="drawable" name="n01" id="0x7f020001" />
<public type="drawable" name="n02" id="0x7f020002" />
<public type="drawable" name="n03" id="0x7f020003" />
<public type="drawable" name="n04" id="0x7f020004" />
<public type="drawable" name="n05" id="0x7f020005" />
<public type="drawable" name="n06" id="0x7f020006" />
<public type="drawable" name="n07" id="0x7f020007" />
<public type="drawable" name="n08" id="0x7f020008" />
<public type="drawable" name="n09" id="0x7f020009" />
<public type="drawable" name="n10" id="0x7f02000a" />
<public type="drawable" name="n11" id="0x7f02000b" />
<public type="drawable" name="n12" id="0x7f02000c" />
<public type="drawable" name="n13" id="0x7f02000d" />
<public type="drawable" name="n14" id="0x7f02000e" />
<public type="drawable" name="n15" id="0x7f02000f" />
<public type="drawable" name="n16" id="0x7f020010" />
<public type="drawable" name="n17" id="0x7f020011" />
<public type="drawable" name="n18" id="0x7f020012" />
<public type="drawable" name="n19" id="0x7f020013" />
<public type="drawable" name="n20" id="0x7f020014" />
<public type="drawable" name="n21" id="0x7f020015" />
<public type="drawable" name="n22" id="0x7f020016" />
<public type="drawable" name="n23" id="0x7f020017" />
<public type="drawable" name="n24" id="0x7f020018" />
<public type="drawable" name="n25" id="0x7f020019" />
<public type="drawable" name="n26" id="0x7f02001a" />
<public type="drawable" name="n27" id="0x7f02001b" />
<public type="drawable" name="n28" id="0x7f02001c" />
<public type="drawable" name="n29" id="0x7f02001d" />
<public type="drawable" name="n30" id="0x7f02001e" />
<public type="drawable" name="n31" id="0x7f02001f" />
<public type="drawable" name="n32" id="0x7f020020" />
<public type="drawable" name="n33" id="0x7f020021" />
<public type="drawable" name="n34" id="0x7f020022" />
<public type="drawable" name="n35" id="0x7f020023" />
<public type="drawable" name="n36" id="0x7f020024" />
<public type="drawable" name="n37" id="0x7f020025" />
<public type="drawable" name="n38" id="0x7f020026" />
<public type="drawable" name="n39" id="0x7f020027" />
<public type="drawable" name="n40" id="0x7f020028" />
<public type="drawable" name="n41" id="0x7f020029" />
<public type="drawable" name="n42" id="0x7f02002a" />
<public type="drawable" name="n43" id="0x7f02002b" />
<public type="drawable" name="n44" id="0x7f02002c" />
<public type="drawable" name="n45" id="0x7f02002d" />
<public type="drawable" name="n46" id="0x7f02002e" />
<public type="drawable" name="n47" id="0x7f02002f" />
<public type="drawable" name="n48" id="0x7f020030" />
<public type="drawable" name="n49" id="0x7f020031" />
<public type="xml" name="settings" id="0x7f030000" />
<public type="xml" name="wallpaper" id="0x7f030001" />
<public type="array" name="size_names" id="0x7f040000" />
<public type="array" name="size_values" id="0x7f040001" />
<public type="string" name="app_name" id="0x7f050000" />
<public type="string" name="settings_title" id="0x7f050001" />
<public type="string" name="description" id="0x7f050002" />
<public type="string" name="preference_fps_title" id="0x7f050003" />
<public type="string" name="preference_fps_summary" id="0x7f050004" />
<public type="string" name="preference_size_title" id="0x7f050005" />
<public type="string" name="preference_size_summary" id="0x7f050006" />
</resources>

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes