[android-beginners] Re: how to move from one screen to another ?

2009-01-31 Thread Mark Murphy
= new Intent(view.getContext (),UserData.class); startActivity(mIntent); } }); } } can anyone help with that? What is the error as reported in the error log? (adb logcat, DDMS, or Eclipse to examine the log) -- Mark Murphy (a Commons

[android-beginners] Re: Why doesn't this add an ID in r.java

2009-01-31 Thread Mark Murphy
and let it rebuild. You should not have to do this, but it may work for now and may give you some clues as to what is going wrong with your build environment. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published

[android-beginners] Re: Using a layout defined in xml with a custom class

2009-01-30 Thread Mark Murphy
Cristian Radu wrote: I did an extensive search prior to posting over here and I couldn't find anything to help me. Could you please give me an example? For using custom layouts in ListView rows: http://androidguys.com/?s=fancy+listviews -- Mark Murphy (a Commons Guy) http

[android-beginners] Re: R.java file is not getting updated

2009-01-30 Thread Mark Murphy
Ashwani Rao wrote: HI, I have created xml file for UI. I later added identifiers (@+/id) to few elements but the R.java file is not getting updated. There are many possible causes for this. Can you post the layout XML file? -- Mark Murphy (a Commons Guy) http://commonsware.com _The

[android-beginners] Re: How to increase storage space in the emulator?

2009-01-30 Thread Mark Murphy
in the emulator, it may not fit on a real device. So, for example, large files should go on the SD card, not in an application's own private files area. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published

[android-beginners] Re: Differing HTTP packages?

2009-01-29 Thread Mark Murphy
, and was moved into the org.apache.http.* namespace. -- 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-beginners] Re: Why doesn't this add an ID in r.java

2009-01-29 Thread Mark Murphy
; android:layout_width=fill_parent android:layout_height=fill_parent/ You're missing an 'n' in android:id. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message

[android-beginners] Re: Logging to files on the device?

2009-01-28 Thread Mark Murphy
of...the device? You can't on devices, 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-beginners] Re: Android Documentation

2009-01-28 Thread Mark Murphy
Rohan wrote: Is the Android Docs available for download as a single package similliar to JavaDocs so that i can use it offline. Can anybody tell me from where can i get it if it exists.. It is installed with the SDK. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's

[android-beginners] Re: Cascading Layouts

2009-01-27 Thread Mark Murphy
in there that looks odd (e.g., everything has height of 0). -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-beginners] Re: building kernel, the android method.

2009-01-26 Thread Mark Murphy
to the good place. I can point you to a closer place, as this list is for people building applications with the Android SDK, not for rebuilding the kernel. You probably want one of the Android open source platform mailing lists at: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http

[android-beginners] Re: New to Android/Java, Creating a Test Program

2009-01-26 Thread Mark Murphy
as possible, instead of a 4-second delay, use post() instead of postDelayed(). There are other approaches to this -- my book has a similar sample app, updating a progress bar and using a Handler to manage a background thread. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide

[android-beginners] Re: XML 'keywords'

2009-01-26 Thread Mark Murphy
. There is no android.widget.Panel, at least not in the 1.0r2 SDK that I can see. If this is your own class, be advised that the core Android team really really really recommends you put it in your own namespace (e.g., com.commonsware.android.widget.Panel). -- Mark Murphy (a Commons Guy) http

[android-beginners] Re: display image and text in listview

2009-01-26 Thread Mark Murphy
CSS stylesheets since the posts were written. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] Re: String[]

2009-01-25 Thread Mark Murphy
, good }; -- 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 Beginners group. To post

[android-beginners] Re: Multilingual application

2009-01-24 Thread Mark Murphy
://code.google.com/android/devel/resources-i18n.html#AlternateResources -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because

[android-beginners] Re: How can I create dynamic number of radio buttons in Radio Group?

2009-01-23 Thread Mark Murphy
as you need 4. Make sure your RadioGroup is inside a ScrollView, so all your RadioButtons are accessible Or, just use a ListView or Spinner. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php

[android-beginners] Re: sqlite3 dabase

