[android-developers] Re: how to take small picture

2009-03-18 Thread Mark Murphy
When we use camera, is there any parameters we can config about the picture resolution? Thanks! The camera parameters are called Camera.Parameters and include setters for preview and picture size. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android

[android-developers] Re: How can i access html code of a web page.

2009-03-19 Thread Mark Murphy
or HttpClient. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Getting a complete list of android native drawables

2009-03-19 Thread Mark Murphy
-- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Getting a complete list of android native drawables

2009-03-19 Thread Mark Murphy
I've checked that one out, that's for Android 1.0 which is old. Not that old. Are there any you've found that do not work? -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: Launching adb commands programtically from android application

2009-03-20 Thread Mark Murphy
Is it possible to launch adb commands programatically from any android application? No. The adb program runs on your development machine, not a device. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-20 Thread Mark Murphy
as experimental, the odds of it being integrated into Android are lower. Anything you can do to help WebKit out with its SVG implementation will eventually help Android adopt it. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0

[android-developers] Re: Launching adb commands programtically from android application

2009-03-20 Thread Mark Murphy
, particularly on a real device, for security reasons. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Android Video Capturing

2009-03-20 Thread Mark Murphy
. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Getting a complete list of android native drawables

2009-03-20 Thread Mark Murphy
not directly access. Great, thanks! -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: www.developer.android.com is gone!!!!

2009-03-21 Thread Mark Murphy
Nox wrote: I´ve got a problem with the Android homepage, it isn´t working!!! There is no www on the Android home page. The site is: http://developer.android.com Without the www, it is working fine for me. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Training

[android-developers] Re: Can only hear sound when playing video

