yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] olearyp:
Other than the API demos, the SDK documentation, and Google Code Search, no. My entire application abuses PreferenceActivity as its main Activity but it doesn't really use the SharedPreferences except for one thing, and that actually needs to be refactored to a member of the PreferenceActivity. I haven't messed with menus yet.

Yeah, that's pretty much the way to do it, though Code Search is good for finding real-world examples.
[G1 Android Development] the_alien:
Working with preferences is pretty easy. Create a preferences.xml in res/xml and use the ADT to edit it. Loading is easy too: http://developer.android.com/guide/topics/data/data-storage.html#pref
[G1 Android Development] olearyp:
A quick check of the docs for PreferenceActivity shows that the backing SharedPreferences do get updated as the user interacts with the prefs, so you should be good to go there. Just gotta hook up a menu item to send an intent to start the PreferenceActivity and have some way to deal with the changes to the prefs during runtime.
[G1 Android Development] Noob01:
Great!

Awesome dude! If u did merge advanced launcher with this some how it would be perfect!
[G1 Android Development] Daneshm90:
Yo andre, see if u can get in touch with the dev for gde. His animation is pretty close to nexus, i think its dead-on.
[G1 Android Development] zimphishmonger:
The dev of the GDE app is also the original dev of Advanced Launcher, so he may be able to help point you in the right direction.

I am personally sticking w/ v4b at the moment, cause I think its PERFECT, and the speed is phenomenal (especially if you use my Morph, which removes the extra wallpapers from Launcher.apk).

v5 is a great work in progress, look forward to seeing what you can do once you put back the background image to eliminate the lag, and tweak the animations. As I told ya on twitter, I personally thing a .9.png would be a better choice, as opposed to a tile-based image, but whatever the masses say...

Great work nonetheless :D
[G1 Android Development] FatBoyExtraordinaire:
Any chance of newer screenshots of the latest version? I would like to see what it looks like with the new tweaks and such (like no drawer) and have decided to wait on flashing the latest because a. 4 is running so good for me right now and b. sounds like a new version (possible 7 screen) is right around the corner. Thanks in advance.
[G1 Android Development] the_alien:
@AnderWeb: Thought I might have a look into your sources for the new drawer... but where exactly is it?
[G1 Android Development] traspler:
I really liked the version before you added the the "Fullscreen Drawer without 3D".

It's not the style I don't like but rather the performance. With the drawer it was fast and didn't have any glitches but the no drawer version feels way slower and when closing it, has some graphical glitches and flickering.
[G1 Android Development] Pfeffernuss:
Installed the 0.4b version on FastTest 3.02 but that doesn't go well. No launcher appears, only acore FC's ;)
[G1 Android Development] oeildefeu:
You choose the 3 screens version perhaps and before you had a 5 screens launcher.. You have to clean screen 4 and 5 before switching to a 3 screens launcher :) I had this problem because I didn't read properly the first post where it's mentionned

PS: on the 3 screens - 5 col, the main screen (call by pressing Home button) is defined as the third.. it should be the second :)
[G1 Android Development] tmobilewinguser:
the launcher runs great on enomther AOSP rom
[G1 Android Development] robbiekhan:
Very nice (0.5).

If you could make the transition a tiny bit faster then it would look less stuttery on launcher exit (return to Home screen).

Otherwise very nice!

Oh and also the flicker when exiting.
[G1 Android Development] the_alien:
@AnderWeb: Where can i reach you? IRC? GTalk? ICQ? MSN?
[G1 Android Development] AnderWeb:
@anderwebs on tweeter or anderweb at gmail :)

but not at home atm
[G1 Android Development] codito:
Coming along quite nicely! I like the direction you're taking the app drawer with the full screen stuff and effects. I think once you get those smoothed out this will be 100% perfect!

Also, some launchers have an option for changing number of screens (at least home replacement does.) Maybe this would make your life easier if you could figure a way to do that? That way you'd only have to do 2 uploads at least, and maybe you could even find a way to make number of columns an option.
[G1 Android Development] sourcesociety:
He's already stated that he wants to make an Advanced Launcher version so that multiple screens can be changed on-the-fly.

Also, the v0.5 launcher is brilliantly done! AnderWeb must be pretty resourceful to pull something like together and have it work so wonderfully on 1.6. There's still a few little quirks/glitches, but at this pace I can see this becoming a must have mod for any phone running donut. Keep up the awesome work!
[G1 Android Development] Pfeffernuss:
I stand corrected! :rolleyes:

Flashed the 5-screens launcher (4 columns) and indeed it works, but what's more... It's amazingly smooth and fast! :eek:

Thanks for the heads-up! ;)
[G1 Android Development] sturmeh:
Very well done, however a few quirks.

When closing the launcher the fade out lags, or is too slow, is this a performance limitation or is it just set to fade slowly. ( If so speed it up? )

Also if the launcher button is pressed twice in succession the icon is incorrectly displayed for the current state, the HOME icon shows whne the launcher is not present and visa versa.
[G1 Android Development] AnderWeb:
Yeah, thanks, i already fixed the second bug, and trying different ways of doing things for fixing the first one. It's caused mainly by my lack of experience on android programming and a little bit by android itself :)

I should be shooting out a .5b release soon
[G1 Android Development] jordanjay29:
Great progress, AnderWeb. Keep it up!
[G1 Android Development] zimphishmonger:
Looking forward to your .5b release. Excellent work all around :-)
[G1 Android Development] HectikDroid:
cant wait for .5b , i cant beleive how smooth it is:D
[G1 Android Development] sabin123:
This launcher is great. for 1.6 roms

But is it possible to make complete port of Launcher2 of 2.1 to 1.6 .

If it was possible then it would be great.
[G1 Android Development] sturmeh:
Glad to hear it's not a hardware limitation. :P

I hope to start android development myself soon.
[G1 Android Development] ChrisChavez:
Seriously... this is EPIC!!!! I'm loving what you got so far.

My only issue is that the icons aren't Eclair icons. Any plans to update them, or are they 1.6 for a reason =p

GREAT WORK!!!! KEEP IT UP!!!! =D
[G1 Android Development] bigballa:
i love the progress being made on here

this is one of those big game chaning moments for some people who cant live without the stability of donut

i jumped up and down when i first saw a screen shot of the cards on 1.6 lol

but if its not too much trouble

can u do a version with an app drawer like 1.6 and also the nexus style launcher?
[G1 Android Development] bunu:
Try .4b release. It the .5 release he just made it more nexus like.
[G1 Android Development] mvp3:
The background image is transparent, very slowly, can make a normal version of the background wallpaper
[G1 Android Development] ramon.dexter:
How I restore the default Launcher? I tried everything - cleaning /data/data, removing Launcher.apk from /system/app but no succes - the nexus-like launcher is still in...
[G1 Android Development] olearyp:
You didn't give us much to go on (how you installed it, what ROM you're on), so I'll go into mindreader mode:

You installed this launcher using the `adb install' or equivalent method. You didn't make a backup of /system/app/Launcher.apk, and now you've deleted your stock launcher. You need to uninstall this launcher using the normal app uninstall method of your choice, but that will leave you with no launcher. So you'll need to track down the launcher that came with your ROM and put it back in /system/app/Launcher.apk.

For future reference, clearing /data/data will lose all your settings, and do nothing for removing apps. You could have removed this launcher (if you've used the `adb install' method) via Settings -> Applications -> Manage applications. And if you expect useful help--we have to be able to figure out how you got where you got. What you did and what ROM you did it on matters.
[G1 Android Development] acejoker25000:
he has a .5b release with 5screens and 4rows right now that fixes some issues! it is really fast right now and i haven't experienced any problems! check out his twitter for the download link!
[G1 Android Development] Daneshm90:
Hmm yea his .5b is awesome. I would like to see the icons fly in though when the drawer handle is pressed :) Awesome work on the scrolling btw. Its really smooth now.
[G1 Android Development] olearyp:
Thanks for the heads up. I think with the solid background, though, you've lost the visual effect that makes the Nexus non-drawer visually appealing. Back to 0.4b.
[G1 Android Development] cloverdale:
Launcher Morph. All Versions

Here is a morph for any version of the launcher: Download

It gives the launcher from Blue_Haze. This changes the look, and replaces the wallpapers with blank images. The result is a 400KB (instead of almost 2MB) launcher that is smaller and faster.
[G1 Android Development] Daneshm90:
Actually nvm, scrolling is still a bit laggy.

My advice would be stick as much to stock launcher code as possible since no home replacement comes close to the speed that the stock launcher offers :)
[G1 Android Development] Pfeffernuss:
Your link

only works when you remove the www. part :cool:
[G1 Android Development] AnderWeb:
Ok ppl, sorry for the lack of updates...

