[android-developers] Re: can not create Surface and ISurface successfully

2008-11-20 Thread Dianne Hackborn
Hi, please post these questions in one of the android platform groups such as android-platform; this group is for developing with the SDK. On Wed, Nov 19, 2008 at 11:21 PM, Ye Haomiao [EMAIL PROTECTED] wrote: hi, I try to use SurfaceComposerClient and SurfaceFlinger to create a Surface, but

[android-developers] Re: Setting Use by default for this action option crashes when attempting to replace a standard application

2008-11-20 Thread Dianne Hackborn
Hm, that is strange, somehow the activity resolver was run in the contacts process instead of the system. On Thu, Nov 20, 2008 at 8:42 AM, Thao [EMAIL PROTECTED] wrote: Hi All, I try to replace the standard contact application by my custom application. Now that I click on the android

[android-developers] Re: How to force portrait mode?

2008-11-20 Thread Dianne Hackborn
Use this in the activities in your manifest: http://code.google.com/android/reference/android/R.styleable.html#AndroidManifestActivity_screenOrientation On Wed, Nov 19, 2008 at 10:57 PM, Brian Doyle [EMAIL PROTECTED]wrote: Hello, I need to force the portrait layout on our app at all

[android-developers] Re: How do I transfer my .adk to the \system\app directory?

2008-11-20 Thread Dianne Hackborn
It is best if you just use Eclipse and let it take care of this for you when you run the app. If you really don't want to use eclipse, use the adb install command from the desktop command line. On Thu, Nov 20, 2008 at 6:51 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: I built a simple hello

[android-developers] Re: Is there a hook to run code on device shutdown (power off)?

2008-11-20 Thread Dorn Hetzel
If not actual shutdown, is it possible to detect presses of the red button that *might* result in a power down? On Thu, Nov 20, 2008 at 4:55 PM, Dianne Hackborn [EMAIL PROTECTED] wrote: Sorry, there is nothing available to find out when the device is being turned off. On Thu, Nov 20, 2008 at

[android-developers] Re: Error while pushing file to android

2008-11-20 Thread Michael
Why use adb for this, when you can just mount the phone's SD card as a removable USB storage device? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Accessing video buffer?

2008-11-20 Thread Randall
I'm trying to make a screenshot app for Android. I understand that I cannot have my program to access different apps and pull their View object to take a screenshot. Is there a way for me to access the video buffer, so I can take the video the content and save it as a bitmap?

[android-developers] Re: Custom ImageButton Shape

2008-11-20 Thread mathiastck
You can create a drawable using whatever image you want, for each of the states of the button. Try creating an xml file like so, and putting it in res/drawable: ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item

[android-developers] Re: Is there a hook to run code on device shutdown (power off)?

2008-11-20 Thread Dianne Hackborn
No, sorry. On Thu, Nov 20, 2008 at 2:14 PM, Dorn Hetzel [EMAIL PROTECTED] wrote: If not actual shutdown, is it possible to detect presses of the red button that *might* result in a power down? On Thu, Nov 20, 2008 at 4:55 PM, Dianne Hackborn [EMAIL PROTECTED] wrote: Sorry, there is

[android-developers] Annunciator Bar not Screen-wide in Landscape Mode

2008-11-20 Thread Raktim Das
The annunciator bar (or device status bar) does not stretch up to the screen width in landscape mode. It's as wide as the portrait mode width. Any idea whether this behavior is changeable? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Toying with MapView

2008-11-20 Thread Alvin Yates
Just downloaded it. Looks pretty good, although the map doesn't display, just the markers. What is funny though is that when I added in menu code to my app, it doesn't display. However, it does display in your app. I'm wondering if the menu is considered an overlay? Or if there is yet

[android-developers] Re: Toying with MapView

2008-11-20 Thread Mark Murphy
Alvin Yates wrote: Looks pretty good, although the map doesn't display, just the markers. If you haven't done so already, you have to put in your own apiKey. I keep forgetting that step, since it's new. If you look in the layout, you'll see:

[android-developers] Re: Scrolling with Multiple ListViews

2008-11-20 Thread Andrew Stadler
I think that the point Romain is making is that scrolling things (be they ListView or Scrollview) should not be *embedded* within each other. The framework was not intended to support this, as it creates all sorts of UI issues. Strictly speaking, you *could* put two independent scrolling

[android-developers] Re: Scrolling with Multiple ListViews

2008-11-20 Thread Casey Link
On Thu, Nov 20, 2008 at 2:52 PM, Andrew Burgess [EMAIL PROTECTED] wrote: Hello all, I'm completely stumped on this one. I have three different lists that need to be displayed on the screen. It's completely possible that the lists will extend past the bottom edge of the screen, so I would

[android-developers] Re: Changing Google image server

