[android-developers] Raw folder for mp3 files

2008-03-29 Thread Claus
Sirs, When I put a mp3 file on raw folder, created under res folder, the aapt pluggin on Eclipse DO NOT AUTOMATICALLY update the R.java, therefore the resource is not acessible on the media player I am trying to create:( Any idea? Thanks in advance for collaboration. --~--~-~--~~-

[android-developers] Is AnimationSet really buggy?

2008-03-29 Thread Dan U.
I've looked through the group and the bug tracker for problems with animations. I know there are apparently some issues with certain methods not working in various Animation classes, but I don't think they related to the problems I have. I'm trying to make a pulsing animation. Basically it does a

[android-developers] Is there more information about Syncable and android.content.SyncAdapter?

2008-03-29 Thread Fred Janon
Is there some general information about the synchronization feature in general and what we need to implement to get it working? I'd like to sync some content from a content provider with other devices. Thanks Fred --~--~-~--~~~---~--~~ You received this message be

[android-developers] Re: canvas outside of onDraw()

2008-03-29 Thread Steve Oldmeadow
> Although now I'm having a problem of not being able to receive > onKeyDown messages for some reason! Probably because I need to check > input during my thread. any ideas/thoughts? You need to make the SurfaceView focusable. I do this in the Activity: myView.setFocusable(true); myView.setF

[android-developers] Re: Creating a Mock Location Provider

2008-03-29 Thread Megha Joshi
Hi Chris, A mock location provider does not get included in a .apk file. For the challenge applications, it recommended to use the default mock gps provider which is in the sdk at /data/misc/location/gps/. If you are using your own location providers, you will have to include step by step instruc

[android-developers] Re: Disabling Chat Notifications.

2008-03-29 Thread xingye
remove the gtalk simple from apidemos? On 3月30日, 上午5时40分, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > Hi, > I really really need to disable them. Has anyone been able to get the > provider id for GTalk ? > > Regards, > harsh --~--~-~--~~~---~--~~ You received this m

[android-developers] Re: Relative Layout for a List Item

2008-03-29 Thread Anil
try droiddraw.org to generate your layout more easily. If that fails, try a workaround - use nested LinearLayouts. RelativeLayout failed for me, so I switched to LinearLayout. - Anil On Mar 29, 5:47 pm, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > Ok, let me make a simple test case for this. Right

[android-developers] Re: Spinner, how to change item text?

2008-03-29 Thread Sebastian Pawlak
Thank you for reply. Do you mean extending of ArrayAdapter or Spinner? Robbo - Original Message - From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: "Android Developers" Sent: Saturday, March 29, 2008 4:49 PM Subject: [android-developers] Re: Spinner, how to change item text? You wi

[android-developers] Re: FTP use from Android

2008-03-29 Thread [EMAIL PROTECTED]
I'm currently experiencing the exact same problem using basically the exact same code. The code works in a project outside of Android but not inside. Does anyone know of any resolution? Does anyone have any sample code of a successful FTP upload from inside Android that they wouldn't mind sharing

[android-developers] Re: Relative Layout for a List Item

2008-03-29 Thread Dan U.
Probably the simplest is to make your test case using one of the api demos. That's what I had tried, but I kept getting a null pointer when adding the relativelayout item to the listview. On Mar 29, 3:47 pm, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > Ok, let me make a simple test case for this. Ri

[android-developers] Re: Relative Layout for a List Item

2008-03-29 Thread Harsh Jain
Ok, let me make a simple test case for this. Right now my code depends a lot on other pieces, so it would be really hard for you to debug that way. Harsh On Sun, Mar 30, 2008 at 3:50 AM, Dan U. <[EMAIL PROTECTED]> wrote: > > I went ahead and just tried your xml outside of a listview. It does > r

[android-developers] Re: Emulator crashing constantly on Windows Vista

2008-03-29 Thread Digit
can you describe more precisely what you mean by "crash abruptly" ? do you have some sort of error dialog from Windows which tells you the cause of the crash, for example ? what does the Applications event log records on your machine ? On Sun, Mar 23, 2008 at 3:04 PM, [EMAIL PROTECTED] <[EMAIL PRO

[android-developers] Streaming from Android Emulator as a Source not Sink

2008-03-29 Thread [EMAIL PROTECTED]
Hi! While I have seen many example of the emulator being the sink for media streams. I was wondering if there do exist APIs where Android emulator can act as a packet source. Also, I wanted to learn from you, is there any RTP/RTSP engine available in Android. Any inputs?? Regards Nitin Khanna As

[android-developers] Re: Relative Layout for a List Item

2008-03-29 Thread Dan U.
I went ahead and just tried your xml outside of a listview. It does render correctly. I'd suspect a bug in something if it's not rendering in listview correctly. On Mar 29, 3:05 pm, "Dan U." <[EMAIL PROTECTED]> wrote: > I'd prefer to get your code running to look at it, but there's a lot > missin

[android-developers] Should activities take gtalk login/password as input ?

2008-03-29 Thread Harsh Jain
Or simply use getDefaultSession(). Note that in later case we are assuming that judges/users will have there gtalk thingie setup using DevTools or something else ? Regards, Harsh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[android-developers] Re: Relative Layout for a List Item

2008-03-29 Thread Dan U.
I'd prefer to get your code running to look at it, but there's a lot missing. On Mar 29, 2:51 pm, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > This is the xml file for the ListActivity > > > http://schemas.android.com/apk/res/android"; > android:id="@android:id/list" > android:layout_width=

[android-developers] Problem with KML Settings (Speed,Bearing,...)

2008-03-29 Thread stefan1977
Hi all, I wanted to know how I can calculate Speed, Bearing and other settings if I define a KML-TRack I have defined my properties file and it looks like so Code: requiresNetwork false requiresSatellite false requiresCell false hasMonetaryCost false supportsAltitude true supportsBearing true su

[android-developers] Re: Relative Layout for a List Item

2008-03-29 Thread Harsh Jain
This is the xml file for the ListActivity http://schemas.android.com/apk/res/android"; android:id="@android:id/list" android:layout_width="fill_parent" android:layout_height="fill_parent" /> All I missed in above email was an additional setContentView( R.layout.above_file) in onCreat

[android-developers] Re: Relative Layout for a List Item

2008-03-29 Thread Harsh Jain
Yes its for a list item. I will post the relevant code now. Inside an Activity which happily extends ListActivity onCreate() { mCR = getContentResolver(); Cursor c = mCR .query(mUri, null, null, null, GSProvider.COUNT + " DESC"); startManagingCursor(c);

[android-developers] Re: Relative Layout for a List Item

2008-03-29 Thread Dan U.
>From the title of your post, it looks like that xml is for a list item? Can you post more code? I can only get it to throw a null pointer exception. On Mar 29, 10:05 am, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > bump... > > On Sat, Mar 29, 2008 at 7:48 AM, Harsh Jain <[EMAIL PROTECTED]> wrote: >

[android-developers] Disabling Chat Notifications.

2008-03-29 Thread Harsh Jain
Hi, I really really need to disable them. Has anyone been able to get the provider id for GTalk ? Regards, harsh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: Emulator crashing constantly on Windows Vista

2008-03-29 Thread [EMAIL PROTECTED]
Hi Derek! Thanks for the reply. I have 4 gigs of RAM out of which more than 2 gigs is almost always free. So It seems not an issue related to memory. Regards Nitin On Mar 23, 4:30 pm, derekjay <[EMAIL PROTECTED]> wrote: > Hi Nitin, > > How much free memory do you have on your machine? The emula

[android-developers] Re: Trouble with View.OnKeyListener

2008-03-29 Thread Dan U.
You need one or both of these in your ExtendedDatePicker constructor: setFocusable(true); setFocusableInTouchMode(true); On Mar 29, 5:13 am, Rhett <[EMAIL PROTECTED]> wrote: > I am having similar problems. > > This doesn't work for me: > > public class ExtendedDat

[android-developers] Re: A problem with Button Click

2008-03-29 Thread Dan U.
b is probably null On Mar 29, 1:10 pm, coralie1812 <[EMAIL PROTECTED]> wrote: > Hi, > > i have a source code like this and when i launch the emulator, it > creates a fatal error: null pointer exception... > > i've try to comment some parts of my code and the problem comes from: > b.setOnClickList

[android-developers] Re: A problem with Button Click

2008-03-29 Thread coralie1812
Hi, i have a source code like this and when i launch the emulator, it creates a fatal error: null pointer exception... i've try to comment some parts of my code and the problem comes from: b.setOnClickListener(test); The code just before is this: OnClickListener test = new OnClickListener()

[android-developers] Accessing resources in 3rd party jar file

2008-03-29 Thread tauren
It appears that it is not possible to access resources stored on the classpath within a 3rd party jar file from Android. Many 3rd party jars store data and configuration files within the jar itself. I'm surprised this doesn't work as it will prevent many 3rd party libraries from working without

[android-developers] Re: Special Actions for IGTalkSession.sendDataMessage()

2008-03-29 Thread Peli
And since everybody can define their intents as they like, applications from different developers will likely not work well with each other... unless they use OpenIntents ;-) http://www.openintents.org/en/ Peli On Mar 29, 7:47 pm, jtaylor <[EMAIL PROTECTED]> wrote: > Interesting! > > ..thanks P

[android-developers] Re: Special Actions for IGTalkSession.sendDataMessage()

2008-03-29 Thread Peli
And since everybody can define their intents as they like, applications will likely not work well with each other... unless they use OpenIntents ;-) http://www.openintents.org/en/ Peli On Mar 29, 7:47 pm, jtaylor <[EMAIL PROTECTED]> wrote: > Interesting! > > ..thanks Peli > > - Juan > > On Mar

[android-developers] Re: Special Actions for IGTalkSession.sendDataMessage()

2008-03-29 Thread jtaylor
Interesting! ..thanks Peli - Juan On Mar 29, 2:17 pm, Peli <[EMAIL PROTECTED]> wrote: > Try this: > > public static final String YODEL_ACTION = "com.jtaylor.action.YODEL"; > Intent intent = new Intent(this.YODEL_ACTION); > > (It is really just a string that you can define as you like). > > Pe

[android-developers] Re: Why is getMeasuredHeight() final - need to specify a preferred height..how else to do this?

2008-03-29 Thread androidfan2
Thanks a lot for the code sample. I was overriding the onMeasure() method to set my preffered size but I was not calling the setMeasureDimension() method. On Mar 11, 3:00 pm, acopernicus <[EMAIL PROTECTED]> wrote: > Thanks Romain Guy, > > I used this solution in case anyone else needs it: > >  

[android-developers] Re: Special Actions for IGTalkSession.sendDataMessage()

2008-03-29 Thread Peli
Try this: public static final String YODEL_ACTION = "com.jtaylor.action.YODEL"; Intent intent = new Intent(this.YODEL_ACTION); (It is really just a string that you can define as you like). Peli On Mar 29, 6:52 pm, jtaylor <[EMAIL PROTECTED]> wrote: > Dan, > > I think I have to explain my probl

[android-developers] Re: Special Actions for IGTalkSession.sendDataMessage()

2008-03-29 Thread jtaylor
Dan, I think I have to explain my problem better. I think I mean a Custom Action? I am using the method IGTalkSession.sendDataMessage(). I want this method to work. :) As far as I can tell, the second parameter needs an Intent which broadcasts an action. It's not an explicit call to a class whic

