Thursday, August 11, 2016

MVC architecture in Angular JS

<script SRC="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.js">
</script>
<script type="text/javascript">
//Creating controller here
function Customer($scope)
{
    //Creating model here
    $scope.customer =  {
         'Name'    :   'Peakfinders',
         'Address' :   'India',
         'Email'   :   'Peakfinders@gmail.com'
     }
}
</script>
<p>Displing model data in view through controller</p>
<div ng-controller="Customer">
<h3>{{ customer.Name }} </h3>
<h3>{{ customer.Address }} </h3>
<h3>{{ customer.Email }} </h3>
</div> 

File tag in HTML

How to use accept Attribute:

<input type="file" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel,text/comma-separated-values, text/csv, application/csv" ID="fileSelect" runat="server" />


<input type="file" accept=".csv" />
For Excel Files 97-2003 (.xls), use:

<input type="file" accept="application/vnd.ms-excel" />
For Excel Files 2007+ (.xlsx), use:

<input type="file" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
For Text Files (.txt) use:

<input type="file" accept="text/plain" />
For Image Files (.png/.jpg/etc), use:

<input type="file" accept="image/*" />
For HTML Files (.htm,.html), use:

<input type="file" accept="text/html" />
For Video Files (.avi, .mpg, .mpeg, .mp4), use:

<input type="file" accept="video/*" />
For Audio Files (.mp3, .wav, etc), use:

<input type="file" accept="audio/*" />
For PDF Files, use:

<input type="file" accept=".pdf" /> 

Wednesday, August 10, 2016

Why Andriod?



  •  -open source
  • large devlopment
  • increased the marketing
  • inter app integration
  • reduced cost of development
  • higher sucess ratio
  • rich development enivironment

What is Andriod?


Andriod

  • open source
  •  Linux-based Operating System
  • application development for mobile devices 
  • develop for Android
  •  different devices powered by Android


Andriod

Andriod
 -Open Source
 -Linux based operating System
 -using smartphone and tablet
 -Java programming Language