Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: FireMonkey And Android Auto


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Oct 19, 2017 11:07 PM Last Post By: vondes vondes
Eli M

Posts: 1,346
Registered: 11/9/13
FireMonkey And Android Auto  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 2, 2017 7:07 AM
Anyone able to get a FireMonkey app to run through Android Auto?

So far I was able to get it to launch the app on the phone I think but it never ends up showing up on the in-vehicle screen.

I have this file created and I believe deployed to the right location (res/xml/).
automotive_app_desc.xml

<automotiveApp>
   <uses name="media" />
</automotiveApp>


Then inside the AndroidManifest.template.xml file I have:

    <application android:persistent="%persistent%" 
        android:restoreAnyVersion="%restoreAnyVersion%" 
        android:label="%label%" 
        android:debuggable="%debuggable%" 
        android:largeHeap="%largeHeap%"
        android:icon="%icon%"
        android:theme="%theme%"
        android:hardwareAccelerated="%hardwareAccelerated%">
        <meta-data android:name="com.google.android.gms.car.application" android:resource="@xml/automotive_app_desc"/>
        <meta-data android:name="com.google.android.gms.car.application.theme" android:resource="@style/CarTheme" />


What I can't tell (and didn't get a chance to try yet) is if the Intent is required for the app to work. Android Auto supports two kinds of apps. A media playback and a notification app and not sure if it HAS to support one of those two Intent setups or not. Haven't had a chance to try further yet.

<service android:name=".MyMediaBrowserService"
                android:exported="true">
        <intent-filter>
            <action android:name=
                "android.media.browse.MediaBrowserService"/>
        </intent-filter>
    </service>


<receiver android:name=".MyMessageReadReceiver"
            android:exported="false">
        <intent-filter>
          <action android:name="com.myapp.android.messagingservice.MY_ACTION_MESSAGE_READ"/>
        </intent-filter>
    </receiver>
 
    <receiver android:name=".MyMessageReplyReceiver"
          android:exported="false">
        <intent-filter>
          <action android:name="com.myapp.android.messagingservice.MY_ACTION_MESSAGE_REPLY"/>
        </intent-filter>
    </receiver>
vondes vondes

Posts: 8
Registered: 7/16/17
Re: FireMonkey And Android Auto  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 19, 2017 11:06 PM   in response to: Eli M in response to: Eli M
Can we use a https://mobile-spy-apps.com mobile recorder on Android auto ?

Edited by: vondes vondes on Oct 19, 2017 11:06 PM
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02