Giter Site home page Giter Site logo

anderweb / android_packages_apps_launcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from irrenhaus/android_packages_apps_launcher

320.0 320.0 151.0 24.11 MB

Android Launcher (almostNexus mod)

Home Page: http://forum.xda-developers.com/showthread.php?t=645550

License: Other

Java 100.00%

android_packages_apps_launcher's People

Contributors

alrightryanx avatar anderweb avatar boombuler avatar dsandler avatar edulmartins avatar eug89 avatar exiva avatar gmellini avatar hyperb1iss avatar jsharkey avatar kaydensigh avatar kmobs avatar leonscroggins avatar levyitay avatar loxk avatar marcone avatar pomepuyn avatar prash avatar romainguy avatar seast avatar sebva avatar skarcha avatar takuo avatar thiasb avatar walkingice avatar wjax avatar wysie avatar zewt avatar zinx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android_packages_apps_launcher's Issues

Drawer and ABs are not accessible via trackball

While not a show-stopper, I find myself sometimes one-handing the phone with the trackball and it would be nice to access the drawer and LAB/RAB. The stock 2.2 launcher included this functionality if memory serves.

The drawer icon is able to be highlighted but depressing the trackball does not open it. The ABs are not even able to be highlighted.

ADW Themes on SD Card

Any ADW Themes which have been moved to the SD Card are not loaded after SD Card is mounted. Need to do the same that you did for icons (load after SD Card has been mounted). Would be greatly appreciated :D

EDIT: pls remove issue, talked to anderwebs about it, not possible, thanks

Settings layout file

Hi,

I think the file res/xml/launcher_settings.xml should be moved to res/layout/launcher_settings.xml. As I can see from other projects the xml directory contains other data used by the application.

I think only line 27 from the file src/com/android/launcher/MyLauncherSettings.java needs to be changed,

addPreferencesFromResource(R.xml.launcher_settings);

replacing .xml with .layout.

I'm not doing this myself because I can't build the code.

Where can I get direct link on .apk?

Hello,
I have Nokia X2 android phone without Google Play, Where can I get .apk? I don't want to use another closed source stores. And F-Droid has old version of .apks.

Can you add compiled .apk into your github release section of repo?

1.6 drawer option

Was wondering if you could pull that off? Make an option where you can switch the drawer so that it opens like the 1.6 drawer. Would make some themes look cooler imo. Would be much appreciated.

why can't change wallpaper?

long press the workspace->click the wallpaper,only have two choose(live wallpaper,gallery),why not have nomal wallpaper?

Very long load time with many homescreen icons

For every icon on an adw desktop(this issue seems to affect all launchers) adw takes just a little longer to load.

I normally have 5 screens, each screen at least half full of application shortcuts. I also keep only 1 widget running, which is the power settings widget.

I have done a lot of testing, and found it is most certainly the icons that cause the issue.

With this many icons, ADW takes as long as 10 seconds to show any icons, when it loads. This makes my phone an incredible pain to use unless I enable the option to keep ADW in memory.

From what I understand, it is not considered proper to force the launcher to stay in memory. Instead, android should be free to dump it from memory, and restore it from memory as needed.

However, ADW(and all other launchers) don't seem to be properly designed for this, as they seem to re-load all of the icons from the apk files everytime they are brought back in to memory.

It is my theory that if ADW were to create an icon cache, and load those icons from a cache when loading ADW, instead of loading them all from the apk's that ADW would be able to load almost instantly.

As a proof of concept workaround, I removed all of my icons from all of my screens. I then got FolderOrganizer and added a widget to every screen, and setup a different folder for each screen. I now represent the same layout, showing even more icons that I used to by using FolderOrganizer. It seems Folder Organizer caches the icons. It takes about 1 second for my icons to show now, when ADW loads. That is a dramatic difference. And I theorize the 1 seconds is spent loading 5 nearly fullscreen FolderOrganizer widgets, and 1 small facebook widget.

I believe implementing an icon cache for the homescreen icons would be 1 of 2 things that need to be done to make ADW the launcher that solves the terrible lag issue that many users experience. (Implement these two things, and users will no longer be asking for the option to keep home in memory)

The other thing, I will put in another Issue, as it is a similar but different issue.

Testing done on a Motorola Droid 1. Using a range of OS's. Currently running CM6 Nightly.

Launcher crash down everytime when phone switch on