2009-01-23 Thread Mark Murphy
forgotten to change to the directory where the database lives. That will be /data/data/your.package.here/databases, where your.package.here is the Java package associated with your project, as declared in your AndroidManifest.xml file. -- Mark Murphy (a Commons Guy) http://commonsware.com Android

[android-beginners] Re: How to call dialogs ... ColorPickerDialog syntax question

2009-01-23 Thread Mark Murphy
code of how this gets called I would be psyched. http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/graphics/FingerPaint.html -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-beginners] Re: Basic Thread Question

2009-01-21 Thread Mark Murphy
. In principle, you can sleep in your own background threads that are totally under your control. In practice, I find that sleep() calls generally mean some sort of refactoring is in order, to have the background thread block on a queue or mutex or socket or something. -- Mark Murphy (a Commons Guy

[android-beginners] Re: webView load Data problem

2009-01-21 Thread Mark Murphy
can only use this method..i dont knw why i can t access android assets.. I have placed that image in assets folder already.. Try loadDataWithBaseUrl() instead of loadData(), supplying some bogus value for the base URL (e.g., fake://why/o/why/is/this/needed). -- Mark Murphy (a Commons Guy) http

[android-beginners] Re: Common functionality between activities

2009-01-21 Thread Mark Murphy
(MenuItem item) { return true; } Create a subclass of Activity that implements the desired logic, then have your regular activities extend that subclass. Also does anyone know if it's possible to override the home button? No, it is not possible. -- Mark Murphy (a Commons Guy

[android-beginners] Re: Marketplace question

2009-01-21 Thread Mark Murphy
that HTC projected to sell ~1 million T-Mobile G1's by the end of 2008. What percentage of those are in active users' hands at this point is unclear, just as sales figures for iPhone are not necessarily indicative of active users. -- Mark Murphy (a Commons Guy) http://commonsware.com Android

[android-beginners] Re: How to broadcast key events. or terminate the call?

2009-01-20 Thread Mark Murphy
of trickery), and that wouldn't help you in this case. -- 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-beginners] Re: How to get a Content Resolver in static methods?

2009-01-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 Beginners group. To post to this group, send

[android-beginners] Re: droidsans Font

2009-01-20 Thread Mark Murphy
Fathi wrote: from where the emulator laod the font? The emulator has the fonts built into the firmware. You cannot remove them without replacing the firmware. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-beginners] Re: droidsans Font

2009-01-19 Thread Mark Murphy
with no result i think emulator use only 1 font any one know any thing about that? The emulator has all three of the Droid series of fonts. Use Typeface.SANS_SERIF, Typeface.SERIF, or Typeface.MONO as the first parameter to Typeface#create(). -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-beginners] Re: Unable to set permissions on sdcard correctly

2009-01-19 Thread Mark Murphy
Chrigi wrote: I've got a strange problem: I can't set permissions on files on the sdcard. SD cards are usually vfat, which do not honor normal Linux permissions, AFAIK. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-beginners] Re: Changing General UI

2009-01-19 Thread Mark Murphy
-in apps), you will need to work with the firmware: http://source.android.com -- 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-beginners] Re: setText not changeing

2009-01-18 Thread Mark Murphy
with the results. If your concerns lie with the new Button.OnClickListener() syntax, you will want to read up on anonymous inner classes. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published

[android-beginners] Re: setText not changeing

2009-01-17 Thread Mark Murphy
of the Ans TextView. If you want the tip to change, you will need to arrange to get control again sometime after the fields have been updated. The simple way is to add a Button and recalculate the tip when the Button is pressed. -- Mark Murphy (a Commons Guy) http://commonsware.com Android

[android-beginners] Re: setText not changeing

2009-01-17 Thread Mark Murphy
site. Then, in the listener callback, you can do the calculation you have above, and it should update the TextView as you would expect. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-beginners] Re: PreferenceManager get returning text, not value

2009-01-17 Thread Mark Murphy
to select the foo time android:entries=@array/foo_periods android:entryValues=@array/foo_periods_secs android:dialogTitle=Hi, Mom! / Note the android:entryValues attribute in the ListPreference. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide

[android-beginners] Re: Store drawable locally as a file

