Re: [android-beginners] Howto integrate 3rd party app to tabhost

2010-08-09 Thread Mark Murphy
On Mon, Aug 9, 2010 at 7:59 AM, daph...@googlemail.com wrote: > I using android 2.2 and I want to integrate a third party application > into the tabulator. Is that possible and how can I do that? It is not possible, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com

Re: [android-beginners] How to set location information permanently in the emulator

2010-08-09 Thread Mark Murphy
map, it says waiting for > location details. Correct. You need to simulate another GPS fix. > Can someone advice me what is wrong. Nothing is wrong. The emulator emulates GPS fixes, which are transient events. > I am not clear how > to setup location permanently. You can't -- s

Re: [android-beginners] Opening the preferences.xml file

2010-08-07 Thread Mark Murphy
-54, 0, 0, 0, -36, 0, 0, 0, > -12, 0, 0, 0, 8, 1, 0, 0, 26, 1, 0, 0, 114, 1, 0, 0] > > Any idea what might be wrong? 1. XML resources are converted into a "binary XML" format as part of the build process. 2. XML resources are not raw resources. Use getXml(), not

Re: [android-beginners] Re: Google map tiles missing with adb install

2010-08-04 Thread Mark Murphy
don't know how else to explain your map symptoms. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- You received thi

Re: [android-beginners] Google map tiles missing with adb install

2010-08-03 Thread Mark Murphy
the fabric of space-time, and have not recently looked out the window to notice that the world around you is now a gray grid, and that in the distance the theme music to The Twilight Zone is playing softly :-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commons

Re: [android-beginners] Changing WiFi network login

2010-08-03 Thread Mark Murphy
figurations, one per user, regardless of what your device expects. Similarly, most households and businesses do not have one WiFi access point per user. I don't know where your other accounts are going to come from. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com

Re: [android-beginners] Changing WiFi network login

2010-08-03 Thread Mark Murphy
ble Android anymore. BTW, since you're one who is decrying the shutdown of this list -- IMHO, this is nowhere remotely near a "beginner" question. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/co

Re: [android-beginners] ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-03 Thread Mark Murphy
On Tue, Aug 3, 2010 at 1:59 PM, Kevin Brooks wrote: > I just joined the new group.  Hopefully Mark Murphy will decide to join as > well an Volunteer to be a Moderator. Personally, I would recommend people use StackOverflow. For those who find StackOverflow to be ineffective, or fi

Re: [android-beginners] Re: Problem sending variable to java activity.

2010-08-03 Thread Mark Murphy
ra("ImagePosition", -1); > > If I create the variable in this activity and blank those lines out it > works, but I need the variable bringing accross. Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine the Java stack trace associated with your "

Re: [android-beginners] Re: Plug for "Beginning Android 2"

2010-08-02 Thread Mark Murphy
though I'm a bit behind on that specific title). BTW, if anyone has questions on these books, the [cw-android] Google Group is a better spot than here for them: http://groups.google.com/group/cw-android -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsgu

Re: [android-beginners] Problem launching another java file from app.

2010-08-02 Thread Mark Murphy
On Mon, Aug 2, 2010 at 6:06 AM, Justin wrote: > Which loads up the new page fine, but then causes a error and forces > close. Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine the Java stack trace associated with your "force close". -- Mark Murphy (a C

Re: [android-beginners] Closing the activity completely

2010-08-02 Thread Mark Murphy
ust call finish(), please. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 2.9 Available! -- You received this message because you are subscribed to th

Re: [android-beginners] Plug for "Beginning Android 2"

2010-08-01 Thread Mark Murphy
On Sun, Aug 1, 2010 at 1:05 PM, Doug Gordon wrote: > For that purpose, I would highly recommend "Beginning Android 2" by some guy > named Mark Murphy who shows up in these forums on occasion :-). I dunno. I hear he's balding. Can you really trust a book from a guy wh

Re: [android-beginners] Re: Pre-loading an SQLite database

