New APK: Sort apps into categories
This has BETA status use at your own risk.
Only for use on an empty desktop, will delete all items if there are any!
Usage
* load it as script in an empty desktop (or one you don’t need anymore, or one you launched that script in before)
* grant account access if needed (only first time)
* it will probably stay open as black window with only a title and maybe “Initializing Query” as text. if it does, close it.
* it will probably say now, “Request Canceled” as a toast. If it does, just load it again.
* wait for the queries to finish
* a dialog should pop up now showing all categories which are gonna be created
* you can select one or more of them and press group. Then you can enter a new name for this category/these categories.
* Press commit if you are finsihed grouping stuff.
* the desktop is now gonna get filled with folders containing all your apps
* the category “Other” contains all apps which aren’t on the play store/couldn’t be found
* bug: the items in the folders all stay at position (0/0), so you have to open all folders manually and press menu->items->sort a-z
https://drive.google.com/open?id=0B40xU-30MxN7LUtXMVpZRUpMNWM&authuser=0
As always, if you have something you would like to do, but can’t do within the script, tell me
]]>
< ![CDATA[
I get request canceled at every run of the script
]]>
< ![CDATA[
Bogdan Tautu do you get it instantly or does something happen before?
]]>
< ![CDATA[
Wow, for me it works perfectly!
I personally prefer to sort myself the apps, but I can see that this will open even more doors to the scripting feature! Keep up the good job.
]]>
< ![CDATA[
It appears instantly.
]]>
< ![CDATA[
Bogdan Tautu Do you have a valid google account registered in Play store?
And if your phone is rooted, did you delete any google apps?
]]>
< ![CDATA[
Phone is stock, no root. (sm-t705)
I have a valid account afaik.
]]>
< ![CDATA[
Have the same problem as bogdan. Resultcode is 0. The beta test this afternoon worked. Also stock and valid google account.
]]>
< ![CDATA[
Bogdan Tautu Karsten Franke Probably a problem with the android ID, the way it’s saved differs from device to device. Hope I’ll can fix that without having such a device…
TrianguloY I agree, I sort my apps myself too. I also don’t like the categories google uses, and there are far too many of them. That’s why I added that “Group” feature. Anyway this is more a test than an app that is going to leave beta.
]]>
< ![CDATA[
Bogdan Tautu Karsten Franke Could you load this (https://drive.google.com/open?id=0B40xU-30MxN7ZWhOSFpObWpnaW8&authuser=0) apk please and tell me the output?
It should do nothing more than the old one besides a debug Error Message instead of just “Request Canceled”.
]]>
< ![CDATA[
Tried to, but the apk doesnt get installed. May be because of the old one? How can i delete the old version (which doesnt show up in the APP drawer)? Deleting the script doesnt help either.
]]>
< ![CDATA[
You should be able to uninstall the old one in System Settings. I wonder why you can’t install the new one… I increased the version counter…
]]>
< ![CDATA[
Uninstall worked. Installed the new Version but it seems to the first,small beta version looking at the script. I also get the three toast messages. Not more.
Did you upload the correct apk?
]]>
< ![CDATA[
Karsten Franke :shameful: I did, but I linked the wrong. Sorry! https://docs.google.com/file/d/0B40xU-30MxN7aERReTdwNi1abUU/edit?usp=docslist_api
]]>
< ![CDATA[
Error message: “No Google account with access”
And idea why?
]]>
< ![CDATA[
Yes, this means it is either unable to find your google account, or to login to that account. However this is weird, because this part didn’t change since the first version. I’ll have a look at this after school.
]]>
< ![CDATA[
Karsten Franke next try: blind debug is a bit hard… I tried on an emulator, but all that google stuff is missing there…
https://drive.google.com/open?id=0B40xU-30MxN7VERfMkRFbURfUU0&authuser=0
this does nothing more than request a new authtoken instead of the old one. Hope it helps.
]]>
< ![CDATA[
I think I found the bug. Here is the fixed version:
https://drive.google.com/open?id=0B40xU-30MxN7VThxczBlZkQtckE&authuser=0
TrianguloY you have two google accounts enabled in your phone, do you?
]]>
< ![CDATA[
I even managed to run this one on an emulator, so it should definetly be working now.
]]>
< ![CDATA[
You spy!
Yes it’s true. (in fact I have 3)
]]>
< ![CDATA[
TrianguloY Me too. Thats why it was working for us two. The code used the second account, which is practically bullshit…
If I wanted to spy you, I wouldn’t only know how many accounts you have… 😀
]]>
< ![CDATA[
Bug solved. script works. Good job.
]]>
< ![CDATA[
it just tells me i have to grant permissions first. how do i do that?
edit: i uninstalled/reinstalled. fixed now (so far)
]]>
< ![CDATA[
Curtis Sylvester Jr. If you have a google play registered account, it should give you a dialog to do so
]]>
< ![CDATA[
Just tried it & I immediately get the following message:
—–
At line 126: TypeError:
Cannot find function getContainer in object
PageIndicator 6488167.
—–
I loaded it in an empty desktop as it says. It didn’t ask for account access. It automatically gave me the error above.
]]>
< ![CDATA[
bahrta sai this script is over 2 years old, I wouldn’t expect it to work
]]>