How do I debug "Getting your selection..." in Android Auto - android

I forked Timber (https://github.com/naman14/Timber), and I am trying to add Android Auto support. I got the app showing up on the virtual head unit, and I can select a song, and it plays. However, instead of showing progress and playback controls, it shows "Getting your selection..."
Now the question is: how do I debug it. As far as I can see from the point when I click on the song, to a few minutes later there are no relevant errors in Logcat. So how can I get some idea of what's going wrong? What does Android Auto is expected to do in that scenario that my app might not be fulfilling?
P.S. this is similar to another question on the same issue, however replacement of Context from this to getBaseContext() does not help, and I am actually curious what is the right way to debug this.

Related

In-app link to Facebook page leads to error screen

I have an icon within my app that links to my fan page. It was working fine before but since around 2 weeks ago, whenever someone clicks on the icon, they get to an error page saying: “Trouble Loading Timeline”. It also says “Tap to retry” but nothing happens when they do.
Although I’m using the same source code for both (because of Unity3D engine), this happens only for Android, not iOS. I didn’t have this issue after my last update but it started happening suddenly a few weeks after. I didn’t make any changes in my source code in the last few weeks.
Would anyone know what the issue is and how to fix it?
Thanks

I can't find the text in a pop-up Window using Robotium

I have been using Robotium for the last couple weeks writing test cases for an app. It's a great tool but there is one thing that I cannot seem to get working. The app I'm using creates a pop-up window regardless if you are in the app or not to notify the user and when looking at the UI Automator Viewer is is still tied to the same package that I am testing.
The issue is that I cannot read any text or click on anything in the window through Robotium. I created a test to see if Robotium can even see it going through all of the views in debug mode by hand but it seems to be transparent to it. Does anyone know a way around this or another program that would be ideal for this?

How to enable device administration in eclipse?

Alright. I first wanna apologize for creating another question as I did come across a few things on Google but i am just not fully understanding the things I've found. The three links i found are Make your application a device administrator and Android developer website and this
I completely understand the whole XML part but the part I'm not grasping is where do i put the code i want to run? Like i am trying to place the device into standby mode after executing some code. I know i need to use PowerManager but in order to do this i need to make my app an administrator. Also in the first link i'm not sure what this means startActivityForResult(intent, REQUEST_ENABLE); and why the REQUEST_ENABLE is underlined in red giving Cannot be resolved to a variable error and in the tutorial there was nothing mentioned about creating REQUEST_ENABLE variable or method or class or anything.
Thanks everyone in advanced for helping me wrap my head around this!

Can't find Pause button in Android Logcat

I noticed there was a pause button for logcat on android SDK. I've seen it before and used it but now I can't find it or get it back. I need it so that I could read my log messages properly without it having autoscroll down all the time.
Anyone know how I could get it back? Yes i have the latest version of Eclipse as well as ADT/SDK versions.I know I'm not imagining the Pause button cos I'm the one who told my friend about it and I can still see it on his Eclipse but no longer on mine...
Thanks

When I get the Force Close dialog, I have a Report button. Where did it come from?

I feel a little bit silly asking this, but I haven't been able to find any answers on my own. My Force Close dialog has a "Report" button. I think it's a great idea, and I wish everyone had it. At first, I thought it must be something I turned on without realizing it, but not only can't I find any setting that I might have touched, I also can't find any reference to this button existing on the Internet. I have a Droid, and I know 4 other people with Droids, and they say they don't have the option to report Force Closes. Am I special? Am I just missing something? The "report" button has been there for at least a few weeks now.
When I use the Report button, I get a screen with a "feedback" field and a checkbox for "Include system data". Below that , it says "Information from feedback reports will be shown to the developer of the application." Under that are Preview and Send buttons.
As a developer, I've never received one of these reports.
I'd try to send a report to myself, but it seemingly only shows the button for apps installed from the market, and I don't know of a way to crash my production app.
I suppose I could publish a simple crashing app just to try it out, but I thought I'd ask you folks first.
Edit:
You can view screenshots here: http://bentobin.com/crashReportImages/
This is a new feature of Android :)

Categories

Resources