Motorola Solutions44 open jobs

Software Engineer (Java, Android/Kotlin/IOS/Javascript)

MobilePosted over 2 months agofrom Motorola Solutions's own hiring page

Work type
On-siteBengaluru
Experience
2+ years
Pay
Not listedUsually ₹5.1 LPAMobile, median at 1–4 years, in India (Payscale)
Posted
Over 2 months agoOpen 2 months
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Android, Java, Kotlin and 5 more

About the job

Company Overview

At Motorola Solutions, we believe that everything starts with our people. We’re a global close-knit community, united by the relentless pursuit to help keep people safer everywhere. We build and connect technologies to help protect people, property and places. Our solutions foster the collaboration that’s critical for safer communities, safer schools, safer hospitals, safer businesses, and ultimately, safer nations. Connect with a career that matters, and help us build a safer future.


Department Overview

The UXE organization designs and delivers high-performance Wave PTX client applications and web portals, combining intuitive user experiences with the strict reliability required for mission-critical environments.


Job Description

  • Analyzes, develops, designs, and maintains software for the organization’s products and systems.
  • Performs system integration of software and hardware to maintain throughput and program consistency.
  • Develops, validates, and tests: structures and user documentation.

PRIMARY SKILLS

  • Proficiency in Telecom Domain with hands-on experience developing high quality mobile applications for public safety and enterprise communication using Android and Flutter frameworks.
  • VoIP Protocol Mastery: Extensive experience with SIP, RTP, RTCP, TCP/UDP protocols


Basic Requirements

Android Development Expertise

  • Advanced Java Programming: 2+ years of hands-on experience with Java for Android development. Hands on Knowledge on Flutter or similar cross platform would be good.
  • Kotlin: Working knowledge and experience integrating Kotlin modules in
  • Java-based projects
  • Android SDK: Deep understanding of Android SDK (API 35+), Activity/Fragment
  • lifecycle, Services, BroadcastReceivers
  • Android Architecture: Repository pattern, and Android Architecture
  • Components
  • Gradle Build System: Proficiency with multi-module Gradle projects, build variants, flavors, and dependency management
  • Android Studio Proficiency with debugging tools, profilers, and build optimization
  • Android Platform Knowledge Android APIs Knowledge: Comprehensive knowledge of Android framework APIs Android Components: Activity, Fragment, Services, Content Providers, Intent filters
  • Android System Features: Power management, background limits, telephony APIs Native Development & JNI Integration
  • JNI (Java Native Interface): Hands-on experience bridging Java/Kotlin with native C/C++ code
  • SWIG Integration: Working with SWIG-generated wrapper classes for native API exposure
  • Memory Management: Understanding of memory allocation, deallocation, and leak prevention between Java and native layers
  • Multithreading & Performance: Multithreading, Thread Management, Synchronization, Concurrency, Performance Optimization


Travel Requirements

None


Relocation Provided

None


Position Type

Experienced

Referral Payment Plan

No

EEO Statement

Motorola Solutions is an Equal Opportunity Employer. All qualified applicants will receive consideration for employment without regard to race, color, religion or belief, sex, sexual orientation, gender identity, national origin, disability, veteran status or any other legally-protected characteristic. 

We are proud of our people-first and community-focused culture, empowering every Motorolan to be their most authentic self and to do their best work to deliver on the promise of a safer world. If you’d like to join our team but feel that you don’t quite meet all of the preferred skills, we’d still love to hear why you think you’d be a great addition to our team.

Interested?Software Engineer (Java, Android/Kotlin/IOS/Javascript) at Motorola Solutions

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Android, Java, Kotlin and 5 more

Interview questions for this job

For the skills the ad mentions: Android, Java, Kotlin, iOS, JavaScript, Flutter, C and C++.

