I have discovered a way to create folders on the ADW desktop without having to use additional software/android packages. Basically you have to manipulate a table in the launcher database.
Photos
1) Shows the folder “System Stuff” on the desktop. (Look for it near Santa’s beard.)
2) Shows the “System Stuff” folder open and with applications inside
3) Shows the edited fields of the favorites table of the launcher.db
My Setup/Requirements
NookColor Rooted/ADB access
ADW.Launcher installed (I am running version 23)
Root Explorer
SQLite Editor installed
Linda File Manager installed (optional, but necessary if you want to create shortcuts to books)
Steps
1. Open Root Explorer and find the database for the launcher. Mine is located at /data/data/org.launcher/databases
2. Open the database. (Mine is called launcher.db)
3. Open the favorites table
4. Use the menu button to create a new record and enter the following information into the fields:
_id = Assign the next sequential record id (increment +1 from the last record in the table)
Title =The name you want to give your folder
Intent = Leave blank
Container = -100
Screen= 1 (or the number of the screen you want the folder displayed on)
cellX = 2 (or the column you want the folder displayed on)
cellY = 0 (or the row you want the folder displayed on)
spanX = 1 (the folder will be 1X1 in size)
spanY = 1 (the folder will be 1X1 in size)
itemType = 2 (this declares the type to be something other than a shortucut)
appWidgetID = -1 (this identifies the widget as a folder)
5. Save the record
6. Exit Root Explorer
7. Reboot the NookColor
8. When the system finishes booting, you should now see a folder on whatever screen you put it on.
9. To add items to the folder, simply click and drag.
Comments: You can also add shortcuts to the folder by manipulating the favorites table in the launcher.db. You find your shortcut in the table and modify the record so that the container field is the same as the _id field of the folder shortcut.
I added Linda File Manager to the Setup/Requirements list because if you want to add books to a folder, LFM is the only program so far that I’ve seen that will allow the creation of a shortcut (for a book) to the desktop.
Related
I've recently applied the reg edit to be able to view 5 items per row on my programs folder which now makes that page quite usable as a launcher. Now I'd like to assign my left soft key to open up the programs folder.
I'm using Soft Key v1.3. When selecting applications for the key, what is the name of the Programs Application that, when pressed, will open up the programs folder (ie, same as Start/Programs)? I've tried many that appear to be it but none work.
I've searched and searched on xda and actually found a few results but none that worked. I've tried creating shortcuts, even found a 'folderview.exe' file to put into the windows folder but, when pressed it opens up the default programs folder of only 3 icons per row. It seems like this would be an easy thing to do but I'm stumped.
If this made any sense of what I'm trying to accomplish, can anyone help please?
Any news on this?
I've been searching for hours about this subject and didn't find anything.
I'm stuck with this also, folderview.exe does open the programs menu folder but doesn't render the 4 icons per row, instead it presents only the standard 3 icons/row.
Anyone knows how to overcome this issue?
Thanks
BUMP!
Does anyone have a solution to displaying the 4 icon layout in folderview?
Or is there an alternative way to display folders in the program launcher?
Cheers!
@ question 1:
Start Menu\Programs on Soft Key
I actually found an application that is even more flexible:
WM5NewMenu by Saman.cz
It does NOT mirror the above mentioned folder,
but even better: you can configure it just as you like.
E.g.: I created a few submenues (Main, System, Connectivity, Navigation, Utilities, Games) and added the most important prog links to each submenu.
Give it a try and spend some time.
Hey, it's freeware.
@ question 2:
4 Icons in a row
best use Schap's Advanced Config (I used 3.0 as 3.2 did not work).
Then under the 1. menu item "user interface"
select "horizontal icon spacing" and change value to "112"
select "vertical icon spacing" and change value to "115"
select "icon title font size" and change to "6"
... perform a soft reset and ... you're done
Thanks M_O_N_A_C_O, but that's not what we are after.
We know how to set the folder with 4 columns and we don't want a new menu.
What we would like to have is some way to open the "programs" or "settings" from a button or softkey (like WMguy post) and still be able to get it with the 4 columns display instead of only 3, which is what happens if you do it with folderview.exe
How do you name / rename folders on the homescreen folders ?
I hold down on the screen - select folder - and it just says folder
how do i rename it? i.e. to like Games, or Notes, etc
press the folder so it is large. THen press and hold the top of the folder where the title "folder" is. rename thing pops up.
1 - Open the folder.
2 - Long press the title bar.
3 - Editor shows up!
Hi,
Here's a theme for Wisbar Advance Desktop which is inspired by HTC Touchflo/Sense.
There are 6 pages:
Home
Features clock/weather info/upcoming appointments/togglers for Bluetooth Wifi and Volume profiles
Contacts
All contacts button launches contacts (not surprisingly!!)
Favourite contacts button opens a dock, which you can add your own favourite contacts to. Tap the dock to hide it again.
SMS
Previews SMS in your inbox.
Features buttons to refresh (reload latest SMS), skip forwards/backwards through your messages and reply to a message.
Email
Same as SMS page, but for email. Currently this is configured for Google Mail accounts, but this can be amended.
Web
Contains Shortcuts for different browsers - currently Internet Explorer and Opera (script opens Opera Mini 5, if you have any other version of Opera installed, edit the script to launch that instead).
Favourites
Blank page for you to add your own shortcuts to.
Switch pages by swiping left/right, or jump to a page by tapping the icons at the bottom of the screen.
The taskbar displays:
Signal strength and network name
Unread SMS icon
Wifi on icon
Bluetooth on icon
Volume profile
Battery meter
To install:
Extract the contents of the attachment and:
Install Mortscript cab.
Create a new folder on Storage Card and place all folders (except 'HTC theme') into it.
Install WiFi toggler cab and set the script for the wifi switch on the home page to launch this program.
Set the script for the Bluetooth switch on the home page to launch 'ToggleBTh' (this is in the 'Bluetooth Toggler' folder and is an executable file - does not need to be installed).
Place the 'HTC theme' folder into Program Files/Lakeridge/Wisbar Advance Desktop/Themes (on phone or storage card memory - make sure this is the same memory which you have installed WAD to)
Tap and hold screen in WAD>>change theme>>(press menu and scan for themes if this theme is not listed)>>tap HTC theme>>press menu and select set as portrait theme>>tap apply.
Enter WAD settings menu>>weather>>large icon set>>change directory to Weather Icons/Large (in the folder you created on your storage card).
Copy the contents of the 'Fonts' folder to Windows/Fonts.
Open the 'Msg_preview' folder,
Copy the 'Message2Reg' folder to Program Files (on phone memory)
Copy the 'Messages' folder to Windows/Start Menu/Programs.
That should be it!!!
Enjoy!
As always, all feedback is welcome
Regards,
wildcardspv
wildcardspv said:
Hi,
Here's a theme for Wisbar Advance Desktop which is inspired by HTC Touchflo/Sense.
There are 6 pages:
Home
Features clock/weather info/upcoming appointments/togglers for Bluetooth Wifi and Volume profiles
Contacts
All contacts button launches contacts (not surprisingly!!)
Favourite contacts button opens a dock, which you can add your own favourite contacts to. Tap the dock to hide it again.
SMS
Previews SMS in your inbox.
Features buttons to refresh (reload latest SMS), skip forwards/backwards through your messages and reply to a message.
Email
Same as SMS page, but for email. Currently this is configured for Google Mail accounts, but this can be amended.
Web
Contains Shortcuts for different browsers - currently Internet Explorer and Opera (script opens Opera Mini 5, if you have any other version of Opera installed, edit the script to launch that instead).
Favourites
Blank page for you to add your own shortcuts to.
Switch pages by swiping left/right, or jump to a page by tapping the icons at the bottom of the screen.
The taskbar displays:
Signal strength and network name
Unread SMS icon
Wifi on icon
Bluetooth on icon
Volume profile
Battery meter
To install:
Extract the contents of the attachment and:
Install Mortscript cab.
Create a new folder on Storage Card and place all folders (except 'HTC theme') into it.
Install WiFi toggler cab and set the script for the wifi switch on the home page to launch this program.
Set the script for the Bluetooth switch on the home page to launch 'ToggleBTh' (this is in the 'Bluetooth Toggler' folder and is an executable file - does not need to be installed).
Place the 'HTC theme' folder into Program Files/Lakeridge/Wisbar Advance Desktop/Themes (on phone or storage card memory - make sure this is the same memory which you have installed WAD to)
Tap and hold screen in WAD>>change theme>>(press menu and scan for themes if this theme is not listed)>>tap HTC theme>>press menu and select set as portrait theme>>tap apply.
Enter WAD settings menu>>weather>>large icon set>>change directory to Weather Icons/Large (in the folder you created on your storage card).
Copy the contents of the 'Fonts' folder to Windows/Fonts.
Open the 'Msg_preview' folder,
Copy the 'Message2Reg' folder to Program Files (on phone memory)
Copy the 'Messages' folder to Windows/Start Menu/Programs.
That should be it!!!
Enjoy!
As always, all feedback is welcome
Regards,
wildcardspv
Click to expand...
Click to collapse
Where is d attachement?????
Context: AutoInput is a great plug-in, but it does not work on all devices. You can send a link to a dynamic map with your location to a contact through text. (ROOT required)
REQUIREMENTS:
1. GLYMPSE
2. ROOT
Foreplay:
1. Launch Glympse and send your location to anyone you want. Choose the time you want the map to show your location.
2. Go to Settings\ Dev Options and check Pointer Location ( some coordinates will appear over the status bar)
3. Go back to Glympse , long- press and write down the Xd and Yd numbers of the coordinates for each step:
a) Long-press the menu icon and write down the numbers.
b)Long-press History and write down the numbers.
c) Do the same for the resend button of the contact you want.
d) Do the same for the send icon at the top right.
Task
1.Open Task and name it Send a Glymse to 'contact'.
2. Say \ Sending your location to "contact".
3.Launch App\ Glympse.
4.Run shell \ Command: input tap 'Xda Yda' (these are the numbers you wrote down in a). Check use root.
5 Wait 1 sec
6. Run hell\ Command: input tap 'Xdb Ydb' . Use root.
6. Wait 1 sec.
7. Run shell \ Command: input tap' Xdc Ydc'. Use root.
8. Wait 1 sec.
9. Run shell \ Command: input tap 'Xdd Ydd'. Use root.
Make sure you wrote everything right.
Possible triggers for this task:
1. AutoVoice command
2. Text, Whatsapp or any messenger app ( using Touchless Chat plug-in) from a specific contact.
3. Auto Location ( geofence or other trigger)
4. Anything you can figure out.
Using the same logic, you can mess with any app. In other thread we will see how to automatically turn on your TV and cast your YouTube playlist without AutoInput.
AUTOMATE MY LIFE
A LIST OF AUTOMATION SCRIPTS AND PROGRAMS THAT WILL AUTOMATE YOUR EVERYDAY LIFE.
MOST BUT NOT ALL OF THESE TUTORIALS REQUIRE TASKER AND A PLUGIN OF SOME SORT.
WINDOWS TUTORIALS CAN BE FOUND IN THE FIRST POST.
LINUX TUTORIALS CAN BE FOUND IN THE SECOND POST.
GENERAL TUTORIALS CAN BE FOUND IN BOTH POSTS.
THERE WILL BE SOME TASKS THAT ARE ONLY LISTED ON WINDOWS AND SOME TASKS THAT ARE ONLY ONLY LISTED ON LINUX, THIS DOES NOT MEAN IT IS NOT POSSIBLE TO PERFORM THEM ON OTHER PLATFORMS IT JUST MEANS I AM UNSURE OF HOW TO GET THEM TO WORK.
WINDOWS
Automatically Turn On Your Computer on a Schedule
Over View
This task is reasonable easy to set up, It will allow you to turn on your home or work pc on a schedule. In this case we are turning on our computer as soon as we unplug our device from the charger.
Requirements
Tasker
Wol Wake on Lan Wan
Setup
Before we get into creating our task we first need to set up the Wol Wake on Lan Wan application
Enable Wake on Lan
On the computer go to Control Panel>Network and Internet>Network and Sharing Center
Click on Change Adapter settings
Right Click on Ethernet and go to properties
Click Configure and then click the Advanced tab
Find Wake on Magic Packet and Change the Value to Enabled
Find Your Mac Address
Open Command Prompt
type "ipconfig /all"
under Ethernet adapter find physical address(00-11-22-33-44-55)
Remember It or write it down
Setup Wol Wake on Lan Wan
Open Wol Wake on Lan Wan
Press Add New
Under Name Call It Anything
Under Mac Enter your mac address as in ipconfig
Under SecureOn Leave As Is
Under IP or Domain Enter your Default Gateway also found in ipconfig
Under Port Leave as is
Check Send as Broadcast
The Rest is fine as default
Press Save
Create The Task
Open Tasker
Press the TASKS Tab
Press The +
Give The Task A Name Like Switch on Home PC
Press The +
Press Plugin
Press WoL Wake On Lan
Press the configuration pencil
Select the name you chose when setting up Wol Wake on Lan
Press the back button twice to save changes to configuration and task
Create The Profile
Press the profiles tab
Press the + Button to add a new profile
Select State
Select Power
Select Power
Select Source Any
press back to save
select the task we created
long press on the task and press move to exit
LINUX
Notify Me When Detecting Movement In My House
Overview
We will use simplecv as a security camera to detect motion in our house. it will then send a notification to our phone alerting us that someone is inside.
Requirements
SimpleCV
WebCam or IP Camera
Tasker
Autoremote
Setup
Install SimpleCV
Thanks To Tinkernut for this tutorial
Open Terminal and Type
Code:
sudo apt-get update
sudo apt-get install ipython python-opencv python-scipy python-numpy python-setuptools
sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master
sudo pip install pyparsing svgwrite
simplecv
Setting Up The Script
Make a new python file called camera.py
Code:
sudo nano camera.py
and paste this code
Code:
'''THIS IS A MOTION DETECTING PROGRAM FOR THE RASPBERRY PI
It is part of a tutorial series that you can find here:
https://www.youtube.com/playlist?list=PLlg8lN4r9qWiDzF13lJY-lGtiTFHHGcpx
Running this program requires installing SimpleCV as well as
a few other prerequisits on your pi. You can find detailed
instructions for how to do that here:
http://tinkernut.com/YtQH9
The script was slightly modified by slipsystem to send a autoremote command
'''
#!/usr/bin/python
#import the SimpleCV, shutil and urllib libraries
from SimpleCV import *
import shutil
import urllib
#set autoremote variables
#key taken from http://goo.gl/xxxxx
autoremotekey = ""
#message to send autoremote
autoremotemessage = "Motion Detected"
#initialize the camera
cam = Camera()
#set the max display size
display = Display((800,600))
#create a threshold variable to change motion sensitivity
threshold = 0.5
#get the date for saving images
datestr = time.strftime("%Y%m%d")
#set a streaming variable to stream webcam online
streaming = JpegStreamer("0.0.0.0:1212")
#create destination directorie for the pictures
dst = "pic/%s" % (datestr) #destination directory for images
#if the picture directories don't exist, create them
if not os.path.exists(dst):
os.makedirs(dst)
#create a loop that constantly grabs new images from the webcam
while True:
#set a time variable that updates with the loop
current_time = time.time()
#grab an image still from the camera and convert it to grayscale
img01 = cam.getImage().toGray()
#wait half a second
time.sleep(0.05)
#grab an unedited still to use as our original image
original = cam.getImage()
#set webcam image
original.save(streaming)
#grab another image still from the camera and conver it to grayscale
img02 = cam.getImage().toGray()
#subract the images from each other, binarize and inver the colors
diff = (img01 - img02).binarize(50).invert()
#dump all the values into a Numpy matrix and extract the mean avg
matrix = diff.getNumpy()
mean = matrix.mean()
#find and highlight the objects within the image
blobs = diff.findBlobs()
#if the mean is greater than our threshold variable, then look for objects
if mean >= threshold:
#check to see if any objects were detected
if blobs:
#find the central point of each object
#and draw a red circle around it
for b in blobs:
try:
loc = (b.x,b.y) #locates center of object
original.drawCircle(loc,b.radius(),Color.RED,2)
except:
e = sys.exc_info()[0]
#use the current date to create a unique file name
timestr = time.strftime("%H%M%S")
#initialize the counter variable
i = 1
#check to see if the filename already exists
while os.path.exists("pic/motion%s-%s.png" % (timestr, i)):
#if it does, add one to the filename and try again
i += 1
#once a unique filename has been found, save the image
original.save(dst + "/motion%s-%s.png" % (timestr, i))
#print results to terminal
print("Motion Detected")
f = urllib.urlopen("https://autoremotejoaomgcd.appspot.com/sendmessage?key=" + autoremotekey + "&message=" + autoremotemessage)
print("Message Send " + f.read())
open autoremote and follow your link (goo.gl/xxxx)
once you have opened the link you will notice the url say something like key=xxxxx
paste the key inside autoremotekey = ""
save the script by typing ctrl+x
run the python script by typing
Code:
python camera.py
now your camera server should be running ,if you move in front of the camera you should see a output of motion detected
Create The Task
The Task can be whatever you want to run when the camera detects motion in my case I have it play your dongeon is under attack then open the camera viewer. but for the purpose of this tutorial we are going to make it just open the camera.
Open Tasker
Press the TASKS Tab
Press The +
Give The Task A Name Like Camera
Press The +
Click Net
Click Browse URL
Enter the Ip address of your computer(ifconfig) followed by :1212 (192.168.1.12:1212)
Press the back button to save
Press the +
Press Task
Press Wait
adjust the slider to one minute so we don’t get bombarded with messages
press back twice to save configuration and task
Create The Profile
Press the profiles tab
Press the + Button to add a new profile
Select State
Select Plugin
Select Autoremote
Press the Configuration pencil
Check Event Behavior
Message Filter type Motion Detected
press back twice to save
click the newly created task