Android Code to Upload & Download large files to server

Java/android code to manage file upload & download /** * This Class has functions to upload & download large files from server. * @author Vikrant */ import java.io.BufferedInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URISyntaxException; import java.net.URL; public class fileUploadDownload { /** * @param args * …

SQL Joins

SQL Joins SQL joins are used to query data from two or more tables, based on a relationship between certain columns in these tables. The JOIN keyword is used in an SQL statement to query data from two or more tables, based on a relationship between certain columns in these tables. Tables in a database …

The Future Isn’t About Mobile; It’s About Mobility

Mobility is Lean Back – Lean Forward – Lean Free Mobility is radically different from the stationary “desktop” experience. Mobility is a “lean back” experience like sitting on a commuter train watching a video. In other cases it can be “lean forward” — like shopping for a gift while you take your lunch break at …

Building Mobile Web Apps – Tips and Techniques

Building Mobile Web Apps the Right Way: Tips and Techniques   Mobile web apps are useful alternatives to native apps for mobile devices. These days, Android-based products and iOS devices like the iPhone and iPad all come packed with fantastic mobile browsers (Mobile Chrome and Mobile Safari respectively), and Opera fans can install their preferred …

How to Install GD Library and ImageMagick on Linux server?

Most scripting language is mostly used to manipulate and create image files in various different image formats including GIF, PNG, JPEG, etc. with the help of GD. Also scripting language can output image streams directly to a browser. ImageMagick is an open source software suite for displaying, converting, and editing raster image files. If you …

How to execute PHP code in a HTML file?

If you want to run PHP code in .html extention file Then Follow following procedures. 1. Write Following code in the .htaccess file ——————————————— RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html —————————————————– 2. Upload it to your server (to your WWW root) where your .html files are located 3. and write <?php echo “hello”; …

How to add Apache HTTP Authentication with .htaccess file

Write Following code in .htaccess file and save it into the folder which you want to authonticate. Change the path (In red) and enter the Folder path which you want to authenticate. —————————————————————— AuthUserFile /mnt/web/guide/somewhere/somepath/.htpasswd AuthGroupFile /dev/null AuthName “Somewhere.com’s Secret Section” AuthType Basic require valid-user require valid-user ——————————————————————– To create an .htpasswd file, login to …

QueryString in .htaccess – Match Question Mark in rewrite rule

I am changing my development structure to have rewrite urls for fuse/action and I thought it’s cool if I represent all URLs like google ( http://www.google.co.in/search?hl=en&client=firefox-a) so http://mysite.com?index.php?action=search&q=vikrant should look like http://mysite.com/search?q=vikrant for this purpose I have first tried a simple rule to match anything after “/”. RewriteEngine On RewriteRule ^(.*)$ index.php?action=$1 [L] but when …

ZEALOUS

Cuelogic is announcing a technology competition “Zealous” for all its programmers. Cuelogic programmers are building their own technology ideas using below technology platforms. Zealous is the saga of technology, it is a journey towards achieving the excellent innovation by using technology & logic. This year Cuelogic has started in-house technical saga to fulfill its Cues’ …

Working with ISO8583 Message

iso8583 lib written in Java – (GitHub Repository) iso8583-Java – iso8583 Message Pack & Unpack lib for Java. Works well with Android via: github.com What is ISO8583? ISO 8583 – Wikipedia, the free encyclopedia ISO 8583 Financial transaction card originated messages — Interchange message specifications is the International Organization for Standardization standard for systems that …

The History Of Usability: From Simplicity To Complexity

The History Of Usability: From Simplicity To Complexity | Smashing UX Design The story of usability is a perverse journey from simplicity to complexity. That’s right, from simplicity to complexity—not the other way around. via:uxdesign.smashingmagazine.com If you want an answer to the question of “what is usability?”, it’s just as complicated as asking “what is …

Page 15 of 16First...5...1213141516