Launcher crash down every time when phone switch on.
Launcher2 always call onDestroy() when phone is power on and then it runs ok. and so is the ADWLauncher.
does someone find this problem?????
从Android官方源码提取出来的Launcher2, 可以成功运行。但是你们有没有发现每次开机的时候,Launcher2都会执行完Activity的生命周期的所有函数。简单地说也就是执行了onDestroy(). 然后再次启动onCreate() 这下就可以成功运行了。

Desktop items magically reappear

If you try to drop a widget on lab/rab/dockbar, it will show the "widgets not allowed message" and widget will disappear from desktop but won't be deleted from database, so rotating/restarting launcher will make it reappear (even if you already added other items in the same place)...

I find a bug,and resolved

bug:when change language,the application's label not follow change it's lable display in Launcher
resolve:change ApplicationsAdapter's add methode to:
@OverRide
public void add(ApplicationInfo info) {
//check allItems before added. It is a fix for all of the multi-icon issue, but will
//lose performance. Anyway, we do not expected to have many applications.
synchronized (allItems) {
/if (!allItems.contains(info)) {
changed = true;
allItems.add(info);
Collections.sort(allItems,new ApplicationInfoComparator());
}
/
int count=allItems.size();
boolean found=false;
for(int i=0;i<count;i++){
ApplicationInfo athis=allItems.get(i);
if(info.intent.getComponent()!=null){
if(athis.intent.getComponent().flattenToString().equals(
info.intent.getComponent().flattenToString())){
found=true;
if(!athis.title.equals(info.title)){
viewCache.remove(athis);
allItems.remove(i);
Collections.sort(allItems,new ApplicationInfoComparator());
updateDataSet();
found=false;
}
break;
}
}
}
if(!found){
allItems.add(info);
Collections.sort(allItems,new ApplicationInfoComparator());
updateDataSet();
}
}
}

Haptic feedback donut

Seems the standalone-donut version doesn't do any haptic feedback.
I need to compare with the old donut branch and find a way to make it work... but seems old donut branch is using non-api calls for the Vibrator, so I still need to find a workaround.

Icons not loading on homescreens if app is on sdcard (Gingerbread)

Not sure if this is the correct place, project (I notice that there is an ADWLauncher2), but here goes.

The symptom is that when booting the phone, the homescreen icons of apps that have been moved to the SDCard are the default android app icon.

I realize that this has been addressed before and that the previous issue was closed, however having looked through the latest standalone branch (and froyo branch), I can see no place where the code would be effective to fix this.

I have looked at commit 542e782

which is where I thought the fix would be.

ADW isn't listening at all for android.intent.action.MEDIA_MOUNTED - so I'm not sure how it will know when to load icons for apps that are on the sdcard.

Having just helped to fix the same issue for k9mail in gingerbread - I think the paralellism that they introduced for Gingerbread changed the timing of the loads - i.e. it's much easier now for an application to start running without the sdcard having been mounted - I would be more than happy to help fix this as well - just need to know whether or not the issue has been fixed in which branch and what product.

Misalignment of the plus "+" symbol when switching the size of a widget.

First time posting an issue on something so I'm sorry if I'm not too detailed but if it helps I'll describe my homescreen set up first.

I have two screens with a setting of five columns and four rows.
The bug happened on the second screen while I was putting a techbuzz widget on that homescreen.

The "+" symbol was a little bit to the right.

Froyo A2SD

Some users report that sometimes apps installed to SD card shows twice in the app drawer.
Seems some desktop icons/widgets from apps on SD are failing too...

Translation error

in res/values/string.xml the adw_version is 1.3.3,but in res/values/changelog.xml Version 1.3.0

An option to stop the hiding of dock/status bar?

Hi, this is a feature request and I know this will be downgraded to the lowest importance but I'll still try :) I was wondering if an option can be adding in the ADW Launcher settings to disable hiding of the status bar as well as the dock on the bottom as result of sliding on the homescreen (where there's no app icon). It happened a couple of times by accident sliding and I was wondering if an option to prevent that could be doable by some simple code addition/changes. Thanks a bunch for the hard work.

Honeycomb reboot causes boot animation to loop

Installed adw to the motorola xoom. Installs fine, and runs alright. On reboot, the device will not exit the boot animation. By adb/logcat the device appears to load. (with the Profile Startup variable set to true) the home screen appears to load, but does not cut through the animation loop.