2009-01-16 Thread Mark Murphy
mobilek...@googlemail.com wrote: I've been struggling to accomplish that for awhile now. Could anyone suggest a way of achieving that? Many Drawables already are files, such as XML-defined shapes and gradients. So...could you be a bit more specific? -- Mark Murphy (a Commons Guy) http

[android-beginners] Re: Store drawable locally as a file

2009-01-16 Thread Mark Murphy
an InputStream to a Drawable, go from an InputStream to a File, then load the image out of the file. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml

[android-beginners] Re: Store drawable locally as a file

2009-01-16 Thread Mark Murphy
from an InputStream. Could you suggest a way of doing that? Thanks. Try: http://www.java2s.com/Tutorial/Java/0320__Network/SavebinaryfilefromURL.htm -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php

[android-beginners] Re: Run my application on Android enabled mobile

2009-01-15 Thread Mark Murphy
on the priority list to support full application development on C/C++, particularly compared to improving the performance of the Java environment. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml

[android-beginners] Re: Error on setText

2009-01-12 Thread Mark Murphy
the first. If that does not clear up your problem, then please review your error log. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~-~--~~~---~--~~ You received this message

[android-beginners] Re: Browse to web server on LAN with wireless?

2009-01-12 Thread Mark Murphy
.). Is this intentionally limited in Android, or am I just doing something wrong? FWIW, hitting an internal Web server works fine for me from the Browser app on my G1. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available

[android-beginners] Re: beginner requirement

2009-01-12 Thread Mark Murphy
, knowing HTTP and how Web services work will help). Experience with Eclipse helps but is not required. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received

[android-beginners] Re: Error on setText

2009-01-11 Thread Mark Murphy
steve_macleod wrote: Is there any way see error logs, or write debug data to a log file manually? adb logcat, DDMS, or the Eclipse equivalent. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published

[android-beginners] Re: debug.keystore password doesn't work

2009-01-11 Thread Mark Murphy
: gnu.javax.crypto.keyring.MalformedKeyringException: incorrect magic I don't see anything useful on the 'net about this (2 hits!). Suggestions? You're trying to use the GNU Classpath edition of keytool (gnu.javax.*). I think you need to use the keytool from the JDK. -- Mark Murphy (a Commons Guy) http://commonsware.com _The

[android-beginners] Re: Multiple EditText's in the same view

2009-01-11 Thread Mark Murphy
): at android.widget.EditText.init(EditText.java:44) 01-11 20:28:19.418: ERROR/AndroidRuntime(189): at com.android.tip.PerfectTip.onCreate(PerfectTip.java:14) Look at line #14 in your PerfectTip class and figure out why it is raising a NullPointerException. -- Mark Murphy (a Commons Guy) http://commonsware.com Android

[android-beginners] Re: Multiple EditText's in the same view

2009-01-11 Thread Mark Murphy
themselves. This sort of stuff is covered in the Android tutorials on the Android site: http://code.google.com/android/intro/hello-android.html http://code.google.com/android/intro/tutorial.html -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http

[android-beginners] Re: Is there a way to know what external API's are supported by Android?

2009-01-11 Thread Mark Murphy
, for example, the two classes you cite, and presumably their dependencies, are in GNU Classpath. Perhaps those would be a better fit for your needs. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php

[android-beginners] Re: Tracking data/hiding things in a list

2009-01-10 Thread Mark Murphy
Faber Fedor wrote: On Fri, Jan 9, 2009 at 8:15 PM, Mark Murphy mmur...@commonsware.com mailto:mmur...@commonsware.com wrote: Faber Fedor wrote: How do I get rid of either passing the _id around or not displaying it? To not display it, don't put it in the list in the first

[android-beginners] Re: Tracking data/hiding things in a list

2009-01-10 Thread Mark Murphy
. Now, to figure out why I can't update the record... Did you get a writeable database when you used your SQLiteOpenHelper subclass? -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml

[android-beginners] Re: Lock phone to control access

2009-01-10 Thread Mark Murphy
legitimate lockdowns are allowed. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] Re: Imageview and ArrayAdapter

