[android-beginners] Re: Could someone tell me what differences between 1.5 cupcake and 2.0 donut?

2009-05-12 Thread Mark Murphy
> is there any other new features on donut? Donut does not exist yet. > could someone tell me what changes will be between cupcake and 2.0 > donut This information is not publicly available, AFAIK. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Gu

[android-beginners] Re: Dreaded "Stopped Unexpectedly"

2009-05-11 Thread Mark Murphy
="0.08" > /> > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:layout_centerHorizontal="true" > android:text="@string/donetxt" >

[android-beginners] Re: Developing Android Apps

2009-05-11 Thread Mark Murphy
is is a reason for me NOT to develop for the > android system. > > Does anybody other information or takes it by everybody so long? It takes a while to start the emulator, just as it takes a while to boot the device, or boot a Windows PC. Leave your emulator

[android-beginners] Re: Selecting list item

2009-05-10 Thread Mark Murphy
e trackball/D-pad to highlight a icon in the launcher, then presses the D-pad center button to start it), then setSelection() should work. And, no, there is no recommended way of forcing an application to start in non-touch mode. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Cod

[android-beginners] Re: Listview again

2009-05-09 Thread Mark Murphy
e top and a Button at the bottom should help. If you are not comfortable with RelativeLayout, switch to LinearLayout for now and follow this layout example: http://developer.android.com/guide/samples/ApiDemos/res/layout/list_12.html Also, dump the background and textColor for now -- you don't ne

[android-beginners] Re: How to create and open an SQLite database? (Based on NotePad tutorial)

2009-05-09 Thread Mark Murphy
ferences between MySQL and SQLite > regarding INSERT statements? I haven't played much with MySQL in ages. INSERT is pretty close to ANSI SQL, though, IIRC. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.o

[android-beginners] Re: Layout gravity - bug in portrait mode?

2009-05-09 Thread Mark Murphy
better accommodate semi-random sizing. > I've tried a nine-patch image as a background but can't get that to > work :( Have you tried the image in the draw9patch tool in your SDK? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/

[android-beginners] Re: Layout gravity - bug in portrait mode?

2009-05-09 Thread Mark Murphy
will work better with your layout_weight="1". > I've also tried using a RelativeLayout and > layout_alignParentBottom="true" but that doesn't seem to make any > difference. That should work, unless the image itself has space at the bottom of the image. Note tha

[android-beginners] Re: Does this exist? Emulator for running Windows Mobile (ARM, xScale, etc) apps on Android

2009-05-09 Thread Mark Murphy
sssdeecee wrote: > Perhaps a new group could be set up to discuss this? Please do. What you are discussing is not really a topic for this list, which is dedicated to newcomers making native Android applications using the SDK. -- Mark Murphy (a Commons Guy) http://commonsware.com | h

[android-beginners] Re: SensorManager misbehaving on emulator when app was taken to 1.5

2009-05-09 Thread Mark Murphy
each Version 0.9 by mid-June, also updated with some Android 1.5 material. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received

[android-beginners] Re: SensorManager misbehaving on emulator when app was taken to 1.5

2009-05-09 Thread Mark Murphy
Cass Surek wrote: > Any help/clue much appreciated! This is driving me insane. :) Sensors do not work in an Android 1.5 emulator image at present, apparently. http://code.google.com/p/android/issues/detail?id=2566 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.

[android-beginners] Re: Conversion to Dalvik format failed with error 1

2009-05-09 Thread Mark Murphy
answers this weekend, try reposting a summary of your experiences on a fresh thread on Monday. This list in particular does not necessarily get as much attention on the weekends. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Boo

[android-beginners] Re: Conversion to Dalvik format failed with error 1

2009-05-09 Thread Mark Murphy
re/basesdk/android-sdk-linux_x86-1.5_r1/ Did you follow the instructions in the tutorial exactly? http://developer.android.com/guide/tutorials/hello-world.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki

[android-beginners] Re: Conversion to Dalvik format failed with error 1

2009-05-09 Thread Mark Murphy
4:32:29 - HelloWorld] 1 error; aborting > [2009-05-09 14:32:29 - HelloWorld] Conversion to Dalvik format failed > with error 1 I do not use Eclipse. However, the error message is that something you are trying to include in your project is attempting to define java.lang.Object. This is bad. Ma

[android-beginners] Re: ListView Entries

2009-05-09 Thread Mark Murphy
/hello-listview.html http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/index.html (for the latter, scroll down to the eight samples under the Lists heading) If I have completely misunderstood your question, write back! -- Mark Murphy (a Commons Guy) http://commonswar

