Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,637 Members 38,985 Now Online
XDA Developers Android and Mobile Development Forum

[LWP][v0.6-pre] Crystal Reflection sensor-reactive Nexus 4 backplate live wallpaper

Tip us?
 
olearyp
Old
(Last edited by olearyp; 15th January 2013 at 07:31 PM.)
#1  
olearyp's Avatar
Senior Member - OP
Thanks Meter 151
Posts: 1,155
Join Date: Sep 2009
Default [LWP][v0.6-pre] Crystal Reflection sensor-reactive Nexus 4 backplate live wallpaper

Inspired by Zurginator's cool Nexus 4 backplate backgrounds, I've started working on a live wallpaper interpretation of LG's Crystal Reflection glass process.

Current release: 0.6-pre

NOTE: I'm not currently working on this and don't currently have any plans to come back to it. It was a fun diversion for a couple of weeks. Thanks everyone.

Features:
  • Reacts to motion of your handset or tablet in a realistic way
  • Optionally reacts to ambient lighting conditions
  • Somewhat configurable (color of dots and background, number and size of dots, show/hide the lines in the dots)
  • Free (as in beer)
  • Free (as in speech, BSD 2-clause license, pull requests welcomed!)

Known bugs:
  • I haven't actually seen the back of a real Nexus 4 yet, so I may need to tune the response function once I have. (And I do have one on the way.)
  • Needs a demo video. (I'll take a community contribution here.)

Other TODO:
  • Optimus G pattern (apparently some diamondy thing?)
  • Point source lighting mode
  • Consider OpenGL ES
  • Consider dropping support for all API < 18 if Filterscript DTRT?

Ch-ch-ch-changelog

Enjoy!
Patrick O'Leary
Reporting a bug in a ROM, MOD, or App?

LG Nexus 4/CM 10.1
Asus Nexus 7/CM 10
Old: mT3G+TheOfficial 2.14.x; HTC G2+Andromadus
The Following 78 Users Say Thank You to olearyp For This Useful Post: [ Click to Expand ]
 
ugotproblemz
Old
#2  
ugotproblemz's Avatar
Senior Member
Thanks Meter 31
Posts: 489
Join Date: Feb 2009
Location: New York City
nicely done! i was gonna comment on the other post about live wallpaper...beat me to it haha!
Feel Free to poke my "Thanks" button if I've helped you!

Get Dropbox for cloud storage/syncing! Use my link and we each get 500mb

DEVICE: Samsung Galaxy Note 10.1 N8013
ROM: Redemption Rom...One Zip for All...v4.1

DEVICE: LG NEXUS 4
ROM: PARANOIDANDROID 3.0

DEVICE: Rooted Samsung Galaxy S2 T989 (SOLD)
DEVICE: TF700 (RETURNED)
The Following User Says Thank You to ugotproblemz For This Useful Post: [ Click to Expand ]
 
timlambo
Old
#3  
Senior Member
Thanks Meter 511
Posts: 1,583
Join Date: Jun 2010
Looks really nice. Also I did modify those default values a bit.



Sent from my HTC One X using xda premium
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1352809481625.jpg
Views:	9635
Size:	91.4 KB
ID:	1478522   Click image for larger version

Name:	uploadfromtaptalk1352809501329.jpg
Views:	6468
Size:	82.9 KB
ID:	1478523   Click image for larger version

Name:	uploadfromtaptalk1352809516311.jpg
Views:	6244
Size:	66.4 KB
ID:	1478524  
-------HTC One X-------
Rom: ViperX by j4n87
Kernel: EP 0.85 by Kholk
Extra: Gaming App + Script
 
robg2008
Old
#4  
robg2008's Avatar
Senior Member
Thanks Meter 30
Posts: 135
Join Date: Jun 2010
Location: Grovetown, GA
I am really excited to try this out.

I will get you a demo video as soon as google ships me my phone waiting impatiently
Current Devices:
Galaxy Note 3

Old Toys:
Galaxy S4
Galaxy Note 2
Nexus 4 16GB
Samsung Galaxy S III
Samsung Galaxy Tab 2 7.1
iPhone 4S
iPad 2
iPhone 4
iPad 1
HTC EVO
iPhone 3gs
iPhone 1
 
sy224048
Old
#5  
sy224048's Avatar
Senior Member
Thanks Meter 195
Posts: 884
Join Date: Mar 2012
Location: ლ(ಠ益ಠლ) Y U WANT MY LOCATION?
It works so well! I have no pag at all!

Sent from my HTC Sensation 4G using Tapatalk 2

Devices:
LG Nexus 4 16gb black
HTC Sensation 4g
LG Optimus V
Apple iPad 4
Lenovo Thinkpad Twist(i5 3317u/4gb Ram)
 
olearyp
Old
(Last edited by olearyp; 14th November 2012 at 03:13 AM.)
#6  
olearyp's Avatar
Senior Member - OP
Thanks Meter 151
Posts: 1,155
Join Date: Sep 2009
v0.5-pre is built, adding an option to disable the little lines across the dots, adding a real icon, and simplifying the label used in the Live Wallpapers list.

You may need to uninstall or delete prefs for the old version. Definitely try that if it's refusing to load.

I've noticed that if I crank up the number of dots across on my Nexus 7, I can still get significant delays in rendering, despite using precomputed bitmaps. I suspect that the Nexus 10 will experience poor performance due to the sheer number of bitmaps to render. As it turns out, there's no access to a hardware-accelerated canvas from a live wallpaper, so I may have to rewrite the core as [edited] OpenGL ES (graphics Renderscript is deprecated), which would delay feature work.
Patrick O'Leary
Reporting a bug in a ROM, MOD, or App?

LG Nexus 4/CM 10.1
Asus Nexus 7/CM 10
Old: mT3G+TheOfficial 2.14.x; HTC G2+Andromadus
The Following 2 Users Say Thank You to olearyp For This Useful Post: [ Click to Expand ]
 
olearyp
Old
#7  
olearyp's Avatar
Senior Member - OP
Thanks Meter 151
Posts: 1,155
Join Date: Sep 2009
Quote:
Originally Posted by robg2008 View Post
I am really excited to try this out.

I will get you a demo video as soon as google ships me my phone waiting impatiently
Ha ha, aren't we all?

Oh, I do want to say thanks to everyone who has tried this out, it's been a fun little side project and I'm glad it's gotten a positive reaction.
Patrick O'Leary
Reporting a bug in a ROM, MOD, or App?

LG Nexus 4/CM 10.1
Asus Nexus 7/CM 10
Old: mT3G+TheOfficial 2.14.x; HTC G2+Andromadus
The Following User Says Thank You to olearyp For This Useful Post: [ Click to Expand ]
 
reignlight
Old
#8  
reignlight's Avatar
Member
Thanks Meter 5
Posts: 56
Join Date: Jul 2011
I downloaded the apk to my Inspire 4G and my LG Optimus G and just see a black screen and no background when chosen as the wallpaper
 
Ngo93
Old
#9  
Ngo93's Avatar
Senior Member
Thanks Meter 969
Posts: 2,419
Join Date: Jun 2010
Quote:
Originally Posted by reignlight View Post
I downloaded the apk to my Inspire 4G and my LG Optimus G and just see a black screen and no background when chosen as the wallpaper
After I went into the wallpaper settings and came back out the dots were there for me.
 
olearyp
Old
(Last edited by olearyp; 14th November 2012 at 09:21 PM.)
#10  
olearyp's Avatar
Senior Member - OP
Thanks Meter 151
Posts: 1,155
Join Date: Sep 2009
Seems to work for me even after clearing shared prefs. If you're setting it on a level surface or with the display straight up and down, with the default settings the display will appear black; more so if you are in a dark room (light sensor is enabled by default). I don't expect there to be a reason to make significant changes there to the defaults. All indications from reviews of N4s say that you don't normally even see the pattern; if anything I'm probably overstating the effect.
Patrick O'Leary
Reporting a bug in a ROM, MOD, or App?

LG Nexus 4/CM 10.1
Asus Nexus 7/CM 10
Old: mT3G+TheOfficial 2.14.x; HTC G2+Andromadus

The Following User Says Thank You to olearyp For This Useful Post: [ Click to Expand ]
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes