Kodesoft Technology Posts

Republic day celebration is a huge national event celebration in India especially for students in the schools, colleges and other educational institutions. Variety of activities are run by the teachers to enhance student’s skill and knowledge about Republic day of India.

More than 0.2 Million Download as of now ….

Republic day in India is celebrated every year with great honour on 26th of January to honour the Constitution of India as it came into force on the same day in the year 1950. It had replaced the Government of India Act, 1935 into the governing document of the India. At this day, a national holiday is declared by the Indian Government. The new Indian constitution was sketched and approved by the Indian Constituent Assembly and decided to celebrate it on 26th of January every year as India became a republic country.
To celebrate this auspicious National Festival Kodesoft Technologies launch an application i.e “JAI HIND -A Collection of Patriotic Songs and SMS.It is the FREE Android Mobile app for independence day/26 January or any patriotic occasion. Here we are providing the various songs to celebrate 26 Jan with patriotic and love for freedom fighter, Indian Army, Indian Air Force, navy songs and national anthem collection 4 every Patriotic citizen.

Application UI View: 
Jai Hind Front View MockUp

 

 

 

 

 

 

 

Screenshot_2017-12-13-19-57-53-413_com.india.independance Screenshot_2017-12-13-19-58-00-361_com.india.independance

More than 0.2 Million Download as of now 

Application Feature:
# This is a FREE app.
# Great collection of “patriotic songs” across India.
# It can support every android DEVICE and TABLET.
# This app is also work in offline once song get downloaded.
# You can get patriotic song in your SD card
# It contains, message/SMS/Quotes and you can share it with friend’s & family through Facebook,Whats-app etc.
# It support every Android device.
# No need to download patriotic songs just download and play

It is one of the best Free Android application for patriotic songs and listen patriotic music for FREE. You can set songs as a caller tune,ringtones, hello tunes. you can share personalized message and songs on social media , whatsapp to your friends and family.

For any issues/support or contact Email us at – kodesofttech@gmail.com

Like us on Facebook- https://www.facebook.com/deshbhaktisongs/?ref=settings
Google+ – https://plus.google.com/101355710060821228759
Follow us on Twitter-https://twitter.com/kodesofttech
Follow us on Instagram- www.instagram.com/kodesoftofficial/

So celebrate this Republic day 2018 with full on Patriotism.

Wishing U a very “Happy 26 January song 2018

Jai Hind Jai Bharat

Best Regards:
Kodesoft Technologies.
www.kodesoft.in

Read More Jai Hind-A Mobile Application For Free Patriotic Songs And SMS

Trends

 

 MVC (Model-View-Controller)

Model-view-controller is a software architectural pattern, which divides a given application into three separate parts. It is basically build to avoid mixing code from the three categories into one class. MVC is one of the most frequently used industry-standard web development framework to create scalable and extensible projects.

In a typical application you will find these three fundamental parts:

  • Data (Model)
  • An interface to view and modify the data (View)
  • Operations that can be performed on the data (Controller)

Architecture of MVC:

MVC

Components of MVC:

Following are the components of MVC:

   1.Model: Model is responsible for managing the data of the application, such as the data, logic and the rules of the application. The model does NOT depend on the controller or the view. It responds to the request from the view and it also responds to instructions from the controller to update itself.

Model classes can either be created manually or generated from database entities. It is the model that responds to requests coming from the view regarding its status or state. In this way, the processing of data takes place only in the model, which ensures internal data consistency.

    2.View: View displays data or the database records. A view requests information from the model, which it needs to generate an output representation. MVC is often seen in web applications, where the view is the HTML page. However it can also be defined to give other view results such as JSON strings and JavaScript code.

The view is also used to present the graphical visualization of the user interface. It could filter out some aspects of the model or highlight others. It represents the input and output data in an interface using various elements such as pushbuttons, menus, dialog boxes, etc. To see the status of the application objects, the view queries the model through the controller.

   3.Controller: The controller is responsible for all the interactions between the model and view. It also responsible for dispatching requests and controlling application flow.

The controller uses the model methods to retrieve information about the application object, to change the status of the object and to inform the view about this change. In a sense the controller enables a user to make changes and see results

 

Advantages of MVC:

  1. Faster Development Process:

MVC supports rapid and parallel development. If an MVC model is used to develop any particular web application then it is possible that one programmer can work on the view while another can work on the controller to create business logic of the web application. Hence this way, the application developed using MVC model can be completed three times faster than applications that are developed using other development pattern.

  1. Ability to provide multiple views:

In the MVC Model, you can create multiple views for a model. Today, there is an increasing demand for new ways to access your application and for that MVC development is certainly a great solution. Moreover, in this method, Code duplication is very limited because it separates data and business logic from the display

  1. Modification does not affect the entire model:

For any web application, user interface tends to change more frequently than even the business rules of the company. It is obvious that you make frequent changes in your web application like changing colors, fonts, screen layouts, and adding new device support for mobile phones or tablets. Moreover, adding new type of views are very easy in MVC pattern because the Model part does not depend on the views part. Therefore, any changes in the Model will not affect the entire architecture.

  1. SEO friendly Development platform:

MVC platform supports development of SEO friendly web pages or web applications. Using this platform, it is very easy to develop SEO-friendly URLs to generate more visits from a specific application. This development architecture is commonly used in the Test Driven Development applications. Moreover, Scripting languages like JavaScript and jQuery can be integrated with MVC to develop feature rich web applications.

Disadvantages of MVC:

  1. The framework navigation can be complex because it introduces new layers of abstraction and requires users to adapt to the decomposition criteria of MVC.
  2. Knowledge on multiple technologies becomes the norm. Developers using MVC need to be skilled in multiple technologies.
  3. MVC needs multiple programmers.

 

Conclusion:

Thus, MVC design pattern is a surely the great approach to building software applications. The MVC framework is easy to implement as it offers above given numerous advantages. Projects that are developed with the help of MVC model can be easily developed with lesser expenditure and within less time too. Above all, its power to manage multiple views makes MVC the best architecture pattern for developing web applications.

 

 

Read More Beginners Guide: MVC (Model-View-Controller)

PHP Web Development

iPhone

Singleton class  which is created in java for  global point of view. Singletons are useful to provide a unique source of data or functionality to other Java Objects. In android Singleton class creates only one instance.

Benifit  to use of Singleton class in android:

Purpose to use  Singleton class is control to create number of object  creation in project and limiting the number of objects.

Suppose you made a app to play song through service,In this case you can use singleton class concept.Inwhich media player declare in service as a globally and use media player in any where of app,by using concept of singleton class concept.Means you create object of singleton class in activity inwhich you want to use singleton class value .And use mediaplayer globally you don’t need to create another object of media player.

Here is the process to use Singleton class:

This is Arraylist which is globally declare in Singleton class

public ArrayList<String> arraylist  = new ArrayList< String >();
Singleton class is:

// File Name: Singleton.java

    public class Singleton {
private static final Singleton instance = new Singleton();
public ArrayList<SubCatogry_Pozo> arraylist = new ArrayList<SubCatogry_Pozo>();
// /* A private Constructor prevents any other    * class from instantiating.    */
public Singleton() {
}

/* Static ‘instance’ method */
public static Singleton getInstance() {
return instance;
}
}

Here is  SubCatogry_Pozo  is  your pozo class of app.And arraylist which is globally declared in singleton class and use this arraylist through singleton class object.

And then use this singleton class in any activity in project ,To use this Singleton class in another Activity just create object of Singleton class

//Create object of Singleton class
Singleton singleton =Singleton.getInstance( );

And use arraylist through object of Singleton class i.e.

singleton. arraylist.add(value);

value which you want to add in arraylist and here is class inwhich you want to use arraylist of singleton class.

// File Name: MainActivity.java

public class MainActivity extends Activity{

Singleton singleton =Singleton.getInstance( );   

@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
   singleton. arraylist.add(value);

}

}

The Singleton class maintains a static reference to the  singleton instance and returns that reference from the static getInstance() method.

Read More Singleton class

Android Mobile Development

What is IONIC :

It is an open source platform to make hybrid application. Hybrid applications are those who takes single language to make an app and which will run on all types of mobile devices. Some clients prefer to make hybrid application because of cost. And small applications are easy to go with hybrid.

How Start with IONIC

  • First Install Node.js package into machine.

https://nodejs.org/en/download/

  • Install IONIC, Open command prompt or terminal and use below command

npm install -g ionic cordova

  • After successfully installed, Create new app. For that, from same command prompt or terminal go to folder location where you want to create project. And run below command

ionic start app_name

After this it will ask for project type like, blank, tab, tutorial etc.

Select your option using down and up arrow keys and press Enter.

It will again take some time and will create project into that location.

  • Now Check newly created app on browser by running below command.

