Kodesoft Technology Posts

The latest player to play on mobile for music song i.e. Exoplayer

Exoplayer is an application level Media Player Library.ExoPlayer standard audio and video components are built on Android’s MediaCodec API, which was released in Android 4.1 .It is an adaptive audio and video streaming.Because ExoPlayer is a library, you can easily take advantage of new features as they become available by updating your app.I have been use MediaPlayer to stream a song but problem is song stream in approx all mobile except redemii and latest android 7 mobile thats why we use Exoplayer to stream song ,when we use Exoplayer to stream audio and video song there is no problem to play song.Exoplayer is very fast and smooth audio and video songs.

Feature of Exoplayer:

1>Exoplayer is an application level Media Player Library.

2>It works on all mobile to stream audio and video songs.

3>It is very fast and smooth player to stream an audio and video songs.

4>Ability to run the very same Player version on all devices.

How to use Exoplayer :

1>First add dependency in build.gradle:
dependencies {
compile ‘com.google.android.exoplayer:exoplayer:r1.5.3’
}
It is very important to  allow  import exoplayer in your activity.

2> Inintialise Exoplayer in onCreate method
ExoPlayer exoplayer;//It is declare globally in your activity.
exoplayer = ExoPlayer.Factory.newInstance(1);
In your activity First initialize Exoplayer in onCreate method
3>Write this code where you want to stream audio player

MediaCodecAudioTrackRenderer audioRenderer = null;
Allocator allocator = new DefaultAllocator(BUFFER_SEGMENT_SIZE);
String userAgent = Util.getUserAgent(localContext, “ExoPlayerDemo”);
DataSource dataSource = new DefaultUriDataSource(localContext, null, userAgent);
ExtractorSampleSource sampleSource = new ExtractorSampleSource(Uri.parse(_uri),
dataSource, allocator, BUFFER_SEGMENT_SIZE * BUFFER_SEGMENT_COUNT);
audioRenderer = new MediaCodecAudioTrackRenderer(sampleSource);
mediaPlayer.prepare(audioRenderer);

mediaPlayer.setPlayWhenReady(true);

Where _uri is Url of songs.

Method To Play ExoPlayer

public void playMedia() {
if (!mediaPlayer.getPlayWhenReady()) {
isPlaying = true;
isPause = false;
mediaPlayer.setPlayWhenReady(true);
}

}

This is the method to call for stream  a song and play.Inwhich isPlaying and isPause is a boolean value.

Method to pause media player:

public void pauseMedia() {
if (mediaPlayer.getPlayWhenReady()) {
isPlaying = false;
isPause = true;
mediaPlayer.setPlayWhenReady(false);
}
}

This is the method to call for pause a song.Inwhich isPlaying and isPause is a boolean value.

Method to stop media player

if (mediaPlayer.getPlayWhenReady()) {
mediaPlayer.stop();
}

This is the method to call for stop a song.

Conclusion:

Exoplayer is a powerful concept to stream an audio and video songs.It is very fast and smooth player.When we use Exoplayer Stream an audio and video song on all mobile,there is no problem in any mobile in stream a song.

Read More Media Streaming With Exoplayer

Android

Introduction:

The trends in iOS app development keep on changing year after year. It does create a major impact on the business of organization. Here are trends to follow in 2018 that each and every iPhone app development company needs to follow:

Apple HomeKit

HomeKit is basically Apple’s framework for home automation.Apple HomeKit provides to communicate as well as control connected devices and accessories in home using app.HomeKit framework allows users to configure accessories and create actions to control devices. User will create group and actions and trigger them using Siri app. Users can tell Siri to turn on the lights in the living room or open the garage door.Most of the companies are creating smart home product that will collaborate together in a secure and user-friendly manner.

HomeKit’s pairing process allows the use of iPads and Apple TVs as HomeKit hubs within the home. For instance, products that work on Apple’s HomeKit will get a major overhaul with the launch of Apple’s HomePod Smart speaker.

To use Home app, you need at least one iOS device with Home app installed.

Apple Pay

Apple Pay will continue to grow in 2018 and have a dramatic impact on commerce. Apple Pay is a digital online mobile wallet makes it easy for iOS users to make payments. it supports all the iOS devices including iPhone, iPad, iOS watches and mac laptops. Apple Pay is now supported at 50 percent of stores in U.S . It is now one of the world’s most accepted contactless payment technology.

The iOS developers can easily implement Apple Pay in their application.The service keeps customer payment information private from the retailer by replacing the customer’s credit or debit card.

Cloud-based Applications

iOS app developers are designing cloud driven mobile applications. With the growing demand for cloud technology, it is becoming effortless to get data without impacting internal phone memory. With cloud-based apps like Dropbox, Google Drive, various mobile apps are going to be cloud driven in the near future. Cloud based apps resolve the problem related to data security problems consistent in BYOD world (Bring Your Own Device).

There is perennial problem related to protecting sensitive data with regards to employee devices, which are not completely safe and secure. With Cloud, companies can be assured that data is safe and secure.

Advancement in Artificial Intelligence (AI) and Siri

Apple’s personal assistant Siri has gained prominence worldwide, bringing about a major change in Artificial Intelligence (AI) and contextual learning as Siri understands what people are searching and speaking.

IoT-Focused Apps Will Come to the Forefront

IoT is the buzz word and it is gaining prominence with each passing day. Investment, revenues and profits from IoT is growing at an exponential rate. iOS app developers are already building applications that can communicate with Internet-enabled devices.

As IoT companies continue to provide robust and sophisticated products in the market, iOS app developers will aspire to create value-adding apps that will help users get the most out of their IoT products.

Recognition of digital signals from the sensors deployed in IoT devices and secure exchange of information over Wi-Fi networks will be the areas of focus for iOS developers for 2018 and beyond.

Core Machine Learning

Core Machine Learning is one of the most widely discussed trends in iOS app development. It is a machine learning framework launched by Apple and has been proving effective for tasks related to Camera, QuickType or Siri.

With its robust library, the Core ML will offer communication applicable to all iOS devices. Moreover, it will also be useful in face detection understanding the language and developing the AI-based games. The developers will be able to build highly interactive apps.

Augmented Reality (AR) and ArKit

iOS app developers will be able to develop 3D and virtual reality-based mobile application with AR. In fact, ARKit will also receive ample support from Amazon’s Sumerian application platform. And ever since Amazon has collaborated with Apple’s ARKit, several businesses are exploring the same option. Thus, the present year 2018 will be fruitful for the AR and VR apps.

Would you like to share any trends that will revolutionize iPhone App Development? Share with us. We would love to hear from you.

Well, according to you, what is going to be trending for iOS app development in the year 2018? Share your thoughts in the comment section.

My Some More Blogs are:

How To Create TableView and Implementation of Its Delegate Method in Objective C

Facebook Integration Using Swift

 

Read More iOS App Development Trends in 2018

iPhone Mobile Development Trends

What is Play Store?

Play Store is a digital distribution service operated and developed by Google. It serves as the official app store for the Android operating system.

Play Store also called Marketplace. We can install any app on Play store on all android devices.  It acts as Store or Home of Official developed android apps by developers around the world.  Play Store provides a huge amount of Android apps available and we can access from anywhere using internet connection.

Play Store provides categories of apps to install on Android devices like Art & Design, Communication,  Education, Entertainment, Games, Health & Fitness, Maps & Navigation, Travel & Local, Finance, etc.

According to Google, the number of available applications in the Google Play Store from December 2009 to December 2017 is 3.5 million apps in December 2017, after surpassing 1 million apps in July 2013. As per Comparison, Apple’s App Store remained the second-largest app store with 2.2 million available apps.

Let’s see what are the ways in which Need of Android Application in Play Store and how empowers the app industry and positively affects the mobile application market:

Platform :

Google provides official Android App (Play Store) to the Android Developers and Android Users. The motto of the Play Store is android user can install a variety of apps from this platform and having free as well as paid apps.

Security:

Play Store provides Play Protect feature is an evolution of the Google’s “Verify Apps” service.  The feature, which will be enabled by default on all Android devices, is meant to be a real-time malware scanner that will scan every installed or about-to-be installed app and inform users in case there’s something amiss.

Popularity:

Millions of Android compatible state of the art application are available in play store. As per the analysis, Google’s Android Play Store is the Topmost app store in the world and the tough competitor to its Apple’s App Store is holds the second-largest position.

Conclusion:

Google provides its official Play Store and having security, reliability to choose millions of apps but many of the third-party apps are available on various websites which is not available in play store. The reason behind that these apps are Dangerous work via malicious advertising or even code. While not all third-party apps are “bad,” many stores bait users by offering popular apps for much cheaper prices and subsequently put user privacy very much at risk. Examples of sensitive information extracted through third-party app stores include phone numbers, device information, and email addresses.

