Bosch Group604 open jobs

HMI Architect – Android Platform

MobilePosted 3 days agofrom Bosch Group's own hiring page

Work type
On-siteBengaluru
Experience
10+ years
Pay
Not listedUsually ₹7.0 LPAMobile, median, all levels, in India (Payscale)
Posted
3 days ago
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 and C++

About the job

Job Description

Lead the architecture and scaled adoption of HMI on Android, driving end-to-end solutions from concept to production while ensuring scalability, compliance, and business value. 

Responsibility:Architectural LeadershipOwn HMI architecture lifecycle (discovery ? production)Define reference architectures & design patternsGovernance & AlignmentCollaborate with governance teams for design approvals

Ensure alignment to organizational & platform standardsPlatform & ReusabilityBuild reusable components and frameworks

Drive scalable adoption across multiple programsInnovation & Enablement

Evaluate HMI opportunities and assess feasibility & costLead AI-first SDLC adoptionMentorship & Capability BuildingMentor teams on architecture & best practicesEnable high-performing engineering teams

Required:10+ years in Architecture / Platform EngineeringStrong expertise in Android, Java, C++Proven ability to scale prototypes to productionExcellent stakeholder management & communicationStrong mentoring and technical leadership skills

Qualifications

B.Tech/M.Tech

Additional Information

12+

Company Description

Bosch Global Software Technologies Private Limited is a 100% owned subsidiary of Robert Bosch GmbH, one of the world's leading global supplier of technology and services, offering end-to-end Engineering, IT and Business Solutions. With over 27,000+ associates, it’s the largest software development center of Bosch, outside Germany, indicating that it is the Technology Powerhouse of Bosch in India with a global footprint and presence in the US, Europe and the Asia Pacific region.

Interested?HMI Architect – Android Platform at Bosch Group

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Android, Java and C++

Interview questions for this job

For the skills the ad mentions: Android, Java and C++.

