When the Spotify app is issued a search query while the app is still attempting to connect to the server, the app does not wait for connection and simply returns "No Search Results: Please try another search." Sometimes this search result will remain for that same query, even after connection has been established.
What are the steps you took to get to the error/issue?
1. (Hard to repro) Issue a search query through the app when phone is switching internet connection modes (e.x. WiFi to mobile data or vice versa) or when mobile data signal is weak.
2. Custom app. The app issues a search command to the Spotify app using one of two invocations:
String uri = "spotify:search:" + <search term string here>; Intent launcher = new Intent( Intent.ACTION_VIEW, Uri.parse(uri) ); launcher.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(launcher);
final Intent intent = new Intent(Intent.ACTION_MAIN); intent.setAction(MediaStore.INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH); intent.setComponent(new ComponentName("com.spotify.mobile.android.ui", "com.spotify.mobile.android.ui.Launcher")); intent.putExtra(SearchManager.QUERY, <search term string here>); startActivity(intent);
My app is run when the Spotify app is not running, thereby starting the com.spotify.mobile.android.ui activity and issuing a search command within that. Since the spotify app/service are still initializing, the search query returns the described "no search results" page.
What I expected to happen
When in online mode, the search query should show a loading page/spinner until a connection with the server has been established, and only then will it return search results.
Did you restart your device when troubleshooting in section B?
Did you read the connection troubleshooting tips?
Samsung Galaxy S 3
Device’s Operating System
4.1.2 Jelly Bean
What type of account do you have?
Space left on your device
Space left on your SD card (if applicable)
Space left on your External SD card (if applicable)
Is your device rooted?
Are you using a custom ROM, if so which one, exactly?
Did you set your external SD card as storage location?
Did you manually install an older version before installing the latest version from the Play Store?
Do you have the same issue when switching between WiFi/Mobile Data (If applicable)?
I Guess? That's kinda what causes the problem
If you said "No", when does the issue not occur?
N/A I guess
My mobile Spotify version
My desktop Spotify version (if applicable)
My mobile provider and country
Do you have a Spotify (non-Facebook) login?
Are you logging in with Facebook or with your Spotify login details?
Tried with both
Do you have any screenshots you can attach to more clearly explain your issue?
I don't think screenshots would really help. Will post on request
Solved! Go to Solution.
I spoke with the Android team. Although it doesn't meet the criteria for an urgent resolution, it's a good find, a great bug report, and we definitely will look into it.
Thanks for the report!