So we can always prefer a security while using an Android device, Google provides more security day by day and Google having rights to ban suspicious and malicious apps available on play store.

Read More Need of Android Application In Marketplace

Android Trends

Building strong and meaningful relationships on LinkedIn is always critical to growing your business, whether Software development lead generation, Mobile app development leads, sales lead generation etc.

Most of the people facing such problem, you have hundreds of connection or thousands of connections on LinkedIn but you have been unable to do anything productive or not able to find good (profitable leads with them. And you are struggling to grow your network with meaningful connections on LinkedIn.

LinkedIn is the most useful platform for Entrepreneur, business owner, person. It is most useful and effective when you use it as a relationship building platform.

  1. Start With his/her Name: Always should start your message with Hi or Hello with his/ her name, Because our name is the most beautiful word.
  2. Look for Commonalities: It’s always easier to build a relationship with those when you have something in common or related to your domain or niche.
  3. When you meet someone at a networking event or holiday party, connect with them on LI and make a note: Meet someone and exchange names, Look them up on LinkedIn the next day and send a personalized message
  4. Tell People Why Do You Want To Connect: If you want to connect with someone, make sure you answer the question “ what’s in it for me “ or “introduce yourself with short message”
  5. Look at someone’s LinkedIn photo when you’re talking with them by phone: When you planned to talk to someone I haven’t yet met, you should look at their LinkedIn photo before the talk. It gives us the sense of talking to someone in person.

Why it is so important to put in the extra time and effort into developing each relationship. You are supposed to connect with them not collect them. LinkedIn can be the goldmine of opportunities but only if you know how to mine.

Read More Best Practice For Building Strong Relationship On LinkedIn

Digital Marketing Trends

There are approximately 1.3 million Android apps in the Google Play store and 1.2 million apps in Apple’s App Store, used by nearly two billion smart phone users worldwide.

App Store Optimization is an ongoing process. A successful ASO strategy requires a keen eye, and regular check-ins, regular update on store, use of proper keywords etc.

How to do App Store Optimization (ASO)?

You currently have an advantage because many organizations are not optimizing their apps properly. And due to app store optimization, you can make your application on the top the search result.

To help you boost your app marketing strategy I’ve put together a list of 10 Ultimate ASO tips:

 

1.        Understand your customer and your competition

2.        Start with Descriptive title

3.        Use keywords wisely

4.        Describe your app well with proper keyword

5.        Pick the Right Category

6.        Focus on icon Design

7.        Focus Android Apps, should make Google+ Profile

8.        Include Good screenshots and video

9.        Increase traffic with outside promotion

10.     Update frequently of your application

Conclusion

If you want to have a successful app with lots of visibility and downloads — and income-generating potential — you’ve to pay attention on your app’s ASO.
For Any types of inquire Please do contact us at http://wwww.kodesoft.in

Read More The App Store Optimization Checklist- 10 Ultimate Tips

Android Digital Marketing iPhone Mobile Development Trends

A POC is “a realisation of a certain method or idea in order to demonstrate its feasibility.

A proof of concept is usually small and may or may not be complete”.

In Other words:

it’s a way of testing whether the idea you’ve had is actually going to work.

Imagine:

you have an idea for an app development for your organization, service or feature, but you’re not sure whether it’s even possible to achieve from a technical background as well as functional. So Next step should be to create a very minimal, functioning prototype which demonstrates the feasibility of the proposed technology.and based on that organization can get idea about its implementation.

Use of POC (Proof of Concept)

Most of the big organization or small organization are using proofs-of-concept,for different reasons:

  • to understand a technical risk, such as the performance of a product or its ability to integrate with external systems.
  • to evaluate different technology options for later selection e.g. choice of web server or database,security.
  • to demonstrate how the product might work with a view to informing UX, design and business decisions over its features.

Advantages:

  • you quickly learn whether what you want to do is achievable
  • you quickly learn whether what you want to do is desirable
  • you can get clear understanding of the idea , which you gonna implement.

If your will go with a proof of concept ,this is a great sign that your project is breaking new ground.It’s far more cost effective to make a prototype than to dive straight into development.

Thanks for reading. for any query or support feel free to contact at ksundaram@kodesoft.in

Read More Role of Proof of Concept (POC) in the App Development process/Service or Feature

Proof Of Concept Trends

Introduction of Kotlin

Kotlin is a statically-typed, inferred and functional programming language which is developed by “JetBrains” developers in 2011.JetBrains developers are the main team member who invented Kotlin programming language.Kotlin name is kept from Kotlin island which is near in Saint Petersburg, Russia.
Preview release date: 31 March 2017
Stable release date: 25 April 2017
Kotlin is the combination of multiple languages, for example, something is taken from Scala programming language, something is taken from C++ and something is taken from java etc, and it comes with no limitations.
It also runs in Java Virtual Machine and firstly converted in bytecode and etc. One of the main motives of Kotlin is to compile as fast as java.And one of the main reason to invent Kotlin is to overcome java problems.

Features of Kotlin :
Kotlin introduces many improvements for programmers such as :

1) Kotlin setup is very easy, simply a plugin is available in android studio upload plugin and one option showed that is setup configure Kotlin and click and Kotlin configure automatically.

2)Kotlin is concise which means the code of amount is reduce as compare to other languages.
3)Kotlin is safe means Null-Pointer Exception which is the major problem in Java, which is eliminated in Kotlin.In Kotlin you can create two types of a variable (nullable variable and non-null variable), if you want to create null variable then choose a nullable variable and if you want to create non-null value then choose a non-null variable, it gives error msg not a null-pointer exception.

4)Kotlin is Interoperable means you can easily convert Kotlin program in java and if you want to convert java program in Kotlin then you can easily convert.

 

5)Kotlin is the third language which is fully supported by Android after Java and C++.
6)Kotlin is a completely open source and free in cost and gives one option to convert java to Kotlin and a strong focus on java binary compatibility.
7)It is intended to improve code readability, gives an easier way to extend Android SDK classes and speed up development.

8) In Kotlin, there is no need to write semicolon “;”, without writing semicolon you can run your app.In C, C++, JAVA, Android without semicolon crash your project.
How to use Kotlin:
1: How to declare variables and data types in Kotlin
It declares in two way
i) The first way in which you did not need to pass data type called implicit conversion:
var fruit = “Mango”
val count = 100
Here, fruit is a variable of type String data type, and the count is a variable of type Int data type. You don’t have to specify the types of variables, Kotlin implicitly does that. The compiler knows this by initializer expression (“Mango” is a String, and 100 is an integer value). This is called type inference in programming.
The difference between var and val:
val is an Immutable reference which means the variable declared using val keyword cannot be changed once the value is assigned. It is similar to final variable in Java.
var is the Mutable reference which means the variable declared using var keyword can be changed later in the program. It corresponds to regular Java variable.
ii) second if you want to define data type called explicit conversion:
val a:Int = 6266
Means value convert to integer type
val a:Long = 2000L
the in which compiler considers long data type.Suffix “L” means it converts in long data types.
2>Charecter, String and their functions in Kotlin:
Syntax: class Student(val firstName: String, var age: Int) {
// class body
}
3>Array in Kotlin:
Arrays in Kotlin are represented using the Array class. You can create an array in Kotlin either using the library function arrayOf() or be using the Array() constructor.
You can pass a bunch of values to the arrayOf function to create an array :
var numbers = arrayOf(1, 2, 3, 4, 5)
var animals = arrayOf(“mango”, “jackfruit”, “banana”, “apple”)
var mixedArray = arrayOf(1, true, 3, “hello”, ‘A’)
how to use array in kotlin:
fun main(args: Array<String>){
var array = arrayof(123,234,765)
println(“${array[0]}”) // To print 0th position value of array

for(i in array){
println(“${array[i]}”) //To print all value of array use for loop:
}
}

4>Class and Constructor in kotlin:
Syntax: class student
If you do not want to add body of class then there is no need to add curly braces.if you want to add body of class then need to use curly braces:
Syntax: class student {
//body of class
}
How to call Constructor :student()
fun main(args: Array<String>){
var s = student() //Here call student constructor
}

Conclusion:

Kotlin is a new language with low risk and easy to learn, you stay in the familiar Java ecosystem and you can start using Kotlin alongside with Java.

Read More Top 8 Things You Need To Know About Kotlin, Android’s New Programming Language

Android

Ionic Overview

          Ionic framework was developed back in 2015 as an customization for Apache Cordova by the Drifty Co. software vendor. Mainly it was introduced for the development of hybrid mobile applications.  Hybrid mobile applications are the small websites which are running in browser shell in an app that have access to the native layer.

          Ionic  used as Front-End UI  Framework that handles all the look and feel of mobile application. Ionic uses HTML5, CSS, JavaScript and Angular.Js to build the application. Ionic provides all the functionality which can be found in Native mobile development SDKs.

          Ionic is focused on building modern web standards and modern devices. Ionic supports for Android 4.1 and up and for iOS 7 and up. Ionic 2 supports Universal Windows Platform. Ionic framework powered by Angular.Js supports BlackBerry 10 apps.

