Can I send Audio messages / notification in Android Auto?

Can I send Audio messages / notification in Android Auto?

By : user2956336
Date : November 22 2020, 10:54 AM
like below fixes the issue As of now audio messages are not supported.(API level 21) Note that Android auto platform has feature to read out the text sent. And same way, for the reply, android auto can capture the user voice and return it as text.
code :

Share : facebook icon twitter icon
How to send a google map notification for android auto simulator?

How to send a google map notification for android auto simulator?

By : Guy Kolbis
Date : March 29 2020, 07:55 AM
Hope that helps I think you just can not do it now; There is no way you can launch the Android Auto's Google Maps activity directly. I tried to launch the Direction intent by:
code :
    Uri gmmIntentUri = Uri.parse("google.navigation:q=San+Francisco");
    Intent mapIntent = new Intent(Intent.ACTION_VIEW, gmmIntentUri);
How To send messages and notification To Particular User AND All Users Using JMS and MDB?

How To send messages and notification To Particular User AND All Users Using JMS and MDB?

By : ZippyPippy
Date : March 29 2020, 07:55 AM
I wish this help you Finally I found a way. I am posting here for it may help for someone.
If I summarized what I did.
code :
<subsystem xmlns="urn:jboss:domain:messaging-activemq:1.0">
        <server name="default">
            <security-setting name="#">
                <role name="guest" delete-non-durable-queue="true" create-non-durable-queue="true" delete-durable-queue="true" create-durable-queue="true" consume="true" send="true"/>
            <address-setting name="#" message-counter-history-day-limit="10" page-size-bytes="2097152" max-size-bytes="10485760" expiry-address="jms.queue.ExpiryQueue" dead-letter-address="jms.queue.DLQ"/>
            <http-connector name="http-connector" endpoint="http-acceptor" socket-binding="http"/>
            <http-connector name="http-connector-throughput" endpoint="http-acceptor-throughput" socket-binding="http">
                <param name="batch-delay" value="50"/>
            <in-vm-connector name="in-vm" server-id="0"/>
            <http-acceptor name="http-acceptor" http-listener="default"/>
            <http-acceptor name="http-acceptor-throughput" http-listener="default">
                <param name="batch-delay" value="50"/>
                <param name="direct-deliver" value="false"/>
            <in-vm-acceptor name="in-vm" server-id="0"/>
            <jms-queue name="ExpiryQueue" entries="java:/jms/queue/ExpiryQueue"/>
            <jms-queue name="DLQ" entries="java:/jms/queue/DLQ"/>
            <jms-queue name="JMSQueue" entries="java:/jboss/exported/jms/queue/JMSQueue jms/queue/JMSQueue"/>
            <jms-topic name="JMSTopic" entries="jms/topic/JMSTopic java:jboss/exported/jms/topic/JMSTopic"/>
            <connection-factory name="InVmConnectionFactory" entries="java:/ConnectionFactory" connectors="in-vm"/>
            <connection-factory name="RemoteConnectionFactory" entries="java:jboss/exported/jms/RemoteConnectionFactory jms/RemoteConnectionFactory" connectors="http-connector"/>
            <connection-factory name="TopicConnectionFactory" entries="java:jboss/exported/jms/TopicConnectionFactory jms/TopicConnectionFactory" connectors="http-connector"/>
            <pooled-connection-factory name="activemq-ra" transaction="xa" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory" connectors="in-vm"/>
@Resource(mappedName = "jms/topic/EMSTopic")
private Topic topic;

