<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>DFU App Crash - Bad notification for startForeground</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81141/dfu-app-crash---bad-notification-for-startforeground</link><description>So I came across an issue while working on developing an app that can update firmware OTA. I was using Nordic Semi - android DFU Library 
 implementation &amp;#39;no.nordicsemi.android:dfu:1.11.0&amp;#39; But everytime I ran the app, we are able to select the file for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Oct 2021 07:10:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81141/dfu-app-crash---bad-notification-for-startforeground" /><item><title>RE: DFU App Crash - Bad notification for startForeground</title><link>https://devzone.nordicsemi.com/thread/336330?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 07:10:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bd768d1-a86a-4ad9-aa2b-3a009389e8a8</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/aveins_5f00_android"&gt;Aveins_android&lt;/a&gt; Hi if you are using a foreground service for the DFU process, you need to display a notification to the user. So the error you are seeing is related to this. Please look in to the documentation&amp;nbsp;&lt;a href="https://developer.android.com/guide/components/foreground-services"&gt;here&lt;/a&gt;&amp;nbsp;regarding displaying a notification correctly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>