ionic serve

It will run project on browser with full screen. And If you want to run project like mobile device interface then       

run below command

ionic serve –lab

It will open project into mobile interface screen with ios, android and windows.

  • Now you can check project structure from project location. You will get

Config.xml : Here if you need any plugin to be install then you can add. Or any  hardware setting should be go here.

Resources : We need to add all resources inside this folder.

Src       : Our all functionality will go from this folder. You can find various folders inside it. Check those you will get an idea what it does.

  • Now try to create new views.

ionic g page page_title

It will generate all necessary files into “page_title” folder like its model, view and controller

But to access it you need to import file into “app.component.ts” and “app.module.ts”. After checking  those files you will come to know where to change.

  • Now you can edit those view as per your requirement.
  • Run your app on android device

ionic cordova run android –device

But make sure you have enable USB debugging and Developer Mode on your android device

  • To make production build, you need to run below command

ionic cordova run android –prod –release
# or
ionic cordova build android –prod –release

  • In this way you can successfully create your first app in ionic

 

If you feel this blog is really helpful for you then do comment. Thank you.

 

 

Read More Beginning with IONIC 2

Mobile Development

PHP Web Development wordPress

     Objective : The main purpose of this post   to learn facebook integrate in swift      OUTPUT  : If  I Integrate Facebook In My Application Then I will Get…

Read More Facebook Integration using Swift

iPhone

The Model-View-Controller (MVC) is an architectural design pattern that seperates an application in three components : first is Model, second is View, third is Controller.

Here is the flow-diagram of MVC :-

 

MVC-basic.svg

 

Diagram shows the single flow layout of data, how it is passed between each components, and show the relationship between each component works.

Model

The Model component corresponds to all the data-related logic that the user works with.The Model is the name given to the permanent storage of the data used in the overall design.

Model represents shape of the data and business logic. It maintains the data of the application. Model objects retrieve and store model state in a database.

One important aspect of the Model is that it’s technically “blind” – that means the model has no connection or knowledge of what happens to the data when it is passed to the View or Controller components.

Model is a data and business logic.

View

View display data using model to the user and also enables them to modify the data.

The View component is used for all the UI logic of the application

The View is where data, requested from the Model, is viewed and its final output is determined.

In web apps built using MVC, the View is the part of the system where the HTML is generated and displayed.

View is a user interface.

Controller

Controller act as an interface between Model and view components to precess all the incoming requests.

It handles the users request.User interact with View, which in-tern raises appropriate URL request, this request will be handled by a controller.

Controller is a request handler.

Read More What is MVC ?

PHP Web Development

Dialog box is a small window that prompts the user to make a decision or enter additional information. A dialog does not fill the full-screen and is normally used for modal events that require users to take an action before they can proceed.

And a Custom-dialog-box is same as dialog-box only difference is that in custom dialog-box you design dialog-box  on  your requirement. For Example- create dialog-box to enter four digit OTP number  in Which  you  take  four edit Text  with  equal distance to enter password and take one  “submit “ button.

 To create Custom-dialog-box follows step-by-step:

i)First create a new project in android studio and design layout for dialogBox.

 Android Layout File:

XML file, for custom  dialog.

File : res/layout/custom_dialog.xml

To, design layout you set  accordingly  margin,padding-left,right,top and bottom,height and width etc.

<LinearLayout

android:id=“@+id/layout_header”
android:layout_width=“match_parent”
android:layout_height=“44sp”
android:background=“@color/light_green”>

<TextView
android:layout_width=“match_parent”
android:layout_height=“44sp”
android:gravity=“center”
android:text=“Enter One Time Password”
android:textColor=“@color/white”
android:textSize=“@dimen/dm_20sp” />

</LinearLayout>
<LinearLayout
android:id=“@+id/layout_otp”
android:layout_width=“match_parent”
android:layout_height=“@dimen/dm_90sp”
android:layout_below=“@+id/layout_header”
android:orientation=“horizontal”>

<EditText
android:id=“@+id/editTextone”
android:layout_width=“@dimen/dm_40sp”
android:layout_height=“@dimen/dm_42sp”
android:inputType=“numberPassword”
android:maxLength=“1”
android:nextFocusRight=“@+id/editText_two”>

<requestFocus />
</EditText>

<EditText
android:id=“@+id/editTexttwo”
android:layout_width=“@dimen/dm_40sp”
android:layout_height=“@dimen/dm_42sp”
android:inputType=“numberPassword”
android:maxLength=“1”/>