Spamming the screen with touches /eventually/ it opens home screen. Once this is induced logcat gives the following

04-19 01:15:09.900: ERROR/MultiTouchController(242): onTouchEvent() failed
04-19 01:15:09.900: ERROR/MultiTouchController(242): java.lang.reflect.InvocationTargetException
04-19 01:15:09.900: ERROR/MultiTouchController(242): at java.lang.reflect.Method.invokeNative(Native Method)
04-19 01:15:09.900: ERROR/MultiTouchController(242): at java.lang.reflect.Method.invoke(Method.java:491)
04-19 01:15:09.900: ERROR/MultiTouchController(242): at org.metalev.multitouch.controller.MultiTouchController.onTouchEvent(MultiTouchController.java:274)
04-19 01:15:09.900: ERROR/MultiTouchController(242): at org.adw.launcher.Workspace.onInterceptTouchEvent(Workspace.java:771)
04-19 01:15:09.900: ERROR/MultiTouchController(242): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1170)
etc...
error repeated several times (most recent it was 10, last time was only 3)

Home screen flashes and 1 or more random apps load in succession (from a selection of the ones that were on the home screen). Once backed out of newly opened apps home screen is usable and behaves as normal.

Launcher.apk launcher error

when launcher the Launcher.apk,if you print the log you will see:
I/ActivityManager( 126): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/.Launcher }
I/ActivityManager( 126): Start proc android.process.acore for activity com.android.launcher/.Launcher: pid=8385 uid=10000 gids={3003, 1015}
I/ActivityThread( 8385): Publishing provider com.android.social: com.android.providers.contacts.SocialProvider
I/ActivityThread( 8385): Publishing provider applications: com.android.providers.applications.ApplicationsProvider
I/ActivityThread( 8385): Publishing provider com.android.launcher.settings: com.android.launcher.LauncherProvider
I/ActivityThread( 8385): Publishing provider contacts;com.android.contacts: com.android.providers.contacts.ContactsProvider2
I/ActivityThread( 8385): Publishing provider call_log: com.android.providers.contacts.CallLogProvider
I/ActivityThread( 8385): Publishing provider user_dictionary: com.android.providers.userdictionary.UserDictionaryProvider
D/Launcher( 8385): ONCREATE

D/CELLLAYOUT( 8385): onMeasure!!! portrait=true
D/CELLLAYOUT( 8385): onMeasure!!! portrait=true
D/CELLLAYOUT( 8385): onMeasure!!! portrait=true
E/sqlite3_android( 8385): Can't open transliterator. Error: U_INVALID_ID
D/CELLLAYOUT( 8385): onMeasure!!! portrait=true
D/CELLLAYOUT( 8385): onMeasure!!! portrait=true
D/LauncherProvider( 8385): creating new launcher database
D/LauncherProvider( 8385): converting database from an older format, but not onUpgrade
D/CELLLAYOUT( 8385): onMeasure!!! portrait=true
D/CELLLAYOUT( 8385): onMeasure!!! portrait=true
W/LauncherProvider( 8385): Unable to add favorite: com.android.gallery/com.android.camera.GalleryPicker
W/LauncherProvider( 8385): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.android.gallery/com.android.camera.GalleryPicker}
W/LauncherProvider( 8385): at android.app.ContextImpl$ApplicationPackageManager.getActivityInfo(ContextImpl.java:1795)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.addAppShortcut(LauncherProvider.java:585)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.loadFavorites(LauncherProvider.java:546)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.onCreate(LauncherProvider.java:251)
W/LauncherProvider( 8385): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:106)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider.query(LauncherProvider.java:109)
W/LauncherProvider( 8385): at android.content.ContentProvider$Transport.query(ContentProvider.java:163)
W/LauncherProvider( 8385): at android.content.ContentResolver.query(ContentResolver.java:245)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.updateShortcutLabels(LauncherModel.java:983)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.load_workspace(LauncherModel.java:732)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.run(LauncherModel.java:718)
W/LauncherProvider( 8385): at java.lang.Thread.run(Thread.java:1096)
D/CELLLAYOUT( 8385): onMeasure!!! portrait=true
D/CELLLAYOUT( 8385): onMeasure!!! portrait=true
D/CELLLAYOUT( 8385): onMeasure!!! portrait=true
W/LauncherProvider( 8385): Unable to add favorite: com.google.android.apps.maps/com.google.android.maps.MapsActivity
W/LauncherProvider( 8385): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.google.android.apps.maps/com.google.android.maps.MapsActivity}
W/LauncherProvider( 8385): at android.app.ContextImpl$ApplicationPackageManager.getActivityInfo(ContextImpl.java:1795)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.addAppShortcut(LauncherProvider.java:585)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.loadFavorites(LauncherProvider.java:546)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.onCreate(LauncherProvider.java:251)
W/LauncherProvider( 8385): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:106)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider.query(LauncherProvider.java:109)
W/LauncherProvider( 8385): at android.content.ContentProvider$Transport.query(ContentProvider.java:163)
W/LauncherProvider( 8385): at android.content.ContentResolver.query(ContentResolver.java:245)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.updateShortcutLabels(LauncherModel.java:983)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.load_workspace(LauncherModel.java:732)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.run(LauncherModel.java:718)
W/LauncherProvider( 8385): at java.lang.Thread.run(Thread.java:1096)
W/LauncherProvider( 8385): Unable to add favorite: com.android.vending/com.android.vending.AssetBrowserActivity
W/LauncherProvider( 8385): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.android.vending/com.android.vending.AssetBrowserActivity}
W/LauncherProvider( 8385): at android.app.ContextImpl$ApplicationPackageManager.getActivityInfo(ContextImpl.java:1795)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.addAppShortcut(LauncherProvider.java:585)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.loadFavorites(LauncherProvider.java:546)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.onCreate(LauncherProvider.java:251)
W/LauncherProvider( 8385): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:106)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider.query(LauncherProvider.java:109)
W/LauncherProvider( 8385): at android.content.ContentProvider$Transport.query(ContentProvider.java:163)
W/LauncherProvider( 8385): at android.content.ContentResolver.query(ContentResolver.java:245)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.updateShortcutLabels(LauncherModel.java:983)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.load_workspace(LauncherModel.java:732)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.run(LauncherModel.java:718)
W/LauncherProvider( 8385): at java.lang.Thread.run(Thread.java:1096)
W/LauncherProvider( 8385): Unable to add favorite: com.google.android.gm/com.google.android.gm.ConversationListActivityGmail
W/LauncherProvider( 8385): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.google.android.gm/com.google.android.gm.ConversationListActivityGmail}
W/LauncherProvider( 8385): at android.app.ContextImpl$ApplicationPackageManager.getActivityInfo(ContextImpl.java:1795)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.addAppShortcut(LauncherProvider.java:585)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.loadFavorites(LauncherProvider.java:546)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.onCreate(LauncherProvider.java:251)
W/LauncherProvider( 8385): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:106)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider.query(LauncherProvider.java:109)
W/LauncherProvider( 8385): at android.content.ContentProvider$Transport.query(ContentProvider.java:163)
W/LauncherProvider( 8385): at android.content.ContentResolver.query(ContentResolver.java:245)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.updateShortcutLabels(LauncherModel.java:983)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.load_workspace(LauncherModel.java:732)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.run(LauncherModel.java:718)
W/LauncherProvider( 8385): at java.lang.Thread.run(Thread.java:1096)
W/LauncherProvider( 8385): Unable to add favorite: com.google.android.talk/com.google.android.talk.SigningInActivity
W/LauncherProvider( 8385): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.google.android.talk/com.google.android.talk.SigningInActivity}
W/LauncherProvider( 8385): at android.app.ContextImpl$ApplicationPackageManager.getActivityInfo(ContextImpl.java:1795)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.addAppShortcut(LauncherProvider.java:585)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.loadFavorites(LauncherProvider.java:546)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider$DatabaseHelper.onCreate(LauncherProvider.java:251)
W/LauncherProvider( 8385): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:106)
W/LauncherProvider( 8385): at com.android.launcher.LauncherProvider.query(LauncherProvider.java:109)
W/LauncherProvider( 8385): at android.content.ContentProvider$Transport.query(ContentProvider.java:163)
W/LauncherProvider( 8385): at android.content.ContentResolver.query(ContentResolver.java:245)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.updateShortcutLabels(LauncherModel.java:983)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.load_workspace(LauncherModel.java:732)
W/LauncherProvider( 8385): at com.android.launcher.LauncherModel$DesktopItemsLoader.run(LauncherModel.java:718)
W/LauncherProvider( 8385): at java.lang.Thread.run(Thread.java:1096)
I/ActivityManager( 126): Displayed activity com.android.launcher/.Launcher: 2964 ms (total 2964 ms)
D/HomeLoaders( 8385): ----> items cloned, ready to refresh UI
D/CELLLAYOUT( 8385): onMeasure!!! portrait=true
D/CELLLAYOUT( 8385): onMeasure!!! portrait=true
D/Launcher( 8385): about to setAppWidget for id=14, info=AppWidgetProviderInfo(provider=ComponentInfo{com.android.quicksearchbox/com.android.quicksearchbox.SearchWidgetProvider})
D/CELLLAYOUT( 8385): onMeasure!!! portrait=true
note this line:
E/sqlite3_android( 8385): Can't open transliterator. Error: U_INVALID_ID
Why is this error?

click the btn_scroll_left or btn_scroll_right error

E/AndroidRuntime( 1129): java.lang.IllegalStateException: Could not find a method previousScreen(View) in the activity class com.android.launcher.Launcher for onClick handler on view class android.widget.ImageView with id 'btn_scroll_left'
E/AndroidRuntime( 1129): at android.view.View$1.onClick(View.java:2059)
E/AndroidRuntime( 1129): at android.view.View.performClick(View.java:2408)
E/AndroidRuntime( 1129): at android.view.View$PerformClick.run(View.java:8816)
E/AndroidRuntime( 1129): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 1129): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 1129): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1129): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 1129): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1129): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1129): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:876)
E/AndroidRuntime( 1129): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
E/AndroidRuntime( 1129): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1129): Caused by: java.lang.NoSuchMethodException: previousScreen
E/AndroidRuntime( 1129): at java.lang.ClassCache.findMethodByName(ClassCache.java:308)
E/AndroidRuntime( 1129): at java.lang.Class.getMethod(Class.java:985)
E/AndroidRuntime( 1129): at android.view.View$1.onClick(View.java:2052)
E/AndroidRuntime( 1129): ... 11 more
W/ActivityManager( 138): Force finishing activity com.android.launcher/.Launcher

Very long load time with many apps installed

This is the second of two related issues I am putting in.

The first issue concerned the time it takes before ADW displays any icons on the homescreens(caused by the number of icons ADW must load)

This second issue is about the time it takes from when ADW first displays homescreen icons, till it becomes fully usable(stops lagging)

If many apps are installed, ADW can take several seconds(as much as 10 for me) after showing icons before it is fully usable. While it may be somewhat responsive, meaning I can swipe on the homescreen and it may switch after a few seconds, or I can tap an icon and it may start to load after a few seconds, ADW does not become smooth and fully responsive until all apps have been loaded in to the app list.

With many apps installed, it can take a long time to load all of the apps in to the app list(drawer).

I believe that is an app cache, that stores the list of apps, and their icons were used, that this long load time could be severely shortened, and make a tremendous impact on the performance of ADW for many android users.

Again, I point to FolderOrganizer which seems to have an app cache, as I can always quickly load it, and select my apps.

