Thursday 26 November 2015

Floating Label in Edittext with TextInputLayout Android Material Design

From 5.0 Lollipop version Android add some designing functionality with Material design. The one is Floating Label on Edit Text.
Before Material design EditText will hide the hint text after the first character is typed. But with the help of TextInputLayout hint text will animate to top of EditText.
Lets start implementing Floating Label on EditText.
1.Create new Android project in Android Studio.
2. Open Module gradle file.
3. Add below dependencies.
floating_image
- See more at: Floating Label in Edittext with TextInputLayout Android Material Design
You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.

Wednesday 25 November 2015

How to Install Fedora 23 Workstation?

fedora-linux


In this tutorial I will guide you how you can install Fedora 23 workstation on your system. If you have any previous version installed in your system then you can check the upgrade guide else follow the below steps.

Upgrade Fedora 22 to Fedora 23? 

first download the latest fedora 23 workstation images from the official website, here you have to choose the package which matches your system architecture or configuration. Use the below link to download workstation images

Fedora 23 Workstation Live Image

https://download.fedoraproject.org/pub/fedora/linux/releases/23/Workstation/i386/iso/Fedora-Live-Workstation-i686-23-10.iso

 https://download.fedoraproject.org/pub/fedora/linux/releases/23/Workstation/x86_64/iso/Fedora-Live-Workstation-x86_64-23-10.iso


 Fedora 23 Workstation Netinstall Image https://download.fedoraproject.org/pub/fedora/linux/releases/23/Workstation/i386/iso/Fedora-Workstation-netinst-i386-23.iso


 https://download.fedoraproject.org/pub/fedora/linux/releases/23/Workstation/x86_64/iso/Fedora-Workstation-netinst-x86_64-23.iso  

Installation Process

I hope you have bootable media – USB Flashdrive or CD/DVD ready.
  1. After that plug in it usb port and boot it, while booting you will see 23 fedora screen.
Here you will find the option to start fedora live without installation you can go for it to directly run the installation wizard, or choose to install it to your hard drive..... ....Read Full Blog at - How to Install Fedora 23 Workstation?

You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.

Tuesday 24 November 2015

ASP.NET MVC Do's and Dont's or Best Practices

Hello Friends, Asp.net MVC is now getting more popular day by day, So before dealing with MVC we need to understand some Do's and Dont's of it. This blog will help you to understand Do's and Dont's of ASP.NET MVC.



mvc.net    


ASP.NET MVC Do's and Dont's / Best Practices
  1. Old Version of JQuery and Third party references. While adding any third party tool like KendoUI, Angular js or even simple JQuery files sometime we won’t add latest references for them which creates issues at later stage or somewhere having performance issues. Try using updated reference for these files.
  2. Bundling and Minification Bundling is a simple logical grouping of files that could be referenced by unique name and loaded with single http requestor, Basically it reduces the number of individual HTTP requests to server. Where as Minification is a process of removing unnecessary whitespace, line break,comments and other unnecessary characters including long variables name renaming to shorter like “EmployeeFirstName” to “e”, from code to reduce its size thereby improving load times.
  3. Don’t use “magic strings” Dont use ViewData[“key”], but always create a ViewModel per each View, and use strongly-typed views like:- ViewPage< ViewModel>.
  4. User Base Controller Enforce your own Base Controllers (having security and other settings) to inherit from all controllers.
  5. Delete the sample code which is not needed Most of the application still have these code file which we never use and it’s a bad practice to keep demo code in your applications.
  6. Put all validation logic in the model. In MVC we preferred DataAnnotations for validation. These annotations are added as attributes to the properties of....
See more at: ASP.NET MVC Do's and Dont's or Best Practices You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.

Monday 23 November 2015

Adding data to jqxtree dynimacally on click of nodes of a tree using AJAX call

In this blog we are explaining how to adding data to jqxtree dynimacally on click of nodes of a tree using AJAX call. We have explained with complete code and steps.


 jqtree-jquery-tree-plugin