[android-beginners] Re: Differentiating between Simulator v/s. Real device

2009-05-08 Thread Mark Murphy
lator and a unique 64-bit value in a device. I have not tried this under Android 1.5, though. > P.S.: or you could tell it to take the red pill and see how deep the > rabbit-hole goes. http://xkcd.com/566/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsg

[android-beginners] Re: Buttons do not show on the android phone when turned horizontal

2009-05-08 Thread Mark Murphy
off-screen. Or, write two layouts, one for portrait and one for landscape, and put the latter in res/layout-land/ instead of res/layout. If you post the layout that is giving you trouble, we might be able to offer more concrete help. -- Mark Murphy (a Commons Guy) http://commonsware.com | ht

[android-beginners] Re: How to create and open an SQLite database? (Based on NotePad tutorial)

2009-05-08 Thread Mark Murphy
FAULT 'FALSE');"); There is no BOOLEAN in SQLite. > db.execSQL("CREATE TABLE IF NOT EXISTS " > + DATABASE_TABLE_ACH > + " (achID INT PRIMARY KEY AUTO-INCREMENT, &quo

[android-beginners] Re: Itens Checked in a ListView

2009-05-07 Thread Mark Murphy
> What I need is to know how can I get the items marked on my list? http://developer.android.com/reference/android/widget/ListView.html#getCheckedItemPositions() -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 A

[android-beginners] Re: Itens Checked in a ListView

2009-05-07 Thread Mark Murphy
>> >> Tanks a lot! If that does not answer your question, write back with more specifics. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You r

[android-beginners] Re: How "Linux-ey" is Android?

2009-05-07 Thread Mark Murphy
none that are officially supported, but you are welcome to try to hack whatever you want. All you need is a device capable of accepting alternative firmware. > Is it possible to run ANY simple linux apps from > a terminal window in an Android device? What terminal window? -- Mark Murphy (a Commo

[android-beginners] Re: astrid build problem in SDK 1.5

2009-05-06 Thread Mark Murphy
droid 1.1 > target still it should work fine, right? Perhaps not. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received

[android-beginners] Re: astrid build problem in SDK 1.5

2009-05-06 Thread Mark Murphy
ing android-astrid, you should perhaps ask the developers: http://code.google.com/p/android-astrid/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~---~--

[android-beginners] Re: WebView Issue

2009-05-06 Thread Mark Murphy
previously reported. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

[android-beginners] Re: What is causing this error?

2009-05-05 Thread Mark Murphy
h Mode)_ ;-) -- 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 Grou

[android-beginners] Re: WebView Issue

2009-05-05 Thread Mark Murphy
glory wrote: > Does loadDataWithBaseURL is depricated in version 1.5 ? Where do you see this? Looking at the 1.5 API differences report, I do not see anything mentioning loadDataWithBaseURL(). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android

[android-beginners] Re: Hide address bar in Webview

2009-05-05 Thread Mark Murphy
llo, WebView tutorial on the Android site also demonstrates it: http://developer.android.com/guide/tutorials/views/hello-webview.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commo

[android-beginners] Re: Andriod Development

2009-05-05 Thread Mark Murphy
> i am very new to android development. i have one question in my mind > > 1. Which is better approach programming android. i mean using main.xml > or coding? > > Please help me on this XML is typically easier, unless you don't like XML. But, that's just me. -- Mark

[android-beginners] Re: Hide address bar in Webview

2009-05-05 Thread Mark Murphy
r activity of your choosing). -- 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 "Andro

[android-beginners] Re: What is causing this error?

2009-05-05 Thread Mark Murphy
" > android:layout_below="@id/beerselect" > android:entries="@array/beers" > android:background="#aa" > android.textColor="ff" > android:choiceMode="singleChoice"/> you want: http://developer.android.c

[android-beginners] Re: ListView and Buttons on Screen

2009-05-04 Thread Mark Murphy
gt; //android:layout_width=/"wrap_content"/ > //android:layout_height=/"wrap_content"/ > //android:text=/"Voltar"//> > > " > In java, how I get a reference of the ListView from XML file using > findViewById()? Don't bother. Just ca

[android-beginners] Re: ListView and Buttons on Screen

2009-05-04 Thread Mark Murphy
Junior Einsfeld wrote: > I tried to do this, but I getting an error from Android. And the error is...what? You can get the error message and Java stack trace from adb logcat or DDMS. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Develo

