[android-developers] Re: When is onCreateInputConnection invoked

2009-10-06 Thread Adam Vollmer
I replied previously, but it looks like I hit reply to author. The missing bit of info is that the view wasn't focusable. Make sure the view is focusable (in touch and normally) and you should be set. On Sep 24, 7:16 pm, Adam Vollmer volmar...@gmail.com wrote: Actually having the

[android-developers] Re: ADC2 submissions and Android 1.6 (Donut)

2009-10-06 Thread Jeremy Slade
expert judging is a good idea when the judging can be detailed and specific. When judging is limited to 1-4 stars over 4 vague categories, large numbers are best. On Oct 6, 2:37 am, walthes andreas.walt...@googlemail.com wrote: the more voters, the better for the contest. I don't believe

[android-developers] How to create Spinner with custom items

2009-10-06 Thread fhucho
How can I create Spinner with customized items? Normally it is possible to have spinner items with text and checkboxes on the right, but I would like to have one part of the item's text black and the second part gray. I tried to create custom ArrayAdapter for the Spinner but I just can't figure

[android-developers] Re: Make different instances of a widget behave different based on their appWidgetId

2009-10-06 Thread Pablo
A solution (or rather a workaround) was found. I am posting this for future reference: It was simpler than I thought, but it didn't occur to me or my friend with whom I am developing this widget, until he recently came up with this simple solution. It consists in having the different flags

[android-developers] Re: How to create Spinner with custom items

2009-10-06 Thread konic
Mostly you have to derive from certain adapter and then override getView() method there. On Oct 6, 4:24 pm, fhucho fhu...@gmail.com wrote: How can I create Spinner with customized items? Normally it is possible to have spinner items with text and checkboxes on the right, but I would like to

[android-developers] Layout issues using Gallery

2009-10-06 Thread Rory
How would I set up my gallery to be on the bottom of the screen? Would I need to create a gridLayout and then set the gallery in the bottom grid or what? I've tried doing android:gravity=bottom with no luck. --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Location doesn't have a bundle with satellite count any more?

2009-10-06 Thread Richard Schilling
Update to this problem. Version 1.1 of the SDK uses just LocationListener. Version 1.5 introduces GpsSatellite class. Apparently you can get a list of satellites, but the satellite count still is delivered as an extra in Location objects whenever LocationListener.onLocationUpdate is called.

[android-developers] ADC2 Round One Judging Complete

2009-10-06 Thread Warren
Round one judging is complete. I can't wait to hear the results! I hope they announce them soon, my nerves won't last long. http://android-developers.blogspot.com/2009/10/adc-2-round-1-scoring-complete.html --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Updating permissions for apps that modify sharedUserId

2009-10-06 Thread Dianne Hackborn
Sorry, this unfortunately isn't currently supported -- it requires having the system change the owner of all files that are under the existing uid, which it can't yet do. On Tue, Oct 6, 2009 at 1:01 PM, vol volmar...@gmail.com wrote: Hi All, I'm looking to update my app and provide a

[android-developers] Re: Location doesn't have a bundle with satellite count any more?

2009-10-06 Thread Richard Schilling
Before anyone says anything ... I'm upgrading my SDK as I write this. It's true that setting the minimum API level on the application manifest should make the application only run on updated phones. We'll see what happens. I feel for anyone who purchased a GPS application for the older

[android-developers] Re: What about examples and comments in the Android reference?

2009-10-06 Thread Yusuf Saib (T-Mobile USA)
Good point. FWIW, many people find the API demos useful: http://developer.android.com/guide/samples/ApiDemos/index.html Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not

[android-developers] Re: Intercepting call

2009-10-06 Thread Yusuf Saib (T-Mobile USA)
Sorry, that is not supported by the Android SDK. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Oct 6, 12:20 am,

[android-developers] Stepping Through Video/Animation Frames

2009-10-06 Thread Marc
My goal is to have a video, of a crank, when the user drags his fingers across the screen the crank turns. When the drag is slow the crank should turn slow, when drag is fast the crank turns fast. The crank does not turn with no touch events. If I had a video and I could single step through the

[android-developers] Re: How to create Spinner with custom items

2009-10-06 Thread fhucho
Yes, I have to override getView() and getDropDownView(), but what should I do in getDropDownView(), in order to display a standard Spinner item with RadioButton, with the only difference that part of the text would have my custom color? On Oct 6, 10:51 pm, konic nflous...@gmail.com wrote:

[android-developers] Re: Few random question about the android mechanics.

2009-10-06 Thread Prokash Sinha
I'm not sure if this is the right group for the questions I did put here! Also I'm looking for a ways to have a button ( using drawable ) displayed with a text on it. I see examples from APIDemos that is XML based layout. But I want a drawable button with text. Any pointers? -pro On Mon, Oct

[android-developers] Re: How to create Spinner with custom items

2009-10-06 Thread konic
Well, on android forums there are plenty of examples. In general, you have to create and then use certain layout. Put all stuff you want onto this layout based on the position index. Return that layout. On Oct 6, 5:05 pm, fhucho fhu...@gmail.com wrote: Yes, I have to override getView() and

[android-developers] Re: Updating permissions for apps that modify sharedUserId

2009-10-06 Thread Adam Vollmer
Alright, thanks, I'll see what else I can think up. On Oct 6, 4:59 pm, Dianne Hackborn hack...@android.com wrote: Sorry, this unfortunately isn't currently supported -- it requires having the system change the owner of all files that are under the existing uid, which it can't yet do. On

[android-developers] Re: How to create Spinner with custom items

2009-10-06 Thread fhucho
But the problem is that to get this working I would also have to properly manage checking und unchecking the RadioButtons (this does normall Spinner automatically). Do I really have to do all this just to make part of the items text gray?? On Oct 6, 11:17 pm, konic nflous...@gmail.com wrote:

[android-developers] Re: ADC2 First Round Complete?

2009-10-06 Thread CraigsRace
Allowing an app update would go against their own rules, so it would be very controversial. Having said that, IMO, I wouldn't mind if they did allow it for broken apps only (which I imagine are only a select few). On Oct 7, 5:40 am, Hong lordh...@gmail.com wrote: I agree it's due to the Donut

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2009-10-06 Thread iwhoyt
In 1.5 I was able to stream an mp3 over http by passing the url to setDataSource(). However I started getting PVMFFailure s in 1.6. For me the issue was the Content-Type http header. If the header was set correctly (Content-Type: audio/mpeg), the stream played. Otherwise if failed during

[android-developers] Re: Create Bitmap from android.graphics.Path

2009-10-06 Thread gjs
Hi, Create a new Bitmap and Canvas then draw your path into the new Canvas and use the associated Bitmap as your cache. The code I wrote in the following may help - http://groups.google.com/group/android-developers/browse_thread/thread/6aeed20525760f3/c44b305df3897427 Regards On Oct 6, 12:26 

[android-developers] Keeping MediaController from timing out after a certain amount of time

2009-10-06 Thread Danny
I have the following code: songView = (VideoView)this.findViewById(R.id.VideoView02); MediaController mc = new MediaController(this); mc.show(0); mc.requestFocus(); songView.setMediaController(mc); songView.requestFocus();

[android-developers] Re: ADC2 First Round Complete?

2009-10-06 Thread Maps.Huge.Info (Maps API Guru)
Especially for the ones who are left standing! -John Coryat Radar Now! What Zip Code? On Oct 6, 4:33 pm, CraigsRace craig...@gmail.com wrote: Allowing an app update would go against their own rules, so it would be very controversial.  Having said that, IMO, I wouldn't mind if they did

[android-developers] Re: Point Sprite support

2009-10-06 Thread Scott
Thanks for the tip, Robert. GL_OES_point_sprite is indeed output as an extension on the G1, but not in the emulator. I can at least explore this functionality if not as conveniently debug it. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Accessing assets that are larger than 1M?

2009-10-06 Thread dsukhram
It has come to my attention that Android can only deal with asset files that are around 1M or so. My problem is that i'm creating an app that requires access to 5 csv files. The largest of the files is 130M. I want to be able to package these text files with my app. Is there anyway around this?

[android-developers] HEADSET_PLUG not registering as receiver

2009-10-06 Thread skyman
Hello, I'm trying to create application fixing problem with audio volume in headset/handset (I cannot find such application in the market). There is ACTION_HEADSET_PLUG intent, but I cannot register it in manifest. Registering it using registerReceiver does not make sense becouse app should be

[android-developers] Disabling Contact Sync

2009-10-06 Thread Jonathan Herriott
Hi, So, I'm trying to figure out a way to disable Auto-Sync of the Contacts database because there may be cases where my application tries to write 1000 contacts to the database, which can take a very long time. I've noticed that some apps on the market have the ability to disable syncing, but

[android-developers] Re: Keeping MediaController from timing out after a certain amount of time

2009-10-06 Thread Marco Nelissen
VideoView itself will hide/show the MediaController as it sees fit, so your call to show() will only be in effect until VideoView decides to hide (or show with a timeout) it again. Also, you are calling MediaController.show() before the MediaController is even attached to the VideoView. On Tue,