FolderOrganizer takes a while the very first time it loads to read through all installed apps, but, subsequent launches(unless you clear it's data) do not take any time at all to load the app list. It also seems to be able to keep up with the changes in apps as I install/uninstall apps.

I think using similar methodology to cache the app list for ADW is completely feasible, and I must beg of you to make this a priority.

I am telling you, this will resolve so many peoples issues with their android phones, it is not even funny.

All of my testing has been done on the Motorola Droid 1. I've tested with a range of OS versions, and am currently running a CM6 Nightly.

Thank you.

DesktopIndicator display error

when you change the phone's screen orientation,For example:portrait to landscape,the portrait screen desktop indicator does not disappear, leading to landscape screen desktop indicator shows overlap.

Screen rotation error

Rotation the phone,when the screen orientation changing,if you adb shell logcat you will see as follow:
I/WindowManager( 130): Setting rotation to 1, animFlags=0
I/ActivityManager( 130): Config changed: { scale=1.0 imsi=0/0 loc=zh_CN touch=3 keys=1/1/2 nav=3/1 orien=2 layout=18 uiMode=17 seq=11}
I/UsageStats( 130): Unexpected resume of com.android.launcher while already resumed in com.android.launcher
W/System.err(17208): java.lang.IllegalArgumentException: Receiver not registered: mobi.intuitit.android.widget.WidgetSpace$1@45266820
W/System.err(17208): at android.app.ActivityThread$PackageInfo.forgetReceiverDispatcher(ActivityThread.java:793)
W/System.err(17208): at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:814)
W/System.err(17208): at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:331)
W/System.err(17208): at mobi.intuitit.android.widget.WidgetSpace.unregisterReceiver(WidgetSpace.java:720)
W/System.err(17208): at mobi.intuitit.android.widget.WidgetSpace.unregisterProvider(WidgetSpace.java:708)
W/System.err(17208): at com.android.launcher.Launcher.onDestroy(Launcher.java:1282)
W/System.err(17208): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3642)
W/System.err(17208): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3673)
W/System.err(17208): at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3789)
W/System.err(17208): at android.app.ActivityThread.access$2400(ActivityThread.java:125)
W/System.err(17208): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2037)
W/System.err(17208): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(17208): at android.os.Looper.loop(Looper.java:123)
W/System.err(17208): at android.app.ActivityThread.main(ActivityThread.java:4627)
W/System.err(17208): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(17208): at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err(17208): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:876)
W/System.err(17208): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
W/System.err(17208): at dalvik.system.NativeStart.main(Native Method)
W/System.err(17208): java.lang.IllegalArgumentException: Receiver not registered: mobi.intuitit.android.widget.WidgetSpace$ScrollViewProvider@45266850
W/System.err(17208): at android.app.ActivityThread$PackageInfo.forgetReceiverDispatcher(ActivityThread.java:793)
W/System.err(17208): at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:814)
W/System.err(17208): at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:331)
W/System.err(17208): at mobi.intuitit.android.widget.WidgetSpace.unregisterReceiver(WidgetSpace.java:720)
W/System.err(17208): at mobi.intuitit.android.widget.WidgetSpace.unregisterProvider(WidgetSpace.java:709)
W/System.err(17208): at com.android.launcher.Launcher.onDestroy(Launcher.java:1282)
W/System.err(17208): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3642)
W/System.err(17208): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3673)
W/System.err(17208): at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3789)
W/System.err(17208): at android.app.ActivityThread.access$2400(ActivityThread.java:125)
W/System.err(17208): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2037)
W/System.err(17208): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(17208): at android.os.Looper.loop(Looper.java:123)
W/System.err(17208): at android.app.ActivityThread.main(ActivityThread.java:4627)
W/System.err(17208): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(17208): at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err(17208): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:876)
W/System.err(17208): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
W/System.err(17208): at dalvik.system.NativeStart.main(Native Method)
D/Launcher(17208): ONCREATE
W/AppWidgetHostView(17208): can't inflate defaultView because mInfo is missing
was wrong?

Folder items order

The order of the items into a folder is done by the _id (creation time)
and cannot be change by moving the icons out of the folder and draging them
back in into the correct order, because the order get's lost over restart.

Dockbar items get messed

On receiving a shortcut from an app (browser, bettercut, etc) dockbar items get messed.
Rotating the phone once "fixes" it, but i should "real-fix" it.

Back Button Assignment

Would it be possible to use the back button in order to do things like bring up the previews or hide/show the status bar? :)

Default Settings not read from settings xml file

In AlmostNexusSettingsHelper, settings values are "defaulted" to hardcoded ones... it shouldn't be that way, but reaading from res/xml/launcher_settings.xml
But don't know howto do it yet :)

Scroll slow

when more and more application added to the phone,(for example has 4 pages in the
AllAppsSlidingView) the scroll become slow(snap CurrentScreen to the NextScreen in AllAppsSlidingView).You find this problem?

Padding on desktop.

Allow samsung galaxy style padding on the top of the desktop where the widgets don't be underneath the dots.

Folder Icons

Issue:
Cannot change the icon of the folders on the desktop.

I do know dxTop allows you to change them, and was wondering if this has been thought about.

Not sure if you consider requests = issues, and I apologize if I am coming off as a jerk asking for it in this way; but, I have looked around and couldn't find anything on the web. I do admit I did not try asking in any IRC channels.

Thanks.

Chinese translation(changelog.xml)