2009-03-21 Thread Mark Murphy
/finalists/ If that video works, then there is something about the video you have been trying that does not work with the codecs built into Android. Post details about the video (codec, framerate, size, etc.) and perhaps somebody can point out a known reason why it does not work. -- Mark Murphy (a Commons

[android-developers] Re: Can only hear sound when playing video

2009-03-21 Thread Mark Murphy
bestpriv...@googlemail.com wrote: On 21 Mrz., 15:42, Mark Murphy mmur...@commonsware.com wrote: The Documentaries and You video from this link definitely works for both sound and video: http://www.law.duke.edu/cspd/contest/finalists/ Thank you very much Mark. You just made my day :-) Aw

[android-developers] Re: Retreivng data from internet source.

2009-03-21 Thread Mark Murphy
need to add it in some way. No, but it might be in the wrong spot. If you could, post both your AndroidManifest.xml that you are using with the above code and the actual Java error you are receiving (via adb logcat, DDMS, the DDMS perspective in Eclipse). -- Mark Murphy (a Commons Guy) http

[android-developers] Re: Retreivng data from internet source.

2009-03-21 Thread Mark Murphy
that the code is executing (e.g., stepping through it in Eclipse, sprinkling in Log.d statements)? -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received

[android-developers] Re: OOXML MimeType application/vnd.openxmlformats-officedocument.wordprocessingml.documen t not available in android?

2009-03-21 Thread Mark Murphy
is serving up the file with that MIME type? If you are not downloading the file via a Web server, how are you opening it? -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: OOXML MimeType application/vnd.openxmlformats-officedocument.wordprocessingml.documen t not available in android?

2009-03-21 Thread Mark Murphy
-extension-to-MIME-type mappings outside of the media files for which it has codecs. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Retreivng data from internet source.

2009-03-21 Thread Mark Murphy
the file given the full path, IIRC. The emulator, though, should let you browse to your package (whatever the name is, shown above as my.package.here) and its contents. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: Retreivng data from internet source.

2009-03-21 Thread Mark Murphy
, not in the device. Go to the DDMS perspective, and you should find a menu choice(?) for browsing the file system of the running emulator. In the standalone DDMS, it's a File Explorer menu choice. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_

[android-developers] Re: Retreivng data from internet source.

2009-03-21 Thread Mark Murphy
will (hopefully) see your files. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Getting a complete list of android native drawables

2009-03-21 Thread Mark Murphy
to free up space. Hence, the interest in avoiding redundant icons. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Retreivng data from internet source.

2009-03-22 Thread Mark Murphy
in setContentView() has the widgets you're trying to access in findViewById(). -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Retreivng data from internet source.

2009-03-22 Thread Mark Murphy
murphy wrote: I've added in also the line FileInputStream fIn = openFileInput (news.txt); but I don't know what to do with it once I open it to be able to display it in my TextView in a new screen. http://www.exampledepot.com/egs/java.io/ReadLinesFromFile.html -- Mark Murphy (a Commons Guy

[android-developers] Re: How to find Jarsigner

2009-03-22 Thread Mark Murphy
again from Sun. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: handset error log

2009-03-22 Thread Mark Murphy
Bob wrote: Is there a way for me to get an error report from my phone (not emulator) about why it is force closing? With it plugged in via the USB cable, you do it the same way you would with the emulator -- adb logcat, DDMS, or the DDMS perspective in Eclipse. -- Mark Murphy (a Commons Guy

[android-developers] Re: PreferenceScreen Close

2009-03-22 Thread Mark Murphy
() in A. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: PreferenceScreen Close

2009-03-22 Thread Mark Murphy
if the DataObserver gets control when screens change. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: PreferenceScreen Close

2009-03-22 Thread Mark Murphy
mail client) Call getListAdapter() in your PreferenceActivity to get the adapter, then call registerDataSetObserver(), and see when the observer gets control (via logging statements or breakpoints). - Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http

[android-developers] Re: backup database

2009-03-23 Thread Mark Murphy
to a computer? You should have access to the database file, so you can transfer it via whatever mechanism you like (e.g., HTTP) to whatever destination you can reach via the Internet. I would make sure you do not have any active SQLiteDatabase objects referencing it, though. -- Mark Murphy

[android-developers] Re: PendingIntent problem

2009-03-23 Thread Mark Murphy
for PendingIntent and you will probably find it. -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Center drawable?

2009-03-23 Thread Mark Murphy
Keith Wiley wrote: Question: I can place a drawable png on a button no problem, but the only placement options are along the sides. Have you tried ImageButton? -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html

[android-developers] Re: Construct typeface object from file?

2009-03-23 Thread Mark Murphy
://code.google.com/p/android/issues/detail?id=2284 -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Construct typeface object from file?

2009-03-23 Thread Mark Murphy
, but there is no method on Typeface to create one from a file outside of there. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Get scroll position in a list activity

2009-03-23 Thread Mark Murphy
the background thread finishes, you do not have to do anything -- the images are already loaded. This eliminates the need to refresh the listview and any accompanying confusing such a refresh might cause the user. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Mark Murphy
the tree whenever they see fit. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
menu listener for every listview? No. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Get scroll position in a list activity

2009-03-24 Thread Mark Murphy
. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Mark Murphy
manufacturers are not necessarily constrained by what would seem to be common sense to us out here. They'll do what they do. So if a device (e.g., G2) contains bits of cupcake in advance of an official cupcake-based release shipping, that was the manufacturer's decision. -- Mark Murphy (a Commons Guy

[android-developers] Re: HttpUrlConnection - Authentication

2009-03-24 Thread Mark Murphy
/jtwitter.php -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: ClassLoader.isAncestorOf(ClassLoader) Bug

2009-03-24 Thread Mark Murphy
it there. I hope that you will be able to fix this as soon as possible and to update the cupcake branch too. Please notify me when this is ready. If you would take the time to file this on http://b.android.com, you will automatically be notified of progress on the issue. -- Mark Murphy (a Commons

[android-developers] Re: HttpUrlConnection - Authentication

2009-03-24 Thread Mark Murphy
strong suits. I see there used to be a MultipartEntity class which was removed with the 1.0 SDK. That looks like it might have been what I needed. Anyway thanks again. I think others have just grabbed an edition of that from http://hc.apache.org. -- Mark Murphy (a Commons Guy) http

[android-developers] Re: Alias custom view path in XML

2009-03-24 Thread Mark Murphy
). -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: api to install update apk in private-app folder

2009-03-24 Thread Mark Murphy
not believe that is possible. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: api to install update apk in private-app folder

2009-03-24 Thread Mark Murphy
to Android). This is what happens when you download an APK, at any rate -- I assume there is some what to trigger the same code from your own application. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: How to change the tab icon dynamically