2009-01-10 Thread Mark Murphy
convention of CamelCaseClassNames. If that doesn't clear up the problem, can you post the exception? You will find it using adb logcat, DDMS, or the Eclipse equivalent. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com

[android-beginners] Re: Map Example throwing class not found exception

2009-01-10 Thread Mark Murphy
in your AndroidManifest.xml file? -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-beginners] Re: Changes not affecting layout?

2009-01-10 Thread Mark Murphy
any extra space, use the android:stretchColumns attribute on the TableLayout that presumably wraps the TableRow somewhere. What you can't do is specify precise proportions of space with a TableLayout, AFAIK. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch

[android-beginners] Re: Multiple EditText's in the same view

2009-01-10 Thread Mark Murphy
that layout, we might be able to point out where things are going wrong. Again, if you want help overcoming your original problem, post the layout XML file for it along with the symptoms, and we may be able to help. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android

[android-beginners] Re: Multiple EditText's in the same view

2009-01-10 Thread Mark Murphy
of layout files, LinearLayout, TextView, and EditText. If you come up with a layout that you believe is mostly there, but it is not behaving as you would expect, write back with the layout and perhaps we can help. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android

[android-beginners] Re: android problem

2009-01-09 Thread Mark Murphy
com.test.clock) has stopped unexpectedly, please try again! Check your error log (adb logcat, DDMS, or the Eclipse equivalent), which should give you some indication of what is going wrong. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http

[android-beginners] Re: Requests: doc/FAQ fix addition to SDK samples

2009-01-09 Thread Mark Murphy
for you. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-beginners] Re: Error using graphics in XML-Based UI

2009-01-09 Thread Mark Murphy
coderguy89 wrote: ImageView android:id=@+id/imageview android:layout_width=wrap_content android:layout_height=wrap_content android:src=@+drawable/eclipse / Do not use plus in android:src. It should be: android:src=@drawable/eclipse -- Mark Murphy (a Commons Guy

[android-beginners] Re: Multiple EditText's in the same view

2009-01-09 Thread Mark Murphy
view uses all the space available. I have no idea what you mean by this. If you want, post your layout XML for review and comments. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php

[android-beginners] Re: Multiple EditText's in the same view

2009-01-09 Thread Mark Murphy
and comments. -- 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 Beginners group. To post

[android-beginners] Re: Using built in class for game development

2009-01-08 Thread Mark Murphy
went with 2D graphics and a Canvas. Whether that was for efficiency or to make a better book example, I cannot say. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You

[android-beginners] Re: How can I debug this?

2009-01-08 Thread Mark Murphy
with an EditText so they can make the change in-place. I have no idea if the latter approach can work (there are some hiccups with having focusable items in list elements), but it's not out of the question. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android

[android-beginners] Re: NetBeans with Android

2009-01-07 Thread Mark Murphy
and my application doesn´t run. Your application is not supposed to run, AFAIK. You need to open the application drawer and launch it. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Published

[android-beginners] Re: Cannot start a sub activity

2009-01-06 Thread Mark Murphy
options_menu? Is this activity registered in your AndroidManifest.xml file? My application craps out. What did you learn from examining the error logs via adb logcat, DDMS, or the Eclipse equivalent? -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_

[android-beginners] Re: Cannot start a sub activity

2009-01-06 Thread Mark Murphy
=.YourClassNameGoesHere android:label=Text Or String Resource Reference Goes Here /activity -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Published! --~--~-~--~~~---~--~~ You received this message because

[android-beginners] Re: Where's my ContentProvider

2009-01-06 Thread Mark Murphy
for com.appspot.lbtdl That suggests either your provider is not listed in your AndroidManifest.xml, or possibly it's not a public class. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available

[android-beginners] Re: Where's my ContentProvider

2009-01-06 Thread Mark Murphy
collisions, just as Java namespaces themselves tend to be based off of domain names, to prevent collisions. That's just done in the declaration, of the class right? There's nothing else that needs to be done. Correct. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's

[android-beginners] Re: Where's my ContentProvider

2009-01-06 Thread Mark Murphy
(fourth parameter to SQLiteOpenHelper constructor), which will trigger an onUpgrade() call to your SQLiteOpenHelper object. I assume all onCreates()s act similarly. For SQLiteOpenHelper implementations, yes. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android

[android-beginners] Re: How to post an issue?

2009-01-05 Thread Mark Murphy
a little search, just thought I'd ask where the issue tracker can be found. http://code.google.com/p/android/issues/list -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Published

[android-beginners] Re: Android app development

2009-01-05 Thread Mark Murphy
that, there are numerous tutorials published on various blogs, at least five books, and so on. You can find links to Android-related books at the Android Programming knol: http://knol.google.com/k/mark-murphy/android-programming -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide

[android-beginners] Re: NetBeans with Android

2009-01-05 Thread Mark Murphy
, and wait it out. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-beginners] Re: Best way to learn android development?