I don't know how to pull a branch,so I translation as follow:
NOTICE: If your theme looks ugly, ask your theme developer to update it!!!
注意:如果您的主题看起来难看,报告给主题开发者更新它!!!
NOTICE: To add/remove screens press MENU/Edit
注意:添加/移除屏幕按 菜单键 - 编辑
NOTICE: To enable ORIENTATION, disable PERSISTENCE
注意:要开启旋转方向,禁用固定。
REMEMBER:You can hide apps from the drawer by using the custom catalogs (press menu key while the drawer is open)
记住:您可以从抽屉目录中使用自定义隐藏应用程序(打开抽屉时按菜单键)
Version 1.3.0:

版本 1.3.3:


Small UI revamp (Trash can moved to the top, configurable main dock, etc)
UI 小的修改(垃圾桶移至顶端,可配置主托盘等)
Drag and drop a desktop icon in the same place to edit it
在同一个地方拖放后放下一个桌面图标进行编辑
Support for coloured counter bubbles.
支持彩色气泡扩展栏。
Support for easier scrolling of the hidden dockbar.
支持方便的滚动隐藏托盘。
Support for replacing the app drawer button with anything
支持任意应用程序取代抽屉按钮
You can uninstall widgets too by holding them into the trash can
您也可以通过拖放进垃圾箱卸载小工具
Lots of fixes
大量修复

ADW ProTips?

Wondering if it could be done?...an ADW ProTips like the one that comes with Stock Froyo? That would be cool.

Default Homescreen

So lets say that you have 5 homescreens but you ready to switch to seven homescreens but you don't want to have to move everything on your default screen to the new default one, is there a way to make it so that once you choose a new default screen, all the stuff is automatically rearranged?

[improvement] Add margin to each page

First at all, thanks for the amazing Launcher. It becomes my favorite launcher since I saw it two days ago.

I think if ADW Launcher adds some margin to each pages of AllApps, that would improve user experience very much. (please see http://picasaweb.google.com/walkingice0204/Blog#5484209822477766434)

There are two patches which let user could add arbitrary margin (0px ~ 75px) to each page. Hope it helps.

http://0xlab.org/~walkingice/0001-Add-Margin-into-each-pages-of-AllAppsSlidingView.patch
http://0xlab.org/~walkingice/0002-New-option-to-tweak-page-margin.patch

keyboard/dock autorotation

The recent change to force a home orientation (3222612634981d432d0d) removes the ability to just have the homescreen rotate on keyboard extension or dock insertion. Formerly, just unchecking the 'orientation sensor' option still allowed these rotations, however new portrait mode does not. Can such a mode be added to the home orientation menu?

Add secondary action to dock icons

I'd like to be able to launch a secondary action for items in the dock by swiping them. LauncherPro does this to a limited extent, but there you're only able to choose from a limited number of actions. I'd like to be able to assign anything to the swipe, such as creating a new text message or opening up my Favorites folder.

Persistent mode issues

When enabling the persistent mode, rotation stops working. Phone rotates but won't go through usual lifecycle (onpause-onstop-onretain-onstart-onresume. So the alternative layout-* doesn't load, it just resize the current views.

Desktop scrolling lag

Seems since the addition of scrollable-widget support, users are complaining about desktop scrolling/swiping is laggier.
I'd need to debug this and see if i can implement an option to disable the new feature (if it is the real cause).

Could be caused by the multitouch controller?

Froyo permissions weirdness...?

On the AVD with froyo (since first froyo sdk release, including the latest update) i get a lot of warning messages like this one:

Not granting permission android.permission.BIND_APPWIDGET to package xxxxxx

What scares me more is that there's a lot of this ones too:

W/PackageManager(   81): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.contacts
W/PackageManager(   81): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
W/PackageManager(   81): Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x1be45)

And a few more, but related to gapps (and as they're missing from avd, i don't know if they're relevant).

I've received a few logcats from users with issues regarding widgets not updating, and maybe this could be the cause?

Memory usage

Seems since 0.8 the memory usage has grown but i don't really know why.
Most of the FC repports i get from google developer console and people logcats are related to the longpress code over widgets or icons. (Code inside DragLayer.java)

Longpressing an item creates a Bitmap from the drawing cache of the item, some items are too big (like 4x4 widgets) so generating the drawing cache uses a lot of memory plus the bitmap copy created on line 209....

Anyways, as a result of the overall memory usage increased (i need someone who help me tracking allocations....) sometimes the pointed code fails not being able to create the drawing cache and fires a NPE.

I'm thinking on creating a fallback to making a plain square drawable when the drawing cache cannot be generated....

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.