[android-developers] Re: mount other usb devices to android gphone

2009-10-06 Thread EboMike
You can star this issue: http://code.google.com/p/android/issues/detail?id=738 But, whatever you do, PLEASE do not add a comment with something to the effect of yeah, I agree. You will spam 233 people with a useless mail. On Oct 5, 6:09 pm, jonathan topcod...@gmail.com wrote: is it possible

[android-developers] Publish Apps for Other Developers

2009-10-06 Thread polyclefsoftware
In terms of publishing apps for developers that reside in countries where they are not currently able to sell their apps via the Android Market, is this practice okay? Does it violate the Terms and Conditions of being a seller in any way? --~--~-~--~~~---~--~~ You

[android-developers] Where have all the Google employees gone?

2009-10-06 Thread bellapariah
Thread for developers to discuss problems with 1.6 update and effects on ADC2. If you see other forums or articles on the issue or if you are one of the unlucky developers affected by the the untimely 1.6 update, please post is here! Releasing 1.6 in the middle of a contest is unacceptable.

[android-developers] Re: Where have all the Google employees gone?

2009-10-06 Thread bellapariah
What is Google just dropped the 25 lowest scores for every app? There would still be 75 reviews to give a relatively accurate average rating and it would be fair for all without giving benefits to select developers. On Oct 6, 6:48 pm, bellapariah bellapar...@gmail.com wrote: Thread for

[android-developers] Re: Where have all the Google employees gone?

2009-10-06 Thread niko20
What API's are you guys using that just going from 1.5 to 1.6 broke stuff? I would think 1.6 would have been properly back-compatible... On Oct 6, 8:58 pm, bellapariah bellapar...@gmail.com wrote: What is Google just dropped the 25 lowest scores for every app? There would still be 75 reviews

[android-developers] Re: Accessing assets that are larger than 1M?

2009-10-06 Thread niko20
Did you say 130Meg? The app will not even probably start! If you can get it loaded onto the phone in the first place. That is a huge file! On Oct 6, 5:09 pm, dsukhram duanesukh...@gmail.com wrote: It has come to my attention that Android can only deal with asset files that are around 1M or

[android-developers] DUMP Application data

2009-10-06 Thread HandsomeboyIT
Hi everyone, I read the source code of hierarchyviewer and core Android to find out how hierarchyView retrieve application infos. With the result, the hierarchyviewer send a command DUMP or LIST to ViewServer that run a SocketServer on port 4939. When the server receive the DUMP command, it

[android-developers] Re: Where have all the Google employees gone?

2009-10-06 Thread niko20
Also, I don't think 1.6 is officially out as a image update/download. I think if people are using it they are using an unofficial compiled ROM. This may be the real problem. On Oct 6, 9:57 pm, niko20 nikolatesl...@yahoo.com wrote: What API's are you guys using that just going from 1.5 to 1.6

[android-developers] Re: Overlaying graphics on a camera preview?

2009-10-06 Thread SChaser
Thank you. I shall have to try that. On Oct 4, 5:52 am, Mark Murphy mmur...@commonsware.com wrote: 1) draw graphics over a camerapreviewwhen it is the whole view for the activity? 2)do the same thing with a camerapreviewin a layout shared with other (small) views? Step #1: Put the

[android-developers] Re: I want to connect my emulator to server and transfer data from it

2009-10-06 Thread Babyboo
When you develop an application that run on emulator, you can use socket; but notice that the application run on PC can not realize the socket server run on emulator (due to some simulation process) but the socket run on Emulator can realize the socketserver that run on PC. It means that you can

[android-developers] Re: Changing TabHost font size

2009-10-06 Thread Mark Murphy
Unfortunately, the link shows how to change TAB size not the FONT size. Which, if you read my post, is what I said. But the main warning stays correct: ...this code will likely break in future Android releases. However, continuing the same incorrect way to deal with problems, one may try

[android-developers] Re: allowTaskReparenting=true. Will there be a single instance of the activity ?

2009-10-06 Thread Amitkeerti
hi, can anybody help with the query. Basically the query is, if I make allowTaskReparenting to true, will there be a single instance of the activity that gets re-parented from one task to another ? From developer.android.com, i gather, If an activity has its

[android-developers] Re: Keeping MediaController from timing out after a certain amount of time

2009-10-06 Thread Atif Gulzar
you may also use .show(timeout) function. -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ On Wed, Oct 7, 2009 at 5:23 AM, Marco Nelissen marc...@android.com wrote: VideoView itself will hide/show the MediaController as it sees fit, so your call to show() will only be in effect

