, it says waiting for
location details.
Correct. You need to simulate another GPS fix.
Can someone advice me what is wrong.
Nothing is wrong. The emulator emulates GPS fixes, which are transient events.
I am not clear how
to setup location permanently.
You can't -- sorry.
--
Mark Murphy
On Mon, Aug 9, 2010 at 7:59 AM, daph...@googlemail.com
daph...@googlemail.com wrote:
I using android 2.2 and I want to integrate a third party application
into the tabulator. Is that possible and how can I do that?
It is not possible, sorry.
--
Mark Murphy (a Commons Guy)
http
, 0, 0, 0, 8, 1, 0, 0, 26, 1, 0, 0, 114, 1, 0, 0]
Any idea what might be wrong?
1. XML resources are converted into a binary XML format as part of
the build process.
2. XML resources are not raw resources.
Use getXml(), not getRawResource().
--
Mark Murphy (a Commons Guy)
http
keys?
I don't know how else to explain your map symptoms.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 3.1 Available!
--
You received
(ImagePosition, -1);
If I create the variable in this activity and blank those lines out it
works, but I need the variable bringing accross.
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
the Java stack trace associated with your error.
--
Mark Murphy (a Commons Guy)
http
On Tue, Aug 3, 2010 at 1:59 PM, Kevin Brooks bear35...@gmail.com wrote:
I just joined the new group. Hopefully Mark Murphy will decide to join as
well an Volunteer to be a Moderator.
Personally, I would recommend people use StackOverflow.
For those who find StackOverflow to be ineffective
anymore.
BTW, since you're one who is decrying the shutdown of this list --
IMHO, this is nowhere remotely near a beginner question.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Development Wiki
multiple configurations, one per user,
regardless of what your device expects. Similarly, most households and
businesses do not have one WiFi access point per user. I don't know
where your other accounts are going to come from.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com
, and have
not recently looked out the window to notice that the world around you
is now a gray grid, and that in the distance the theme music to The
Twilight Zone is playing softly :-)
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog
effect?
Just call finish(), please.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 2.9 Available!
--
You received this message because you are subscribed
On Mon, Aug 2, 2010 at 6:06 AM, Justin justinbrett1...@gmail.com wrote:
Which loads up the new page fine, but then causes a error and forces
close.
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
the Java stack trace associated with your force close.
--
Mark Murphy
behind on
that specific title).
BTW, if anyone has questions on these books, the [cw-android] Google
Group is a better spot than here for them:
http://groups.google.com/group/cw-android
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com
.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Training...At Your Office: http://commonsware.com/training
--
You received this message because you are subscribed to the Google
Groups Android
back to rolling the REST yourself with HttpClient.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android 2.2 Programming Books: http://commonsware.com/books
--
You received this message because you
On Sun, Aug 1, 2010 at 1:05 PM, Doug Gordon gordo...@gmail.com wrote:
For that purpose, I would highly recommend Beginning Android 2 by some guy
named Mark Murphy who shows up in these forums on occasion :-).
I dunno. I hear he's balding. Can you really trust a book from a guy
who can't keep
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 2.9 Available!
--
You received this message because you are subscribed to the Google
Groups Android Beginners group
a documentation patch and
see if it gets approved. Or implement the capability using a
documented means -- Kostya's suggestion of
setOnPreferenceClickListener() is probably simplest.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http
., dedicated IntentPreference class). In fact, if
you wanted to be super-safe, implementing an IntentPreference class
may not be that difficult, and you then aren't dependent on an
undocumented feature.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http
inside the listview no matter
what i do although yours came close to doing what i want.i want a
button outside the listview and doesn't get highlighted by the list
viewthankyou for your time.
Which is precisely what Nick and Kostya have supplied in the answers.
--
Mark Murphy (a Commons
no matter what way you format
the XML the button gets displayed multiple times not 1 time multiple
times
The XML that was supplied is not for the *row*. It is for the
*container around the ListView*.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http
/commonsguy/cw-android/tree/master/FancyLists/Recycling/
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 2.9 Available!
--
You received this message because you
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog
On Thu, Jul 29, 2010 at 6:33 PM, Droid rod...@gmail.com wrote:
I want to read words from a flat text file in res. Is that possible -
snippet of code please?
getResources().openRawResource(R.raw.your_file_name)
Also, can I write to a similar file in resources.
No, sorry.
--
Mark Murphy
://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http
better luck.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 2.9 Available!
--
You received this message because you are subscribed to the Google
Groups Android
undocumented unsupported APIs, you will have problems. Do
not use undocumented or unsupported APIs, and you will have better
luck.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_Android Programming Tutorials_
, .src. Is there a restriction on dir names
(other than the common rules that apply on most OSs)?
You can create them. You can't see them. Directories with leading
periods are normally suppressed from directory listings. This has been
standard Linux behavior for a very long time.
--
Mark Murphy
On Wed, Jul 28, 2010 at 7:24 PM, Brad Taylor djlm...@gmail.com wrote:
I new to the SDK and have intermediate Java skills and I am having an issue
with adding an AlertDialog to a Receiver I have created.
Try using a dialog-themed Activity and startActivity() instead.
--
Mark Murphy (a Commons
attribute to your activity element in the manifest:
android:theme=@android:style/Theme.Dialog
http://developer.android.com/guide/topics/ui/themes.html#ApplyATheme
Then in my receiver class call the startActivity()?
Yes.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com
properly for that tile sometime in the future.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 2.9 Available!
--
You received this message because you
crashes, because assets are not modifiable.
Pick your poison.
:-)
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 2.9 Available!
--
You received this message
://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
--
Mark Murphy (a Commons Guy)
http://commonsware.com
On Tue, Jul 27, 2010 at 11:50 PM, kypriakos demet...@ece.neu.edu wrote:
is there a way to view what is enclosed (file list) in the dex file?
http://dedexer.sourceforge.net/
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http
when the Show About menu item is
selected? Any sample xml code around like that?
No, but you can add the relevant options menu methods to your
PreferenceActivity subclass, as with any other activity, then load
that layout into a dialog or separate activity.
--
Mark Murphy (a Commons Guy)
http
for a Preference that launches another activity,
there isn't one in the SDK. You would have to write your own, or
possibly see if the Settings application has one that you can mooch
from the Android open source code.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
.
However, my home base is in Pennsylvania. I get out to Silicon Valley
a few times a year.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 3.1
Call finish().
On Wed, Jul 21, 2010 at 7:14 AM, Bhaban N and...@gmail.com wrote:
How can I go to the previous activity by pressing some
button programmatically instead of pressing default back button on phone.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com
that
appears when the user presses the drop-arrow.
How can I make them look the same
Use the same layouts in your adapters.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide
in calling Activity:
�...@override
protected void onActivityResult(int requestCode, int resultCode,
Intent data) {
// data is coming back as null.
}
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog
year.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 3.1 Available!
--
You received this message because you are subscribed to the Google
cases where that
is the right method to use, I can't think of any of them off the top
of my head. Certainly if you're trying to do anything with the GUI,
getApplicationContext() is lobotomized -- your Activity is a far
better Context for methods that need one.
--
Mark Murphy (a Commons Guy)
http
and build your APK
and you're done...assuming the JAR is Android-friendly. For example,
here is a sample project using a re-compiled edition of the BeanShell
interpreter:
http://github.com/commonsguy/cw-android/tree/master/Java/AndShell/
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http
it in the assets dir I can see it being wrapped inside the apk.
I suspect having it there will be useless.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version
back to A but the app crashes , how
ever if i go from B to a normal activity ,it works perfectly well ,
so the problem is in A being a tab activity , please help
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
the Java stack trace associated with your crash.
--
Mark Murphy
text
editor, contact the author to see how to integrate your code with
theirs.
There is no text editor built into Android.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide
is asleep, it will not be delivered until the next time the
device wakes up.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 2.9 Available!
--
You received
work. If just this is insufficient, then the class reference
needs to be whatever Context class this code is in, such as the name
of the activity.
http://en.wikibooks.org/wiki/Java_Programming/Nested_Classes
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http
On Thu, Jul 15, 2010 at 6:05 PM, Raul Martinez raul5...@gmail.com wrote:
do i have to modify the android manifest file as well to add the activity?
Your Category activity needs to be in the manifest file. Your current
activity presumably already is there.
--
Mark Murphy (a Commons Guy)
http
On Thu, Jul 15, 2010 at 6:57 PM, Raul Martinez raul5...@gmail.com wrote:
Ok thanks but what do I use instead of MAIN
You do not need an intent-filter if you are starting the activity
via the class (Category.class) in your Intent.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http
/articles/touch-mode.html
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 3.1 Available!
--
You received this message because you are subscribed
used to open the menu
with, to an email? If this is possible how would I best do that??
http://stackoverflow.com/questions/1247983/problem-sending-an-email-with-an-attachment-programmatically
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http
adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
the Java stack trace associated with your force close error.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide
://en.wikibooks.org/wiki/Java_Programming/Nested_Classes
In the future, use adb logcat, DDMS, or the DDMS perspective in
Eclipse to examine the Java stack trace associated with your force
close.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http
.
This is the weirdest thing yet - an object just disappearing like
that. Any ideas?
FWIW, take a look at my WakefulIntentService to see if it gives you any ideas:
http://github.com/commonsguy/cwac-wakeful
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http
to this mail.
You are missing some key pieces of information, like the thing to send.
http://www.androidguys.com/2009/11/02/a-call-to-action-action_send-that-is/
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com
of your OverlayItems.
I have not combined MyLocationOverlay with invalidate() before, so I
do not know what other options there might be.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's
to arbitrary paths on hardware. Please use
getFilesDir() to find a safe spot to write files on the on-board flash
for your application, or Environment.getExternalFilesDir() for the
root of the external storage (SD card).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com
), and you need the
WRITE_EXTERNAL_STORAGE permission.
What package carries the getFilesDir()?
That is a method on Context, and therefore is available to all
subclasses of Context, like Activity.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http
, so long as you get more Android knowledge in bulk form,
rather than asking a whole bunch of questions that take time for us to
answer.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy
telling me R.layout.main cannot be
resolved, any ideas what might be wrong?
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!
--
You received this message because you are subscribed
client (formerly a Twitter client), so that may limit its
usefulness while you are on your flight.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android 2.2 Programming Books: http://commonsware.com
.
The possibly-tolerable answer: on some server, convert the Word
document to HTML, and try rendering the HTML in WebView.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android 2.2 Programming Books: http
Google Group, as I don't want to clutter this list with
too much CommonsWare-specific stuff:
http://groups.google.com/group/cw-android
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android 2.2
On Tue, Jul 13, 2010 at 12:44 PM, kypriakos demet...@ece.neu.edu wrote:
You can?? That's super - where can I find documentation on that? Or is
it straight
forward?
You just run the app.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http
be?
You can access LogCat via adb logcat, DDMS, or the DDMS perspective in
Eclipse. Or, just Eclipse's debugger. Etc.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android 2.2 Programming Books: http
?
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android 2.2 Programming Books: http://commonsware.com/books
--
You received this message because you are subscribed to the Google
Groups Android
restarting it, though.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books
--
You received this message because you are subscribed to the Google
On Sat, Jul 10, 2010 at 6:17 AM, NIK nikolaos.katsa...@gmail.com wrote:
So, the only way of calling a localhost web service from the emulator
is by using the actual network IP address?
http://developer.android.com/guide/developing/tools/emulator.html#networkaddresses
--
Mark Murphy (a Commons
, in this case, is that course_main is null, since you did
not assign any value to it.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books
--
You
program, one that lets you configure the
notification sound. There are a few email programs on the Market
(e.g., K-9).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android App Developer Books: http
dialog saying your application has crashed,
then LogCat will have a Java stack trace. Please check again.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android App Developer Books: http
://developer.android.com/reference/android/widget/Gallery.html
you will see that there is no android:orientation attribute available.
A Gallery can only be horizontal, AFAIK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http
project.
Is there another way to upload and display a .doc
document in Android?
Upload it...where?
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com
at least one tab.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Training...At Your Office: http://commonsware.com/training
--
You received this message because you are subscribed to the Google
On Sat, Jul 10, 2010 at 10:54 PM, Emmen Farooq farooq.em...@gmail.com wrote:
How do I
a ) Restrict special characters from being entered into an edit text ?
I have no idea what special characters are.
Take a look at android:inputType and setKeyListener().
--
Mark Murphy (a Commons Guy)
http
startActivity() to start up your activity with the next
ListView.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.6
Available!
--
You
if there is a defaultValue set.
AFAIK, you cannot have a ListPreference of an integer-array.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 3.1 Available
string-array
On Fri, Jul 9, 2010 at 2:37 PM, Bret Foreman bret.fore...@gmail.com wrote:
If not an integer-array, what should be the type of the parallel
array for the ListPreference?
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com
to be the background that is changed, to make
it appear non-rectangular. Since the background is a StateListDrawable
defined via an XML drawable resource, this is eminently doable, but
not something you can do in five minutes.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com
/hello-tabwidget.html
, thanks in advance for any help
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 3.1 Available!
--
You received
or
using some other data type instead of String. Possibly in the
CommonTempLogic();
Place CommonTempLogic in the try catch block and see.
Caused by: java.lang.ClassCastException: java.lang.String
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http
On Wed, Jul 7, 2010 at 6:07 PM, Florp sgoff...@gmail.com wrote:
The Market and Web-Browser apps seem to share a nice download manager;
is there a way to use that in my own Apps?
No, sorry, that is not part of the Android SDK at this time.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
your data from the old
activity to the newly-created one in the new orientation.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books
--
You
called even after some time has passed.
Any ideas on where I should look for the problem?
Look for LogCat messages in adb logcat, DDMS, or the DDMS perspective
in Eclipse.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http
and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
--
Mark Murphy
cause.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 2.8 Available!
--
You received this message because you are subscribed to the Google
Groups Android
holds everything else, including the ListView. You use
RelativeLayout rules (e.g., android:layout_alignParentTop,
android:layout_below) to position the widgets relative to each other
and the bounds of the RelativeLayout.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com
be...?
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 2.8 Available!
--
You received this message because you are subscribed to the Google
Groups Android
everything in a ScrollView.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Consulting: http://commonsware.com/consulting
--
You received this message because you are subscribed to the Google
Groups
to.
It has behaved this way for over two years.
If you are unable to replicate this, there is a problem in your
development environment.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android
onBackPressed(), so such behavior will not be hidden too often.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Consulting: http://commonsware.com/consulting
--
You received this message because
are attempting to do
something there that cannot be done in a constructor or initializer.
Move that code to onCreate() of your service, and you should be in
better shape.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com
On Sat, Jul 3, 2010 at 12:31 PM, Rick Liu totoroliu1...@gmail.com wrote:
I have a software application written in Python.
How to install Python interpreter and run Python program on Android?
See the Android Scripting Environment:
http://code.google.com/p/android-scripting/
--
Mark Murphy
being called. What should be my next
debugging step?
Continue reading your stack trace. Look for the Caused by: line to
find out the actual exception.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
[native method]
That is not an exception. It is a stack trace. You are missing the
exception part, and the Caused by: portion.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Training...At Your
But getWritableDatabase is not calling the SQLiteOpenHelper.onCreate
method which is where the DB gets created.
Then you already have a database.
How can I cause onCreate to
be called?
Delete the existing database (e.g., using DDMS's File Manager). Then
call getWritableDatabase().
--
Mark
.
If you continue execution past this point, your exception, with a full
exception message and two-tier stack trace, will be written to logcat.
This will be accessible from Eclipse via the DDMS perspective, in the
LogCat tab, in red.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http
://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com
your.package.name is the package you gave your application in
the manifest, and your.database.name is the name you gave the
database.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Training...At Your Office
1 - 100 of 1287 matches
Mail list logo