Been tryin to get a smooth scrolling drawer with 6 different layouting/redrawing methods and all i can get is a no-no...

Btw, i post you a .5c version with tweaked in anim and reverted almost all code to stock launcher. For me it suffers exactly the same lag than stock launcher (a bit more noticeably cause drawer being bigger without the tab).

It's using the same method to apply a bg image than stock launcher, so themers can tweak and so on. By default i left an 80%opaque black bg.

0.5c

I also managed to get a version with an awesome (more than stock) scrolling speed, but st cost of using no image as bg, only solid opaque color... i might post here, but as ppl like me loves the eye candy more than performance and i don't have the skillz to get both...

In case someone knows or have direct contact with rogro82 (orig creator of adv.launcher and main dev of GDE), would you tell him if i could take some hints from him with the scrolling issue? i've been told GDE performs great in such thing... I've sent him a pm but maybe he gets hundreds so... best if someone knows him :)

My next step is getting the screens/columns settings from adv.launcher to release a properly .6 so i could update the OP.

And i'll try to add such thing to both the "drawer" and "no-drawer" branches...

Thanks all :)
[G1 Android Development] Daneshm90:
He was on a couple of days ago in his gde thread. I posted something and 2 minutes later he replied. So hes not out of touch. :)

Btw, i wudnt mind trying the version with fixed scrolling speed as u present it. Wont mind it at all :)
[G1 Android Development] macolino:
I' ve installed (via recovery) 0.4b 5_4, but i don't have the nexus1-like animation when i open the app window....why?:confused:
[G1 Android Development] zimphishmonger:
Try the regular v5 w/ 4 columns (guess it would be called a)
[G1 Android Development] macolino:
Thank you!!It works!!!!I like it sooooooooo muuuuuuchhhhh!!!..:D:D

Hoooo yeaaaaahh
[G1 Android Development] jordanjay29:
Wow, .5c is wonderful. The only lag is the transition from home to the app list.

Great job on reducing the touch area for the app list button, it's much easier to activate the screen previews now.
[G1 Android Development] sturmeh:
Good job on the .5c, unfortunately I prefer 5 columns so I'll stick with .5 for now. :D
[G1 Android Development] jordanjay29:
Found a bug on .5c. When flipping to landscape mode or going home from an app in landscape mode, the app list is opened. It takes two taps of the button (to "open" the app list and close it again) to get it closed.
[G1 Android Development] sturmeh:
I can confirm this, draw defaults to open state if you return to it in landscape mode.
[G1 Android Development] cloverdale:
Thanks for the heads up (it was the wrong url, the www is not a problem).
[G1 Android Development] the_alien:
Can't use the 0.5c. Pushed the apk over to /system/app but all I get on my CM G1 is

E/AndroidRuntime( 752): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 752): java.lang.RuntimeException: Unable to instantiate application com.android.launcher.LauncherApplication: java.lang.ClassNotFoundException: com.android.launcher.LauncherApplicat
ion in loader dalvik.system.PathClassLoader@43a47fd0
E/AndroidRuntime( 752): at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:522)
E/AndroidRuntime( 752): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3992)
E/AndroidRuntime( 752): at android.app.ActivityThread.access$2900(ActivityThread.java:118)
E/AndroidRuntime( 752): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1900)
E/AndroidRuntime( 752): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 752): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 752): at android.app.ActivityThread.main(ActivityThread.java:4358)
E/AndroidRuntime( 752): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 752): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 752): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 752): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
E/AndroidRuntime( 752): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 752): Caused by: java.lang.ClassNotFoundException: com.android.launcher.LauncherApplication in loader dalvik.system.PathClassLoader@43a47fd0
E/AndroidRuntime( 752): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
E/AndroidRuntime( 752): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
E/AndroidRuntime( 752): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
E/AndroidRuntime( 752): at android.app.Instrumentation.newApplication(Instrumentation.java:1018)
E/AndroidRuntime( 752): at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:517)
E/AndroidRuntime( 752): ... 11 more
I/Process ( 142): Sending signal. PID: 752 SIG: 3
I/dalvikvm( 752): threadid=7: reacting to signal 3
[G1 Android Development] AnderWeb:
Once again, i post an update here but not in the OP.

Two links now, both .5d and both with fixed the landscape bug (sorry for that, on line forgotten to add to landscape layout :) )

0.5d Normal one

0.5d_fast The one i told you about not using background to speed scrolling throug apps grid.