2008-11-20 Thread Andrew Stadler
Can you clarify what you mean by pulling in imagery? Or in the immortal words, What are you really trying to do? On Nov 20, 2008 10:29 AM, Robert [EMAIL PROTECTED] wrote: I am looking for a way to change which Google server our Android app will look too when pulling in imagery. We have an

[android-developers] Re: FTP Client

2008-11-20 Thread Phubeone
Yes that is what I would like to do but can't find any good solid information on how I would accomplish that on Android. Were you able to accomplish that on your phone? On Nov 20, 10:06 am, petunio [EMAIL PROTECTED] wrote: hi if what you need is upload/download files to and from a server, I

[android-developers] Re: ADB blue-screen when installing my app

2008-11-20 Thread Mike Collins
This appears to be due to the USB drivers only working with USB 2 devices, and failing with USB 1 devices. On a Win32 box with both USB ports, using the USB 2 works just fine, using the USB 1 port blue screens every time. mike --~--~-~--~~~---~--~~ You

[android-developers] Re: missing javax audio?

2008-11-20 Thread [EMAIL PROTECTED]
We are committed to improved multimedia support, as I've made clear in other posts. You'll see some new features in the next major SDK release. We just don't think that javax is the best way to support audio. On Nov 20, 12:36 pm, blindfold [EMAIL PROTECTED] wrote: Fair enough. Sorry (also to

[android-developers] Re: Extract some information from an APK file

2008-11-20 Thread hackbod
Have a look at the aapt command -- it has a variety of dump sub- commands for printing individual information from the .apk. Not all of this information may currently be (easily) available through the command, so if you need more you can get the open source release and extend the command to dump

[android-developers] Re: Text-To-Speech

2008-11-20 Thread Wesley
this project seem like need a tts server... is there any offline working project??? TTS only... can it be STT??? http://sourceforge.net/projects/freettsandroidi/ anyway... great job... thanks for share out... wesley. On Fri, Nov 21, 2008 at 1:44 AM, Alvaro Rivas [EMAIL PROTECTED]wrote: May

[android-developers] Re: Is there a hook to run code on device shutdown (power off)?