[android-beginners] Re: Question about building Android 1.5 source for emulator

2009-05-04 Thread Mark Murphy
a normal Android 1.5 system? Questions regarding the Android source code are best asked on a discussion list pertaining to the Android source code: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide

[android-beginners] Re: What is the point of super.onCreate(savedInstanceState)?

2009-05-04 Thread Mark Murphy
call super.onCreate(savedInstanceState) is because your code will not compile otherwise. ;-) -- 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-beginners] Re: ListView and Buttons on Screen

2009-05-04 Thread Mark Murphy
ve defined into XML file. > > How can I do to display the two buttons on a line below my ListView? Create a layout in an XML file, put your buttons below the ListView, and use that XML file in your setContentView() call in your ListActivity onCreate(). -- Mark Murphy (a Commons Guy) http://common

[android-beginners] Re: DroidDraw seems broken on 1.5

2009-05-04 Thread Mark Murphy
ator nor the ADT the buttons are shown below the > input text. Is there a new property i should check? DroidDraw was originally written for last summer's M5 SDK. Anything you create with DroidDraw will require manual modification of the XML. -- Mark Murphy (a Commons Guy) http://commonsw

[android-beginners] Re: Fullscreen in Custom View

2009-05-04 Thread Mark Murphy
ar, read the comments. -- 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 Googl

[android-beginners] Re: How do I return a value from an Activity

2009-05-03 Thread Mark Murphy
he second activity can call setResult(), and the main activity will get the result in onActivityResult(). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~

[android-beginners] Re: Best book to buy to learn mid level Android development solo?

2009-05-02 Thread Mark Murphy
ital book editions will be updated to Android 1.5 within the next 30-60 days, and subscribers get a lot more depth (~1000 pages and growing) and frequency of updates than they would get from any single print book Hope this helps! -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-beginners] Re: This is not centering in a Relative Layout

2009-05-02 Thread Mark Murphy
vBeer". 2. I do not think there is a way to center one widget relative to another widget -- only centering a widget within the parent. Hence, you may need to wrap your ImageButton and TextView in their own RelativeLayout and set both of them to android:layout_centerVe

[android-beginners] Re: Toggle Buttons: Initial state? Three states? How do I do it? :(

2009-05-02 Thread Mark Murphy
lowre...@gmail.com wrote: > The issue at hand: How do I add three states to a toggle button? CompoundButton only knows two states, and ToggleButton inherits from there. It will probably be simpler if you start with ImageButton and replace the image resource as needed. -- Mark Murphy

[android-beginners] Re: This is not centering in a Relative Layout

2009-05-02 Thread Mark Murphy
> android:text="@string/hello" > android:layout_gravity="center_horizontal" > android:textStyle="bold" > android:textColor="#00" > /> Use android:layout_centerHorizontal="true" http://developer.andr

[android-beginners] Re: SurfaceView on G1

2009-04-30 Thread Mark Murphy
faceView implements > SurfaceHolder.Callback > { > } 1. Please do not cross-post to multiple discussion lists, as you irritate the very people who you are expecting to help you. 2. Please *do* post a stack trace if you are going to inquire about crashes. You can get a stack trace from DDM

[android-beginners] Re: Android Compilation Ends With Error 41.

2009-04-30 Thread Mark Murphy
source code: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Re: webView

2009-04-29 Thread Mark Murphy
cant scroll over it... > > what am I missing? Try changing android:layout_width="wrap_content" to something else (fill_parent or a specific width), and see if that helps. If that does not help, try substituting in some other public URL rather than myPage, and see if that chan

[android-beginners] Re: Hi all,

2009-04-29 Thread Mark Murphy
> i had a process running on background that save incoming data in my > sdcard,Does anyone know how can i be notify , Plz help me? !!! Use a Notification object. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.

[android-beginners] Re: How does Dalvik VM work?

2009-04-29 Thread Mark Murphy
ther devices are best asked on a forum dedicated to porting Android to other devices: http://source.android.com/discuss This list is for beginners developing Android SDK applications. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy

[android-beginners] Re: Twitter example code, importing and "resource exists with a different case"

2009-04-27 Thread Mark Murphy
from their JAR file). If you visit http://commonsware.com/AndTutorials you can download the source code to one of my books (_Android Programming Tutorials_), which includes building a Twitter client using JTwitter. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's

[android-beginners] Re: installing 1.5 and eclipse