There might be a case where user wants to add data to jqxtree on click of each individual node. Below is the code which help us to achieve the above functionality where user can get data from JSON file or database on click of each individual tree node , depending whether parent have child nodes or not. Check below code.
  1. <script type="text/javascript">
  2. $(document).ready(function () {
  3. var theme = "";
  4. // Create jqxTree
  5. var tree = $('#topictree');
  6. var source = null;
  7. $.ajax({
  8. async: false,
  9. url: "topic.php",
  10. success: function (data, status, xhr) {
  11. source = jQuery.parseJSON(data);
  12. }
  13. });
  14. tree.jqxTree({ source: source, theme: theme, height: 600, width: 400 });
  15. .....
Read full blog at- Adding data to jqxtree dynimacally on click of nodes of a tree using AJAX call .

You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.

Thursday 19 November 2015

How to create reports using Base Report Designer and OpenOffice in OpenErp

openerp-logo

Creating reports in OpenErp using OpenOffice is the easiest way. Just need to follow simple steps:
  1. Download base_report_designer module from the web or https://www.openerp.com/apps.
  2. Add to the addons and install the module.
  3. Open OpenOffice 3 and create a text document. Go to the Tools menu when you first configure this module in the OpenOffice, and select Extension Manager. Check for openerp_report_designer.zip, if it is there it is okay, else click add and locate the path of the opener_report_designer.zip file, and OpenErp Report Designer Menu is added to OpenOffice.
  4. Select Server Paramenters from the OpenErp Report Designer menu. Fill in the details in the pop up box as follows:
Server: localhost
 Port: 8069
Protocol Connection: XML-RPC, and click Next.

Choose the database you wish to connect, enter the login name and the password of your database. Click Connect. You can start creating your report now.

 5. Read Full blog at How to create reports using Base Report Designer and OpenOffice in OpenErp

You can check more Open ERP blogs at FindNerd. Apart from that you can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development

Wednesday 18 November 2015

How to Import CSV File Data into Mysql

Hi, In my previous post I have explained about “How to Export MySQL table data to CSV File using PHP”. Now in this tutorial I am going to explain how to import CSV data file into mysql. Suppose that we have a CSV file with 3-4 entry, we can easily upload data into mysql manually, If we have a large CSV(Comma Separated Value) data file sheet and we want to upload CSV file data manually in the mysql table then it will be a very time consuming task.

import_csv_data

 I am going to explain in very easy way how to import CSV file data easily and without consuming time, You just need to follow all steps  

Step 1- (Connection.php) First of all we need to create database and connect . Below is PHP database connection file.
  1. <?php
  2. $db = mysql_connect("Database", "username", "password") or die("Could not connect.");
  3. if(!$db)
  4. ...
  Read Full Blog at : How to Import CSV File Data into Mysql

You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.

Tuesday 17 November 2015

Form Validation Using PHP

PHP-Form_Validation  
What is form Validation ?

This is the process to validate web form according to our data format, when the user try to submit wrong data in the field, server will not submit wrong data because we have restricted(validate) the all field according to our required data format. The validation can be done in PHP where developers set some rules. For example: If the name field is blank, then the code will take the user back to the form and display an error message.

 HTML Form : This the HTML form, I have used in this form four field text box, radio button, textarea and Submit button. Please check below code.
  1. <html>
  2. <h2> PHP Form Validation Example </h2>
  3. <p><span class="error">* required field.</span></p>
  4. Name: <input type="text" name="name">
  5. <br><br>
  6. E-mail: <input type="text" name="email">
  7. <br><br>
  8. Website: <input type="text" name="website">
  9. <br><br>
  10. Comment: <textarea name="comment" rows="5" cols="40"></textarea>
  11. ....
Read Full Blog at: Form Validation Using PHP 

 You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.  

Monday 16 November 2015

C++ Interview Questions and Answers Part-1

C_plus_plus.svg

 In this tutorial, We are providing you C++ questions and answers. The content here will help all the Freshers as well as experienced people to get through with their interviews for software industry on campus or off campus. For any person who wants to get into an IT industry is expected to have the basic knowledge of these programming language ,i.e, C and C++ ,as most of the universities and colleges have C or C++ as a part of their curriculum. Whether a Fresher or an experienced, the interviewer hits atleast few questions based on C or C++ concepts to them. One common factor in the fresher interview is that there are few questions that has been repeatedly asked over years. Therefore, we have accumulated few questions and related answers based on C++ concepts and programming for freshers and experienced,both.Go through them,develop an understanding towards it.This will surely help you out during your placements and interviews.
  1. What is difference between C and C++ ?

[Usually this is the first question that people face in their interview rounds. When you answer this question,don't give the text-book explanations.Rather supplement your answer with real software related examples. Answer for this interview question can include below points.]
  1. C++ is a kind of superset of C, most of C programs except few exceptions work in C++ as well.
  2. C is a procedural programming language, while C++ supports both procedural and Object oriented programming.
  3. Since C++ supports object oriented programming, it supports features like function overloading, templates, inheritance, virtual functions, friend functions. These features are absent in C.
  4. C++ supports exception handling at language level,but in C exception handling is done in traditional if-else style.
  5. C++ supports references but C doesn’t.
  6. In C, scanf() and printf() are mainly used for input/output.While C++ mainly uses streams to perform input and output operations. 'cin' is standard input stream and 'cout' is standard output stream.
  1. What is a class?

[Probably this would be the first question for a Java/c++ technical interview for freshers and sometimes for experienced as well. Try to give examples when you answer this question.] When we define any class, we are not defining any data, we just define a structure or.. Read Full Blog at : C++ Interview Questions and Answers Part-1  

You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.

Sunday 15 November 2015

How to perform spring file upload using streaming API

Spring is a framework which provides almost all types of functionality. Spring has feature to stream based file upload. Spring file upload is very easy and maintainable. Spring provides the api to upload file streams. Like java IO spring has some classes to process file streams. To let the spring framework work for you, you need some jars in your lib, put following code in maven pom.xml to fetch dependencies :

  1. <!-- Apache Commons FileUpload -->
  2. <dependency>
  3. <groupId>commons-fileupload</groupId>
  4. <artifactId>commons-fileupload</artifactId>
  5. <version>1.3.1</version>
  6. </dependency>
  7. <!-- Apache Commons IO -->
  8. <dependency>
  9. ...
  10.  
See Full Blog at: How to perform spring file upload using streaming API


You can check more informative blogs and tutorials at iphone development blogs section and can also browse the iphone developer forum for posting and viewing latest questions on iphone development

Monday 9 November 2015

How to insert data Value from an HTML form into MySQL Database

php_database 

In this blog I am going to explain how to insert data from html form into mysql. We have three steps for completing this process.
  1. Create HTML Form
  2. Create MYSQL Database.
  3. Mysql Database Connection and retrieve HTML form data into database.
  1. Create HTML Form :- First of all we need a HTML form where the data enter and insert to database. I am creating some text field, Here's a simple HTML form that has three text <input> fields and a submit button. This HTML form page check below.
Record.html
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Add Records Form</title>
  6. </head>
  7. <body>
  8. ...
Read Full Blog: How to insert data Value from an HTML form into MySQL Database

Apart from this you can also post and view C, PHP, JAVA, HTML, iOS and Android questions and answers at FindNerd’s community forum.

Sunday 8 November 2015

Website Development: 10 PHP Programming Mistakes Web Developers Should Avoid

In this article I am discussing 10 common mistakes developers must avoid while creating a website to aggrandize it with fast functionality and easy multitasking. PHP as a scripting language has gained immense popularity among web developers who strive to ensure that their websites are attractive and have a great functionality. It’s because of PHP that developers are able to create dynamic web pages. However, no matter how good a developer is, chances to make some common mistakes during website development are always high.

 php_developer  

1. Trivializing single quotes: Web developers find it it easy with double quotes to parse everything neatly. They, without a doubt, do not have to face hassles of fixing the issue of escaping characters and dot values, but single quotes play a big role in enhancing performance due to minimal processing. Processing of double quoted strings takes longer than single one as it has to read the whole string in advance to perform the task of detecting any variable inside. Server also works faster on single quotes since PHP is not obligated to read the whole string in advance.  

2. Avoiding use of database caching: Database caching plays a crucial role in increasing loading speed and limiting the use of resources required to load a page. Developers must be careful while implementing it and must have a proper maintaining caching system for the website.

 3. Misplacing semicolon: Well, developers are very well aware of the fact that each statement in PHP ends with a semicolon, which means end to an instruction. If a semicolon is...

 Read Full Blog : - Website Development: 10 PHP Programming Mistakes Web Developers Should Avoid

You can check more PHP Questions and Answers blogs in FindNerd. Apart from this you can also post and view C, PHP, JAVA, HTML, iOS and Android questions and answers at FindNerd’s community forum.

Friday 6 November 2015

Digital Marketing And Traditional Marketing- The Difference

digital and traditional-marketing


For ages, marketing has been the most important cog in the wheel of brand establishment, and with technology advancement, it has only become easier and more effective to reach out masses to market a product.

Many big companies have become what they are today by banking upon traditional means of marketing. However, everything in our universe evolves for betterment and acclimatize to tougher surviving conditions. Perhaps, digital marketing is the evolution of traditional marketing, especially in the era where everything is becoming digital, from shopping to watching your favorite movie on your smartphone.

It’s not a secret anymore that digital marketing has emerged as the next frontier of marketing. I am not saying that traditional marketing has become obsolete and won’t be required in future at all - all that I am saying is it’s time for digital marketing to become predominant. This article will tell main differences between digital marketing and traditional marketing to ...

Read Full Blog - Digital Marketing and Traditional Marketing- The Difference 
 
You can check more Open Digital Marketing blogs in FindNerd. Apart from this you can also post and view C, PHP, JAVA, HTML, iOS and Android questions and answers at FindNerd’s community forum.

Wednesday 4 November 2015

Angularjs difference between routeprovider and stateprovider

angularjs 

In this blog we have described the main differences between routeprovider and stateprovider in angularJS. Here you can learn the reason why to use ui-router over ngRoute becuase ui-router is used to enhance and to improve the capabilities of routing  

$route: This is used for deep-linking URLs to controllers and views (HTML partials) and watches $location.url() in order to map the path from an existing definition of route. When we use ngRoute, the route is configured with $routeProvider and when we use ui-router, the route is configured with $stateProvider and $urlRouterProvider. ngRoute - It is a part of AngularJs and was developed by Angular.js team.

 Syntax:
  1. <div ng-view></div>
  2. $routeProvider
  3. .when('/contact/', {
  4. templateUrl: 'app/views/core/contact/contact.html',
  5. .....
Read Full Blog : Angularjs difference between routeprovider and stateprovider

You can also post and view C, PHP, JAVA, HTML, iOS and Android questions and answers at FindNerd’s community forum.  

Monday 2 November 2015

Why Mobile Commerce Is Rising In Popularity

m-commerce

 In this blog we have described "Why Mobile is Rising in Popularity"Smartphones and tablets are increasingly becoming the medium of entertainment, shopping, social media engagement, gaming and many more. As users can carry smartphones anywhere, they like the idea of buying an item on the go they come across as a good deal.They don’t want to wait to get home and get online on their PCs to place the order as their is no guarantee that the product would remain in stock by that time. Moreover, shopping apps and websites are also so well designed that smartphone users can have clear view of products available from various retailers online, making them rest assured that what they see is exactly what they will be delivered at their doorstep.

6FLj7

Another factor that has turned to be a boon to Mobile Commerce (M-Commerce) is growing trust of customers for online shopping - secured payment gateways, reliability over no sharing of ...

Read Full Blog - Why Mobile Commerce Is Rising In Popularity

Apart from this you can also post and view c, PHP, JAVA, HTML, iOS and Android questions and answers at FindNerd’s community forum.

Sunday 1 November 2015

Benefits of an Online Invoicing Program for a Freelancer

Technology advancement has made it possible for many talented people across the globe to work as freelancers sitting at any corner of the world. Being a freelancer is often thought of pursuing a more relaxed lifestyle, but there are harsh, stark realities attached to the tag of a freelancer too. In this blog we have explained importance and benefits of online invoicing program for a freelancer too.



 online-freelancer-program

Tracking outstanding payments contribute the most to the woes of freelancers, apart from finding work of course. Many freelancers who are not sufficiently versed in bookkeeping and accountancy face the brunt of ineptitude at generating correct invoices and keeping a track of due payments. Such payment-related issues have adverse effects on work quality and efficiency of freelancers. Payment related issues force many freelancers to spend most of the time worrying about status of their outstanding payments. However, with technology all is not lost, ever. There are a few tools to help a freelancer take care of their invoices and payments. And as happens in most cases, paperless invoicing is the best way to ensure faster invoice generation and faster payment. You also do not spend time in agony if you have lost previous invoices for which payments are still due, since online invoice software keeps the ...

 Read Full Blog- Benefits of an Online Invoicing Program for a Freelancer

 You can check more informative blogs and tutorials at iphone development blogs section and can also browse the iOS developer forum for posting and viewing latest questions on iphone development.