2009-03-24 Thread Mark Murphy
change yourself, though I have no idea if this is possible, and you would need to not use TabActivity (which, IIRC, creates its own TabHost object). You can always roll your own tab-style UI using a ViewFlipper or similar widget. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
the lists on separate screens -- Using separate activities, one per list -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
to determine what you want to do in that case. Also, you would only have one context menu. On the other hand, your scrolling would work better. -- Putting the lists side-by-side rather than stacked What do you mean with this? Left to right rather than top to bottom. -- Mark Murphy (a Commons Guy

[android-developers] Re: Bug in UK i18n?

2009-03-24 Thread Mark Murphy
to the ISO 3166-1-alpha-2 standard: http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm the UK would be -rGB, not -rUK. -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: Three Android Books, Plus Updates, $35/Year

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
Wouter wrote: Ok i understand. But how can i make one listview for all these adapters. I gave you a link earlier. Here it is again: http://www.jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/ -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
Wouter wrote: Thank you! Can i put my data from the simplecursoradapter in it? It takes any sort of adapter, as far as I know. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: Image from internet won't display.

2009-03-24 Thread Mark Murphy
immediately before the setContentView() will return you a widget...but that widget is then taken off the screen by the setContentView(). -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: Image from internet won't display.

2009-03-24 Thread Mark Murphy
resource (e.g., res/drawable/test_image.png). -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
on a item in the flight list i have to open another activity then when I click on a item in the hotel list! The same way you do with any list: call getItem() on the adapter. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Training: http://commonsware.com/training.html

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
my flight database or hotel database! How can i do that? On Mar 24, 9:34 pm, Mark Murphy mmur...@commonsware.com wrote: Wouter wrote: Ok i have integrated it now in my applications. It works now to show the 2 lists as one 1 list with seperated headers. But now, how can i determine which

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread Mark Murphy
itself. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread Mark Murphy
with the standard launcher intent-filter 4. Use useFullScreen() to do whatever it was you were looking to handle via the customized Intent Clunky, but it works, until you can amend a home application that is more amenable to your requirements. -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Re: can we change the resolution of images taken by camera

2009-03-24 Thread Mark Murphy
this, but in theory, you should be able to control the resolution this way. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread Mark Murphy
me tun wrote: I had already tried Mark's way (great book btw) Thanks! which does work but isn't quite an elegant solution nor is it exactly what I'm trying to achieve. Oh, well. In these support forums, it's win a few, lose a few. -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Re: How to set the video in full screen mode?

2009-03-25 Thread Mark Murphy
please tell me how to achieve this? http://androidguys.com/?p= In particular, read the comments, where I think half the core Android team jumped in to tell me how better to solve the problem... ;-) -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: Three Android Books, Plus

[android-developers] Re: DexClassLoader Feature in the Cupcake

2009-03-25 Thread Mark Murphy
included then any reference which will explain about how to download that cupcake source from the repo, compile that source and add in the current sdk. I am using windows plateform and running the applications on the emulator. -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription

[android-developers] Re: Local and Remote Services

2009-03-25 Thread Mark Murphy
you with bodily harm if you do so, since you might be interrupting them in the middle of something else they are doing. -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ You received

[android-developers] Re: android http GET 400 error

2009-03-25 Thread Mark Murphy
() with URLConnection, just as you are using it for Connection and Content-Type. -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: android http GET 400 error

2009-03-25 Thread Mark Murphy
), review those and see if there is anything obvious you are missing. Of course, the best solution is if somebody offered a Java API for accessing this Web service (e.g., JTwitter for Twitter). -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Training: http

[android-developers] Re: How to display 2 ListViews on the screen at the same time

