now browsing by tag
I cant install the latest update.
In the playstore i get an error message.
“Update for “lightning Launcher” “could net be downloaded due to an error. (961)”
i know i have to empty the cache and try again. But what data is actually stored in the cache for lightning. that’s just out of curiosity .
is there something in the update that gives a conflict or something?
thought you should know 🙂
]]>Assign a Counter for whatsapp as a label for an empty shortcut with tasker.
the rar contains 2 tasker profiles (1 to count, 1 to empty) and the script for LLX
https://drive.google.com/open?id=0B2Gltk_LlAG4aFB5aVlJWXNHRGs&authuser=0
With help from Pierre Hébert and Evelien Wijbenga
who wrote this tutorial
https://plus.google.com/+EvelienWijbenga/posts/Bk4ho766SUe
Thought i would share 🙂
]]>hey guys, i am trying to get a missed whatsapp counter as a label via tasker.
i have a tasker profile wich adds +1 to a variable and this variable gets picked up by the zooper variable.
so far so good.
i used
https://www.youtube.com/watch?v=nnJQ5N8PXi8
to get this variable as a label and it works. But when i place the item inside a panel i cant get it to work.
i use
this works for the item wich isnt inside a panel.
LL.getCurrentDesktop().getItemByName(“LLXwapp”).setLabel(LL.getEvent().getData(),false);
for the item inside a panel named “left”
i get Type error Cannot find function getItemByName in object Panel 65579.
LL.getCurrentDesktop().getItemByName(“left”).getItemByName(“LLXwapp”).setLabel(LL.getEvent().getData(),false);
from the API:
getItemByLabel(String label)
This method is deprecated. No replacement.
so this doesnt work
The script gets triggered by the tasker event.
so basicly i just need to get the item inside the panel 🙂
a really simple thing
]]>For the tasker users, and missed it.
Edit your tasker scenes on you Desktop!
https://plus.google.com/u/0/communities/105195043581156551168
]]>in the screen for choosing a custom icon from the “file” option.
when browsing for a icon in some folders with lots of items, the need to scroll to the top every time really interups the work flow.
and the icon of the same button now changes when I enter the screen depending on the folder it’s starts.
]]>for everyone who is, like me looking for some great reference to javascript.
according to the read me: “Curriculum originally developed by Pamela Fox” i think the classes where free. but i dont know where i get it from.
link to the rar:
https://drive.google.com/file/d/0B2Gltk_LlAG4MllzY2d0ejBVaGc/view?usp=sharing
link to the folder where i will be putting more javascript learning stuff:
]]>does any one know how i get this script to list all the installed apps to work inside LLX.
/*
List apps = getPackageManager().getInstalledPackages(0);
This method returns the list of PackageInfo (which contains overall information about the contents of a package). In other words, the method getInstalledPackages() will return a list containing all the information about all the installed application.
In this example, we will extract just the informations (packageName, appName, versionName, versionCode, and the icon), so we create a bean to store this informations:
*/
public class AppInfo {
private String name;
private String packageName;
private String versionName;
private int versionCode = 0;
private Drawable icon;
public AppInfo() {}
public Intent getLaunchIntent(Context context) {
Intent intentLaunch = context.getPackageManager().getLaunchIntentForPackage(this.packageName);
return intentLaunch;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPackageName() {
return packageName;
}
public void setPackageName(String packageName) {
this.packageName = packageName;
}
public String getVersionName() {
return versionName;
}
public void setVersionName(String versionName) {
this.versionName = versionName;
}
public int getVersionCode() {
return versionCode;
}
public void setVersionCode(int versionCode) {
this.versionCode = versionCode;
}
public Drawable getIcon() {
return icon;
}
public void setIcon(Drawable icon) {
this.icon = icon;
}
}
/*
The last thing is to extract the application’s informations from the list of installed apps and store them in arraylist :
*/
/**
* get the list of all installed applications in the device
*@return ArrayList of installed applications or null
*/
private static ArrayList getListOfInstalledApp(Context context) {
PackageManager packageManager = context.getPackageManager();
List apps = packageManager.getInstalledPackages(PackageManager.SIGNATURE_MATCH);
if (apps != null && !apps.isEmpty()) {
ArrayList installedApps = new ArrayList();
for (int i = 0; i < apps.size(); i++) {
PackageInfo p = apps.get(i);
ApplicationInfo appInfo = null;
try {
appInfo = packageManager.getApplicationInfo(p.packageName, 0);
AppInfo app = new AppInfo();
app.setName(p.applicationInfo.loadLabel(packageManager).toString());
app.setPackageName(p.packageName);
app.setVersionName(p.versionName);
app.setVersionCode(p.versionCode);
app.setIcon(p.applicationInfo.loadIcon(packageManager));
//check if the application is not an application system
Intent launchIntent = app.getLaunchIntent(context);
if(launchIntent != null && (appInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0)
installedApps.add(app);
} catch (NameNotFoundException e) {
e.printStackTrace();
}
}
//sort the list of applications alphabetically
if (installedApps.size() > 0) {
Collections.sort(installedApps, new Comparator() {
@Override
public int compare(final AppInfo app1, final AppInfo app2) {
return app1.getName().toLowerCase(Locale.getDefault()).compareTo(app2.getName().toLowerCase(Locale.getDefault()));
}
});
}
return installedApps;
}
return null;
}
/*
After getting those informations about installed applications, we can display them using ListViewor GridView .
Finally, to launch an installed application directly from your application, all what you need is to retrieve the launch Intent from the appInfo instance and starts the app :
*/
ArrayList installedApps = getListOfInstalledApp(this);
Intent launchIntent = installedApps.get(0).getLaunchIntent(this);
if(launchIntent != null)
startActivity(launchIntent);
]]>i am using script for the slight parallax effect.
the image is set zooper with a variable from tasker.
on the rightside inside the panel (its not visible in the video) is a nother zooper widget wich also unloads the image. and that widget gets the image by this [b]/sdcard/!backups/Wallpapers/slider/$#Dm#>0?(int((random())*11))$.jpg[/b]
and sometimes when i reach the max scroll distance the page scrolls to the left side where my sidebar is.
i am still in the middle of creating my screen and its the very first time i am using java.
here are some of the files
https://drive.google.com/folderview?id=0B2Gltk_LlAG4alV2NG93RW1PQ28&usp=sharing
]]>hey guys, i am pretty new to scripting and want to know if it is possible to use http://jsbin.com/ for…
hee piere, LLX just crashed when I tried to open the app drawer. as far as I know it wasn’t a possibility to add…
it came there via a shortcut on the desktop to a folder from the app drawer. when I opened it, the option to ad a panel to folder is there.
I have sent you the bug report
I will make a video tomorrow it’s 4:20 am and I have to work tomorrow (today)
greetings Maarten
]]>