[android-developers] Re: Problems with building an APK in Android Studio (total newbie problems)

2016-06-09 Thread Mike D
When I load your project, I get errors on lines 22 and 44 of MainActivity.java. It can't find R.layout.main or financialPortalActivity. But the loadUrl line looks ok. To fix line 22, that should read: setContentView(R.layout.activity_main); You should also change line 10 to read: public

[android-developers] Re: Problems with building an APK in Android Studio (total newbie problems)

2016-06-09 Thread Mike D
Are there quotes around that URL in the source code? Also, is it possible that you're compiling with a version of the WebView toolkit that does not take just a single URL as a parameter? The message "error: ')' expected" makes me think it's just a syntax error and the way you pasted it has

[android-developers] Bluetooth streaming and browsing media

2016-06-09 Thread Mike D
I'm writing a new media app that plays music from the Internet, and I'm trying to use this app in my new car which supports Android Auto and also Bluetooth audio streaming. On my head unit, I have a media button that enables the bluetooth stream. I can play music in my app and it plays

[android-developers] Re: Orientation in landscape

2011-07-05 Thread Mike D
on it that use the sensor to see if they work?  Have you tried other applications from Market on it that are known to work? On Mon, Jul 4, 2011 at 3:21 PM, Mike D mdavie...@gmail.com wrote: Thanks for pointing me at the post, it makes sense. However I'm still only ever getting negative

[android-developers] Re: Orientation in landscape

2011-07-04 Thread Mike D
, Dianne Hackborn hack...@android.com wrote: http://android-developers.blogspot.com/2010/09/one-screen-turn-deserv... On Wed, Jun 29, 2011 at 10:22 AM, Mike D mdavie...@gmail.com wrote: Hi guys, I've been playing around with orientation (especially in relation to the real world so

[android-developers] Orientation in landscape

2011-06-29 Thread Mike D
Hi guys, I've been playing around with orientation (especially in relation to the real world so finding north is very useful) and started with the google api example. While investigating how to change that so it worked while the phone was in landscape I found out that I was using depricated