2010-08-01 Thread Mark Murphy
ig, fall back to rolling the REST yourself with HttpClient. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message b

Re: [android-beginners] Re: custom listview add button above listeview

2010-07-31 Thread Mark Murphy
Sorry for the delay in responding. On Fri, Jul 30, 2010 at 10:01 PM, calmchess wrote: > yes i think this does what i'm looking for do I need to write it from > scratch or can i modify this code to suite my needs and use it? It is licensed under the Apache License 2.0. -- Mar

Re: [android-beginners] Re: custom listview add button above listeview

2010-07-30 Thread Mark Murphy
ndroid/tree/master/FancyLists/Recycling/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 2.9 Available! -- You received this message because you are subscribed

Re: [android-beginners] Re: custom listview add button above listeview

2010-07-30 Thread Mark Murphy
tter what way you format > the XML the button gets displayed multiple times not 1 time multiple > times The XML that was supplied is not for the *row*. It is for the *container around the ListView*. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http

Re: [android-beginners] Re: custom listview add button above listeview

2010-07-30 Thread Mark Murphy
inside the  listview no matter > what i do although yours came close to doing what i want.i want a > button outside the listview and doesn't get highlighted by the list > viewthankyou for your time. Which is precisely what Nick and Kostya have supplied in the answers.

Re: [android-beginners] Re: Launching an "About" screen from Preferences

2010-07-30 Thread Mark Murphy
ist, since for all we know they'll dump this feature in favor of some other implementation (e.g., dedicated IntentPreference class). In fact, if you wanted to be super-safe, implementing an IntentPreference class may not be that difficult, and you then aren't dependent on an undocume

Re: [android-beginners] Re: Launching an "About" screen from Preferences

2010-07-30 Thread Mark Murphy
patch and see if it gets approved. Or implement the capability using a documented means -- Kostya's suggestion of setOnPreferenceClickListener() is probably simplest. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twi

Re: [android-beginners] Re: Launching an "About" screen from Preferences

2010-07-30 Thread Mark Murphy
Yes, I think I barked up the wrong tree by suggesting to get rid of the DEFAULT category. Glad to know this works! On Fri, Jul 30, 2010 at 12:33 PM, Kostya Vasilyev wrote: > Bret & Mark, > > Sorry for interrupting, but I also got curious about this. It seems like a > neat way

Re: [android-beginners] Re: Launching an "About" screen from Preferences

2010-07-29 Thread Mark Murphy
eActivity } Notice the "act=com.shipmate.AboutShipMateActivity" part. That says the Intent it is trying to use has an *action* of com.shipmate.AboutShipMateActivity. So, add an with an of com.shipmate.AboutShipMateActivity to your activity, and you should have better luck. -- Mar

Re: [android-beginners] Re: Launching an "About" screen from Preferences

2010-07-29 Thread Mark Murphy
/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://githu

Re: [android-beginners] read flat file from resources