2008-12-31 Thread Mark Murphy
it! Thanks! Glad you like it! -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] Re: problem with Srolling in listview

2008-12-30 Thread Mark Murphy
, then make a copy of List8 and *slowly* change it to match what it is you are trying to build, testing at each step. If it stops scrolling, your last step is where things went wrong. Without access the source code that is giving you problems, it is unclear how we can help further. -- Mark Murphy

[android-beginners] Re: Launching other applications

2008-12-30 Thread Mark Murphy
to do this yourself by querying the Contacts content provider for the contact's phone numbers and presenting them to the user in a ListView or something. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available

[android-beginners] Re: Developing an IMS client on Android : Request for Comments.

2008-12-29 Thread Mark Murphy
regarding modifying the Android platform -- and, from what I can see, a 4G IMS client might be a firmware project -- should go to one of the mailing lists related to the Android platform: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's

[android-beginners] Re: Source for android.widget.TimePicker

2008-12-29 Thread Mark Murphy
;f=core/java/android/widget/TimePicker.java;h=ab4edc5a8a79fd2b12d46c979f074ca1c4cbf859;hb=HEAD (also at http://tinyurl.com/8rj4rb if that URL is too long) -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com

[android-beginners] Re: question about bluetooth

2008-12-29 Thread Mark Murphy
/some-information-on-apis-removed-in.html -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-beginners] Re: Question about the int bundle

2008-12-27 Thread Mark Murphy
quitWorryingAboutTheName) { super.onCreate(quitWorryingAboutTheName); are all the same thing. The name originally was icicle because onSaveInstanceState() used to be called onFreeze(). -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9

[android-beginners] Re: Best way to learn android development?

2008-12-27 Thread Mark Murphy
_Professional Android Application Development_. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-beginners] Re: why doesn't this work? Simple question - I hope...

2008-12-26 Thread Mark Murphy
, usually GregorianCalendar. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Re: Android Framework

2008-12-26 Thread Mark Murphy
questions on one of the lists at: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-beginners] Re: CSS in WebView

2008-12-26 Thread Mark Murphy
;/div/body/html; oBrowser.loadData(szHTML, text/html, UTF-8); Try using loadDataWithBaseURL(), supplying some screwball base URL (fake://it/is/so/stupid/that/we/have/to/do/this). That clears up a lot of problems seen when using the simplified loadData() API. -- Mark Murphy (a Commons

[android-beginners] Re: Best way to learn android development?

2008-12-26 Thread Mark Murphy
tutorials online, or you can pick up a book like _Head First Java_. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-beginners] Re: Problem with listview

2008-12-24 Thread Mark Murphy
need i also want to display icon for each row how can i do that Specify your own layout to use for the rows: http://androidguys.com/?p=633 (forgive the formatting problems with the post) -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_

[android-beginners] Re: Problem putting a GridView in a TableRow

2008-12-22 Thread Mark Murphy
other widgets. Can you post your layout XML that is not working? -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-beginners] Re: Problem putting a GridView in a TableRow

2008-12-22 Thread Mark Murphy
of creating appropriate rows and adding the gridview in the rows. Finally the tablelayout is added to the framelayout. In Java? Try putting it in your layout instead. Getting this stuff working in Java is certainly doable, but it is much simpler in XML. -- Mark Murphy (a Commons Guy) http

