Posts

(Sinhala) How TO Use Visual Studio 2015 With Oracle Database Video

Image
In this 3 videos i will show how to use Visual Studio 2015 with Oracle Database and do the basic functions such as Add, Edit, Delete and View.

How To - Creating An Auto SQL Query Class In Java

This class was developed to eliminate the need to type SQL statements, in any java application where databases are used.  This class needs 'AutoDBConnect' class to work properly. it will able to add, edit and delete images from a DB.

How To - Creating A Textbox ( jTextbox) Validation Class In Java

This class was developed to be used in a java windows form application to validated jtextboxes easily. 1. Add the class to project 2. Create an object 3. use appropriate method with your parameters eg;- AutoValidation validation =new AutoValidation(); validation.ValidationCheck(CustomerId, true,0,'@'); so here CustomerID is jTextbox and true is to check if it's empty and 0 means no length check and @ is a special character so you can input number and alphabetic. Read class comments for more information Download Source Code

How To - Create a Database Connection Class in Java (MySQL)

This was created when i was doing a project and was creating lot of database connections and i final spend my time to create a proper class to be used by other class of my projects. special attention was given to the variable creation. so that same could be used all over the project and to make standardized the code as possible. also to reduce the amount of memory used. You can use the methods in this class to execute or get a resultset just insert the SQL query in a String format Warning- this class returns a resultset this could lead to memory leak so better to close connection which are created. Download Source Code

Wi-Fi problems with iOS 9 – iOS 9.3.1? Here’s how to fix it

iOS 9 – iOS 9.3.1 come with ton of new features and improvements, but sadly, likely any other major iOS software update, it comes with its own sets of problems. One of the issues people are facing after updating their iPhone or iPad to iOS 9 – iOS 9.3.1 is Wi-Fi connectivity problems. Disable  Assisted   Wi-Fi Networking Services Recently after updating my iPhone wifi was working but at once it stared not to work i can connect to wifi signal is high but internet is not working properly sometimes rarely some times it works. cellular internet works, it automatically disconnects and connect to cellular even when wifi is enable and signal is full.  FIX  Disable Wifi assist 1. Go into ‘Settings’ from your home screen 2. Click on ‘Mobile Data’ (Or ‘Cellular’ if you’re in the US) 3. Scroll right down to the bottom, and underneath your apps you’ll find the ‘WiFi Assist’ setting. S...

Best Internet Connection In Sri Lanka For a Youth (2015 April)

Image
Definition of youth = downloading  movies, watch music video , TV shows , you tube and tonne of web browsing. (Minimum 100GB per month)  First internet connection i ever had was SLT prepaid dial up connection. Now in 2015 the internet has change, people has change(market) and also sri lankan ISP has change. * LankaBell 4G is connection fee of  7500, monthly rental of 1350 with out tax for 35GB @(speed 4Mbps downlaod & 1Mbps. Also you can get Unlimited connection but at very slow speed. *I Tested Mobitel,Etisalat,Airtel  but not include in the review because it was a waste of time and those packages does not make sense for any human or animal to use.  So here is what is the best for you... Dialog 4G SLT-ADSL Dialog Prepaid Time-base # CHEAPEST INTERNET CONNECTION PER GB (DOWNLOADING) WINNER = #Dialog prepaid I test all other isp but non of then were unlimited, they had rental (commitment) except Lankbell But the ...

Fix:Nexus 7 (2012) Slow charge issue

Image
Introduction   Was using original Asus cable and Charger. So the problem started after a bout 6 month, went i notice take it takes a while to charge the nexus 7. normally it takes about 4 hours to full charge but sometimes after 24 hour of charging it is only showing about 20% increase i charge. the issue was not permanent, every few weeks i get it. So few days ago i got the same problem but now it was kind of permanent after few days the tab was having the same issue i tried different charges and cables.  But the issue was not fixed. Troubleshooting So i measured the current tab was taking and found out it was only charging at 7milliamps. and the nexus is showing in the display as charging so the problem is software or battery management or battery charging circuit. so i change the firmware but still had the same issue.  So at 5 v charging it was taking in .26A of current or at 5.3v charging current it takes in .45A ...

How to setup a wifi router properly (Hacking Resistance)

Image
I have seen many WiFi location everywhere, most of they are having some kind of password  but now  days if your home router is hacked all your personal information and even data in your hard drive could be accessed even by an unskilled hacker. If you are using WiFi connection, Hacking is very easy because no physical connection is required. So if you get SSL certificate error be careful, always check router first, if your getting an error.. Never skip those errors. I never liked WiFi but in the current time you have to use it..  So I  recently bought a nexus 7 and a portable 3G router.,  so when I am traveling I could just carry it me. One headache was how to configure it and I want everyone not know even I had a WiFi connection.

Line following and pick & place robot

Image
This was one of   projects on our. The objective of this robot is to follow a line and when it find the box on the line it should pick-it-up and then it finds the mark on the track it should drop it.

My line following robot

Image
My first line following robot was made using servo and IR sensors, WHICH NEVER worked because of my bad design.. But i learned a lot from it and then my second line following robot  was designed. it was designed for a project  ... Coding file

Assembling TechDuino KIT

Image
i always see these arduino projects on the internet and wanted to try the stuff. But unfortunately it is very  expensive in sri-lanka, so planed to  but one from E-bay which will cost around rs3000. Then i recently found a tech podcast which is done by some sri-lankans called techkata.  They were manufacturing arduino clones for around rs1300 with the usb to serial convert. so i bought the kit and did video record  assembling the kit. But some how  i have  accidently  deleted the video. And i am  only able to show pictures of the assembled broad.  i planning to do lot of project in the future with it like a digital clock ,automatic water pump  control and monitor system and many more. Buy an TECHDUINO-http://shop.techkatha.com/ from the above link you can visit the website and order one

Solidworks designing CPU water block

Image

Few Rc airplanes i'm working on....

Image
These plans were downloaded from RCpowers.com