346 questions
  • What do you know about PendingIntent?Android

    PendingIntent

    A PendingIntent specifies an action to take in the future. It lets you pass a future Intent to another application and allow that application to execute that Intent as if it had the same permissions as your application, whether or not your application is still around when the Intent is eventually invoked.

    By giving a PendingIntent to another application, you are granting it the right to perform the operation you have specified as if the other application was yourself (with the same permissions and identity). As such, you should be careful about how you build the PendingIntent: often, for example, the base Intent you supply will have the component name explicitly set to one of your own components, to ensure it is ultimately sent there and nowhere else.

    It is an Intent action that you want to perform but at a later time. The reason it’s needed is because an Intent must be created and launched from a valid context in your application, but there are certain cases where one is not available at the time you want to run the action because you are technically outside the application’s context.

    Android 12 includes important changes to pending intents, including a change that requires explicitly deciding when a PendingIntent is mutable or immutable.

    Example of usage

    The most common, and most basic, way to use a PendingIntent is as the action associated with a notification:

    val intent = Intent(applicationContext, MainActivity::class.java).apply {
        action = NOTIFICATION_ACTION
        data = deepLink
    }
    val pendingIntent = PendingIntent.getActivity(
        applicationContext,
        NOTIFICATION_REQUEST_CODE,
        intent,
        PendingIntent.FLAG_IMMUTABLE
    )
    val notification = NotificationCompat.Builder(
            applicationContext,
            NOTIFICATION_CHANNEL
        ).apply {
            // ...
            setContentIntent(pendingIntent)
            // ...
        }.build()
    notificationManager.notify(
        NOTIFICATION_TAG,
        NOTIFICATION_ID,
        notification
    )
    

    We can see that we’re constructing a standard type of Intent that will open our app, and then simply wrapping that in a PendingIntent before adding it to our notification.

    In this case, since we have an exact action we know we want to perform, we construct a PendingIntent that cannot be modified by the app we pass it to by utilizing a flag called FLAG_IMMUTABLE.

    Updating an immutable PendingIntent

    If an app needs to update a PendingIntent that it needs to be mutable, but that’s not always the case! The app that creates a PendingIntent can always update it by passing the flag FLAG_UPDATE_CURRENT:

    val updatedIntent = Intent(applicationContext, MainActivity::class.java).apply {
       action = NOTIFICATION_ACTION
       data = differentDeepLink
    }
    // Because we're passing `FLAG_UPDATE_CURRENT`, this updates
    // the existing PendingIntent with the changes we made above.
    val updatedPendingIntent = PendingIntent.getActivity(
       applicationContext,
       NOTIFICATION_REQUEST_CODE,
       updatedIntent,
       PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT
    )
    // The PendingIntent has been updated.
    

    Details on flags

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

  • Describe Queue interface from java collectionJava

    Queue interface

    public interface Queue<E> extends Collection<E>
    

    A collection designed for holding elements prior to processing. Besides basic Collection operations, queues provide additional insertion, extraction, and inspection operations. Each of these methods exists in two forms: one throws an exception if the operation fails, the other returns a special value (either null or false, depending on the operation). The latter form of the insert operation is designed specifically for use with capacity-restricted Queue implementations; in most implementations, insert operations cannot fail.

    Concurrency Throws exception Returns special value
    Insert add(e) offer(e)
    Remove remove() poll()
    Examine element() peek()

    Queues typically, but do not necessarily, order elements in a FIFO (first-in-first-out) manner. Among the exceptions are priority queues, which order elements according to a supplied comparator, or the elements' natural ordering, and LIFO queues (or stacks) which order the elements LIFO (last-in-first-out). Whatever the ordering used, the head of the queue is that element which would be removed by a call to remove() or poll(). In a FIFO queue, all new elements are inserted at the tail of the queue. Other kinds of queues may use different placement rules. Every Queue implementation must specify its ordering properties.1

    The Queue interface does not define the blocking queue methods, which are common in concurrent programming. These methods, which wait for elements to appear or for space to become available, are defined in the BlockingQueue interface, which extends this interface.

    Queue implementations generally do not allow insertion of null elements, although some implementations, such as LinkedList, do not prohibit insertion of null. Even in the implementations that permit it, null should not be inserted into a Queue, as null is also used as a special return value by the poll method to indicate that the queue contains no elements.

    Queue implementations generally do not define element-based versions of methods equals and hashCode but instead inherit the identity based versions from class Object, because element-based equality is not always well-defined for queues with the same elements but different ordering properties.2

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

  • What is the copy-and-swap idiom?C++

    Overview

    Why do we need the copy-and-swap idiom?

    Any class that manages a resource (a wrapper, like a smart pointer) needs to implement The Big Three. While the goals and implementation of the copy-constructor and destructor are straightforward, the copy-assignment operator is arguably the most nuanced and difficult. How should it be done? What pitfalls need to be avoided?

    The copy-and-swap idiom is the solution, and elegantly assists the assignment operator in achieving two things: avoiding code duplication, and providing a strong exception guarantee.

    How does it work?

    Conceptually, it works by using the copy-constructor's functionality to create a local copy of the data, then takes the copied data with a swap function, swapping the old data with the new data. The temporary copy then destructs, taking the old data with it. We are left with a copy of the new data.

    In order to use the copy-and-swap idiom, we need three things: a working copy-constructor, a working destructor (both are the basis of any wrapper, so should be complete anyway), and a swap function.

    A swap function is a non-throwing function that swaps two objects of a class, member for member. We might be tempted to use std::swap instead of providing our own, but this would be impossible; std::swap uses the copy-constructor and copy-assignment operator within its implementation, and we'd ultimately be trying to define the assignment operator in terms of itself!

    (Not only that, but unqualified calls to swap will use our custom swap operator, skipping over the unnecessary construction and destruction of our class that std::swap would entail.)

    An in-depth explanation

    The goal

    Let's consider a concrete case. We want to manage, in an otherwise useless class, a dynamic array. We start with a working constructor, copy-constructor, and destructor:

    #include <algorithm> // std::copy
    #include <cstddef> // std::size_t
    class dumb_array
    {
    public:
        // (default) constructor
        dumb_array(std::size_t size = 0)
            : mSize(size),
              mArray(mSize ? new int[mSize]() : nullptr)
        {
        }
        // copy-constructor
        dumb_array(const dumb_array& other)
            : mSize(other.mSize),
              mArray(mSize ? new int[mSize] : nullptr)
        {
            // note that this is non-throwing, because of the data
            // types being used; more attention to detail with regards
            // to exceptions must be given in a more general case, however
            std::copy(other.mArray, other.mArray + mSize, mArray);
        }
        // destructor
        ~dumb_array()
        {
            delete [] mArray;
        }
    private:
        std::size_t mSize;
        int* mArray;
    };
    

    This class almost manages the array successfully, but it needs operator= to work correctly.

    A failed solution

    Here's how a naive implementation might look:

    // the hard part
    dumb_array& operator=(const dumb_array& other)
    {
        if (this != &other) // (1)
        {
            // get rid of the old data...
            delete [] mArray; // (2)
            mArray = nullptr; // (2) *(see footnote for rationale)
            // ...and put in the new
            mSize = other.mSize; // (3)
            mArray = mSize ? new int[mSize] : nullptr; // (3)
            std::copy(other.mArray, other.mArray + mSize, mArray); // (3)
        }
        return *this;
    }
    

    And we say we're finished; this now manages an array, without leaks. However, it suffers from three problems, marked sequentially in the code as (n).

    Read the rest at the sourceFrom Stack Overflow: asked by GManNickG, answered by GManNickG (CC BY-SA 4.0)

  • Explain: Main components of Android applicationAndroid

    Main components of android application

    Application components are the essential building blocks of an Android application. These components are loosely coupled by the application manifest file AndroidManifest.xml that describes each component of the application and how they interact.

    Main components of android application are:

    • Activities
    • Services
    • Broadcast Receivers
    • Content Providers

    A Activity represents a single screen with a user interface, in-short Activity performs actions on the screen. An activity provides the window in which the app draws its UI. This window typically fills the screen, but may be smaller than the screen and float on top of other windows. Generally, one activity implements one screen in an app. For instance, one of an app’s activities may implement a Preferences screen, while another activity implements a Select Photo screen. In new architectural approaches, there is only one activity for the entire application, and it controls the fragments that interact with the user.

    A Service is an application component that can perform long-running operations in the background, and it doesn't provide a user interface. Another application component can start a service, and it continues to run in the background even if the user switches to another application. Additionally, a component can bind to a service to interact with it and even perform interprocess communication (IPC). For example, a service can handle network transactions, play music, perform file I/O, or interact with a content provider, all from the background.

    A Broadcast Receivers (receiver) is an Android component which allows you to register for system or application events. Android apps can send or receive broadcast messages from the Android system and other Android apps, similar to the publish-subscribe design pattern. These broadcasts are sent when an event of interest occurs. For example, the Android system sends broadcasts when various system events occur, such as when the system boots up or the device starts charging. Apps can also send custom broadcasts, for example, to notify other apps of something that they might be interested in (for example, some new data has been downloaded).

    A Content Provider manages access to a central repository of data. You implement a provider as one or more classes in an Android application, along with elements in the manifest file. One of your classes implements a subclass ContentProvider, which is the interface between your provider and other applications. Although content providers are meant to make data available to other applications, you may of course have activities in your application that allow the user to query and modify the data managed by your provider.

    Links

    https://www.tutorialspoint.com/android/android_application_components.htm
    https://developer.android.com/guide/components/activities/intro-activities
    https://developer.android.com/guide/components/services
    https://www.vogella.com/tutorials/AndroidBroadcastReceiver/article.html
    https://developer.android.com/guide/topics/providers/content-provider-creating

    From Android Interview Questions (Apache 2.0)

  • Why is printing "B" dramatically slower than printing "#"?Java

    Pure speculation is that you're using a terminal that attempts to do word-wrapping rather than character-wrapping, and treats B as a word character but # as a non-word character. So when it reaches the end of a line and searches for a place to break the line, it sees a # almost immediately and happily breaks there; whereas with the B, it has to keep searching for longer, and may have more text to wrap (which may be expensive on some terminals, e.g., outputting backspaces, then outputting spaces to overwrite the letters being wrapped).

    But that's pure speculation.

    From Stack Overflow: asked by Kuba Spatny, answered by T.J. Crowder (CC BY-SA 3.0)

  • Have you ever taken the initiative?Behavioural

    Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:

    • when have you faced a challenging situation?
    • can you tell us about a personal achievement at work?
    • have you ever taken the initiative?
    • have you ever failed at a task?

    Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.

    If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.

    Use the  STAR method  to help structure your answers.

    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,716) and Mobile developer jobs in India (195)