[android-beginners] Re: looping with a ContentValues var ...

2008-12-22 Thread Mark Murphy
, String instead? HTML form keys and values have to be Strings anyway. I'm not sure what ContentValues is getting you that a typed Map wouldn't. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available

[android-beginners] Re: Problem putting a GridView in a TableRow

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

[android-beginners] Re: Problem with a contacts viewer

2008-12-20 Thread Mark Murphy
jamul wrote: I'm just getting problems with my app'... and really don't understand all about that. When I launch my ListActivity I get : XContacts has stopped unexpectedly Have you looked at the log output (e.g., adb logcat) to see what errors you are getting? -- Mark Murphy (a Commons

[android-beginners] Re: problems with listview

2008-12-19 Thread Mark Murphy
baba vali wrote: i want to get white background i am getting gray color in the list Try adding android:background to your ListView element in your layout XML file, with a color value (e.g., #00FF). -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android

[android-beginners] Re: problems with listview

2008-12-19 Thread Mark Murphy
Romain Guy wrote: #00FF is a fully transparent color, it won't work. Also, if you change the list's background color, you need to change the cache color hint as well. Whoops, sorry. I keep getting my alpha channels reversed. -- Mark Murphy (a Commons Guy) http://commonsware.com _The

[android-beginners] Re: Android on HTC Touch Pro

2008-12-17 Thread Mark Murphy
Android on another phone, you need: 1. A phone that is capable of flashing an alternative firmware. 2. A firmware containing Android ported to that phone. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com

[android-beginners] Re: Running first application on Eclipse

2008-12-17 Thread Mark Murphy
I haven't the foggiest notion what it might be. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] Re: How to get the parent Activity of a View?

2008-12-16 Thread Mark Murphy
Tom wrote: Given a View (an ImageButton in my case) can I get the parent Activity from it somehow? View#getContext() should typically return the activity. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available

[android-beginners] Re: Assistance with understanding LunarLander code

2008-12-13 Thread Mark Murphy
FrameLayout, Android knows they are in the package android.widget; for custom ones, the full namespace is spelled out in the layout (com.example.android.lunarlander.LunarView). -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available

[android-beginners] Re: center the tablelayout

2008-12-13 Thread Mark Murphy
Josh Dobbs wrote: my view is comprised of a tablelayout. How can I set the table in the center of the screen? by default it looks to be left alligned. Have you tried adding android:layout_gravity=centerHorizontal to your TableLayout, to center it in the parent container? -- Mark

[android-beginners] Re: keeping an application in portrait mode

2008-12-13 Thread Mark Murphy
. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group

[android-beginners] Re: keeping an application in portrait mode

2008-12-13 Thread Mark Murphy
is not working for you, let me know. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-beginners] Re: keeping an application in portrait mode

2008-12-13 Thread Mark Murphy
portrait regardless of the position of the keyboard. So, some questions: 1. Do you have a G1? If so, what happens when you run RotationFour on your G1? 2. Which version of the SDK are you on? I'm on 1.0r1, since I am a lazy bum and have not yet upgraded to 1.0r2 just yet. -- Mark Murphy

[android-beginners] Re: Understanding the basic overridden onCreate function

2008-12-13 Thread Mark Murphy
is happening here? The pseudo-variable super represents the superclass. By calling super.onCreate(savedInstanceState), you are chaining to the superclass, calling its constructor before performing the guts of yours. http://java.sun.com/docs/books/tutorial/java/IandI/super.html -- Mark Murphy

[android-beginners] Re: need clarification on resolving intents.

2008-12-13 Thread Mark Murphy
/vnd.google.note. So, if a VIEW intent for a note comes in, it will match NoteEditor (match on action and type) and not NotesList (match on type but not action). -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available

[android-beginners] Re: Sqlite connection coding

2008-12-12 Thread Mark Murphy
shilpi jhilmil wrote: can u suggest me a book from which i can start my basics... There are several Android books listed in my Android Programming Knol: http://knol.google.com/k/mark-murphy/android-programming Others may be available in beta form as well, notably Ed Burnette's _Hello

<    5   6   7   8   9   10   11   12   13   >