[android-developers] Re: Which Log API should be used ?

2008-03-29 Thread Zach Hobbs
android.util.Log -- Zach Hobbs HelloAndroid.com Android OS news, tutorials, downloads On Saturday 29 March 2008 07:10:23 Derek wrote: > Hi, > > Android comes with android.util.Log and Apache Commons logging. Which > one should be used ? > Both seems to work and generate traces into LogCat.

[android-developers] Re: Relative Layout for a List Item

2008-03-29 Thread Harsh Jain
bump... On Sat, Mar 29, 2008 at 7:48 AM, Harsh Jain <[EMAIL PROTECTED]> wrote: > I had be really surprised. Can someone from google confirm ? > > regards, > harsh > > > On Sat, Mar 29, 2008 at 6:50 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > > Your xml looks ok, but I guess that th

[android-developers] Re: over my head with data please help

2008-03-29 Thread dr123
i did it with digit's suggestion xmlrpc and a few characters to narrow the search. thanks for the support ps this spinner fix is very important...you hear me google guys?:) On 29 Μαρ, 07:51, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > >and second and most important: > > >i can't find a way to pr

[android-developers] Re: Creating a Mock Location Provider

2008-03-29 Thread Chris D
Megha, Will that new mock provider reside in your apk? I ask specifically to understand if I'll have to find a way to include a mock provider in my submission. If it will not be there, will the judges use the adb shell to make the directory? Thanks, Chris On Mar 12, 7:54 pm, "Megha Joshi" <[EM