2009-04-24 Thread Mark Murphy
o update is necessary. >From the page linked to above: "...if you're ready to upgrade your Eclipse IDE to develop for Android 1.5, you can continue by uninstalling the old ADT and installing the new one as described below." -- Mark Murphy (a Commons Guy) http://commonsware

[android-beginners] Re: Low Memory: No more background processes.

2009-04-24 Thread Mark Murphy
before putting them in the OpenGL animation. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Re: get speed

2009-04-22 Thread Mark Murphy
gandor wrote: > Hi, > > I want to getspeed of android device through Gps receiver. Not rely on > triangulation. > Does tmobile G1 provide this functionality if somebody dosent have the > 3G plan. Neither the carrier nor 3G has anything to do with GPS, AFAIK. -- Mark Mur

[android-beginners] Re: [android-beginners]Logs in a File

2009-04-22 Thread Mark Murphy
was recently added to AndroidSnippets.org: http://www.androidsnippets.org/snippets/35/ I have not tried the technique demonstrated there, and it scares me slightly, but it is probably worth trying. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescr

[android-beginners] Re: error while running simple SOAP application

2009-04-22 Thread Mark Murphy
aditya kulkarni wrote: > please somebody reply... Did you look at your error log? What did it tell you? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 A

[android-beginners] Re: error inflating xml layout file

2009-04-22 Thread Mark Murphy
ess ( 53): Sending signal. PID: 164 SIG: 3 > I/dalvikvm( 164): threadid=7: reacting to signal 3 > I/dalvikvm( 164): Wrote stack trace to '/data/anr/traces.txt' > I/ARMAssembler( 53): generated > scanline__0077:03515104__ [ 27 ipp] (41 ins) at > [0x26

[android-beginners] Re: Understanding onKeyDown

2009-04-22 Thread Mark Murphy
dle itself. If you then get both events, that means my guess is correct. -- 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 receiv

[android-beginners] Re: HTTP headers manipulation

2009-04-21 Thread Mark Murphy
those assume we are talking about *your* application. There is no means outside the firmware to modify the behavior of *other* applications' HTTP requests. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Update

[android-beginners] Re: Webview not working like in Chrome

2009-04-20 Thread Mark Murphy
or form POSTs (I have comments from one book subscriber to suggest it does not) and, even if it does, it would appear the form data would be lost in the call to loadUrl(). Do you know if the affected page is using an HTTP POST form to try to move to the page, where it does not work? -- Mark Mur

[android-beginners] Re: Call Log changes.

2009-04-20 Thread Mark Murphy
ied? Other than by a firmware change, I do not believe the current behavior can be altered. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~

[android-beginners] Re: application stop unexpectedly

2009-04-20 Thread Mark Murphy
iPaul Pro wrote: > setContentView(R.id.myTextVie); > > should be > > setContentView(R.id.main); Actually, it should be: setContentView(R.layout.main); R.layout is for the layout files; R.id is for widgets (among other things). -- Mark Murphy (a Commons Guy) http://commons

[android-beginners] Re: HTTP Post

2009-04-19 Thread Mark Murphy
apache.org The latter is the site for the HttpClient package incorporated in Android (org.apache.http.*). There are POST examples on there. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~

[android-beginners] Re: how to develop Android app?

2009-04-19 Thread Mark Murphy
ty much the entire developer.android.com Web site is designed to answer those questions. I would recommend you go through the tutorials: http://developer.android.com/guide/tutorials/hello-world.html http://developer.android.com/guide/tutorials/notepad/index.html http://developer.android.com/guide/tutorials/views/in

[android-beginners] Re: Only first control displays

2009-04-16 Thread Mark Murphy
y. The G1/emulator screen is 480 pixels high. Try removing your margins, and I suspect your widgets will show up. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~-

[android-beginners] Re: Edit Contacts Database

2009-04-14 Thread Mark Murphy
tacts.People, Contacts.Organizations). -- 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 "An

[android-beginners] Re: Change TextView text in code

2009-04-13 Thread Mark Murphy
me after setContentView() or otherwise inflating your layout. -- 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 subscrib

[android-beginners] Re: About Android SDK translation work

2009-04-11 Thread Mark Murphy
rce project itself, including documentation. We have had other people recently express interest in contributing to documentation, and so my hope is that the core Android team is working out the details on how to handle contributions such as yours. Thanks again! -- Mark Murphy (a Commons Guy) http://

[android-beginners] Re: Get list from Website ( PHP , MySQL , HTTP request , XML )

