First of all a short description of what’s phonegap:
PhoneGap is an open source implementation of open standards. That means developers and companies can use PhoneGap for mobile applications that are free, commercial, open source, or any combination of these.
During this blog I’ll be showing mostly the main things you should be knowing when you start working with PhoneGap.
So what I’ll be talking about will be:
- Importing some of the libraries that you will need…
- How to make your application go Full Screen in Phonegap
- How to add a Splash Screen and give it a (delay time)
- How to create a basic menu with quit and reload function.
- How to change the application icon instead of the default android one.
- Where to put some specific lines for the code to work properly.
- Make app compatible with older versions of Android.
OK, first of all you have to set up your environment for android developement as you have to follow the guide provided from phonegap here. Continue reading “Getting started with PhoneGap for Android”
I was struggling to find the way to enable email notifications in Open Atrium because they just didn’t work after the install and finally I found out the way that works, no need for SMTP or any other module.
Only 2 steps:
1. Install/Enable PHPmailer.
2. Enable “Immediate” notification on the admin settings page
1. Steps to install PHPMailer
If you are using php5 then take this source and extract it inside:
and make sure you save the extracted folder name like: “PHPMailer” (case sensitive)
Go to Admin > Site building > Modules and enable “Messaging PHPMailer” module.
2. Steps to enable the notifications
Go to Admin > Messaging and Notifications > Notifications Settings and tick/enable “Immediate sending” and Save Configuration.
After I did an upgrade gimp was automatically removed and then I couldn’t install it.
Every time I tried it showed me the error below..
It took me a while to find where is the problem and fix it, so here is what I did.
This is the error that showed when I tried to install gimp:
$ sudo apt-get install gimp
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gimp : Depends: libglib2.0-0 (>= 2.31.2) but 2.30.0-0ubuntu4 is to be installed
E: Unable to correct problems, you have held broken packages.
Then I did a:
$ apt-cache policy gimp
500 http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu/ oneiric/main amd64 Packages
500 http://al.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
After that I saw that the problem stands at my PPA, (I actually added that months ago just to test some new features, I dont really remember)
What I did is, I removed my PPA from matthaeus123
(I just edited the files and commented the lines) Continue reading “gimp : Depends: libglib2.0-0 (>= 2.31.2) but 2.30.0-0ubuntu4 is to be installed”
I would just like to share these videos with you…
Help Anonymous with Operation Blackout to stop this!!
PLEASE Share this with everyone you know!! We need to unite against this madness and stop it!!! Continue reading “STOP SOPA and PIPA !”
Too many candidates in the campaigns promised an improvement of public transportation in Pristina, but so much was said and so little was done in this direction, and what the municipality failed to do, some teenagers did it.
Last week Within the next meeting of “UNICEF Innovations Lab Kosovo” me and my friend Gent Thaci got the chance to present our last project (still ongoing) called “Pristina Buses” which will enable all citizens of Kosovo to watch online all the bus lines of Prishtina, schedules of departures, prices etc.
Although the site is still under construction, it is worth mentioning that behind this lies a very good idea developed by our working group: Gent Thaci, Altin Ukshini, Lulzim Gashi, Giulia Martin, Daniela Bodnarova, Shkelqim Ahmeti, Ardian Haxha, Besfort Guri, and Ardi Hasimja (mainly FLOSSK members, experienced guys in IT), we developed something that Prishtina needed for years. Continue reading “Prishtina Buses project”
MeetBot is designed to assist in running meetings, taking notes, and so on. It is in pure python, as a plugin to supybot.
However, there is a clear distinction between meeting-code and IRC-code, so it should be relatively easy to port to other bots. It is under the supybot license (3-clause BSD).
MeetBot is designed to be simple, not complex. Features are great, but not so much that it becomes hard to use or unwieldy to maintain.
More about MeetBot visit the debian wiki page: http://wiki.debian.org/MeetBot
Meetbot Manual: http://meetbot.debian.net/Manual.html
Meeting notes after the debian meetings on IRC (example): http://meetbot.debian.net
MeetBot IRC channel on irc.oftc.net: #meetbot Continue reading “How to setup MeetBot”
Supybot, is an IRC (Internet Relay Chat) bot written in Python
This bot is just fantastic. It does everything you need from a IRC bot, and it’s very easy to use.
The bot would have to be able to take care of auto-opping and similar “traditional” channel duties and has factoid functionality similar to blootbot/infobot
So pretty much you can say that supybot is an all in one IRC bot.
Some information you will need about supybot:
– Supybot handbook: http://supybook.fealdia.org/
– Supybot source code: http://sourceforge.net/projects/supybot/
– Supybot IRC channel on freenode: #supybot Continue reading “How to install and setup Supybot”
Just a simple wallpaper/screensaver image I made and use…
Keep your little brother away 😛
Windows, Mac OS X, or Linux? That has been the age-old dilemma that is now gaining more and more attention as each operating system is progressing at a record pace. This summary will give you a comprehensive and thorough examination of each operating system, their advantages, disadvantages, and a final summary of which one is better. Please note that all conclusions are self-drawn opinions that are supported by facts. However, it does not guarantee that these thoughts are truths. Continue reading “Windows vs. Mac OS X vs. Linux: The Operating System Battle”
To have your mailing actually send. We have to set up a cron job that will periodically poke CiviMail to send all of the mailings that are past their scheduled date.
Actually there are so many ways out there to do this thing, and probably are shorter, but I’ve built a script for my self to do that for me and is more clear to understand.
Note: The script works only with Drupal.
1. Create a file in /usr/local/bin/ called civicrmcron.sh
and add the following lines in it, edit the required fields and save it: Continue reading “CiviCRM, civimail cron job setup”