2010-07-29 Thread Mark Murphy
On Thu, Jul 29, 2010 at 6:33 PM, Droid wrote: > I want to read words from a flat text file in res. Is that possible - > snippet of code please? getResources().openRawResource(R.raw.your_file_name) > Also, can I write to a similar file in resources. No, sorry. -- Mark Murphy (a Co

Re: [android-beginners] how to self-close an Activity

2010-07-29 Thread Mark Murphy
ot; group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http:

Re: [android-beginners] OutputStream on assets file

2010-07-28 Thread Mark Murphy
ets are not modifiable. Pick your poison. :-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 2.9 Available! -- You received this message because you

Re: [android-beginners] Google Image on Google map

2010-07-28 Thread Mark Murphy
r that tile sometime in the future. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 2.9 Available! -- You received this message because you are subscribed

Re: [android-beginners] Problems using AlertDialog in a onReceive() method

2010-07-28 Thread Mark Murphy
o your element in the manifest: android:theme="@android:style/Theme.Dialog" http://developer.android.com/guide/topics/ui/themes.html#ApplyATheme > Then in my receiver class call the startActivity()? Yes. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.

Re: [android-beginners] Problems using AlertDialog in a onReceive() method

2010-07-28 Thread Mark Murphy
On Wed, Jul 28, 2010 at 7:24 PM, Brad Taylor wrote: > I new to the SDK and have intermediate Java skills and I am having an issue > with adding an AlertDialog to a Receiver I have created. Try using a dialog-themed Activity and startActivity() instead. -- Mark Murphy (a Commons Guy

Re: [android-beginners] Directory names

2010-07-28 Thread Mark Murphy
as .test, .src. Is there a restriction on dir names > (other than the common rules that apply on most OSs)? You can create them. You can't see them. Directories with leading periods are normally suppressed from directory listings. This has been standard Linux behavior for a very long ti

Re: [android-beginners] need help validating if application works on specific devices

2010-07-28 Thread Mark Murphy
uot; If you use undocumented unsupported APIs, you will have problems. Do not use undocumented or unsupported APIs, and you will have better luck. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Progr

Re: [android-beginners] Contents of dex

2010-07-27 Thread Mark Murphy
On Tue, Jul 27, 2010 at 11:50 PM, kypriakos wrote: > is there a way to view what is enclosed (file list) in the dex file? http://dedexer.sourceforge.net/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.

Re: [android-beginners] Re: Language change to Hindi

2010-07-27 Thread Mark Murphy
lating Android string resources to other languages. You posted this question to a list dedicated to beginners working with the Android SDK, which has nothing to do with building your own phone firmware, which is what is required to add a new language "in a phone that will work on Android".

Re: [android-beginners] Re: Language change to Hindi

2010-07-27 Thread Mark Murphy
uot; group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://group

Re: [android-beginners] Reverting to Eclipse 3.5

2010-07-26 Thread Mark H. Nichols
ool chain from the top, but is that all > necessary? For what it is worth you can run multiple versions of Eclipse on your machine. I regularly have two or three different Eclipse folders (eclipse-3.4, eclipse-3.5, eclipse-3.6). Rather than removing Helios, just grab another copy of 3.5 and ad

Re: [android-beginners] Re: Showing a screen from a preference selection

2010-07-23 Thread Mark Murphy
". :-) If you are looking for a Preference that launches another activity, there isn't one in the SDK. You would have to write your own, or possibly see if the Settings application has one that you can mooch from the Android open source code. -- Mark Murphy (a Commons Guy) http:

Re: [android-beginners] Showing a screen from a preference selection

2010-07-23 Thread Mark Murphy
about.xml should be shown when the "Show About" menu item is > selected? Any sample xml code around like that? No, but you can add the relevant options menu methods to your PreferenceActivity subclass, as with any other activity, then load that layout into a dialog or separate

Re: [android-beginners] Re: null intent returned in onActivityResult

2010-07-22 Thread Mark Murphy
On Wed, Jul 21, 2010 at 11:27 PM, Bret Foreman wrote: > Mark, you scored again. That worked perfectly. Great! > I owe you lunch. That's not necessary, but I appreciate the sentiment! > Do you sit in the Bay Area? Whenever I can. Standing all the time makes my feet hurt. Ho

Re: [android-beginners] null intent returned in onActivityResult

2010-07-21 Thread Mark Murphy
     finish(); >            } >                }); > > > Code in calling Activity: > >       �...@override >        protected void onActivityResult(int requestCode, int resultCode, > Intent data) { >                // data is coming back as null. >  

Re: [android-beginners] Spinners identical in XML but look different when run

2010-07-21 Thread Mark Murphy
at appears when the user presses the drop-arrow. > How can I make them look the same Use the same layouts in your adapters. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder&

Re: [android-beginners] Calling back function

2010-07-21 Thread Mark Murphy
Call finish(). On Wed, Jul 21, 2010 at 7:14 AM, Bhaban N wrote: > How can I go to the previous activity by pressing some > button programmatically instead of pressing default back button on phone. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsgu

Re: [android-beginners] Re: Calling an AlertDialog from inside onOptionsItemSelected

2010-07-20 Thread Mark Murphy
On Tue, Jul 20, 2010 at 10:14 PM, Bret Foreman wrote: > That worked. Mark, you rock...and after 7pm too! What? People are tracking my sleeping habits now? :-) I was probably a bit over the top by saying to delete all getApplicationContext() calls, though there's so few cases where tha