I'd thank some feedback ;)
[G1 Android Development] AnderWeb:
Tried rebooting and clearing dalvik? Seems dalvik problem not realizing you changed the apk...
[G1 Android Development] the_alien:
Tried rebooting, will clear the dalvik cache entry of the Launcher.

edit: Jit messed everything up, had to reflash to original CM and add the launcher. The fast version is great :)

(I like eyecandy if it is still fast to use ;))

edit2: Why 4 columns instead of 5?
[G1 Android Development] ximmox:
First, thank you AnderWeb for your effort in this!

I came from 0.4b 5/5, because 0.5 5/5 was too laggy for me.

0.5c is indeed faster than 0.5, dunno if its only because there is one column less.

BUT 0.5c_fast really surprised me, the scroll speed is amazing!

The eyecandy is missing a bit, thats right, but for THAT speed it's worth for me.

Of course, finding a way to combine both would be great.

I like your ideas for 0.6, only hope that that much choice won't "blow up" the launcher too much so it might become a little slower (?).

Further suggestion: I would like the fade in and out animation to be a bit faster, but thats personal taste only.
[G1 Android Development] ramon.dexter:
Sorry...

I'm using SuperD 1.9.3 and installed the nexus-like launcher via update.zip...

I tried the method you described with no success...
[G1 Android Development] AnderWeb:
Thanks dude, point to point i comment on your thoughts :)

-Yeah, i'd like to combine both... but i lack the knowledge to do this atm... maybe i'll someday be capable of that :)

-I hope so, letting the user select screens/columns shouldn't bloat anything... but we'll see when i manage to do it.

-I played with animation timings (.5b had it shortened to 400ms and people start asking "why the fly-in animation has gone!? ) so shortening it will cause it doesn't even animate... BTW, .5c was 700ms and .5d is 500ms... so... it really needs to be faster? Maybe i'll add the animation an option for .6
[G1 Android Development] AnderWeb:
If you want to replace stock superD launcher you could:

A.-Restore the nandroid backup i told everyone to do before installing my launcher (You haven't done it?)

B.-Flash again superD over without wiping.

C.-Create your own update.zip with SuperD Launcher.apk (that implies replacing Launcher.apk from my update.zip with SuperD's Launcher.apk and resigning the update.zip, i can't help you out on this, sorry)

Thanks!
[G1 Android Development] the_alien:
D.-Use ADB to push the apk into /system/app ;)
[G1 Android Development] AnderWeb:
Damn, lol! forgot the easiest one :P

Thanks
[G1 Android Development] bakageta:
I'd love to see an option for the animations, would be neat to toy with. I just installed .5d_fast, loving it.
[G1 Android Development] zimphishmonger:
Tried both v5d and v5d-fast. Both are working quite smoothly, however v5d is def smooth enough (+ I like the transparencies) :D

Thanks Anderwebs! :cool:
[G1 Android Development] Daneshm90:
Wow awesome !!!! the 0.5d version is way too fast :) Now is it possible for the icons to fly in similarly to how they fly out ? i find when theyre flying in they come as a group like a block of icons, whereas when they fly out they do it nexus style.

Any way this has become my daily launcher now, Awesome work.
[G1 Android Development] SilentTweak:
0.5d is fast indeed! Thanks for the update!
[G1 Android Development] carz12:
Only thing I noticed is if you have the drawer open and hit the home to close you have to be accurate, if you hit left or right the app under the blacked out area will open, Love it anyways btw.
[G1 Android Development] AnderWeb:
Damn, it's true! damn google with stupid bugs inside base classes...
[G1 Android Development] Pfeffernuss:
I like 0.5d a LOT! Tried all versions, but everytime resorted to going back to the 0.4 version.

But now, with these speeds (and no transparant background...) I find it good enough to use. Well that's an understatement... I really love it! :eek:

Great job!! Step by step you achieved quite an extraordinary feat! :D
[G1 Android Development] alongenemylines:
appreciation post.

keep up the awesome work!
[G1 Android Development] jordanjay29:
I'm not sure if this is a bug related to the launcher, but when I flashed .5d, my contacts and call log disappeared.

Sync brought them back, but the disappearance is a mite disturbing. If no one else experiences that, I'll chalk it up to a fluke, but just putting it out there.

Otherwise, .5d is wonderful. Keep up the great work!
[G1 Android Development] :
0.5d_fast runs fantastically on the Super D v1.10.1 ram hack version! The version included was slow and laggy but this flys now. Thank you all your efforts so far!
[G1 Android Development] rgawenda:
FC on CM