1,012 questions
  • What do you know about FileProvider?Android

    FileProvider

    FileProvider is a special subclass of ContentProvider that facilitates secure sharing of files associated with an app by creating a content:// Uri for a file instead of a file:/// Uri.

    A content URI allows you to grant read and write access using temporary access permissions. When you create an Intent containing a content URI, in order to send the content URI to a client app, you can also call Intent.setFlags() to add permissions. These permissions are available to the client app for as long as the stack for a receiving Activity is active. For an Intent going to a Service, the permissions are available as long as the Service is running.

    In comparison, to control access to a file:/// Uri you have to modify the file system permissions of the underlying file. The permissions you provide become available to any app, and remain in effect until you change them. This level of access is fundamentally insecure.

    The increased level of file access security offered by a content URI makes FileProvider a key part of Android's security infrastructure.

    Defining a FileProvider

    Since the default functionality of FileProvider includes content URI generation for files, you don't need to define a subclass in code. Instead, you can include a FileProvider in your app by specifying it entirely in XML. To specify the FileProvider component itself, add a <provider> element to your app manifest. Set the android:name attribute to androidx.core.content.FileProvider. Set the android:authorities attribute to a URI authority based on a domain you control; for example, if you control the domain mydomain.com you should use the authority com.mydomain.fileprovider. Set the android:exported attribute to false; the FileProvider does not need to be public. Set the android:grantUriPermissions attribute to true, to allow you to grant temporary access to files. For example:

    <manifest>
        ...
        <application>
            ...
            <provider
                android:name="androidx.core.content.FileProvider"
                android:authorities="com.mydomain.fileprovider"
                android:exported="false"
                android:grantUriPermissions="true">
                ...
            </provider>
            ...
        </application>
    </manifest>
    

    Specifying Available Files

    A FileProvider can only generate a content URI for files in directories that you specify beforehand. To specify a directory, specify its storage area and path in XML, using child elements of the <paths> element. For example, the following paths element tells FileProvider that you intend to request content URIs for the images/ subdirectory of your private file area.

    <paths xmlns:android="http://schemas.android.com/apk/res/android">
        <files-path name="my_images" path="images/"/>
        ...
    </paths>
    

    The <paths> element must contain one or more of the following child elements:

    <files-path name="name" path="path" />
    

    These child elements all use the same attributes:

    name="name". A URI path segment. To enforce security, this value hides the name of the subdirectory you're sharing. The subdirectory name for this value is contained in the path attribute.

    Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)

  • Can a constructor be inheritedJava

    Constructor inherited

    Short answer - no, a constructor cannot be inherited. Reasons:

    • Constructors are special and have same name as class name. So if constructors were inherited in child class then child class would contain a parent class constructor which is against the constraint that constructor should have same name as class name
    • A constructor cannot be called as a method. It is called when object of the class is created so it does not make sense of creating child class object using parent class constructor notation. i.e. Child c = new Parent();
    • If constructors can be inherited then it will be impossible to achieving encapsulation. Because by using a super class’s constructor we can access/initialize private members of a class.

    Links

    https://www.geeksforgeeks.org/constructors-not-inherited-java/
    https://stackoverflow.com/questions/18147768/why-constructors-can-not-be-inherited-in-java

    From Android Interview Questions (Apache 2.0)

  • Explain: Scope functionsKotlin

    Scope functions

    The Kotlin standard library contains several functions whose sole purpose is to execute a block of code within the context of an object. When you call such a function on an object with a lambda expression provided, it forms a temporary scope. In this scope, you can access the object without its name. Such functions are called scope functions. There are five of them: let, run, with, apply, and also.

    Here's a typical usage of a scope function:

    Person("Alice", 20, "Amsterdam").let {
        println(it)
        it.moveTo("London")
        it.incrementAge()
        println(it)
    }
    

    The scope functions do not introduce any new technical capabilities, but they can make your code more concise and readable.

    Due to the similar nature of scope functions, choosing the right one for your case can be a bit tricky. The choice mainly depends on your intent and the consistency of use in your project.

    Distinctions

    Because the scope functions are all quite similar in nature, it's important to understand the differences between them. There are two main differences between each scope function:

    • The way to refer to the context object
    • The return value.

    Context object: this or it

    Inside the lambda of a scope function, the context object is available by a short reference instead of its actual name. Each scope function uses one of two ways to access the context object: as a lambda receiver (this) or as a lambda argument (it)

    fun main() {
        val str = "Hello"
        // this
        str.run {
            println("The receiver string length: $length")
            //println("The receiver string length: ${this.length}") // does the same
        }
        // it
        str.let {
            println("The receiver string's length is ${it.length}")
        }
    }
    

    this. run, with, and apply refer to the context object as a lambda receiver - by keyword this. Hence, in their lambdas, the object is available as it would be in ordinary class functions. In most cases, you can omit this when accessing the members of the receiver object, making the code shorter. On the other hand, if this is omitted, it can be hard to distinguish between the receiver members and external objects or functions. So, having the context object as a receiver (this) is recommended for lambdas that mainly operate on the object members: call its functions or assign properties.

    it.In turn, let and also have the context object as a lambda argument. If the argument name is not specified, the object is accessed by the implicit default name it. it is shorter than this and expressions with it are usually easier for reading. However, when calling the object functions or properties you don't have the object available implicitly like this. Hence, having the context object as it is better when the object is mostly used as an argument in function calls. it is also better if you use multiple variables in the code block.

    Return value

    The scope functions differ by the result they return:

    • apply and also return the context object.
    • let, run, and with return the lambda result.

    The return value of apply and also is the context object itself. Hence, they can be included into call chains as side steps: you can continue chaining function calls on the same object after them.

    Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)

  • Explain why a compile time error occurs. How can you fix it?iOS

    Task: The following code snippet results in a compile time error:

    struct IntStack {
      var items = [Int]()
      func add(x: Int) {
        items.append(x) // Compile time error here
      }
    }
    

    Solution: Structures are value types. By default, the properties of a value type cannot be modified from within its instance methods. However, you can optionally allow such modification to occur by declaring the instance methods as ‘mutating’:

    struct IntStack {
      var items = [Int]()
      mutating func add(x: Int) {
        items.append(x) // All good!
      }
    }
    

    From Awesome iOS Interview (MIT)

  • What is the most efficient way to deep clone an object in JavaScript?JavaScript

    Native deep cloning

    There's now a structuredClone(value) function supported in all major browsers and node >= 17. It has polyfills for older systems.

    structuredClone(value)
    

    If needed, loading the polyfill first:

    import structuredClone from '@ungap/structured-clone';
    

    See this answer for more details, but note these limitations:

    • Function objects cannot be duplicated by the structured clone algorithm; attempting to throws a DataCloneError exception.
    • Cloning DOM nodes likewise throws a DataCloneError exception.
    • Certain object properties are not preserved:
      • The lastIndex property of RegExp objects is not preserved.
      • Property descriptors, setters, getters, and similar metadata-like features are not duplicated. For example, if an object is marked readonly with a property descriptor, it will be read/write in the duplicate, since that's the default.
      • The prototype chain is not walked or duplicated.

    Older answers

    Fast cloning with data loss - JSON.parse/stringify

    If you do not use Dates, functions, undefined, Infinity, RegExps, Maps, Sets, Blobs, FileLists, ImageDatas, sparse Arrays, Typed Arrays or other complex types within your object, a very simple one liner to deep clone an object is:

    JSON.parse(JSON.stringify(object))

    const a = {
      string: 'string',
      number: 123,
      bool: false,
      nul: null,
      date: new Date(),  // stringified
      undef: undefined,  // lost
      inf: Infinity,  // forced to 'null'
      re: /.*/,  // lost
    }
    console.log(a);
    console.log(typeof a.date);  // Date object
    const clone = JSON.parse(JSON.stringify(a));
    console.log(clone);
    console.log(typeof clone.date);  // result of .toISOString()

    See Corban's answer for benchmarks.

    Reliable cloning using a library

    Since cloning objects is not trivial (complex types, circular references, function etc.), most major libraries provide function to clone objects. Don't reinvent the wheel - if you're already using a library, check if it has an object cloning function. For example,

    • lodash - cloneDeep; can be imported separately via the lodash.clonedeep module and is probably your best choice if you're not already using a library that provides a deep cloning function
    • Ramda - clone
    • AngularJS - angular.copy
    • jQuery - jQuery.extend(true, { }, oldObject); .clone() only clones DOM elements
    • just library - just-clone; Part of a library of zero-dependency npm modules that do just do one thing. Guilt-free utilities for every occasion.

    From Stack Overflow: asked by jschrab, answered by John Resig (CC BY-SA 4.0)

  • Why do you think you're a good fit for our company?Behavioural

    Employers want to see that you have a genuine interest in working for them by asking questions like:

    • what do you know about our company?
    • why do you think you're a good fit for our company?
    • why do you want to work for us?

    To prepare for questions about the employer, you need to research the company. You should look at their website and 'about us' pages to find out more about their products, services and values.

    Show what you've learned about the company throughout the interview.

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Mobile developer jobs in Bengaluru (63), Jobs in Bengaluru (10,723) and Mobile developer jobs in India (195)