Re: [android-beginners] Calling an AlertDialog from inside onOptionsItemSelected

2010-07-20 Thread Mark Murphy
> > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.go

Re: [android-beginners] Source code

2010-07-20 Thread Mark Murphy
On Tue, Jul 20, 2010 at 3:20 PM, kypriakos wrote: > is the Android 2.1 or 2.2 source code available somewhere? http://source.android.com > I was > able to find the source code of what they called android 1.5 cupcake > but I am not sure that is very recent. Cupcake is from last yea

Re: [android-beginners] using intent to switch between a simple activity and a tab activity

2010-07-18 Thread Mark Murphy
adb logcat, DDMS, or the DDMS perspective in Eclipse to examine the stack trace. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 A

Re: [android-beginners] using intent to switch between a simple activity and a tab activity

2010-07-18 Thread Mark Murphy
ck to A but the app crashes , how > ever if i go from B to a normal activity ,it  works perfectly well , > so the problem is in A being a tab activity , please help Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine the Java stack trace associated with your crash. -- Mark

Re: [android-beginners] Re: Including libraries in project

2010-07-18 Thread Mark Murphy
lipse, but I have not tried that. > Once I move > it in the assets dir I can see it being wrapped inside the apk. I suspect having it there will be useless. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/c

Re: [android-beginners] Eclipse: Easy way to refactor/rename package?

2010-07-18 Thread Mark H. Nichols
If there's not an automated way, what are the steps i need to be sure to take > to insure that everything is renamed correctly before i upload? If you are using Eclipse, you can use the Refactor tool to do what you want. Right-click on the project to be renamed, select Refactor from the obje

Re: [android-beginners] Re: Including libraries in project

2010-07-18 Thread Mark Murphy
ld path Step #3: Code to the JAR's API and build your APK and you're done...assuming the JAR is Android-friendly. For example, here is a sample project using a re-compiled edition of the BeanShell interpreter: http://github.com/commonsguy/cw-android/tree/master/Java/AndShell/ -- Mark

Re: [android-beginners] Re: ActivityNotFoundException and txt files

2010-07-16 Thread Mark Murphy
ext editor, contact the author to see how to integrate your code with theirs. There is no text editor built into Android. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide

Re: [android-beginners] onItemSelectListener or onItemClickListener, both or none???

2010-07-15 Thread Mark Murphy
mail. You are missing some key pieces of information, like the thing to send. http://www.androidguys.com/2009/11/02/a-call-to-action-action_send-that-is/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/common

Re: [android-beginners] Re: Keep accelerometer active

2010-07-15 Thread Mark Murphy
> is destroyed. > > This is the weirdest thing yet - an object just disappearing like > that. Any ideas? FWIW, take a look at my WakefulIntentService to see if it gives you any ideas: http://github.com/commonsguy/cwac-wakeful -- Mark Murphy (a Commons Guy) http://commonsware.com | htt

Re: [android-beginners] intents