Is I tweeted you, it doesn't work on my CM 4.2.15.1 + RamHack+JIT

Tried what I told you about deleting /data/dalvik-cache/system@app@Launcher.apk@classes.dex and the logcat message changed to:

E/dalvikvm( 643): Can't open dex cache '/data/dalvik-cache/system@app@Launcher.apk@classes.dex': No such file or directory
I/dalvikvm( 643): Unable to open or create cache for /system/app/Launcher.apk (/data/dalvik-cache/system@app@Launcher.apk@classes.dex)

I'd love any hint. I can provide any debug tests/info you need.

Update: Refreshed ROM+RamHack, now it works, will enable JIT next.
[G1 Android Development] ttabbal:
NICE! .5d_fast is VERY quick. Thanks for the great work. Looking forward to see what else you will come up with. And my Morph (Zelda theme) works, even better. :)
[G1 Android Development] codito:
Man .5d_fast is sooo great. Cannot WAIT to see what you do next.
[G1 Android Development] Abolfazl:
Suggestion: Combine features of the advanced launcher (Custom amount of home screens, no titles on icons, etc) with this :)
[G1 Android Development] olearyp:
5d_fast is worth a couple of days of use; though I think my original feeling that the opaque background makes it not worthwhile compared to a drawer will hold, I'm quite willing to find my original opinion changed. :)
[G1 Android Development] ahyiah:
I'm coming from SuperD 1.10.1 w/RamHack and have JIT installed. After installing 0.5d_fast, i ran into a bunch of FC's. I managed to resolve the issue by booting into recovery console and running these commands:

mount -a

rm -rf /data/dalvik-cache

rm -rf /cache/dalvik-cache

ln -s /system/sd/dalvik-cache /data/dalvik-cache

ln -s /system/sd/dalvik-cache /cache/dalvik-cache

rm /system/sd/dalvik-cache/*

sync

reboot

Sorry if it doesn't help; just thought it would be worth a shot. good luck
[G1 Android Development] em2drvr03:
the 3 screen launcher makes the 3rd screen always the home screen..anyway to fix that?
[G1 Android Development] ranhdrcewp:
It works perfectly, but I noticed that the home icon and the four column icon where switched. As in, the column icon was in the launcher and the home icon was on my screens. At any rate, I rebooted and it corrected itself. It was kinda funny actually.
[G1 Android Development] AnderWeb:
I'm on it, read previous posts :)

That's a known bug on pre-0.5c versions... try to get the latest v a few posts back...

Damn dude... you're too hard to convince! ;)
[G1 Android Development] funbacon:
Need have a version without auto rotate or an option menu to config (for Magic + Hero, other non-hard keyboard device)

Need fix the home/menu button on screen, if tap it fastly, you can make it show home icon in home screen (default is menu icon).

Need fix the drawer too, in landscape mode, it shows 6 colums, I think 5 colums will better and more beautiful.
[G1 Android Development] AnderWeb:
Don't know the use of that, i usually control the rotate thing through screen settings...

Update your launcher to at least 0.5c.

That's subjetive, not a "need fix" :)
[G1 Android Development] sturmeh:
.5d_fast is amazingly fast ! D:

Too bad the fade out is laggy, and zoom in isn't modular like the actual nexus one launcher. :\ ( the instant black ruins the effect. )

However the black background is fine provided it's faded in correctly. ( timings. )
[G1 Android Development] FatBoyExtraordinaire:
Been away from the thread for a bit and it seems I have missed some upgrades. Seeing as I am still running (v0.4), which of these newer versions do you XDA 'ers recommend flashing, 0.5d or 0.5d_fast? Thanks in advance.
[G1 Android Development] guedesigns:
Awesome work man! I never post because I usually have nothing to say and I do a lot of searching to find my answers, but this one deserves a post of gratitude.

Fantastic! :D

Oh, and I am using 5d_fast
[G1 Android Development] ttabbal:
The only difference as I understand it, is that the fast uses a black background while the normal has a transparency effect like the N1 launcher uses. I use the fast and am very happy with it. I'd rather have speed than pretty. If I can have both, even better.
[G1 Android Development] funbacon:
On Hero and Magic, we don't use landscape home screen.
[G1 Android Development] funbacon:
On Hero and Magic, we don't use landscape home screen. If config using android setting, other application like Dolphin Browser can't rotate.