Active Topics

 



Notices


Reply
Thread Tools
Posts: 96 | Thanked: 51 times | Joined on Jul 2010 @ India
#51
Originally Posted by SPARTAN563 View Post
That is because there isn't an update yet... When there is one it will appear as an update and I will post it here. Wait patiently until that time
Hey, its been a while since I visited this thread. I was having my exams and was busy with it. Nice to see you've already come up with a UI. It looks promising. Take your time. Hope you'd add portrait mode support as its being part of almost every new app released nowadays. And QML is definitely the choice for a good looking UI. So how far is your work progressing? Waiting for an update.

Cheers!
 
SPARTAN563's Avatar
Posts: 92 | Thanked: 92 times | Joined on May 2011 @ Stellenbosch, South Africa
#52
Version 0.3.0 released
Just finished working on the UI and getting it more or less stable. There are a few small problems which still need to be fixed but for the most part it is usable.

New Features
  • A UI, obviously, all written in QML
  • Application Override files to allow specific applications to provide their own lock information. Useful for apps which require more than 1 DBus monitor.
  • Default overrides provided for Contacts, Phone and Terminal which make use of shortcuts or other functions that need monitoring.
  • Supports localisation information used in certain .desktop files (will support changing your language soon)
  • Phone is locked as soon as the UI is opened to prevent people from unlocking your apps...

Known Problems
  • Removing a DBus monitored application that has been locked takes some time (up to 20 seconds) during which time the UI is unresponsive.
  • Adding a DBus monitored application does not take effect until you click on the menu and choose "Refresh Daemon"
  • Substitution files are not used for command line adds just yet (Will be fixed in v0.3.1)

Creating AppOverride files
AppOverride files use a basic INI structure, they are formatted in the following way:
Code:
Name=App Name, if you want to override it, otherwise leave this out
DesktopFile=app.desktop
[DBus]
AppName_Shortcut=<dbus-monitor watch expression>
AppName_Keypress=<dbus-monitor watch expression>
AppName_somethingelse=<dbus-monitor watch expression>
[Bin]
AppName_EXE=/path/to/exe
AppName_EXE2=/path/to/second/exe
You can specify as many DBus monitors and paths as you like, though they should all have unique names.

DBus watch expressions can be read about in the DBus Documentation under "Matches", they are structured like this in general:
Code:
type='method_call',interface='com.nokia.CallUI',member='top_application'
Release Info
The autobuilder is not functioning at the moment, I will try again tomorrow morning and attempt to upload the package for building. Lets hope the problem is fixed soon

Intermediate Release
Since the problem with Autobuilder is still giving me hassles I have hosted the .deb on my website. You can download it
HERE
Attached Images
 
__________________
Sierra Softworks

Last edited by SPARTAN563; 2011-07-09 at 14:20.
 

The Following 6 Users Say Thank You to SPARTAN563 For This Useful Post:
Posts: 96 | Thanked: 51 times | Joined on Jul 2010 @ India
#53
Originally Posted by SPARTAN563 View Post
Version 0.3.0 released
Just finished working on the UI and getting it more or less stable. There are a few small problems which still need to be fixed but for the most part it is usable.

New Features
  • A UI, obviously, all written in QML
  • Application Override files to allow specific applications to provide their own lock information. Useful for apps which require more than 1 DBus monitor.
  • Default overrides provided for Contacts, Phone and Terminal which make use of shortcuts or other functions that need monitoring.
  • Supports localisation information used in certain .desktop files (will support changing your language soon)
  • Phone is locked as soon as the UI is opened to prevent people from unlocking your apps...

Known Problems
  • Removing a DBus monitored application that has been locked takes some time (up to 20 seconds) during which time the UI is unresponsive.
  • Adding a DBus monitored application does not take effect until you click on the menu and choose "Refresh Daemon"
  • Substitution files are not used for command line adds just yet (Will be fixed in v0.3.1)

Creating AppOverride files
AppOverride files use a basic INI structure, they are formatted in the following way:
Code:
Name=App Name, if you want to override it, otherwise leave this out
DesktopFile=app.desktop
[DBus]
AppName_Shortcut=<dbus-monitor watch expression>
AppName_Keypress=<dbus-monitor watch expression>
AppName_somethingelse=<dbus-monitor watch expression>
[Bin]
AppName_EXE=/path/to/exe
AppName_EXE2=/path/to/second/exe
You can specify as many DBus monitors and paths as you like, though they should all have unique names.