2010-07-15 Thread Mark Murphy
On Thu, Jul 15, 2010 at 8:31 PM, Raul Martinez wrote: > mark for some reason i keep getting a force close, any idea why, maybe i > dont get the concepts of activitys and class i have this as my first > activity :: snip :: > public class home extends Activity { >     /** Called wh

Re: [android-beginners] onItemSelectListener or onItemClickListener, both or none???

2010-07-15 Thread Mark Murphy
at, DDMS, or the DDMS perspective in Eclipse to examine the Java stack trace associated with your "force close error". -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Gu

Re: [android-beginners] onItemSelectListener or onItemClickListener, both or none???

2010-07-15 Thread Mark Murphy
On Thu, Jul 15, 2010 at 7:49 PM, Victoria Busse wrote: > Okay I see :) Thank you Mark :) I will just stick with onClickItemListener > then > Then there is only my final question left: is it possible to e.g. choose the > Email option in the menu and attach the item, which I used to o

Re: [android-beginners] onItemSelectListener or onItemClickListener, both or none???

2010-07-15 Thread Mark Murphy
ouchscreen. http://developer.android.com/resources/articles/touch-mode.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available!

Re: [android-beginners] intents

2010-07-15 Thread Mark Murphy
On Thu, Jul 15, 2010 at 6:57 PM, Raul Martinez wrote: > Ok thanks but what do I use instead of MAIN You do not need an if you are starting the activity via the class (Category.class) in your Intent. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy h

Re: [android-beginners] intents

2010-07-15 Thread Mark Murphy
On Thu, Jul 15, 2010 at 6:05 PM, Raul Martinez wrote: > do i have to modify the android manifest file as well to add the activity? Your Category activity needs to be in the manifest file. Your current activity presumably already is there. -- Mark Murphy (a Commons Guy) http://commonsware.

Re: [android-beginners] intents

2010-07-15 Thread Mark Murphy
, then Category.this cannot work. If just "this" is insufficient, then the class reference needs to be whatever Context class this code is in, such as the name of the activity. http://en.wikibooks.org/wiki/Java_Programming/Nested_Classes -- Mark Murphy (a Commons Guy) http://commo

Re: [android-beginners] RTC vs RTC_WAKEUP

2010-07-15 Thread Mark Murphy
ice is asleep, it will not be delivered until the next time the device wakes up." -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 2.9 Available! -- You

Re: [android-beginners] buttons

2010-07-14 Thread Mark Murphy
Use ImageButton. On Wed, Jul 14, 2010 at 8:13 PM, Raul Martinez wrote: > i want to replace a button with an image, and i tried doing it through xml > with android:src="@drawable/icon" but its not working what should i do, or > is there another way of replacing a button with

Re: [android-beginners]

2010-07-14 Thread Mark Murphy
this code but eclipse keeps telling me R.layout.main cannot be > resolved, any ideas what might be wrong? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advan

Re: [android-beginners] Re: I/O

2010-07-14 Thread Mark Murphy
at's been deprecated since the Clinton Administration), but the bigger problem tends to be things that are just flat-out missing. For those, you'll get compile errors if you're compiling from scratch, or VerifyErrors if your existing code base is in a JAR you're importing. -- M

Re: [android-beginners] Re: I/O

2010-07-14 Thread Mark Murphy
what book you get, so long as you get more Android knowledge in bulk form, rather than asking a whole bunch of questions that take time for us to answer. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsgu

Re: [android-beginners] Re: I/O

2010-07-14 Thread Mark Murphy
r), and you need the WRITE_EXTERNAL_STORAGE permission. > What package carries the getFilesDir()? That is a method on Context, and therefore is available to all subclasses of Context, like Activity. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://c

Re: [android-beginners] Re: I/O

2010-07-14 Thread Mark Murphy
ou cannot write to arbitrary paths on hardware. Please use getFilesDir() to find a safe spot to write files on the on-board flash for your application, or Environment.getExternalFilesDir() for the root of the external storage (SD card). -- Mark Murphy (a Commons Guy) http://commonsware.com | http:

Re: [android-beginners] Re: Emulator

2010-07-14 Thread Mark Murphy
t; Is there a kill process equivalent in Android? It is not needed in most cases. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version

Re: [android-beginners] Map Overlay Image refresh

2010-07-14 Thread Mark Murphy
that for each of your OverlayItems. I have not combined MyLocationOverlay with invalidate() before, so I do not know what other options there might be. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The

Re: [android-beginners] Map Overlay Image refresh

2010-07-14 Thread Mark Murphy
oblem. Call invalidate() on the MapView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 Available! -- You received this

Re: [android-beginners] MapController.setCenter misbehaving

2010-07-13 Thread Mark Murphy
ing the lat/lon values from that > string. As far as I know, the GeoPoint passed to setCenter is just > those values multiplied by 1e6. > > Any ideas why it's not working? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blo

Re: [android-beginners] Application monitoring

2010-07-13 Thread Mark Murphy
t way to debug them be? You can access LogCat via adb logcat, DDMS, or the DDMS perspective in Eclipse. Or, just Eclipse's debugger. Etc. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy

Re: [android-beginners] Re: Emulator

2010-07-13 Thread Mark Murphy
On Tue, Jul 13, 2010 at 12:44 PM, kypriakos wrote: > You can?? That's super - where can I find documentation on that? Or is > it straight > forward? You just run the app. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.c

[android-beginners] Re: Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

2010-07-13 Thread Mark
MT wrote: > Hi Mark, > It looks like the actual plugin is missing from the SDK. We are > working on fixing that shortly. > > On Jul 1, 5:22 pm, Mark wrote: > > > The EASDLL.dll is not recognized by Cubase SX 3.0.2, nor according to > > a poster on the developer'

[android-beginners] Re: Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

2010-07-13 Thread Mark
MT wrote: > Hi Mark, > It looks like the actual plugin is missing from the SDK. We are > working on fixing that shortly. > > On Jul 1, 5:22 pm, Mark wrote: > > > The EASDLL.dll is not recognized by Cubase SX 3.0.2, nor according to > > a poster on the developer'

Re: [android-beginners] downloadable tutorial resources?

2010-07-13 Thread Mark Murphy
on the cw-android Google Group, as I don't want to clutter this list with too much CommonsWare-specific stuff: http://groups.google.com/group/cw-android -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/common

Re: [android-beginners] Error when adding gdata jar library to Android

2010-07-13 Thread Mark Murphy
possibly-tolerable answer: on some server, convert the Word document to HTML, and try rendering the HTML in WebView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http

Re: [android-beginners] downloadable tutorial resources?

2010-07-13 Thread Mark Murphy
k is about creating an identi.ca client (formerly a Twitter client), so that may limit its usefulness while you are on your flight. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programm

Re: [android-beginners] Error when adding gdata jar library to Android

2010-07-12 Thread Mark Murphy
your project. > Is there another way to upload and display a .doc > document in Android? Upload it...where? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http:

Re: [android-beginners] Gallery

2010-07-12 Thread Mark Murphy
cumentation for Gallery: http://developer.android.com/reference/android/widget/Gallery.html you will see that there is no android:orientation attribute available. A Gallery can only be horizontal, AFAIK. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware

Re: [android-beginners] Re: add view programmatically - crash

2010-07-12 Thread Mark Murphy
rce close" dialog saying your application has crashed, then LogCat will have a Java stack trace. Please check again. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: htt

Re: [android-beginners] is doable with android 2.1 and upper ?

2010-07-12 Thread Mark Murphy
, one that lets you configure the notification sound. There are a few email programs on the Market (e.g., K-9). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://common

Re: [android-beginners] add view programmatically - crash

2010-07-12 Thread Mark Murphy
they are colored in red. Your error, in this case, is that course_main is null, since you did not assign any value to it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Boo

Re: [android-beginners] Re: Calling localhost web service from emulator

2010-07-12 Thread Mark Murphy
On Sat, Jul 10, 2010 at 6:17 AM, NIK wrote: > So, the only way of calling a localhost web service from the emulator > is by using the actual network IP address? http://developer.android.com/guide/developing/tools/emulator.html#networkaddresses -- Mark Murphy (a Commons Guy

Re: [android-beginners] Emulator

2010-07-12 Thread Mark Murphy
t, though. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups

Re: [android-beginners] Restricting the input in an edit text

2010-07-11 Thread Mark H. Nichols
ding characters along with an error message. Mark -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from

Re: [android-beginners] Restricting the input in an edit text

2010-07-11 Thread Mark Murphy
On Sat, Jul 10, 2010 at 10:54 PM, Emmen Farooq wrote: > How do I > > a ) Restrict special characters from being entered into an edit text ? I have no idea what "special characters" are. Take a look at android:inputType and setKeyListener(). -- Mark Murphy (

Re: [android-beginners] Tabacitivty

2010-07-11 Thread Mark Murphy
t one tab. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups

Re: [android-beginners]

2010-07-10 Thread Mark Murphy
y() to start up your activity with the next ListView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.6 Available! -- You re

Re: [android-beginners] App installation

2010-07-09 Thread Mark H. Nichols
loaded on to my phone. Mark -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send e

Re: [android-beginners] framelay out

2010-07-09 Thread Mark Murphy
bwidget.html > , thanks in advance for any help -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- You received this mes

Re: [android-beginners] changing the shape of buttons

2010-07-09 Thread Mark Murphy
ound that is changed, to make it appear non-rectangular. Since the background is a StateListDrawable defined via an XML drawable resource, this is eminently doable, but not something you can do in five minutes. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy htt

Re: [android-beginners] Re: Consolidating two SharedPreferences issues.

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 2:37 PM, Bret Foreman wrote: > If not an , what should be the type of the parallel > array for the ListPreference? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Th

Re: [android-beginners] Consolidating two SharedPreferences issues.

2010-07-09 Thread Mark Murphy
a defaultValue set. AFAIK, you cannot have a ListPreference of an . -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -

Re: [android-beginners] Screen problem

2010-07-08 Thread Mark Murphy
old activity to the newly-created one in the new orientation. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- You received this message beca

Re: [android-beginners] Access to Download Manager?

2010-07-08 Thread Mark Murphy
On Wed, Jul 7, 2010 at 6:07 PM, Florp wrote: > The Market and Web-Browser apps seem to share a nice download manager; > is there a way to use that in my own Apps? No, sorry, that is not part of the Android SDK at this time. -- Mark Murphy (a Commons Guy) http://commonsware.com

Re: [android-beginners] Re: Exception when using a BroadcastReceiver for battery-change events

2010-07-08 Thread Mark Murphy
some other data type instead of String. Possibly in the > CommonTempLogic(); > > Place CommonTempLogic in the try catch block and see. > > Caused by: java.lang.ClassCastException: java.lang.String -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commons

Re: [android-beginners] Re: Exception when using a BroadcastReceiver for battery-change events

2010-07-07 Thread Mark Murphy
On Wed, Jul 7, 2010 at 7:02 PM, Bret Foreman wrote: > Here's the full stacktrace from traces.txt: No, I meant from LogCat. Use adb logcat, DDMS, or the DDMS perspective in Eclipse. Below your "Error receiving broadcast Intent" should be another exception indicating the roo

Re: [android-beginners] Exception when using a BroadcastReceiver for battery-change events

2010-07-07 Thread Mark Murphy
nsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android

Re: [android-beginners] Relationship between bindService and onServiceConnected

2010-07-07 Thread Mark Murphy
t; onServiceConnected getting called even after some time has passed. > > Any ideas on where I should look for the problem? Look for LogCat messages in adb logcat, DDMS, or the DDMS perspective in Eclipse. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy h

Re: [android-beginners] Re: Designing a UI, need help

2010-07-06 Thread Mark Murphy
steps -- which I don't -- that would be a wee bit more than can reasonably be expected to be put in an email. I'd aim for a simpler UI, and one that is less likely to get yanked off of the market due to a DCMA takedown. -- Mark Murphy (a Commons Guy) http://commonsware.com |

  1   2   3   4   5   6   7   8   9   10   >