@Resource(mappedName = "jms/TopicConnectionFactory")
private TopicConnectionFactory connectionFactory;
public void send() throws JMSException {
    TopicConnection connection = connectionFactory.createTopicConnection("JMSUser", "jmsuser@123");
    TopicSession session = connection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
    MessageProducer messageProducer = session.createProducer(topic);
    TextMessage outMessage = session.createTextMessage();
    outMessage.setText("Hi User");
    outMessage.setStringProperty("name", "usera");
    System.out.println("message sent ");
public void recieve() throws JMSException {
    System.out.println("message reday to recieve ");

    String selector = "name = 'usera'";

    try (TopicConnection connection = connectionFactory.createTopicConnection("JMSUser", "jmsuser@123")) {
        TopicSession session = connection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
        TopicSubscriber subscriber = session.createDurableSubscriber(topic, "usera", selector, true);
        TextMessage message = (TextMessage) subscriber.receive(2000);
        if (message != null) {
            System.out.println("printing ==> " + message.getText());
        } else {
            System.out.println("no messages");
How to handle Firebase Notification i.e. Notification Messages and Data Messages in Android

How to handle Firebase Notification i.e. Notification Messages and Data Messages in Android

By : Egoy Romano
Date : March 29 2020, 07:55 AM
it should still fix some issue Well, I found the answers to my own question so I'm posting the answer for someone who is looking for firebase integration in xamarin.
code :
<receiver android:name="com.google.firebase.iid.FirebaseInstanceIdInternalReceiver" android:exported="false" />
<receiver android:name="com.google.firebase.iid.FirebaseInstanceIdReceiver" android:exported="true" android:permission="com.google.android.c2dm.permission.SEND">
        <action android:name="com.google.android.c2dm.intent.RECEIVE" />
        <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
        <category android:name="${applicationId}" />
[IntentFilter(new[] { "com.google.firebase.INSTANCE_ID_EVENT" })]
public class MyFirebaseIIDService : FirebaseInstanceIdService
  public override void OnTokenRefresh()
        const string TAG = "MyFirebaseIIDService";
        var refreshedToken = FirebaseInstanceId.Instance.Token;
        Log.Debug(TAG, "Refreshed token: " + refreshedToken);
   void SendRegistrationToServer(string token)
       // Add custom implementation, as needed.
[IntentFilter(new[] { "com.google.firebase.MESSAGING_EVENT" })]
public class MyFirebaseMessagingService : FirebaseMessagingService
   // private string TAG = "MyFirebaseMsgService";
      public override void OnMessageReceived(RemoteMessage message)
       string messageFrom = message.From;
       string getMessageBody = message.GetNotification().Body;
void SendNotification(string messageBody)
        var intent = new Intent(this, typeof(MainActivity));
        var pendingIntent = PendingIntent.GetActivity(this, 0, intent, PendingIntentFlags.OneShot);

        NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)

        NotificationManagerCompat notificationManager = NotificationManagerCompat.From(this);
        notificationManager.Notify(0, notificationBuilder.Build());
    catch (Exception ex)

  if (Intent.Extras != null)
        foreach (var key in Intent.Extras.KeySet())
            var value = Intent.Extras.GetString(key);
            Log.Debug(TAG, "Key: {0} Value: {1}", key, value);
public bool IsPlayServicesAvailable()
    int resultCode = GoogleApiAvailability.Instance.IsGooglePlayServicesAvailable(this);
    if (resultCode != ConnectionResult.Success)
        if (GoogleApiAvailability.Instance.IsUserResolvableError(resultCode))
            msgText.Text = GoogleApiAvailability.Instance.GetErrorString(resultCode);
            msgText.Text = "This device is not supported";
        return false;
        msgText.Text = "Google Play Services is available.";
        return true;
void CreateNotificationChannel()
   if (Build.VERSION.SdkInt < BuildVersionCodes.O)
    // Notification channels are new in API 26 (and not a part of the
    // support library). There is no need to create a notification 
    // channel on older versions of Android.

  var channel = new NotificationChannel(CHANNEL_ID, "FCM Notifications", NotificationImportance.Default)
                  Description = "Firebase Cloud Messages appear in this channel"

var notificationManager = (NotificationManager) GetSystemService(NotificationService);
Auto open Activity when notification is send without clicking on notification

Auto open Activity when notification is send without clicking on notification

By : user2991806
Date : March 29 2020, 07:55 AM
I wish this helpful for you Yes from notificationReceiver onReceive() method you can directly call startActivity like below
code :
Intent resultIntent = new Intent(getApplicationContext(), ActivityName.class);
                + Calendar.getInstance().getTimeInMillis()));
        resultIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_SINGLE_TOP);
