Re: [android-beginners] Play video in resource path

2010-07-08 Thread Carmen Delessio
You can refer to video resource as a string and use it for the path. If your package name is com.mypackagename, then the resource in the raw directory will be: android.resource://com.mypackagename/raw/myvideosample Carmen http://www.twitter.com/CarmenDelessio http://www.talkingandroid.com

Re: [android-beginners] Re: Force Close when trying to use getApplication()

2010-05-11 Thread Carmen Delessio
=BoardGamerFinderApplication More info on this: http://developer.android.com/intl/zh-CN/guide/appendix/faq/framework.html#3 Carmen -- Carmen Delessio http://www.twitter.com/CarmenDelessio http://www.talkingandroid.com http://www.facebook.com/BFFPhoto http://www.twitter.com/DroidDrop On Tue, May 11, 2010 at 11

Re: [android-beginners] Re: XML Parser example problems

2010-04-07 Thread Carmen Delessio
You may want to look at using SAX parser. This article compares SAX speed to other parsers on Android: http://www.developer.com/xml/article.php/3824221/Android-XML-Parser-Performance.htm This article gives a full example:

Re: [android-beginners] Re: Layout help, is it possible to wrap controls?

2010-03-30 Thread Carmen Delessio
a string with a highlighted section, italic section, and bold section, and adding it to an EditText object.* http://developer.android.com/intl/zh-CN/guide/appendix/faq/commontasks.html#selectingtext Carmen -- Carmen Delessio http://www.twitter.com/CarmenDelessio http://www.talkingandroid.com http

Re: [android-beginners] Facebook API for Android

2010-03-22 Thread Carmen Delessio
I do not know of an eclipse plugin. There are several libraries mentioned on the facebook wiki: http://wiki.developers.facebook.com/index.php/User:Android - http://me.sylvek.net/index.php?2009/02/11/434-api-facebook-with-android - http://xeomax.net/fbrocket/ -

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-25 Thread Carmen Delessio
I've got a example with a TextView and EditView where I do this successfully. See http://developer.android.com/reference/android/view/View.html#setVisibility(int)that is where View.VISIBLE is defined. Just noticed View.GONE. that could be helpful. Define TextView and EditText: TextView

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-25 Thread Carmen Delessio
On Fri, Sep 25, 2009 at 5:30 PM, Kingcrowley kingcrow...@gmail.com wrote: HI, my code seems similar to yours..but doesn't work..could you copy/paste in yours if it isn't too long? Thanks a lot David On Sep 25, 9:01 pm, Carmen Delessio carmendeles...@gmail.com wrote: I've got

[android-beginners] Re: Publishing Updates for my application

2009-08-27 Thread Carmen Delessio
. On Aug 27, 12:39 am, Carmen Delessio carmendeles...@gmail.com wrote: I just did a version upgrade. Here are some things I do. 1. Make sure to build after upping version number. I got caught by this dumb mistake. 2. I delete the existing dev version of the app from my phone 3. I use

[android-beginners] Re: Publishing Updates for my application

2009-08-26 Thread Carmen Delessio
I just did a version upgrade. Here are some things I do. 1. Make sure to build after upping version number. I got caught by this dumb mistake. 2. I delete the existing dev version of the app from my phone 3. I use eclipse to create an unsigned APK 4. I sign the APK following instructions on

[android-beginners] Re: Install app on a device?

2009-08-25 Thread Carmen Delessio
Apkatcher also works. Send your APK to gmail open with apkatcher Carmen On Aug 25, 2009, at 9:02 PM, Michael Leung michaelchi...@gmail.com wrote: Yes, that is an app calls AppsInstaller in the Android Market. It can do the job you want. I have written some instructions about this issue

[android-beginners] Re: Getting Error package file was not signed correctly using Eclipse ADT

2009-07-14 Thread Carmen Delessio
management app you have installed. Do you see the error in some other user scenario? Good luck, Beth On Jul 8, 7:16 am, Carmen Delessio carmendeles...@gmail.com wrote: This message comes up when debugger is on: 07-08 10:04:00.873: WARN/PackageInstaller(2957): Parse error when parsing

[android-beginners] Re: How to pass User created object between two Activity in same Application?

2009-07-14 Thread Carmen Delessio
This concept comes from the book* Unlocking Android*. http://www.manning.com/ableson/ Create an object for your your application that extends the android.app.Application class *import android.app.Application; public class MyApplication extends Application { ... } * Provide access to ClassA in the

[android-beginners] Re: Getting Error package file was not signed correctly using Eclipse ADT

2009-07-08 Thread Carmen Delessio
Are there any previous versions of MyApp on the emulator/phone ? There was when I initially tried the install. I received a message about overwriting it and continued. I have subsequently removed the app from the phone and tried again. It fails with same error. Carmen On Wed, Jul 8, 2009 at

[android-beginners] Re: Getting Error package file was not signed correctly using Eclipse ADT

2009-07-08 Thread Carmen Delessio
with same result. I've seen similar issues posted, but no steps to resolution. Any help would be great. Carmen On Wed, Jul 8, 2009 at 8:05 AM, Carmen Delessio carmendeles...@gmail.comwrote: Are there any previous versions of MyApp on the emulator/phone ? There was when I initially tried

[android-beginners] Re: Using AsyncTask

2009-06-30 Thread Carmen Delessio
It took me the better part of 9 pages to explain it with an example in the released-but-not-announced Version 2.1 of _The Busy Coder's Guide to Android Development_. But, it may be I'm just wordy. You can grab the source for that from: http://commonsware.com/Android/ Look for the

[android-beginners] Re: Simple GridView that displays text in the grids

2009-06-12 Thread Carmen Delessio
There is an example in The Busy Coder's Guide to Android Development by Mark Murphy. I haven't tried it yet, but preview is online: http://books.google.com/books?id=lrf4xxsgmd8Cpg=PA74 Carmen On Thu, Jun 11, 2009 at 3:01 AM, Fei jianfeil...@gmail.com wrote: i'm following the example on the