[android-developers] Re: Are you satisfied or disappointed with the level of support from Google, for Android?

2008-03-29 Thread AndrewF
Thanks J, that is an excellent explanation. Good to know the focus is on getting Android devices into the hands of consumers. While I'd love to see more SDK improvements (like everyone else), without actual devices out there, our dev work isn't going anywhere. -Andrew Jean-Baptiste Queru wrote:

[android-developers] Re: Are you satisfied or disappointed with the level of support from Google, for Android?

2008-03-29 Thread Jean-Baptiste Queru
(Notice: I'm a Google Software Engineer working on Android). One aspect which I hope is reasonably clear in everybody's minds is that getting devices available is really at the top of the priority list for everyone involved in Android. That's important for the Android team and for the Open Handse

[android-developers] Re: in API Demo ,Alarm service

2008-03-29 Thread babyblue
To expand it you can hold the mouse down on stats bar and drag it down to the bottom of emlator. On 3月29日, 下午9时34分, e <[EMAIL PROTECTED]> wrote: > in APL Demo,alarm service is show notification in status bar ..when i > click on status bar, it cannot show expandedText... how to show > expanded

[android-developers] Re: Proximity Alert Extras

2008-03-29 Thread Chris D'amico
Thanks Megha, I'll add a new issue to the issues list. I checked to make sure that the action of the received intent was the same as the intent i sent. On Fri, Mar 28, 2008 at 6:03 PM, Megha Joshi <[EMAIL PROTECTED]> wrote: > Hi, > > The intent received from proximity alert will have an extra add

[android-developers] Re: Spinner, how to change item text?

2008-03-29 Thread [EMAIL PROTECTED]
You will need to extend the arrayadapter class and implement to onDraw() method. On Mar 29, 2:07 pm, Robbo <[EMAIL PROTECTED]> wrote: > Hello, > > I need to use Spinner with a little bit complicated look of items. > Normally, items are just simple TextViews. > My item consists of an image and two

[android-developers] Re: Are you satisfied or disappointed with the level of support from Google, for Android?

2008-03-29 Thread Jackkk
Hi! I think that Google's support is excellent. What most of you just should try to understand is that this is Alpha release and everything that is already working is blessing anyway. Things that are not working are probably going to work and that's where we should give as much support as possibl

[android-developers] Re: Setting the selection color in a ListView

2008-03-29 Thread Jakob Bjerre Jensen
Hi Agus, Thanks. Worked on the spot! Is there also a way to control the select/ focus color of a EditText control? I have tried EditText.setHiliteColor/android:textColorHighlight, but it does not seem to have any effect. Best regards, Jakob Bjerre Jensen On 28 Mar., 18:07, Agus <[EMAIL PROTECT

[android-developers] in API Demo ,Alarm service

2008-03-29 Thread e
in APL Demo,alarm service is show notification in status bar ..when i click on status bar, it cannot show expandedText... how to show expandedText --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Spinner, how to change item text?

2008-03-29 Thread Robbo
Hello, I need to use Spinner with a little bit complicated look of items. Normally, items are just simple TextViews. My item consists of an image and two TextViews. My layout XML (spinner_item.xml) file for Spinner's item looks like: http://schemas.android.com/apk/res/ android" android:orie

[android-developers] Re: Trouble with View.OnKeyListener

2008-03-29 Thread Rhett
I am having similar problems. This doesn't work for me: public class ExtendedDatePicker extends DatePicker { public ExtendedDatePicker(Context arg0, AttributeSet arg1, Map arg2) { super(arg0, arg1, arg2); this.setOnKeyListener(new OnKeyListener() { public boole

[android-developers] Re: Are you satisfied or disappointed with the level of support from Google, for Android?

2008-03-29 Thread Rui Martins
The biggest problem think is the lack of synchronization, between what is on the docs and what is on code. Which takes us to scavange the forums for extra info, that might have been "leaked", like "stuff X actually doesn't work as documented". And this steals a lot of development time. But this

[android-developers] Re: canvas outside of onDraw()

2008-03-29 Thread tatagogo
Thanks for your replies. I found the SurfaceView mentioned in another discussion actually, shortly after posting my message earlier as luck would have it! Been implementing it and it seems to be just what is required, which is great! Thanks for your help!. Although now I'm having a problem of not

[android-developers] Which Log API should be used ?

2008-03-29 Thread Derek
Hi, Android comes with android.util.Log and Apache Commons logging. Which one should be used ? Both seems to work and generate traces into LogCat. Please advise. Thanks a lot for your help. --~--~-~--~~~---~--~~ You received this message because you are subscri

[android-developers] Please update the Notepad examples with "android.provider.BaseColumns._ID" (was: Bad request for field slot 0,-1.)

2008-03-29 Thread Fred Janon
I just wasted 5 days for the challenge banging my head trying to figure out why a database that worked with SQLite on Windows would not work on Android. Since we don't have access to the SDK source, I couldn't find the source of the error message: "Bad request for field slot 0,-1". I finally figure

[android-developers] Re: misbehaving grid (not aligning properly with multi-line text and image)

2008-03-29 Thread Ken
Could someone help? Thanks! Ken On Mar 25, 10:22 pm, Ken <[EMAIL PROTECTED]> wrote: > Oops I've attached the Icon class below. Initially the grid is > aligned at the top, but if you move around using the DPAD, the grid > seems to be aligned at the bottom. But since the total height of the