Java/android code to manage file upload & download
/**
* This Class has functions to upload & download large files from server.
* @author Vikrant <vikrant@cuelogic.co.in>
*/
import java.io.BufferedInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;icondownloadupload_876_73_l.jpg
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
public class fileUploadDownload {
/**
* @param args
* @throws URISyntaxException
* @throws IOException
*/
public static void main(String[] args) throws IOException, URISyntaxException {
uploadFileToServer("video.mp4","http://mysite.com/upload.php");
downloadFileFromServer("video.mp4","http://mysite.com/video.mp4");
}
/**
* This function upload the large file to server with other POST values.
* @param filename
* @param targetUrl
* @return
*/
public static String uploadFileToServer(String filename, String targetUrl) {
String response = "error";
HttpURLConnection connection = null;
DataOutputStream outputStream = null;
String pathToOurFile = filename;
String urlServer = targetUrl;
String lineEnd = "\r\n";
String twoHyphens = "--";
String boundary = "*****";
int bytesRead, bytesAvailable, bufferSize;
byte[] buffer;
int maxBufferSize = 1 * 1024;
try {
FileInputStream fileInputStream = new FileInputStream(new File(
pathToOurFile));
URL url = new URL(urlServer);
connection = (HttpURLConnection) url.openConnection();
// Allow Inputs & Outputs
connection.setDoInput(true);
connection.setDoOutput(true);
connection.setUseCaches(false);
connection.setChunkedStreamingMode(1024);
// Enable POST method
connection.setRequestMethod("POST");
connection.setRequestProperty("Connection", "Keep-Alive");
connection.setRequestProperty("Content-Type",
"multipart/form-data; boundary=" + boundary);
outputStream = new DataOutputStream(connection.getOutputStream());
outputStream.writeBytes(twoHyphens + boundary + lineEnd);
String token = "anyvalye";
outputStream.writeBytes("Content-Disposition: form-data; name=\"Token\"" + lineEnd);
outputStream.writeBytes("Content-Type: text/plain;charset=UTF-8" + lineEnd);
outputStream.writeBytes("Content-Length: " + token.length() + lineEnd);
outputStream.writeBytes(lineEnd);
outputStream.writeBytes(token + lineEnd);
outputStream.writeBytes(twoHyphens + boundary + lineEnd);
String taskId = "anyvalue";
outputStream.writeBytes("Content-Disposition: form-data; name=\"TaskID\"" + lineEnd);
outputStream.writeBytes("Content-Type: text/plain;charset=UTF-8" + lineEnd);
outputStream.writeBytes("Content-Length: " + taskId.length() + lineEnd);
outputStream.writeBytes(lineEnd);
outputStream.writeBytes(taskId + lineEnd);
outputStream.writeBytes(twoHyphens + boundary + lineEnd);
String connstr = null;
connstr = "Content-Disposition: form-data; name=\"UploadFile\";filename=\""
+ pathToOurFile + "\"" + lineEnd;
outputStream.writeBytes(connstr);
outputStream.writeBytes(lineEnd);
bytesAvailable = fileInputStream.available();
bufferSize = Math.min(bytesAvailable, maxBufferSize);
buffer = new byte[bufferSize];
// Read file
bytesRead = fileInputStream.read(buffer, 0, bufferSize);
System.out.println("Image length " + bytesAvailable + "");
try {
while (bytesRead > 0) {
try {
outputStream.write(buffer, 0, bufferSize);
} catch (OutOfMemoryError e) {
e.printStackTrace();
response = "outofmemoryerror";
return response;
}
bytesAvailable = fileInputStream.available();
bufferSize = Math.min(bytesAvailable, maxBufferSize);
bytesRead = fileInputStream.read(buffer, 0, bufferSize);
}
} catch (Exception e) {
e.printStackTrace();
response = "error";
return response;
}
outputStream.writeBytes(lineEnd);
outputStream.writeBytes(twoHyphens + boundary + twoHyphens
+ lineEnd);
// Responses from the server (code and message)
int serverResponseCode = connection.getResponseCode();
String serverResponseMessage = connection.getResponseMessage();
System.out.println("Server Response Code " + " " + serverResponseCode);
System.out.println("Server Response Message "+ serverResponseMessage);
if (serverResponseCode == 200) {
response = "true";
}else
{
response = "false";
}
fileInputStream.close();
outputStream.flush();
connection.getInputStream();
//for android InputStream is = connection.getInputStream();
java.io.InputStream is = connection.getInputStream();
int ch;
StringBuffer b = new StringBuffer();
while( ( ch = is.read() ) != -1 ){
b.append( (char)ch );
}
String responseString = b.toString();
System.out.println("response string is" + responseString); //Here is the actual output
outputStream.close();
outputStream = null;
} catch (Exception ex) {
// Exception handling
response = "error";
System.out.println("Send file Exception" + ex.getMessage() + "");
ex.printStackTrace();
}
return response;
}
/**
* This function download the large files from the server
* @param filename
* @param urlString
* @throws MalformedURLException
* @throws IOException
*/
public static void downloadFileFromServer(String filename, String urlString) throws MalformedURLException, IOException
{
BufferedInputStream in = null;
FileOutputStream fout = null;
try
{
URL url = new URL(urlString);
in = new BufferedInputStream(url.openStream());
fout = new FileOutputStream(filename);
byte data[] = new byte[1024];
int count;
while ((count = in.read(data, 0, 1024)) != -1)
{
fout.write(data, 0, count);
System.out.println(count);
}
}
finally
{
if (in != null)
in.close();
if (fout != null)
fout.close();
}
System.out.println("Done");
}
}