2008-11-20 Thread Jon Colverson
Eek. That makes things a bit more difficult. Thank you for the quick response, though! On Nov 20, 9:55 pm, Dianne Hackborn [EMAIL PROTECTED] wrote: Sorry, there is nothing available to find out when the device is being turned off. On Thu, Nov 20, 2008 at 5:37 AM, Jon Colverson [EMAIL

[android-developers] Re: missing javax audio?

2008-11-20 Thread Robert Green
I am with you guys on that. I think there are more elegant solutions for audio programming design challenges. I don't think anyone cares if it's the javax.audio API as much as they would just like to be able to run their own audio buffers in and out of the device. Being able to chain effects

[android-developers] Re: a simple native pthread test but SIGSEGV generated!

2008-11-20 Thread allstars
i found the reason why SIGSEGV is generated i didnt call exit(0) in the end thanks On Nov 17, 10:04 pm, David Turner [EMAIL PROTECTED] wrote: You are using arm-none-linux-gnueabi-gcc which is not compatible with the android toolchain. This kind of issue is perfectly normal and non supported.

[android-developers] detecting various buttons

2008-11-20 Thread Dorn Hetzel
Ok, so just to clarify, I guess I have been assuming (yeah, not good to assume) that all of the buttons were soft buttons which generated software events and then various applications acted on those events. So are any of the buttons soft buttons?, and which are hard buttons wired directly to

[android-developers] correct usage of adb shell input

2008-11-20 Thread dreamerBoy
Hi - I am wondering what the correct invocation of adb shell input is - It could be potentially very useful for me if I could inject key events into a running app. I've tried: adb shell input keyevent KEYCODE_0 or adb shell input keyevent KEYCODE_CALL etc. with an emulator running. I

[android-developers] slowness in Creation of List with huge items set.

2008-11-20 Thread [EMAIL PROTECTED]
Hi Developers, I am working on product Dubmenow, our application dub provides smart way to share business card. I am using androids native list view for most of our screens. When ever we instantiate List it takes time to load if we have good amount of list items. Some times

[android-developers] MyLocationOverlay - change provider criteria?

2008-11-20 Thread JP
After testing MyLocationOverlay a little I am under the impression it is following the strategy of selecting the best location provider following the Maps app strategy. This means, If GPS is enabled by the user, the preferred location provider will be GPS, selected in preference to wireless

[android-developers] Re: Repeating alarm canceled on activity close?

2008-11-20 Thread songs
I had thought that it was something to do with the alarm manager because moving the call seemed to fix things. Turns out things are actually still broken. Now I'm checking to see if moving my function from Service.onCreate to Service.onStart fixes things. Seems to work so far except that it

[android-developers] Re: ListView set default checked state

2008-11-20 Thread songs
I ended up fixing this by moving my initialization loop from onCreate to onResume and that worked. On Nov 19, 3:03 pm, Armando [EMAIL PROTECTED] wrote: I achieved this by creating a custom Adapter. All you need to do is to create a new class that extends the BaseAdapter abstract class, then

[android-developers] Re: slowness in Creation of List with huge items set.

2008-11-20 Thread Romain Guy
Hi, ListView was designed and implemented to perform at the same speed with 10 items or with several thousand (and more) items. You are probably doing something wrong in the way you load your values in the list adapter. Without knowing how your application works, it is not possible to help you

[android-developers] Re: Accelerometer sensors shut off during sleep?

2008-11-20 Thread songs
I can get this to work if I hold a partial dim wake lock, but I'd rather not keep the screen on if I don't have to. On Nov 19, 2:25 am, songs [EMAIL PROTECTED] wrote: Hi, Do the accelerometer sensors shut off during sleep mode even if I have a partial wake lock?  I've got my sensor code

[android-developers] Re: error in opening file in fileexplorer application

2008-11-20 Thread Asif k
Hi All, anyone is aware of which intent filters are nedded in manifest.xml On Nov 20, 6:13 pm, Charlie Collins [EMAIL PROTECTED] wrote: I am not familiar with that particular application, but it looks like you need the Intent and IntentFilter setup correctly for the action

[android-developers] Re: FTP Client

2008-11-20 Thread Sahil R Cooner
nothing that I know of, but if you're working on one that you'd like help on I'd be willing to join in on the project. On Wed, Nov 19, 2008 at 02:03:22PM -0800, Phubeone wrote: Is anyone out there working on a FTP client for Android or does anyone know if one is already available? I have

[android-developers] Re: How to query for my current location?

2008-11-20 Thread Shibbs
Use Geocoder, the newly class introduced in 1.0 SDK. Its helps in reverse geocodeing( i.e getting address from lat/lon) http://code.google.com/android/reference/android/location/Geocoder.html Thanks, Shibbs On Oct 17, 2:12 pm, Matthias [EMAIL PROTECTED] wrote: Well, in other words, this whole

[android-developers] How to attach source to classes in android.jar?

2008-11-20 Thread Geoff Stromberg
Hello, I'm using Eclipse ADT and have created a standard Android project (using the ADT wizard to do so). I would like to be able to browse from my source code into the source code for any Java class inside android.jar. I've downloaded the source code for the Android base Java APIs (git tag

[android-developers] Possibility of changing the graphic used for a radio button?

2008-11-20 Thread [EMAIL PROTECTED]
Hi, I'm wondering if it is possible to replace the image used for the option buttons to something else. I'm not worried if it's just a permanent image (with no indication if the option button is checked or not). Basically I want 6 images with the same behaviour as a radiogroup (if you click the

[android-developers] Regarding video file playback in android emulator

2008-11-20 Thread Girish H T
Dear all, I am new to android, I downloaded android source code from the http://source.android.com/ built it. I also downloaded the android SDK for my development platform (I am using Ubuntu). I made the development environment up . I can playback some audio files in the music player. But i am

[android-developers] Re: Licensing question pertaining to the dex compilation process

2008-11-20 Thread [EMAIL PROTECTED]
Is this requirement coming from your reading of some license (like the LGPL)? If so, it is probably not a correct reading, since most licenses do not actually *require* dynamic linking (for example, the LGPL does not require dynamic linking, it just happens to be the method most often used to

[android-developers] HeapWorker wait kills my Service.

2008-11-20 Thread sandy8531
I have a situation where one of my transactions on the db is taking a long time, my application (service) can deal with it properly and it manages the lifecycle events as well to be a good citizen on the phone. However it gets killed because the the HeapWorker is trying to finalize a

[android-developers] How to rotate the emulator screen on a mac

2008-11-20 Thread Eelke Folmer
Hi, According to the emulator faq the screen can be rotated using F11 and F12 but this doesn't work on my new macbook as apple put the volume adjustments there. Is there a workaround? Cheers Eelke --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Text-To-Speech

2008-11-20 Thread Pulkit Arora
Hi blindfold,have you implemented your TTS in the emulator, i am in a middle of a project, and i am in urgent need of a TTS system in Android ( Emulator will also do, as of now ). The project by Alvaro need a server, can you please suggest me a place where i can get a native-like TTS app code..

[android-developers] Base Adapter View and OnClick Lister

2008-11-20 Thread for android
I have extended a BaseAdapter for a listView. The List View is on the lines of ListAdapter Collapsed ,but instead of the dialogue box i have a seek bar(which gets enabled and disabled)On the trigger of the expansion.There is an imagebutton widget which changes to play/pause. On the

[android-developers] Re: Notification details Activity never receives Intent used to fire it

2008-11-20 Thread Guillaume Perrot
Will the SDK be improved to allow several matching pending intents ? 2008/11/20 Dianne Hackborn [EMAIL PROTECTED] I am really not clear on exactly what you are doing or expecting, but one thing to watch out for -- when you get a PendingIntent, if there is already a PendingIntent matching the

<    1   2