2009-04-09 Thread Mark Murphy
. There are several books on Android, at least some of which have their source code available for download, and some of which cover HTTP operations. For example, you can download the source code for my book off of http://commonsware.com/Android/. Other books and programming resources can be found on

[android-beginners] Re: Install Android on a LapTop

2009-04-09 Thread Mark Murphy
to your desired hardware: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because

[android-beginners] Re: How to: (new) HTTP API

2009-04-09 Thread Mark Murphy
Presumably yes. > Is it also possible to stay "logged in" on the Android > application (Sessions)? Presumably yes. > Can I set Cookies on the Android Device? Yes. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App

[android-beginners] Re: How to change the background color of an element in a list ?

2009-04-08 Thread Mark Murphy
rly-formatted blog posts on this: http://androidguys.com/?s=fancy+listviews If it is SimpleCursorAdapter, you can either override bindView() or provide a view binder via setViewBinder(). If it is some other kind of adapter, you will need to do something along these lines, but perhaps with differ

[android-beginners] Re: How to destroy an Activity in android

2009-04-07 Thread Mark Murphy
Meryl Silverburgh wrote: > Hi, > > how can I destroy an Activity in android? > e.g. if i launch the 'Calculator' Activity, how to destroy it so that > the onDestroy method will get called? Call finish() from within the Activity. -- Mark Murphy (a Commons Guy) http

[android-beginners] Re: Multiple Instances of App Running When Home + Restart

2009-04-05 Thread Mark Murphy
d by the system (resource change due to screen orientation, forced shutdown for RAM reclamation, etc.). Off the top of my head, I can't think of other possible causes for this. Anyone else have any suggestions? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/c

[android-beginners] Re: Multiple Instances of App Running When Home + Restart

2009-04-05 Thread Mark Murphy
ick the app's icon, it > starts another instance instead (I can tell via debug messages in the > draw loop). I suspect that the answer is obvious but somehow > something is not clicking. Advice appreciated. Could you post your AndroidManifest.xml file? -- Mark Murphy (a Common

[android-beginners] Re: Can I develop android applications on a phone without service?

2009-04-05 Thread Mark Murphy
are 130 unlocked T-Mobile G1s up for sale now, some fairly cheap. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this mess

[android-beginners] Re: option menus id's

2009-04-04 Thread Mark Murphy
tion and write the id down that comes up, but that seems > kludgy even for me! > > My XML is as below. It is too select a category for my menu. > > When Sandwiches is pressed, how do I know which id is sandwiches? It will be known as R.id.sandwiches in Java. And quit making me hun

[android-beginners] Re: Form View Example!!

2009-04-04 Thread Mark Murphy
Android site for building outside of an IDE: http://developer.android.com/guide/developing/other-ide.html Once you are comfortable with the Android build process, then figure out how to get NetBeans to work with Android. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/c

[android-beginners] Re: "Your location cannot be determined"

2009-04-04 Thread Mark Murphy
56 46.51119 When done, enter the "exit" command (sans quotes) and you'll be back to your terminal window. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://com

[android-beginners] Re: "Your location cannot be determined"

2009-04-04 Thread Mark Murphy
oper.android.com/guide/topics/location/index.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! --~--~-~--~~~---~--~~ You received this message beca

[android-beginners] Re: SDK

2009-04-03 Thread Mark Murphy
bevnote1 wrote: > HI, > I wanted to ask how do you get started with the SDK? How do you > use it, or run it? How do you start to creat apps with it? That is all covered by the information at: http://developer.android.com -- Mark Murphy (a Commons Guy) http://commonsware.c

[android-beginners] Re: android phones with FM interface

2009-04-03 Thread Mark Murphy
metimes displays adverts. So I am interested in phone models > that support this fatures. > Thank you and best regards, This is probably a better question for one of the lists associated with the Android OS itself: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http

[android-beginners] Re: Copy configuration file to /sdcard/data/com.mydomain.myapp/ upon install of apk

2009-04-02 Thread Mark Murphy
or whether in the form of a BroadcastReceiver you have in your manifest that will get control on some system-raised Intent. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://com

[android-beginners] Re: Can somebody provide a SoftKey app?

2009-04-02 Thread Mark Murphy
> Can somebody provide a SoftKey app which can input letters with > touchscreen? An input method framework supporting soft keyboards is being worked on as part of the "cupcake" development branch of Android. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy

[android-beginners] Re: Android Sooner Development

2009-04-01 Thread Mark Murphy
android sdk m3-rc22a. However, > our android applications crash on the Sooner phone, whereas it has no > problems in the m3-rc22a emulator. Questions regarding the Android source code are best asked on a mailing list dedicated to the Android source code: http://source.android.com/discuss --