DBus watch expressions can be read about in the DBus Documentation under "Matches", they are structured like this in general:
Code:
type='method_call',interface='com.nokia.CallUI',member='top_application'
Release Info
The autobuilder is not functioning at the moment, I will try again tomorrow morning and attempt to upload the package for building. Lets hope the problem is fixed soon
Wow....eagerly waiting to test it....could you please host the file somewhere....I'm really looking forward to see that UI in action!
The wait seems so long!

Thanks a lot!!

Edit: Now that the Ui is completed, I suggest you update the frontpage by removing the commands and adding the UI screenshots instead considering the UI is capable of doing everything done via the command line.

cheers

Last edited by warhawk007; 2011-07-09 at 13:37.
 
SPARTAN563's Avatar
Posts: 92 | Thanked: 92 times | Joined on May 2011 @ Stellenbosch, South Africa
#54
Okay, temporary solution since the autobuilder is still not working: Download Here
__________________
Sierra Softworks
 
Posts: 89 | Thanked: 4 times | Joined on Jun 2010
#55
@Spartan
gr8!!! but wen i click the icon its opening and jus closing by itself.... so wen it will b ready
 
SPARTAN563's Avatar
Posts: 92 | Thanked: 92 times | Joined on May 2011 @ Stellenbosch, South Africa
#56
Hmm, I think that may be an issue caused by having a previous version installed. You can try fixing it by doing the following:
Code:
cd /usr/share/applications/hildon
sudo gainroot
nano AppLock.desktop
Change "Exec=*" to be:
Code:
Exec=/opt/applock/AppLock -ui
__________________
Sierra Softworks
 
cutehunk04's Avatar
Posts: 472 | Thanked: 195 times | Joined on Jun 2010 @ India, Mumbai
#57
here is the screenshot...there is no save option,...after changing the code what should i do ....

__________________
Knowledge is knowing a tomato is a fruit; Wisdom is not putting it in a fruit salad
 
SPARTAN563's Avatar
Posts: 92 | Thanked: 92 times | Joined on May 2011 @ Stellenbosch, South Africa
#58
Press "Ctrl+O", "Enter", "Ctrl+X"
__________________
Sierra Softworks
 
Posts: 89 | Thanked: 4 times | Joined on Jun 2010
#59
wen i type the first code in xterminal ..... i got dis

[rootNokia-N900:~]$ cd /usr/share/applications/hildon
[rootNokia-N900:/usr/share/applications/hildon]$ sudo gainroot
root is not in the sudoers file. This incident will be reported.
[rootNokia-N900:/usr/share/applications/hildon]$ nano AppLock.desktopBusyBox v1.18.5 (Debian 1.18.5power2) multi-call binary.

Usage: sendmail [OPTIONS] [RECIPIENT_EMAIL]...

Read email from stdin and send it

Standard options:
-t Read additional recipients from message body
-f sender Sender (required)
-o options Various options. -oi implied, others are ignored
-i -oi synonym. implied and ignored

Busybox specific options:
-w seconds Network timeout
-H 'PROG ARGS' Run connection helper
Examples:
-H 'exec openssl s_client -quiet -tls1 -starttls smtp
-connect smtp.gmail.com:25' <email.txt
[4<username_and_passwd.txt | -au<username> -ap<password>]
-H 'exec openssl s_client -quiet -tls1
-connect smtp.gmail.com:465' <email.txt
[4<username_and_passwd.txt | -au<username> -ap<password>]
-S server[ort] Server
-au<username> Username for AUTH LOGIN
-ap<password> Password for AUTH LOGIN
-am<method> Authentication method. Ignored. LOGIN is implied

Other options are silently ignored; -oi -t is implied
Use makemime applet to create message with attachments

and i was waiting and after sometime i press enter and one more line i got

bash: /usr/bin/nano: No such file or directory
 
Posts: 89 | Thanked: 4 times | Joined on Jun 2010
#60
and wen i edit the applock.desktop

the content i hav seen its something like dis

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=AppLock
Exec=/opt/applock/AppLock
Icon=AppLock
X-Window-Icon=AppLock
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable


wen i change exec= ....
Exec=/opt/applock/AppLock -ui
and wen i sav it says file is read only
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:57.