Posts

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. Switch it off using the toggle.

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 speed is 4Mbps in 2015 i

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 Fix ( at your know ri