React Native Overview

            React Native is a Java Script framework for writing real, native mobile apps for Android and iOS. React Native is based on Facebook Libraries for building UI. React Native is proudly manage and maintain by a community of expert React Native developers and leading corporations, including Facebook and Instagram.

           React Native is an extension of  React.Js, using the same principles such as virtual DOM for updating the UI. React Native uses Native UI components. In Ionic  the components are written in HTML, CSS and JavaScript but React Native uses Native Components.

          React Native is cross-platform means the same code is use for Android as well as iOS. Unlike Ionic, it is not designed for write once and run everywhere. So you need to change some platform specific code in your program.

Ionic  vs  React Native

                                                                                    

 

Ionic

React Native

The general idea of Ionic is for improvement portability of web technology. The general idea of React Native to use functional user interface
TypeScript  (it is super-set of JS that compiles 2 simple and clean JS on any browser) used for Ionic. React Native (JSX that means it is a syntax extension that optimizes the code while compiling the code to JS) used for React Native
Ionic reuses the code to develop android, iOS, windows phone, web, desktop and progressive web-apps React Native reuses the code to develop android, iOS and windows phone apps.
As Ionic is uses web-view the code performance is okay. In the React Native code performance is excellent as there is no web-view.
Testing can be done on any browser while using Ionic In React Native testing is done on emulator or real phone device.
Apache cordova is used as hardware accessibility in Ionic. React Native itself is capable enough.
In Ionic needs to be written only once, but can be executed anywhere. In React Native needs to be learn only once and becomes easy to write on any platform.
Ionic use to develop hybrid mobile applications. React Native is use to develop native mobile applications.
The documentation of Ionic is simple, clean and consistent. Documentation of React Native is very basic
Ionic is based on Angular 2 backed by google. React Native based on react backed by Facebook.

Conclusion

      Ionic and React Native  both are meant for the same purpose but different project requirement. Between Ionic and React Native which framework is better is depends on many factors like, your project, your user requirements etc. They  both do different things, and both do it well.

   If the developer already has ReactJs then React Native is good choice. And if the developer is familiar with Angular then Ionic may be good choice.

Read More Ionic vs React Native

Mobile Development

What is Marketplace?

Marketplace also called GooglPlay Store. Play Store is a digital distribution service operated and developed by Google. It serves as the official app store for the Android Operating System.

We can install any app from Play store on all android devices. Play Store acts as Store or Home of Official developed android apps by developers around the world. Play Store provides a huge amount of Android apps available and we can access from anywhere using internet connection.

Play Store provides categories of apps to install on Android devices like Art & Design, Communication, Education, Entertainment, Games, Health & Fitness, Maps & Navigation, Travel & Local, Finance, etc.

According to Google, the number of available applications in the Google Play Store from December 2009 to December 2017 is 3.5 million apps in December 2017, after surpassing 1 million apps in July 2013. As per Comparison, Apple’s App Store remained the second-largest app store with 2.2 million available apps.

Let’s see what are the ways in which Need Of Android Application In Marketplace and how empowers the app industry and positively affects the mobile application market:

 

Platform : 

Google provides official Android Apps (Play Store) from the Android Developers to Android Users. The Android user can install a variety of apps from this platform and have a bunch of free as well as paid apps.

Security :

Play Store provides Play Protect feature is an evolution of the Google’s “Verify Apps” service. The feature, which will be enabled by default on all Android devices, is meant to be a real-time malware scanner that will scan every installed or about-to-be installed app and inform users in case there’s something amiss.

Popularity :

Millions of Android compatible state of the art application are available in play store. As per the analysis, Google’s Android Play Store is the Topmost app store in the world and a tough competitor against Apple’s App Store holds the second-largest position.

Conclusion :

Google provides its official Play Store and having security, reliability to choose millions of apps but many of the third-party apps are available on various websites which is not available in play store. The reason behind that these apps are Dangerous work via malicious advertising or even code.

While not all third-party apps are “bad,” many stores bait users by offering popular apps for much cheaper prices and subsequently put user privacy very much at risk. Examples of sensitive information extracted through third-party app stores include phone numbers, device information, and email addresses.

So we can always prefer a security while using an Android device, Google provides security and Google having rights to ban suspicious and malicious apps available only on play store.

Read More Need Of Android Application In Marketplace

Android

Trends