Nook HD / HD+ Live Wallpaper Chooser Errors - Store Rejections:
I am hitting the wall :BangHead: trying to pass Barnes & Nobles (Nook) App review for my latest Live Wallpaper done with B4A. While I had no problems with that LWP on Google Play and Amazon, Nook HD QA team keeps sending it back. The reason: while it works fine on Nook Color and Tablet, on Nook HD/HD+ they get the popup saying it cannot find the activity to handle intent:
This is the code I use to open Live Wallpaper chooser (similar code works fine on Amazon and Google Play:
What's interesting, I have 3 wallpapers with identical code accepted by B&N, but this one just hits the wall. Any suggestions will be greatly appreciated :sign0163:.
As a side note: I've tried all B&N recommended Wallpaper API calls but they still send it back with the same error popup. Below are B&N suggestions I've tried to no avail:
I am hitting the wall :BangHead: trying to pass Barnes & Nobles (Nook) App review for my latest Live Wallpaper done with B4A. While I had no problems with that LWP on Google Play and Amazon, Nook HD QA team keeps sending it back. The reason: while it works fine on Nook Color and Tablet, on Nook HD/HD+ they get the popup saying it cannot find the activity to handle intent:
1. Begin the app on the NOOK HD and NOOK HD+.
2. Select the SETUP button.
Result: The following error message appears when selecting SETUP on the
NOOK HD and NOOK HD+: Error occurred / An error has occurred in the
sun:main_button1_click (java line:278)
android.content.ActivityNotFoundException: No Activity found to handle
Intent { act=android.service.wallpaper.CHOOSE_LIVE_WALLPAPER flg=0x20000
} Continue? No / Yes
Note: Pressing 'Yes' closes the error. Pressing 'No' exits the app. The
wallpaper does function correctly when setting it manually through the
system's settings.
This is the code I use to open Live Wallpaper chooser (similar code works fine on Amazon and Google Play:
B4X:
Sub Button1_Click
Dim Intent1 As Intent
Select Case Store
Case "Amazon"
Intent1.Initialize("android.service.wallpaper.LIVE_WALLPAPER_CHOOSER","")
StartActivity(Intent1)
Case "Nook"
Try
'NOOK Color or Tablet - no problems
Intent1.Initialize("com.bn.nook.CHANGE_WALLPAPER","")
StartActivity(Intent1)
Catch ex As Exception
'NOOK HD+ cannot find activity for this intent and any other intent from B&N docs
Intent1.Initialize("android.service.wallpaper.LIVE_WALLPAPER_CHOOSER","")
StartActivity(Intent1)
End Try
Case Else
Intent1.Initialize("android.service.wallpaper.LIVE_WALLPAPER_CHOOSER","")
StartActivity(Intent1)
End Select
End Sub
What's interesting, I have 3 wallpapers with identical code accepted by B&N, but this one just hits the wall. Any suggestions will be greatly appreciated :sign0163:.
As a side note: I've tried all B&N recommended Wallpaper API calls but they still send it back with the same error popup. Below are B&N suggestions I've tried to no avail:
'NOOK HD
import android.content.Intent;
Intent i = new Intent();
i.setAction( Intent.ACTION_SET_WALLPAPER );
startActivity( i );
'NOOK Color and Tablet - this works fine -
import android.content.Intent;
Intent i = new Intent();
i.setAction( "com.bn.nook.CHANGE_WALLPAPER" );
startActivity( i );