2009-03-25 Thread Mark Murphy
ArrayAdapterString(this, R.layout.frow, R.id.ListView01, mStrings2)); } This does not work. Can anyone advise ? You cannot use the ListActivity methods for managing the second ListView. You will need to use findViewById() and handle that ListView manually. -- Mark Murphy (a Commons Guy

[android-developers] Re: How to display 2 ListViews on the screen at the same time

2009-03-25 Thread Mark Murphy
. -- use a Spinner for one -- use tabs to put them on separate tabs -- use ViewFlipper to flip between the two lists based on a button click or option menu choice -- use multiple activities, one list per activity -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: Three Android Books

[android-developers] Re: android http GET 400 error

2009-03-25 Thread Mark Murphy
the content, converting that into Android code (whether URLConnection or HttpClient) should be relatively straightforward. You might also inquire with whoever is hosting the server if they have any recipes for Web service access. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy

[android-developers] Re: Creating multiple layouts

2009-03-25 Thread Mark Murphy
use with setContentView(); the latter you would either supply to your adapter or use when you manually inflate the rows. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: Singleton in different service which share same process

2009-03-25 Thread Mark Murphy
of the Google Maps situation. How are you using it in your application? -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: is video recording available in V1.1?

2009-03-25 Thread Mark Murphy
zeeshan wrote: i am looking for video recording example, it suppose to be in api- sample but not available i am wondering if 1.1 release still missing this feature? Video recording is not available in the current version of Android. -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Re: written file not found

2009-03-25 Thread Mark Murphy
cannot browse to them. However, you can use adb pull to download them. Why do i have only the folders /data, /sdcard and /system on the emulator but on the device there are much more? You have all of same folders on the device; you just cannot browse them. -- Mark Murphy (a Commons Guy) http

[android-developers] Re: TERRIBLE BUG: aapt crashes on Windows

2009-03-25 Thread Mark Murphy
: https://connect.microsoft.com/content/content.aspx?ContentID=3480SiteID=168#BM8 As one person put it, If your bug is not reproducible it will never get fixed. (from http://www.softwaretestinghelp.com/how-to-write-good-bug-report/) -- Mark Murphy (a Commons Guy) http://commonsware.com Android App

[android-developers] Re: TERRIBLE BUG: aapt crashes on Windows

2009-03-25 Thread Mark Murphy
that? (from http://tinyurl.com/ct3fcf) -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: TERRIBLE BUG: aapt crashes on Windows

2009-03-25 Thread Mark Murphy
others? Trust me, I calls 'em as I sees 'em. I just don't tend to bash Google/OHA on these lists too much, because that will be more likely to be seen as personal attacks on the core Android team, and they aren't the source of my ire. -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Re: Emulator crashing

2009-03-25 Thread Mark Murphy
青铜 wrote: I also have this question. Every time I run HelloMapView (the example code in dev.android), I only can see the title of the app, and the content is just black. Did you get your own Maps API key, as outlined in step #4? -- Mark Murphy (a Commons Guy) http://commonsware.com _The

[android-developers] Re: need some collection help

2009-03-26 Thread Mark Murphy
Josh wrote: I want to store objects into an array or collection(whichever is best suited to this in dalvik). You mean like the ones in the java.util package? the objects are basically just VO's all of the same class that i want to keep track of. What's a VO? -- Mark Murphy (a Commons

[android-developers] Re: written file not found

2009-03-26 Thread Mark Murphy
. how can i use that on the g1? You can't. My apologies, I thought your goal was to view the files. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received

[android-developers] Re: Building user interfaces at runtime with layouts from server

2009-03-26 Thread Mark Murphy
with somebody who can submit a patch for you. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: need some collection help

2009-03-27 Thread Mark Murphy
or so concrete Collection classes (e.g., ArrayList) that you can choose from. http://java.sun.com/docs/books/tutorial/collections/index.html http://mindprod.com/jgloss/collection.html -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-27 Thread Mark Murphy
that demonstrates the problem. If you want, reply on this thread with a link to your issue. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-27 Thread Mark Murphy
similar results. To invert the Stones, Ti-i-i-ime is not on my side (no it ain't), but I'll hopefully be able to squeeze this in this weekend. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Training: http://commonsware.com/training.html

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-27 Thread Mark Murphy
the pattern. Heaven help me if I'd've been trying to noodle that out independently. I need another day or two to make sure I've solved clarkbriancarl's issues, then I'll write something up. Thanks! -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-28 Thread Mark Murphy
sample some for this scenario -- I was thinking the service would be long since wrapped up before the next alarm fired. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: What about a virtual keyboard?

2009-03-28 Thread Mark Murphy
!!! On-screen keyboards are being worked on as part of the forthcoming cupcake release. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received

[android-developers] Re: How to place small icon in top-right corner?

2009-03-28 Thread Mark Murphy
in a FrameLayout, add a RelativeLayout as a child of that FrameLayout (so it is a peer of the top-most LinearLayout), and then use the RelativeLayout to anchor the icon in the upper-left. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-28 Thread Mark Murphy
approach of a static variable doesn't work when the service can be started again during its runtime. That depends on what your static variable holds. ;-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-28 Thread Mark Murphy
Mariano Kamp wrote: On Sat, Mar 28, 2009 at 4:37 PM, Mark Murphy mmur...@commonsware.com mailto:mmur...@commonsware.com wrote: Have you tried using setReferenceCounted(true) on the WakeLock? No, I didn't know about that. Sounds interesting. Thanks for the pointer

[android-developers] Re: How to find Jarsigner

2009-03-28 Thread Mark Murphy
should be available from where you downloaded the JDK. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: How to find Jarsigner

2009-03-28 Thread Mark Murphy
Nox wrote: So, how can I run or execute the JDK??? http://java.sun.com/javase/6/webnotes/install/jdk/install-linux.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-28 Thread Mark Murphy
., Jon Culverson). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Insanely slow read() from HttpsURLConnection...

2009-03-28 Thread Mark Murphy
-- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Can we call framework classes directly?

2009-03-28 Thread Mark Murphy
be pulled forward into the SDK, file an issue at http://b.android.com so the idea gets tracked, or possibly submit a patch if you're in position to work on the firmware itself. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0

[android-developers] Re: Question about one application requiring another application or service

2009-03-28 Thread Mark Murphy
is available. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How can i use vold(New volume manager daemon) to automatically mount sdcard when device startup?

2009-03-29 Thread Mark Murphy
the SDK to build applications much more so than it is for firmware-level questions such as the ones you posed. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year

[android-developers] Re: How do I make my application to be restarted after the phone is powered-on again?

2009-03-29 Thread Mark Murphy
have to register a BroadcastReceiver to get control when the phone reboots and then re-register your alarms. We just had an extended thread on this very list on a related topic: http://groups.google.com/group/android-developers/browse_thread/thread/947fd3d0ed878c66# -- Mark Murphy (a Commons Guy

[android-developers] Re: How do I make my application to be restarted after the phone is powered-on again?

2009-03-29 Thread Mark Murphy
pperotti wrote: Thanks Mark, I have just read also the response in the last update of your latest book. That was fast! ;-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books.html

[android-developers] Re: Webview Question: onCreate always get called when activity comes to foreground

2009-03-29 Thread Mark Murphy
. If you can narrow down the source of your difficulty, or if I misunderstood the pattern you used to cause the problem, let us know! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books.html

[android-developers] Re: Asset Image in WebView

2009-03-29 Thread Mark Murphy
/a66e63959bb89193/a7e8782c85076bf7 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Asset Image in WebView

2009-03-29 Thread Mark Murphy
to get answers by poking fun at the problem. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Application that loops every minute - how to efficiently do it

2009-03-30 Thread Mark Murphy
()1minute) { closeConneection(); } Thread.sleep()1000*60; } The connection gets re-opened elsewhere so this needs to keep looping. If this is happening in an Activity, you can use View#postDelayed() to schedule a Runnable to be executed after such-and-so delay. -- Mark Murphy

[android-developers] Re: RESTful user authentication

2009-03-30 Thread Mark Murphy
Wouter wrote: But how can i make a restful webservice (in Java) where I can authenticate a user.. Use HTTP authentication. See _RESTful Web Services_ (O'Reilly Associates, 2007), Chapter 8, pages 238-243. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy

[android-developers] Re: RESTful user authentication

2009-03-30 Thread Mark Murphy
that is focused on server-side Java. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you

<    1   2   3   4   5   6   7   8   9   10   >