= 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
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
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
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
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
, 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: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
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
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
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
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
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
.
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
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
, 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
://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
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
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
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
.
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
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
(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
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
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
.
--
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
.).
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
, 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
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
: 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
): 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
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
, 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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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_
=.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
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
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
(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
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
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
, 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
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
, 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
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
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
;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
/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
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
_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
,
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
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
;/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
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
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_
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
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
, 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
.
--
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
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
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
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 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
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
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
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
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
.
--
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
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
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
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
/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
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
901 - 1000 of 1287 matches
Mail list logo