Posts

Setting up an Android development environment in a nutshell

If you want to begin developing for the android platform - which components will you need to install? In a nutshell: Install latest JDK http://www.oracle.com/technetwork/java/javase/downloads/index.html Install the latest eclipse IDE "Eclipse IDE for Java Developers" http://www.eclipse.org/downloads/ Install the latest Android SDK http://developer.android.com/sdk/index.html Run the SDK manager after installation and install all of the packages you might need (retain default packages and add additional ones if need be). Install latest ADT (eclipse android plugin) Run eclipse, choose help --> Install new software https://dl-ssl.google.com/android/eclipse/ Configure eclipse and point it to the JDK and to the android SDK. Have a nice android day   :-) Avi.

SCummVM for Android

THIS ARTICLE ISN'T LONG! -- First section = 3 terms related to this topic briefly explained -- Second section = Main article - how to install SCummVM on your android (even new androids) -- Last section = UNIMPORTANT, feel free to skip it, it's only a list of games compatible with your android after installing SCummVM ----------------------------------------------------------------- SCummVM - Lucasarts' gaming engine used for their good old games / quests like Maniac Mansion, Indiana Jones, Monkey Island etc. AGI - Sierra's first gaming engine used for their good old quests like King's Quest, Larry quests, Police quests, Space quests. SCI - Sierra's second gaming engine used for their newer games (since about 1990), the quests programmed with this engine didn't need the text parser but used the mouse for every action needed during the game. If you have an Android machine (cell phone, tablet) and want to play any game which u...

Free SVN

I have these small java projects I like to work on. Mostly I work on them from home, but from time to time I like to work on them using my laptop or if I have an idea while working on other projects, I want to add a feature on work. The problem is that the source code is at my house on my main computer, so if I want to work on the code elsewhere, I send the code to myself using my gmail, work on it whereever I want and reupload the code to my main computer. Well, that is a pain in the ... neck. So I got to the conclusion I must use some sort of version control. I picked SVN, because that's what we have at work, then installed a SVN server at my house, got a static IP (using dyn-dns) and used my SVN for my java projects. It worked. But it's not the best way working those things out. First of all, my computer isn't on 24\7 Second - my home computer isn't 100% secured as expected from regular servers. Third - My computer may crash at any time - then wh...

Best free FTP program

There is no debate, if you need a good and free FTP program just run and download filezilla, and don't let anyone else tell you otherwise. But what will you do when filezilla fails you? Which program will you use? It seems that most free FTP programs are shitty (sorry for the word - but they really are), but if filezilla isn't a solution try the following next 2 best options (which are reasonable enough even though they are under filezilla's league): * CoreFTP (the free version) * LeechFTP If you have any other (better?) free ftp program, please add it in the comments.

King Quest Remakes

So you want to be king. If you ever have that nostalgic mood and want to jump and play those good old king quest games, there is no need for a dosbox and the old text parsing games. King Quests 1-4 have beautiful remakes with improved plots and a much better point and click interface. Who created them? - fans. Where can you find them? It appears that three different groups had taken on themselves to remake the quests. King Quest 1 & 2 were remade by AGDInteractive King Quest 3 was remade by infamous adventures King Quest 4 is being remaked by Magic Mirror Games

Iterate over your whole DB using hibernate

In this post I'll assume you already have your hibernate object corresponding to your DB schema. What will we try to achieve here? I will iterate all of the DB using hibernate objects, and here is a little java program which will attempt to achieve just that: import org.hibernate.cfg.AnnotationConfiguration; import org.hibernate.HibernateException; import org.hibernate.SessionFactory; import org.hibernate.Session; import org.hibernate.Query; import org.hibernate.metadata.ClassMetadata; import java.util.Map; /** * Created by IntelliJ IDEA. * User: avih * Date: May 11, 2010 * Time: 7:43:37 AM */ public class Main { private static final SessionFactory ourSessionFactory; static { try { ourSessionFactory = new AnnotationConfiguration(). configure("hibernate.cfg.xml"). buildSessionFactory(); } catch (Throwable ex) { throw new ExceptionInInitializerError(ex); } } ...

The perfect PHP coding environment

Q: Which tools should one use in order to have the perfect PHP coding environment? A: 1. Download XAMPP which contains Apache web server + php + perl + Mysql and much more. http://www.apachefriends.org/en/xampp-windows.html 2. Download eclipse PDT (php IDE). http://www.eclipse.org/pdt/ 3. Install & configure a debugger for PHP (most recommended is Zend's debugger). http://www.eclipse.org/pdt/articles/debugger/os-php-eclipse-pdt-debug-pdf.pdf 4. Install fiddler - a great web debugging proxy. http://www.fiddler2.com/fiddler2/ 5. Install wireshark if you have an external component (like an exrternal DB) and you want to sniff the traffic. http://www.wireshark.org/ 6. Configure your fiddler to catch traffic in your localhost (If your DB is internal). http://blogs.microsoft.co.il/blogs/shair/archive/2008/12/15/how-to-use-fiddler-on-localhost.aspx That's it, You've got the tools, Now it's all about you...