is it possible to send push notification with video/audio IOS?

is it possible to send push notification with video/audio IOS?

By : Francesco
Date : March 29 2020, 07:55 AM
may help you . Well yes and no is the answer. You can't really include the audio/video in the push notification.
What you could do is, in the payload of the push notification, add an URL to an audio/video file. Once your user select to view the push notification you can pick up the URL and load the audio/video.
Related Posts Related Posts :
  • Android Studio gradle build failed for hello world app
  • Slide a layout up from bottom of screen
  • Play HTML5 video in iOS/Android native media player
  • How to rescale a bitmap file in android?
  • No view found for id 0x for fragment after rotation?
  • Define different themable styles to the same widget types
  • ProGuard not working in my app
  • FragmentTransaction from BaseAdapter
  • Connecting multiple devices in a Wifi Direct group
  • Why TabActivity is deprecated in android
  • How to capture low resolution picture using android camera
  • android preferenceactivity padding in landscape orientation
  • How can I store cookie in webview?
  • Passing variables from one activity to another
  • Create Multicolored Pie Chart in Android Studio
  • how to kill progress dialog in android
  • Show Error on the tip of the Edit Text Android
  • How do I use getWindowManager() by another java file
  • fetching images from gallery on android phones with internal storage
  • How to discover devices like Google TV and Nexus-Q using MediaRoute API on Android?
  • "Unfortunately your app stopped working"- Facebook Integration for Android
  • How to animate button in android?
  • Resource Not Found Exception in class without context or activity
  • Launching Android Netflix App And Passing Video Id
  • Making a Phone Call with a Number Extension
  • NullPointerException at BoringLayout.isBoring is anything but boring
  • java.lang.RuntimeException: Unable to get provider
  • Testing custom Views with Robolectric
  • tools:listheader doesn't work although tools:listitem does
  • oppo, vivo app kill notification not coming in android fcm
  • OnClick Method could not function correctly with if else statement
  • Best method to download image from url in Android
  • How can I open Drawer Layout moving all the view and not just slide over?
  • how to show profile pictures of friends in a list view?
  • Creating TimePickerDialog with custom style in Android
  • Android 2.3.6 support library v7 option menu is missing
  • need of vblank in Display subssytem
  • Android MP4 stream - Video cannot be played
  • FastAdapter: Undo button does not show up after swipe
  • What are reasons to pass getActivity as the LifecycleOwner to the LiveData's observe method in a fragment?
  • Implement Face Recognition in Android
  • Titanium studio cannot run "titanium" command in terminal
  • How to execute command line ffmpeg commands programatically in android?
  • Make Android List Items clickable with each item pointing to a different link
  • listview runs successfully, but nothing is display in emulator
  • How to zoom in a bitmap with high resolution?
  • Passing listView data through intent
  • Google map route direction show by arrows in android v2
  • how to start "uiautomator test run" from android code?
  • Proguard in Android Library
  • Alarm Clock from GIT - Gives error - Android
  • Mock injection using Mockito - Android
  • Get Bitmap from universal image loader
  • Unable to include custom font in android
  • Basics on using logcat in Android development
  • Android: Clear cache programmatically
  • Android: pass object without serialization
  • Can not scroll and click item on gridview inside scrollview
  • Android device keeps disconnecting from adb / eclipse
  • Volley cannot create cache directory. Could not clean up file
  • shadow
    Privacy Policy - Terms - Contact Us © ourworld-yourmove.org