> 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
="0.08"
> />
> android:layout_width="wrap_content"
> android:layout_height="wrap_content"
> android:layout_centerHorizontal="true"
> android:text="@string/donetxt"
>
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
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
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
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
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/
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
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
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
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.
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
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
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
/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
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
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
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
> 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
>>
>> 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
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
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
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
--~--~-~--~~~---~--
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
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
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
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
> 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
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:layout_below="@id/beerselect"
> android:entries="@array/beers"
> android:background="#aa"
> android.textColor="ff"
> android:choiceMode="singleChoice"/>
you want:
http://developer.android.c
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
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
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
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!
--~--~-~--~~~-
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
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
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
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
--~--~-~--~~~---~--~
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 |
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
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:text="@string/hello"
> android:layout_gravity="center_horizontal"
> android:textStyle="bold"
> android:textColor="#00"
> />
Use android:layout_centerHorizontal="true"
http://developer.andr
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
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
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
> 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.
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
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
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
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
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
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
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
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
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
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
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
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
--~--~-~--~~~---~--~
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
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!
--~--~-~--~
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
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!
--~--~-~--~~~---~--~-
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
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
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://
.
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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
> 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 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
--
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
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.
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
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
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
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
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.
-
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:/
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
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
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
/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.
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
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.
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
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
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
. 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
801 - 900 of 1500 matches
Mail list logo