[android-beginners] Re: Switching between Views/Activities

2009-04-01 Thread Mark Murphy
d site shows several activities and linking between them via startActivity() and kin. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ You re

[android-beginners] Re: "Your location cannot be determined"

2009-03-31 Thread Mark Murphy
it is on Windows. Shut down all Android tools before doing this, then fire up the emulator again. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.

[android-beginners] Re: "Your location cannot be determined"

2009-03-30 Thread Mark Murphy
on beneath the longitude and latitude fields? -- 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

[android-beginners] Re: Question about path to take

2009-03-30 Thread Mark Murphy
k on the current SDK. You can get the source code to my original Android book, which has up-to-date editions of the sample code from the blog posts. Visit http://commonsware.com/Android/ and click on the Source Code link. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/co

[android-beginners] Re: Setting an Android Icon in Menu XML

2009-03-29 Thread Mark Murphy
nd so the icons will change look. If you need the icon to keep consistent (e.g., to match other icons you are drawing), make yourself a local copy of the image. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year

[android-beginners] Re: Setting Single Choice Dialog Checked Item

2009-03-28 Thread Mark Murphy
It's perfectly fine. You'll do this sort of thing in elaborate ListViews all the time, to create the rows the way you want 'em. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guid

[android-beginners] Re: Setting Single Choice Dialog Checked Item

2009-03-28 Thread Mark Murphy
Ds -- but at the same time, wish it was easier to just set the > defaulted button in a list. Certainly, AlertDialog could use a few additions to help with your scenario. However, for something you can achieve in a reasonable period of time, setting your own View is probably the best answer. -

[android-beginners] Re: Setting Single Choice Dialog Checked Item

2009-03-28 Thread Mark Murphy
een created?" In that case, don't use the stock single-choice AlertDialog. Supply your own contents via setView() on AlertDialog.Builder and control it yourself. In this case, perhaps all you need to do is supply a properly-configured CheckBox. -- Mark Murphy (a Commons Guy) http:/

[android-beginners] Re: Ascii codes of shifts

2009-03-27 Thread Mark Murphy
Mark Murphy wrote: > Different browsers, different operating systems, most likely. > > Have you experimented with a WebKit-based browser outside of Android, > such as Safari or Chrome? > > I am assuming you are using techniques akin to: > > http://www.cros

[android-beginners] Re: Ascii codes of shifts

2009-03-27 Thread Mark Murphy
using techniques akin to: http://www.cross-browser.com/x/examples/shift_mode.php -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Re: Ascii codes of shifts

2009-03-27 Thread Mark Murphy
yEvent objects, and you can call isShiftPressed() to see if the Shift key was pressed at the time. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message b

[android-beginners] Re: Data Picker Example

2009-03-25 Thread Mark Murphy
/hello-timepicker.html -- 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 Beginners" group.

[android-beginners] Re: Data Picker Example

2009-03-25 Thread Mark Murphy
Lucius Fox wrote: > Hi, > > Can you please tell me where I can find an android data picker and > timer picker example? > > Thank you. > > > -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: Three Android Bo

[android-beginners] Re: How do I set the value of an EditText

2009-03-25 Thread Mark Murphy
ext and it's just not > working. You must call setContentView() first. You aren't telling Android what layout to display until you call setContentView(). Hence, until that time, findViewById() is guaranteed not to work, because there are no views to find.

[android-beginners] Re: app crash at startup??

2009-03-24 Thread Mark Murphy
environment and is not indicative of anything in your code. -- 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 subscri

[android-beginners] Re: Android and Special Chars?

2009-03-24 Thread Mark Murphy
SteleFreak wrote: > No. The problem occurs only in android app, while storage mechanism > and parser work perfectly in console app! The parser behaves differently on Android. -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: Three Android Books, Plus Updates, $3

[android-beginners] Re: How can my application be intimated whenever i edit my contact list

2009-03-24 Thread Mark Murphy
st? Try: http://developer.android.com/reference/android/content/ContentResolver.html#registerContentObserver(android.net.Uri,%20boolean,%20android.database.ContentObserver) (or http://tinyurl.com/c38oep if that URL is too long) -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Develo

[android-beginners] Re: Android and Special Chars?

2009-03-22 Thread Mark Murphy
. Iterate over all the nodes and concatenate the results. -- 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 G

<    4   5   6   7   8   9   10   11   12   13   >