[android-developers] Re: Where have all the Google employees gone?

2009-10-06 Thread Rud
My G1 downloaded and installed 1.6 today. My ADC2 game was installed and runs fine under 1.6. It uses the sensors, GPS, trackball and does graphics. Not being holier than thou about this; just mentioning it in conjunction with saying the 1.6 is downloading. Rud http://www.mysticlakesoftware.com

[android-developers] Re: allowTaskReparenting=true. Will there be a single instance of the activity ?

2009-10-06 Thread Dianne Hackborn
On Tue, Oct 6, 2009 at 8:42 PM, Amitkeerti amitkee...@gmail.com wrote: Basically the query is, if I make allowTaskReparenting to true, will there be a single instance of the activity that gets re-parented from one task to another ? No. New instances will be created as needed, like usual.

[android-developers] Re: ADC2 First Round Complete?

2009-10-06 Thread Rud
Well, my game appears to work okay under 1.6. But I do have a bug that I would like to fix before it goes into round 2, assuming it does. I'd not like to see someone get a chance to slip in bug fixes with a 1.6 fix when I don't have the opportunity to fix my bug. Rud

[android-developers] Re: Where have all the Google employees gone?

2009-10-06 Thread Maps.Huge.Info (Maps API Guru)
1.6 is out. It's been pushed to T-Mobile users (at least in the US) and is available as an official download for the Google ION directly from the HTC site. I just updated my device to 1.6 and thankfully, my apps still run. The new market app shows the screen shots that can be uploaded, so it's a

[android-developers] Re: Accessing assets that are larger than 1M?

2009-10-06 Thread Maps.Huge.Info (Maps API Guru)
With that much data, the better choice would be to query a web server and leave your app light weight and nimble. Anything that big will not only take too long to download but will fill up way too much space on the device. Using a web server might even execute faster than using an internal large

[android-developers] Re: Where have all the Google employees gone?

2009-10-06 Thread Dianne Hackborn
On Tue, Oct 6, 2009 at 9:13 PM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: The new market app shows the screen shots that can be uploaded, so it's a nice update. There seems to be a lot of small changes and (this could be my imagination) the phone seems to run faster an smoother.

[android-developers] Re: ADC2 First Round Complete?

2009-10-06 Thread Jeremy Slade
I would be extremely happy to have the chance to submit an updated app, but I agree that it is most fair overall to stick to the original rules -- no updates. Seems like Google screwed up quite a bit on this -- either that or it was a conscious choice to focus on moving forward to 1.6 in

[android-developers] Re: Accessing assets that are larger than 1M?

2009-10-06 Thread Romain Guy
The reason why there's a limit of 1 MB is purely technical. We need to add a way to stream-uncompress assets data when reading it. Currently the asset is uncompressed in memory in one pass (which means a 1 MB asset requires quite a bit of memory to be loaded.) From what I've been told it's not a

[android-developers] mapview key problems

2009-10-06 Thread Konrad Pietzka
Hi Ian, glad to hear that your app is working now. Best regards from Cologne, Germany Konrad -Ursprüngliche Nachricht- Von: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] Im Auftrag von ian Gesendet: Dienstag, 6. Oktober 2009 20:13 An: Android

[android-developers] suppress/mute all notifications

2009-10-06 Thread Atif Gulzar
is it possible to suppress all notification messages e.g. incoming call or sms notification? Thanks Actually, I am developing a game and I want to given an option to user to mute all notifications (some thing like do not disturb :)) while playing game. -- Best Regards, Atif Gulzar I

[android-developers] Re: Make different instances of a widget behave different based on their appWidgetId

2009-10-06 Thread Amitkeerti
you might be facing a problem because of the pending intent. Inorder to differentiate the two intents, you set 2 different URLs in the intent. (i.e. when you create your intent instead of adding mAppWidgetId as putExtra, create an URL out of it and add it as intent1.setData(URI)) your extra data

[android-developers] Re: System Setting ties notification volume to ringer volume

2009-10-06 Thread Beth
Hello again, So far no answers... Does anyone know of a way to simply detect that they are tied together. The MODE_RINGER_STREAMS_AFFECTED was a red herring. Thanks and regards! On Oct 4, 1:38 am, Beth Mezias emez...@gmail.com wrote: Hi all, Do you know a way to programmatically change the

[android-developers] classes.dex decompiler

2009-10-06 Thread Raja Nagendra Kumar
Hi, Is there a way to unzip and see what files exists in classes.dex file. Are there winzip like utilities for .dex viewers. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

<    1   2