<EditText
android:id=“@+id/editTextthree”
android:layout_width=“@dimen/dm_40sp”
android:layout_height=“@dimen/dm_42sp”
android:inputType=“numberPassword”
android:maxLength=“1”/>

<EditText
android:id=“@+id/editTextfour”
android:layout_width=“@dimen/dm_40sp”
android:layout_height=“@dimen/dm_42sp”
android:inputType=“numberPassword”
android:maxLength=“1”/>

</LinearLayout>

<Button
android:layout_width=“match_parent”
android:layout_height=“@dimen/dm_42sp”
android:layout_below=“@+id/layout_otp”
android:text=“SUBMIT” />

ii) In Activity

First create Custom_DialogBox.java class and write the code below

File : Custom_DialogBox.java

First  use changedListener in  onCreate  method:

 editText_one.addTextChangedListener(this);
editText_two.addTextChangedListener(this);
editText_three.addTextChangedListener(this);
editText_four.addTextChangedListener(this); 

And final class of  “Custom_DialogBox.java ”  :-

public class Custom_dialogbox extends Dialog implements TextWatcher

 And then Create automatically override method for TextWatcher. 

@Override
public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {}
@Override
public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {}

To enter only one value to edit Text and cursor move on next edit Text automatically and when we want to remove password one by one sequencially in which cursor move back automatically,to write the cobe below on this method: 

@Override
public void afterTextChanged(Editable editable) {if (editable.length() == 1) {
if (editText_one.length() == 1) {
editText_two.requestFocus();
}

if (editText_two.length() == 1) {
editText_three.requestFocus();
}
if (editText_three.length() == 1) {
editText_four.requestFocus();
}
} else if (editable.length() == 0) {
if (editText_four.length() == 0) {
editText_three.requestFocus();
}
if (editText_three.length() == 0) {
editText_two.requestFocus();
}
if (editText_two.length() == 0) {
editText_one.requestFocus();
}
}

 After you add this Custom_DialogBox.java class in your MainActivity.java

Custom_DialogBox custom_dialog = new Custom_DialogBox(this);
custom_dialog.show();

 Follow the above steps and see a custom-dialog-box accurately.

Read More Steps To Create a Custom-Dialog-Box to Enter Four Digit OTP Number in Android

Android

e-commerce

Thinking about starting an eCommerce startup but you simply don’t know how?

Does it seem like an impossible challenge for you?

…you’re not alone.

So before anything just make proper plan and then execute in better way.

One of the major reasons, why online eCommerce startups succeed its  because of the right development / consultant partner selection.

So being a startup you need to be very careful while selecting the team or company  for your online eCommerce web portal development as well as Mobile Application. So you need to select best team to handle all the development process from scratch and make proper plan to execute.

Four parameters for your startup eCommerce business:

  1. Ecommerce Development Expertise: Start the ecommerce web portal development expertise before you handover your project development work by discussing their work examples in detail. You can also ask about their client references and just to be sure does a reference check that whatever they are claiming as their developed web portals are originally delivered by them only. Also refer a few resumes/portfolio /profile to assess their expertise in ecommerce  development and short list top talents to compare with few other IT companies / consultants/freelancers.
  2. E-commerce Consulting Experience or Expertise: Apart from the technical expertise, being a startup company, it is most important for you to review their(companies/freelancer) domain expertise in the ecommerce field. You should choose a company which not only delivers technically but also understands the ecommerce depth and can consult you with respect to further steps which can take your online business to the next level. It means you need technical person as well as ecommerce adviser they can give you advice.
  3. Support & Maintenance( after product delivery until its stable): The team must be ready to provide support after initial ecommerce development, third party integrations, bug fixing and maintenance tasks. They should also know about payment integration methodologies
  4. Marketing :  Marketing of any product play vital role in product success. 90% of product success and failure is depends on marketing stuffs. So Choose wisely a marketing team If the company know  how to market the products online and how they reach the goal , it is an added advantage for you to select them However before allocating your business projects to them. you should review their past projects and the growth of their past clients with their efforts.

 

One of the important aspect of eCommerce success is Mobile application. Because of my generation, everything they want in smart phone. So mobile application is also play very important role for product success.

We also provide end –to –end Web and mobile application support and maintenance as well as development To more about my service and solutions drop us an email at  info@kodesoft.in

Read More Four Things You Need To Know Before Ecommerce Startups:

Mobile Development Trends Web Development