Related Reading
November 27, 2019 From conceptualization to deployment, the process of developing software applications or web applications is complex.…
Continue reading... November 19, 2019 “Currently, DevOps is more like a philosophical movement, not yet a precise collection of practices,…
Continue reading... November 15, 2019 So What Exactly Does DevOps Mean? DevOps is simply a process that contains deployment, maintenance,…
Continue reading... November 14, 2019 An Introduction to Node.js Never heard of Node.js? Node.js is an accessible asynchronous environment based…
Continue reading... November 5, 2019 Introduction Building real-world applications in the JavaScript language requires dynamic programming, where the size of the JavaScript…
Continue reading... October 24, 2019 The modern times make to get you involved with technology inevitably. The internet world has…
Continue reading... September 26, 2019 HTML, CSS and Javascript constitute the backbone of websites all over the internet. Javascript is…
Continue reading... September 16, 2019 Introduction In the present world, chaos engineering refers to the distributive form of experimentation across…
Continue reading... August 29, 2019 Visualizing big data signifies the visual representation of available information in the quantitative form like…
Continue reading... August 29, 2019 The world of programming languages is an ever-expanding one. Innovative technologies are regularly introduced to…
Continue reading... August 12, 2019 Rails 6 release date and features Rails 6 latest version rc2 has now released on…
Continue reading... June 24, 2019 Container orchestration is a commonly heard term in today’s IT landscape. Organizations are making the…
Continue reading... August 1, 2019 For the successful ideation and understanding of cloud analytic first, we need to know about…
Continue reading... July 1, 2019 DevOps is widely adopted as it has shortened the software and application development life cycle…
Continue reading... July 9, 2019 Kubernetes (K8s) originated as an open source platform to automate the deployment, management and scaling…
Continue reading... May 27, 2019 Microservices is the latest edition in the jargons of software applications. Software applications which had…
Continue reading... May 31, 2019 When industry leaders like Cloud Foundry Diego, Amazon ECS, HashiCorp’s Nomad, and Docker Swarm were…
Continue reading... May 21, 2019 Before we draw a comparison between Spark Streaming and Kafka Streaming and conclude which one…
Continue reading... May 14, 2019 Why is Node.Js becoming popular with Enterprises? Node.js is a JavaScript runtime environment for building…
Continue reading... May 14, 2019 Why Container Security? The domain of modern software development always remains subject to the pushes…
Continue reading... March 5, 2019 How can a combination of Data Lake and Hadoop power Analytics? Powering analytics through a…
Continue reading... February 21, 2019 It's important to approach the subject area of AI from the philosophy of design thinking.…
Continue reading... February 21, 2019 The ReactJS lifecycle is an extensive tool that can be used to design a memorable…
Continue reading... February 12, 2019 Healthcare Analytics : The talk of the town Healthcare analytics is a robust field that…
Continue reading... February 19, 2019 Anatomy of Python and Java Both languages offer something unique to the table. While they…
Continue reading... July 11, 2019 What Are Architectural Decisions and Why Are They Important? Architecture is defined as a set…
Continue reading... February 21, 2019 The growing reason for Python's popularity Python gives you many reasons to use it as…
Continue reading... March 14, 2019 "Great" Javascript Developers - A Rare Commodity? It’s becoming increasingly difficult to find the right…
Continue reading... June 19, 2019 With the rapidly changing business scenario and cut-throat competition, innovation has become the only way…
Continue reading... February 14, 2019 As we move towards a more automated future, the state of home assistants is becoming…
Continue reading... January 16, 2019 What is Istio Service Mesh? Istio service mesh provides several capabilities for traffic monitoring, access…
Continue reading... January 22, 2019 How has Azure become so popular in the Enterprise Space? Azure Cloud Services has not…
Continue reading... January 22, 2019 Systems that work heavily on coding applications are often overwrought with lines and paragraphs of…
Continue reading... January 7, 2019 What do companies like Amazon, Target, Esty, Netflix, Google and Walmart all have in common?…
Continue reading... June 19, 2019 Software outsourcing addresses the very common problem of wanting to develop an app but not…
Continue reading... December 27, 2018 The Anatomy of Continuous Integration Tools Some of the best continuous integration (CI) tools aren’t…
Continue reading... December 13, 2018 What is Azure Cosmos DB? Azure Cosmos DB is Microsoft’s latest multi-model database which can…
Continue reading... December 5, 2018 Hello there! In this blog, we will talk about insights to beacons and its integration…
Continue reading... November 20, 2018 Angular is a prevalent, broadly used client-side platform that has won millions of developer's hearts…
Continue reading... October 31, 2018 What is Jupyter Notebooks? It is an open-source web application that enables users to make…
Continue reading... January 29, 2019 Understanding Pub/Sub Most people use “Messaging” technology to get & send updates between the server…
Continue reading... May 21, 2019 With the introduction of full-scale devices, operating over different platforms has always been a challenge…
Continue reading... October 25, 2018 Containers have become quite popular in recent years. They help developers maintain consistency across various…
Continue reading... October 1, 2018 Kafka Streams is a customer library for preparing and investigating data put away in Kafka.…
Continue reading... August 7, 2018 Component Reusability Reusability is one of the most common and frequently used buzzword in software…
Continue reading... April 12, 2019 Software Development Outsourcing is a common occurrence nowadays to decrease the workload on your team…
Continue reading... May 16, 2019 As technology continues to grow by leaps and bounds, speed and flexibility have become vital…
Continue reading... April 12, 2019 In this world of technological advancement, every business is related to it in some of…
Continue reading... July 2, 2018 How to Publish app to google play Have you seen new updates in Google Play…
Continue reading... June 25, 2018 This step by step guide is a detailed documentation on Postman Tutorial for Automation. It…
Continue reading... June 5, 2018 As every year Apple Inc. is having its annual developer conference called WWDC (World Wide…
Continue reading... May 11, 2018 IoT and IoT platforms have set the world of internet abuzz. However before we dive…
Continue reading... February 9, 2018 The word GraphQL keeps popping up a lot around the web. It has been mentioned…
Continue reading... February 5, 2018 If you are a front-end web developer and just learning the ropes of full stack…
Continue reading... February 1, 2018 It was not a long time ago when developers were required to know everything about…
Continue reading... January 31, 2018 You want to scale up your organization, deploy software quickly, and ensure speedy deliveries but…
Continue reading... January 29, 2018 Imagine you write your code, wrap it up, and deliver it straight to your friend…
Continue reading... January 25, 2018 Whether you're a full-stack developer or a JavaScript newbie looking to learn new technologies, Node.JS…
Continue reading... January 22, 2018 Node.js and IoT working together The world is becoming digital and hyperconnected. This is the…
Continue reading... January 15, 2018 I work with startups at all stages of growth with few having got acquired as…
Continue reading... January 12, 2018 Software development practices these days not only skyrocket the efficiency of your organization but also…
Continue reading... January 6, 2018 The last couple of years have been crazy with the lot of innovation and buzz…
Continue reading... April 15, 2019 Cloud analytics refers to a service which helps to analyze the vivid evolution of cloud…
Continue reading... January 4, 2018 Angular Vs React vs Vue in 2018 There is no denying the fact that the…
Continue reading... January 3, 2018 Introducing javascript (Js) frameworks Undoubtedly, JavaScript’s (JS) popularity in the developer community has grown exponentially…
Continue reading... January 2, 2018 If we think about computing in the Cloud Computing age, our mind is quickly drawn…
Continue reading... December 13, 2017 Digital products keep developing at tremendous speeds with the landscape changing almost every year. 2018…
Continue reading... December 7, 2017 Large and Mid-size organizations today are trying to act like startups. They outsource software development…
Continue reading... December 4, 2017 Designing or developing any cloud-based application is not a simple straightforward process and always involve…
Continue reading... November 20, 2017 With the growing popularity of machine learning, artificial neural networks and other forms of artificial…
Continue reading... November 3, 2017 One of our existing client, who has outsourced software development to Cuelogic, needed to build…
Continue reading... September 27, 2017 If somebody asks you what is the biggest challenge facing your software engineering team right…
Continue reading... September 18, 2017 As everyone knows that mobile usage is growing drastically. Tons of new mobile applications are…
Continue reading... September 15, 2017 User experience, or UX, is one of the important segments of tech development that focuses…
Continue reading... September 12, 2017 Introduction In real-world scenarios, the applications grow. They grow in terms of data volume, users…
Continue reading... August 31, 2017 The most popular and widely used language for Android is undoubtedly Java. Java is very…
Continue reading... August 18, 2017 It's been a decade now since the "Blockchain" word has been introduced to the world.…
Continue reading... August 8, 2017 Selecting the right BI tool that the best fit for your organization is critical to…
Continue reading... June 21, 2017 Go or Golang is a open source programming language created at google by Robert Griesemer…
Continue reading... June 13, 2017 As enterprises strive to realize and identify the value in Big Data, many now seek…
Continue reading... May 24, 2017 This blog will help you understand, how we can introduce automation to our daily QA…
Continue reading... April 25, 2017 Few Quick Words about Color Theory “The best color in the world is the one…
Continue reading... April 4, 2017 There are numerous ways to secure data stored on an iOS device. Core Data is…
Continue reading... March 29, 2017 This blog elaborates, with an example, the process of creating and configuring the build variants…
Continue reading... May 21, 2019 So, you’ve heard all about the advantages of outsourcing, and you’ve finally decided to hop…
Continue reading... March 23, 2017 Forrester, the American market research company, defines customer experience as, "How customers perceive their interactions…
Continue reading... March 21, 2017 The Apple Watch will be two years old this year. At the time of writing,…
Continue reading... March 21, 2017 On 24th April, 2015, Apple released the Apple Watch Series 1. They followed it up…
Continue reading... January 27, 2017 As a developer, I always thought application deployment was another task that requires a checklist,…
Continue reading... January 25, 2017 MatrixSearch Engine provides powerful search options against any string, which makes it a precise medium…
Continue reading... January 25, 2017 The Levenshtein distance is a string metric for measuring difference between two sequences. Informally, the…
Continue reading... January 17, 2017 The Apple-introduced Swift programming language has become very popular among developers. Swift was quickly adopted…
Continue reading... January 16, 2017 How to Work with a Multi-Tenant Application Using Single Repository The first blog of this…
Continue reading... December 29, 2016 Single Github Repository vs Multiple Repositories This article is an outcome of our experience…
Continue reading... December 14, 2016 A few months ago, my team was working on building an application offering online coupon…
Continue reading... December 1, 2016 Deadlines are imperative in every organization. Deadlines push us to think how our goals will…
Continue reading... July 22, 2016 "Releasing a major version is like moving to a new place. This is what's going…
Continue reading... July 19, 2016 If you are choosing a JavaScript library purely based on popularity, I think you deserve…
Continue reading... July 8, 2016 "DevOps is a slightly misunderstood concept by many. For me DevOps is not a “new…
Continue reading... June 23, 2016 Python and Artificial Intelligence(AI) - How do they relate? Python is one of the most…
Continue reading... June 23, 2016 Building an image processing search engine is no easy task. There are several concepts, tools,…
Continue reading... June 13, 2016 The Apple Worldwide Developers Conference (WWDC) 2016 commenced today in San Francisco on June 13,…
Continue reading... June 13, 2016 "In JavaScript++, you do not need to add type annotations or provide the compiler with…
Continue reading... May 30, 2016 There is no doubt that IoT is here to stay. According to a 2016 survey*,…
Continue reading... May 18, 2016 JavaScript, since its first appearance in 1995, built its reputation as an ideal scripting language…
Continue reading... April 28, 2016 Cognitive Computing is the 3rd era of computing. Cognitive systems are complex information processing ones,…
Continue reading... April 20, 2016 “No one wants to have to install a new app for every business or service…
Continue reading... April 18, 2016 Over 60 Cuelogic developers converged into 16 teams to participate in a remarkable 24-hour…
Continue reading... April 14, 2016 “Data are just summaries of thousands of stories - tell a few of those stories…
Continue reading... April 11, 2016 ES6 is the 6th edition of ECMAScript, standardized in 2015. It brings many engrossing features…
Continue reading... March 31, 2016 “Instead of 10 copies of the OS, 10 copies of the DB, and 10 copies…
Continue reading... March 29, 2016 "AngularJS 1.x is built for current browsers while Angular 2.0 is being built for the…
Continue reading... February 29, 2016 Insurers able to leverage analytic technologies to make sense of the growing amount of internal…
Continue reading... February 16, 2016 “The greatest improvement in the productive power of labour, and the greatest part of the…
Continue reading... February 10, 2016 Meet John Edwards, the owner of a growing online business in Chicago. He is into…
Continue reading... January 28, 2016 If you have been into web development from the past few years, you must have…
Continue reading... December 16, 2015 Product development has always been an area of research/innovation for entrepreneurs. Innovators now are using…
Continue reading... December 8, 2015 This much is confirmed, at the time of writing this article, that MongoDB 3.2 will…
Continue reading... November 24, 2015 If there ever was a time for all you web developers and website owners (having…
Continue reading... November 10, 2015 Apart from the commonality that they are two popular JavaScript frameworks and a library respectively,…
Continue reading... October 21, 2015 Why, indeed? A new version release of any popular programming language is an exciting time for…
Continue reading... October 13, 2015 We don’t need an accurate document, we need a shared understanding. - Jeff Patton, Product…
Continue reading... September 16, 2015 The art and practice of visualizing data is becoming ever more important in bridging the…
Continue reading... September 3, 2015 EdX is now one of the largest massive online course providers (MOOC). Ever since the…
Continue reading... August 20, 2015 High level of user engagement and notification are vital for the long term success of…
Continue reading... August 13, 2015 Deep Linking is a methodology for launching a native mobile application via a link. It…
Continue reading... August 11, 2015 A JavaScript framework that is so light that many mistake it for a library, AngularJS…
Continue reading... August 4, 2015 A runtime environment for networking and server-side purposes, node.js has built a reputation as a…
Continue reading... July 28, 2015 Browserify is a good choice for AngularJs app, it helps you to get remove the…
Continue reading... July 15, 2015 There are many reasons why Python has had such recent success and why it seems…
Continue reading... July 7, 2015 MongoDB from Python: Accessing MongoDB from Python applications is easy and familiar to many Python…
Continue reading... July 1, 2015 Story reflect the complexity of the problem, and so, reflect the confidence of how accurate…
Continue reading... June 30, 2015 In the fickle world of programming, few languages have stood the test of time, technology…
Continue reading... June 24, 2015 Geolocation is the creativity of reckoning out where you are in the world & sharing…
Continue reading... June 17, 2015 For starters, Open edX is one of the forerunners of MOOC (massive open online course)…
Continue reading... June 15, 2015 Continuous Integration is a software development practice where continuous changes and updates in code base…
Continue reading... June 9, 2015 Technology plays a necessary, omnipresent role in every modern business venture. A CTO's role in…
Continue reading... June 9, 2015 Deploying ROR app with Ansible: Ansible is a lightweight, extensible solution for automating your application…
Continue reading... May 28, 2015 The few extraordinary organizations that succeed among startups share some common characteristics that enable them to…
Continue reading... May 26, 2015 Python is one of the most powerful and productive languages used by sites like Youtube &…
Continue reading... May 26, 2015 A well-executed product scalability model decides the fate of an application. Google is a prime…
Continue reading... May 13, 2015 Programmers or developers are the catalysts who drive a web or application-based startup. They are…
Continue reading... April 29, 2015 By the end of their first year in the market, about 25% of startups will…
Continue reading... April 15, 2015 Material Design is just the way how particular elements of the page are designed, behave…
Continue reading... April 7, 2015 "We don't build services to make money; we make money to build better services."- Mark…
Continue reading... April 7, 2015 With JavaScript popularity moving up, client side applications are getting much more complex than…
Continue reading... April 2, 2015 How do I hire someone to build a web application without letting the person steal…
Continue reading... March 25, 2015 Every computing language has its history, strong points and a framework around which it works.…
Continue reading... March 25, 2015 As DevOps culture is being adopted inside IT industries, so does the interest in automation…
Continue reading... March 16, 2015 Facebook technology stack consist of application written in many language, including PHP and many others.…
Continue reading... March 9, 2015 ECMAScript 6 is the next generation of JavaScript, aka ES6 or Harmony which is a…
Continue reading... February 26, 2015 It’s not a mystery that technology era is moving faster and the tools & means…
Continue reading... February 19, 2015 DevOps is an umbrella concept that smooths out the interaction between development and operations &…
Continue reading... February 17, 2015 "Why, sometimes I've believed as many as six impossible things before breakfast." - Through the…
Continue reading... February 11, 2015 Agile methodology is being adopted as an alternative to traditional way project management, document driven,…
Continue reading... January 29, 2015 Here, In general Interoperability points out to the ability of quick responders to work seamlessly…
Continue reading... January 15, 2015 Do you have an amazing idea for the next web application? Are you going to…
Continue reading... November 25, 2014 One of the widely used and most popular web development language; PHP is pleased with…
Continue reading... November 19, 2014 PHP is one of the programming languages which has emerged as the most powerful web…
Continue reading... November 6, 2014 GO is a modern day fresh programming language, which is targeted towards server side application…
Continue reading... October 29, 2014 Customization of the web app means connecting with the customer’s interest and accordingly generates qualified…
Continue reading... October 7, 2014 Real Time refers to a systems response time being the same as the real world…
Continue reading... September 30, 2014 Choosing a language for your web/mobile application depends on what you want to achieve from…
Continue reading... September 23, 2014 For non-technical background people; framework is a bunch of libraries, tools that do common task…
Continue reading... September 17, 2014 Without doubt, unit testing can significantly increase the quality of your project. Unit tests, by…
Continue reading... September 16, 2014 The main purpose of integrating Angular.js and ROR is making sure that everything fits together…
Continue reading... September 2, 2014 Good application is the one which provides easy accessibility to the user and good user…
Continue reading... August 27, 2014 What is Refactoring? Refactoring is no "Silver Bullet" but it is a valuable weapon which…
Continue reading... August 19, 2014 How this combination could put you in a win-win situation. Writing a rich modern web…
Continue reading... August 13, 2014 1. Node Is More Popular Than Ever: Only a few years later its launch Node.js…
Continue reading... August 4, 2014 When it comes to rapid and trouble free web development Ruby on Rails (RoR) is…
Continue reading... July 29, 2014 Are you looking for a light weight, efficient, scalable platform to provide services for applications?…
Continue reading... July 21, 2014 It has been quite a long time the data keepers have been honing up…
Continue reading... July 7, 2014 JavaScript is pretty popular nowadays. There are a variety of JavaScript frameworks for front-end like Angularjs…
Continue reading... April 22, 2014 Web applications have taken over a new face with the growing interactivity of man and…
Continue reading... April 15, 2014 With internet celebrating its silver anniversary, I must say we have really come a long…
Continue reading... April 9, 2014 Testing has always been the part of product development. Every single block of code needs…
Continue reading... April 7, 2014 The curtain riser of cloud based application came with a prologue of caveats. Based on…
Continue reading... April 3, 2014 When we test some sites, we might get SSL Certificate errors and it will be…
Continue reading... April 3, 2014 Automating the process of testing is, using a testing tool which will automatically perform tasks…
Continue reading... March 28, 2014 Very often we create separate branches for new feature or for issues, so that we…
Continue reading... March 27, 2014 Recently I had to use ubuntu system for project work, I got credentials (username/password) using…
Continue reading... March 25, 2014 As a web developer we often need to provide login functionality using Facebook, Linkedin ,…
Continue reading... March 20, 2014 Tumblr provide you facility to share post such as text message, photos, music etc on…
Continue reading... March 20, 2014 LinkedIn is one of the professional network. Number of users and companies are having their…
Continue reading... March 19, 2014 Testlink (Test Management Tool) Features of Testlink tool : Open source (free to use) test…
Continue reading... March 19, 2014 To know about Testlink and to install Testlink on your own machine; click on the…
Continue reading... March 19, 2014 “If you don’t care about quality, you can meet any other requirement.” – Gerald M. Weinberg…
Continue reading... March 19, 2014 Testlink (Test Management Tool) Testlink Tool Features: Open source (free to use) test management tool.…
Continue reading... March 17, 2014 Year 2038 problem The year 2038 problem may cause some computer software to fail at…
Continue reading... March 14, 2014 PhoneGap platform enables a developer to create an app that runs on a…
Continue reading... March 12, 2014 Building a search system? So how do you go about it? Rather how would you…
Continue reading... March 11, 2014 I assume that you already have setup of Unity3d and have the basic knowledge of…
Continue reading... March 10, 2014 Reset with Normalize.cssCSS resets help establish a baseline from which all the styles are set.…
Continue reading... March 10, 2014 HTML and CSS covers major portion of frontend development. Writing valid, widely accepted & standard…
Continue reading... March 10, 2014 We're living in the year 2014 Adobe is pulping Fireworks and says that Photoshop is…
Continue reading... March 10, 2014 Most of programmers try some design practices using Photoshop, and usually they don't know how to use…
Continue reading... March 7, 2014 PhoneGap is an open source framework that allows you to create mobile apps using standards-based…
Continue reading... March 5, 2014 All build products. What is new in this? I am sure we all have come…
Continue reading... March 3, 2014 Data encryption is an interesting topic in android application development. We come across scenarios where…
Continue reading... February 28, 2014 Following tutorial will guide you how to rotate an object using Quaternion. I assume you…
Continue reading... February 28, 2014 Following tutorial will guide you how to rotate an object using rigidbody.I assume you might…
Continue reading... February 28, 2014 Basically we all think that we are hard core gamers. We always tries to win…
Continue reading... February 28, 2014 I would like to dedicate this post to all my buddies who by their mystic…
Continue reading... February 28, 2014 What is OpenCV ? OpenCV is a C library designed to help with computer vision…
Continue reading... February 26, 2014 Product Development Culture. Just gaping at these three words and I bet they mean even…
Continue reading... February 20, 2014 When working on a JavaScript project, there are a bunch of things you’ll want to…
Continue reading... February 17, 2014 Databases are incredibly powerful. Many developers prefer to re-invent functionality in PHP rather than using…
Continue reading... February 5, 2014 The face of web development today is dramatically different !The things that we can do…
Continue reading... February 4, 2014 Install PHPUnit with XAMPP 1) To use PHPUnit you need PEAR package. So install latest…
Continue reading... February 3, 2014 A lot can happen over a cup of coffee. Who knew discussing casual work with…
Continue reading... January 31, 2014 Setting up Eclipse, NDK and cocos2d-x for your mac. I am considering that you already…
Continue reading... January 29, 2014 Do you have a compelling product idea? Want to build a new product? Are you…
Continue reading... January 28, 2014 You heard? Too many of the offshore projects stuck in the last few years. As…
Continue reading... January 24, 2014 The PHP development team announces the immediate availability of PHP 5.6.0alpha1. This release marks the…
Continue reading... January 22, 2014 It is vary easy to install mongodb on your windows. You need to just follow…
Continue reading... January 22, 2014 I prefer NVM (Node Version Manager). Its easy way to install and manage multiple versions…
Continue reading... January 22, 2014 Here are some simple and basic steps to install RoR on Windows. Step 1:…
Continue reading... January 20, 2014 I was trying to use the PNG images stored in iPhone in my PHP program.…
Continue reading... January 16, 2014 OpenVPN is an open source implementation of a VPN gateway. To connect to VPN on…
Continue reading... January 15, 2014 Robolectric is a unit test framework that de-fangs the Android SDK jar so you…
Continue reading... January 15, 2014 Findbugs is an Open Source project for static analysis of the Java bytecode to identify…
Continue reading... January 14, 2014 Titanium Studio helps you develop cross-platform mobile applications built with the Titanium SDK, and helps…
Continue reading... January 10, 2014 There are four step to get UDID 1) Create .mobileconfig XML file for your website…
Continue reading... August 22, 2013 Following are the steps to install new relic on Ubuntu/linux server.. 1) Go to the…
Continue reading... July 11, 2013 WordPress is awesome open source web software you can use to create a beautiful website…
Continue reading... July 5, 2013 Responsive websites are those crafted to use CSS3 media queries with fluid grids and commonly…
Continue reading... July 1, 2013 In last post we have seen how to install ruby on rails .Here we are…
Continue reading... June 28, 2013 Ruby on rails . The very first question comes in mind in what it is?…
Continue reading... June 24, 2013 RVM lets you deploy each project with its own completely self-contained and dedicated environment–from the…
Continue reading... June 21, 2013 a) Create a directory with name you want sudo mkdir /var/www/blog b) Copy that directory…
Continue reading... June 21, 2013 Make sure device is connected to wifi. Connect your device through usb to your machine.…
Continue reading... June 3, 2013 Google Cloud Messaging for Android (GCM) is a free service that allows you to send…
Continue reading... June 3, 2013 In Android app development, there are many Layout Managers which help you arrange(layout) UI elements…
Continue reading... June 3, 2013 I will be using phpMyAdmin (version 3.5.2.2) for this purpose, for the purpose of this…
Continue reading... May 20, 2013 Responsive web design is no doubt a big thing now. If you still not familiar…
Continue reading... May 20, 2013 Installing LAMP on ubuntu is much easier, just few useful commands and your LAMP stack…
Continue reading... May 10, 2013 A minimally conforming EPUB bundle has several required files. The specification can be quite strict…
Continue reading... May 10, 2013 Whenever there is a large screen for an Android app, there is Fragment to help…
Continue reading... May 8, 2013 In this section i will write about the bridging between the native Objective-C code with…
Continue reading... May 7, 2013 In this post, I provide details about how I personally handle SVN trunk, branches and…
Continue reading... May 3, 2013 Everything that’s analog is becoming digital; books are no exception. With the advent of e-ink…
Continue reading... May 2, 2013 This guide is intended to help you get your hands on Animator controls and take…
Continue reading... May 2, 2013 To make effective use of Sencha Animator, it’s important to learn the major parts of…
Continue reading... May 2, 2013 The "phobia" to flash is spreading rapidly. In this battle HTML5 comes with CSS3, the…
Continue reading... May 2, 2013 Read Aloud books are absolutely perfect for children's story books. Hey, but but don't stop…
Continue reading... May 2, 2013 I received this useful peace of information regarding the JavaScript function properties from @gregsidelnikov 's…
Continue reading... May 1, 2013 Designing with users in mind is a tricky thing. Not only does it require of…
Continue reading... April 29, 2013 Alternative PHP Cache (APC) is a free, open source (PHP license) framework that heavily optimizes…
Continue reading... April 25, 2013 We come across many scenarios in android app development where we need to download some…
Continue reading... April 23, 2013 Recently I come across a very useful article, I bet every PHP developer must have…
Continue reading... April 18, 2013 In joomla template all positions where one can insert a module is depends on template…
Continue reading... April 18, 2013 Code School Code School teaches web technologies in the comfort of your browser with video…
Continue reading... April 16, 2013 Shareist: Content Marketing Platform. A place to capture anything. Plan, set due dates, schedule posts.…
Continue reading... April 16, 2013 WebSocket is a web technology providing communications channels over a single TCP connection. The WebSocket…
Continue reading... April 9, 2013 In this post we will learn on how to generate a pdf from an html…
Continue reading... April 9, 2013 Responsive web site will increase a websites visitors by attracting the mobile and tablet visitors…
Continue reading... April 9, 2013 What Is SSL? SSL (Secure Sockets Layer) is a standard security technology for establishing an…
Continue reading... April 5, 2013 Its easy to store records in database via android application. But what's the use of…
Continue reading... April 5, 2013 As an Android developer, when you create an application you have to keep in mind…
Continue reading... April 4, 2013 Exercise at office?? Confused, no this is not about starting a gym in the office.…
Continue reading... April 4, 2013 What is module: A module is a lightweight and flexible extension that is used for…
Continue reading... April 3, 2013 iOS 7 reportedly behind schedule, but will come with a new look iOS 7 reportedly…
Continue reading... April 2, 2013 The HTML5 element is used to draw 2D graphics on the fly via JavaScript. The…
Continue reading... March 30, 2013 Ryan Boudreaux lists the criteria to be evaluated if you are deciding between developing a…
Continue reading... March 29, 2013 As an android developer, many times we need to add jar file of a java…
Continue reading... March 29, 2013 Communicate between Android-Java & JavaScript While developing mobile app sometimes we need to use webview…
Continue reading... March 29, 2013 Looking for a component in Joomla that provides you rich content management features and a…
Continue reading... March 28, 2013 In android we go through a really common problem of Bitmap scaling , As we…
Continue reading... March 28, 2013 1) Websocket: Websocket is nothing but technology which provides full duplex connection between client and…
Continue reading... March 28, 2013 What is Buffer? Buffer makes your life easier with a smarter way to schedule the…
Continue reading... March 26, 2013 There are 2 steps with which we can convert youtube videos into .mp4. Please check…
Continue reading... March 26, 2013 Creating Ad-Hoc is an important and integral part of iPhone application development. It helps us…
Continue reading... March 22, 2013 The PHP development team announces the release of the first beta of PHP 5.5.0. PHP:…
Continue reading... March 21, 2013 Developers have been looking forward for an android portal similar to apple store where applications…
Continue reading... March 21, 2013 we use a hack called fragment id messaging. This should be cross-browser , provided the…
Continue reading... March 21, 2013 Regular expression is kind of not so much likely subject for developers. If any one…
Continue reading... March 20, 2013 What is Responsive Design? Every class of device offers a different browsing experience. How can…
Continue reading... March 8, 2013 Author of this post: Francisco Rosales Trusting an Internet site to navigate the World Wide…
Continue reading... March 1, 2013 "Pigs and chickens" is an analogy used in the Scrum software development model to define…
Continue reading... November 30, 2012 6th Oct, it was a different Saturday for us because unlike any other saturday, we…
Continue reading... November 12, 2012 Access GE+ - Android Apps on Google Play The Access GE+ app is like having…
Continue reading... October 22, 2012 Microsoft Student: Go Underground Join thousands of student developers. Start building awesome apps for Windows…
Continue reading... August 1, 2012 What PHP 5.5 might look like PHP 5.4 was released just four months ago, so…
Continue reading... July 23, 2012 Java/android code to manage file upload & download /** * This Class has functions to…
Continue reading... July 23, 2012 SQL Joins SQL joins are used to query data from two or more tables, based…
Continue reading... July 20, 2012 Mobility is Lean Back - Lean Forward - Lean Free Mobility is radically different from…
Continue reading... July 19, 2012 Building Mobile Web Apps the Right Way: Tips and Techniques Mobile web apps are…
Continue reading... July 18, 2012 I was looking for solution to generate the PDF from dynamic HTML in last week.…
Continue reading... July 18, 2012 Most scripting language is mostly used to manipulate and create image files in various different…
Continue reading... July 18, 2012 Assuming that you are using a linux AMI, in your case you have an easy…
Continue reading... July 18, 2012 The Instigater The Cheerleader The Doubter The Connector The Taskmaster The Example The post inspired…
Continue reading... July 18, 2012 If you want to run PHP code in .html extention file Then Follow following procedures.…
Continue reading... July 18, 2012 Write Following code in .htaccess file and save it into the folder which you want…
Continue reading... July 18, 2012 What is Cron Tab? cron is a unix utility that allows tasks to be automatically…
Continue reading... July 18, 2012 I am changing my development structure to have rewrite urls for fuse/action and I thought…
Continue reading... July 18, 2012 I spent quite a good time for setting up an Amazon S3 and found it…
Continue reading... July 18, 2012 As per example code of the tinyMCE, its convert all Textareas on the HTML pages…
Continue reading... July 10, 2012 iso8583 lib written in Java - (GitHub Repository) iso8583-Java - iso8583 Message Pack & Unpack…
Continue reading... July 10, 2012 The History Of Usability: From Simplicity To Complexity | Smashing UX Design The story of…
Continue reading... July 10, 2012 In product development, the Minimum Viable Product or MVP is a strategy used for fast…
Continue reading... July 10, 2012 1. Sencha Sencha Docs - Touch 2. Sencha Touch 2.0.1 API Documentation from Sencha. Documentation…
Continue reading... July 10, 2012 HTML5, JavaScript library for creating magazine style layouts for iPad and web - The Changelog…
Continue reading... July 10, 2012 Why AngularJS? AngularJS is a toolset for building the framework most suited to your Angularjs…
Continue reading... July 10, 2012 Responsive design means, designing your website to adapt to the user's viewing environment (mobile, tablet,…
Continue reading...