[android-developers] Re: what is command to check SDCARD is present ?

2009-02-09 Thread for android
android.os.Environment On Mon, Feb 9, 2009 at 1:17 PM, jj jagtap...@gmail.com wrote: somebody will tel me the command for checking sdcard of device what is command to check SDCARD is present ? or in other words how to appl the sdcard is there or not? thank you

[android-developers] How to hide MediaController progress bar ?

2009-02-09 Thread vrukesh
Hi, We are using MediaController in a media player. We want media controller to hide as soon as the video playback starts. MediaController has default behavior to hide after 3 seconds of inactivity. How can we make MediaController invisible as soon as the video playback start ? Following is

[android-developers] Share database between applications

2009-02-09 Thread Yossi
use case: - have one running application using its database for storing its data - when starting the second application it should connect to the first application's database and get its whole data (e.g. copy the whole database) both applications are mine so I can control both of them. it is

[android-developers] DEFAULT_ALL crashes app

2009-02-09 Thread 3D
I've been using: Notification.DEFAULT_SOUND for quite some time with great success. When I replace that with: Notification.DEFAULT_ALL the program crashes when the notification is called. What's up with that? --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: I want to emulate the simple listview's rows

2009-02-09 Thread Chander Pechetty
Looking closer at your layout, the textview's layout_width is set to wrap_content, it should be android:layout_width=fill_parent --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Application storage data growing

2009-02-09 Thread gmb
I have faced the same problem, and finally found the cause: If you are starting new instances of your application from Eclipse (as it was my case) after compiling, the new apk replaces the old one, BUT the original one is not deleted, only UNLINKED from the file system... It is a problem similar

[android-developers] Re: Changing foreground or background color of title text of a Dialog

2009-02-09 Thread Chander Pechetty
The Dialog inherits the Theme that you set for the Activity. usually it shows up white text on black for Theme.Light. Changeitem name=android:textColor@drawable/solid_black/item to someting lighter. maybe- @android:color/white Cheers Chander

[android-developers] Re: Changing foreground or background color of title text of a Dialog

2009-02-09 Thread Chander Pechetty
You can also set the theme, in your style.xml style name=myCoolDialog parent=android:Theme.Dialog item name=android:windowBackground@drawable/blue/item item name=android:colorForeground#f0f0/item /style Then in your Dialog subclass use the constructor which takes a theme..

[android-developers] write to system directory

2009-02-09 Thread and.pradeep
Is it possible to write data or create folder in system directory like /system/media/audio/alarms. i.e other than our respective package. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: SlidingDrawer not working with RC33

2009-02-09 Thread tauntz
Hi Dianne and anyone else who might care about this, I'm a little (ok, more than a little) disappointed regarding RC33 and the lack of communicating UI look/behavior changes to developers. The specific reason is that RC33 seems to also have one more UI change - Dialog titles can't be longer than

[android-developers] Re: RC33 for Dev Phone

2009-02-09 Thread flash
Does anybody know if the RC33 update will work on UK G1's? On Feb 8, 1:24 am, Brad Fuller bradallenful...@gmail.com wrote: On Sat, Feb 7, 2009 at 11:42 AM, Brad Fuller bradallenful...@gmail.com wrote: On Fri, Feb 6, 2009 at 6:16 PM, Disconnect dc.disconn...@gmail.com wrote: Install jf's

[android-developers] Re: I want to emulate the simple listview's rows

2009-02-09 Thread ashu
Chander, I fixed it; thank you a ton. On Feb 9, 1:14 am, Chander Pechetty cspeche...@gmail.com wrote: Looking closer at your layout, the textview's layout_width is set to wrap_content, it should be  android:layout_width=fill_parent --~--~-~--~~~---~--~~ You

[android-developers] Re: access to internal telephony

2009-02-09 Thread legerb
I had problems with the '#', but when encoded, it works fine. With other symbols i didn't have any problems. And i remember that when '#' was the last char (even encoded), it was always stripped. On Feb 9, 9:25 am, shimo...@gmail.com shimo...@gmail.com wrote: Hi, Using a DEV phone, seems I

[android-developers] Context Menus on ListView onListItemClick()

2009-02-09 Thread Miguel Paraz
Hi, How could I capture an onListItemClick() and pass it to onCreateContextMenu() ? In my ListActivity, I don't need regular clicks, so I'd like everything to go to the context menu. Thanks. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Android SDK v1.1 due soon?

2009-02-09 Thread Holkre
I myself would also be happy to see the SDK 1.1 , im excited if WPA2 Enterprise has been addedtothe Wifi Controlls of the SDK, as it is an absolute must have when the Android Platform want´s to become readyfor the business market. On Feb 9, 1:38 am, Ivan Soto ivanso...@gmail.com wrote: I was

[android-developers] highlight the focused item on list view.

2009-02-09 Thread magicpig
Hi, I have added data to list view by BaseAdapter. When I explore the view(up/down), there is a highlight on the focused item. But Now, I am wondering whether there is a way to highlight the focused item by the code? any api? The reason I need this behavior is when I click the item in the

[android-developers] Re: Android emulator Interface

2009-02-09 Thread Mark Murphy
Amit G wrote: Hi, i found some reference to the sliding drawer but could'nt find the code to use it.. http://groups.google.com/group/android-developers/browse_thread/thread/5d735511a2de5137/422eea2daef3dbb4?hl=enlnk=gstq=SlidingDrawer#422eea2daef3dbb4 any help will be appreciated. Google

[android-developers] Failed to execute the Launcher built by myself

2009-02-09 Thread Gerald
Hi, I need to customize the launcher application. I built it from the android source, and installed it to the emulator successfully(By renaming its package name to solve signing conflicts). When I tried to run my build, an exception occurred, and I can't find where it actually from because it

[android-developers] Re: Radio Off

2009-02-09 Thread Stanley.lei
I also met this issue. I have tried to use the System.putInt (RadioSetting.this.getContentResolver(), System.AIRPLANE_MODE_ON, state) to set the state of the AIRPLANE_MODE, but it has no effect. Does anyone have corresponding experience about this? Thanks, Stanley On Feb 9, 2:02 pm, Jin

[android-developers] Geocoder county code started to return NULL

2009-02-09 Thread Alistair.
I am using the Geocoder call 'getFromLocationName' to return an Address object given some location text. On one application I examine the country code value of the Address object. I have noticed that at some point over the weekend the Geocoder started returning NULL for this field where it had

[android-developers] Re: android.graphics.Camera is stable in SDK 1.0?

2009-02-09 Thread plusminus
Any info on this? On 30 Jan., 13:33, blindfold seeingwithso...@gmail.com wrote: Oops, sorry, overlooked theandroid.graphics versusandroid.hardware distinction. BTW, my latest webcam does 3D transformations too (anaglyph encoding). :-) On Jan 30, 6:11 pm, plusminus stoeps...@gmx.de wrote:

[android-developers] Voice Recognition like in Voice Search? (STT)

2009-02-09 Thread Markus Junginger
Voice Search is new with RC33. I am wondering if the voice recognition will be part of the API 1.1. Or at least an Intent? Btw, is the SDK 1.1 JavaDoc available somewhere yet? Regards, Markus -- http://jars.de --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Resource files XML imports

2009-02-09 Thread Raja Nagendra Kumar
Any expert help pl..if not supported now.. would this be considered for future... --~--~-~--~~~---~--~~ 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] Re: J2ME Sprite equivalent api

2009-02-09 Thread Raja Nagendra Kumar
Hi in the lastest SDK release openGL api does not seem to be supported.. for eg. looking for OpenGL in the javadoc of sdk 1.0 but dont find any. Looks like they were there in M5 sdk. If we were to use openGL library, does any have a link to this library, which has been tested to work with

[android-developers] Re: Context Menus on ListView onListItemClick()

2009-02-09 Thread Odessa Silverberg
By simply calling the onCreateContextMenu itself inside the onListItemClick. i.e. onCreateContextMenu(null, v, null); (where v ist the reference of the list view passed by the onListItemClick). Dunno if you need to pass the references of menu/menuinfo, but don't think so. If you're not using

[android-developers] Re: write to system directory

2009-02-09 Thread Odessa Silverberg
Short answer: No. Long answer: No, unless you hack the phone/firmware, which you shouldn't do as 99% who are going to use your application won't have a hacked firmware on their handset basicly meaning no one would use your application On Feb 9, 12:01 pm, and.pradeep and.prad...@gmail.com wrote:

[android-developers] in-memory live object histogram

2009-02-09 Thread GiladH
Hi, Is there a way of querying Android (or G1 or DDMS) for a list of all currently live objects by type and by nymber of instances. That is: - your app currently have 122 objects of type MyClass - your app currently have 201 objects of type MyOtherClass etc. Makes memory leak debugging

[android-developers] Re: Cannot delete that URL exception

2009-02-09 Thread Odessa Silverberg
I'm not 100% sure, but i think it's because you passed Contacts.Phones.CONTENT_URI instead of creating your own uri which has an id-segment appended. The ID is the unique _ID field you have in your phone table.If you know the _ID you can generate a uri (it's called URI not URL btw :P) with this

[android-developers] Re: J2ME Sprite equivalent api

2009-02-09 Thread Mike Reed
I'm not familiar with the J2ME sprite facilities. With android.graphics.canvas/bitmap, you should be able to draw bitmaps with any alpha, any matrix transformation, through any clip. Do you need other facilities? On Fri, Jan 30, 2009 at 5:25 AM, Raja Nagendra Kumar nagendra.r...@gmail.com wrote:

[android-developers] Re: BitmapShader performance

2009-02-09 Thread Mike Reed
Performance is bug like any other, so feel free to report them as bugs. Is your surface 32bit or 16bit? If it is 16bit, then I should definitely have noticed the SRC mode and made that fast (i.e. memcpy). On Sun, Feb 8, 2009 at 6:27 PM, Tom Gibara m...@tomgibara.com wrote: Thanks for the

[android-developers] Re: Graphics question: bilinear interpolation

2009-02-09 Thread Mike Reed
You may be right. The filter_flag kicks in when drawing a bitmap through a matrix (scale, rotate, etc.). If you are doing arbitrary distortions in java, then I'm afraid the graphics API can't help per-se. On Sun, Feb 8, 2009 at 4:56 PM, j jac...@gmail.com wrote: Hi Dianne, I am afraid I

[android-developers] Re: Read/write JPEG metadata (e.g. in EXIF format)

2009-02-09 Thread Mike Reed
Gotcha. Sounds like a reasonable request for some future release. On Sun, Feb 8, 2009 at 2:25 AM, GiladH gila...@gmail.com wrote: Hi Mike, The standard staff - creation date and location, original rotation etc. The thing is, and correct me if you see otherwise, that while an imported

[android-developers] Re: Color filter modes and transparent colors

2009-02-09 Thread Mike Reed
Sounds like a bug: DARKEN should not alter a fully transparent pixel. I will try to reproduce. Does SRC_OVER + some shade of gray work for you, like 0x)? On Sat, Feb 7, 2009 at 2:01 AM, Obormot atru...@gmail.com wrote: Hi, guys. I'm trying to make an image darker, but the image has

[android-developers] Re: Button On Map

2009-02-09 Thread Cadge
Hi, Don't know if this will still be useful, but here goes. To bring up a map on the emulator I have 3 different parts: 1) A Class that extends MapActivity Something like import com.google.android.maps.MapActivity; import android.os.Bundle; public class MapApp extends MapActivity {

[android-developers] Suggestion for Android Market

2009-02-09 Thread Teo
I think each app should have a link to its website in Android Market, as other gadget platforms have. Users can find out more about the app features this way... Thanks, Teo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Market statistics for apps targeting The Netherlands are not correct

2009-02-09 Thread Ronald van der Lingen
Here is some more information that might be useful for tracking down the problem. This morning I published my second app (Wabbit) which is not targeted to a specific region. After a slight delay, the first download numbers did appear on the Developer Console. For my other application, the

[android-developers] Re: Suggestion for Android Market

2009-02-09 Thread MrSnowflake
And be able to have a link to the market from the website (much like iTunes) would be great too. On 9 feb, 15:56, Teo teomina...@gmail.com wrote: I think each app should have a link to its website in Android Market, as other gadget platforms have. Users can find out more about the app

[android-developers] How to convert base64string to Image?

2009-02-09 Thread dilu
Hi All, I am getting image from server side as Base64 string in xml form.Now i want to convert this base64 string into image.once it will get converted into image then i will store it into my local database. Canany one tell me how to do this? Any example iOr sample code for converting base64

[android-developers] Bluetooth enabling

2009-02-09 Thread Dilli
Hi all I just bought a new a android device I try to connect my device to bluetooth. I am able to recive phone calls to from that bluetooth headset device, but i can't listen to music using the bluetooth headset. I think i missed some settings in the device Any suggestions Thanks Regards.

[android-developers] Re: what is command to check SDCARD is present ?

2009-02-09 Thread Dilli
in Shell adb shell # cd sdcard In application String Sdcard_status = Environment.getExternalStorageState(); if(Sdcard_status.equals(Environment.MEDIA_REMOVED)) { Toast.makeText(Helloworld.this, INSERT MEMORY CARD (sdcard),Toast.LENGTH_SHORT

[android-developers] Re: Playing video in android

2009-02-09 Thread Dilli
Hi i think you fixed the size of video display mHolder.setFixedSize(176, 144); it may cause the problem of video displaying use mHolder.setFixedSize(mp.getVideoWidth(), mp.getVideoHeight()); Regards On Feb 9, 3:58 am, Ash ashwin.disco...@gmail.com wrote:

[android-developers] Loading DEX files at runtime from SDCARD - Possible?

2009-02-09 Thread Gav
Hey! BACKGROUND I would like my users to develop their own routines for image manipulation. Lets presume that a third party has written a class which implements one of my interfaces; public abstract class PixelBinaryFilter extends BinaryFilter{ ... protected abstract

[android-developers] Problem with dynamically adding layouts

2009-02-09 Thread apetrovic
I have a problem and I'm not sure it's my problem or bug in the framework. I have a screen that's filled with couple of layouts that have some ShapeDrawable set as background (and I know, I should use nine-patch images, this is just a test for something different). When I try to dynamically add

[android-developers] Multimedia buffering

2009-02-09 Thread AliBaba
Hi All, I am trying to run the media player from API Demo by specifying the http based url of the video. In specific I want to play streaming Video. By debugging I found that it is showing the logs for streaming the video from 1-100 %. But then also it is not playing the video. Can anybody

[android-developers] Re: what is command to check SDCARD is present ?

2009-02-09 Thread Dilli
Hi I think u r testing on Emulator if it is emulator If you configured the application with the sdcard (exat image location) then go to command prompt adb shell and cd sdcard and you can browse througe the sdcard If you want to check programatically then

[android-developers] Re: Suggestion for Android Market

2009-02-09 Thread nagaraj attimani
yes.. this will make the android much more popular n at the same time minimize the same applns developed by diff vendors On Mon, Feb 9, 2009 at 8:26 PM, Teo teomina...@gmail.com wrote: I think each app should have a link to its website in Android Market, as other gadget platforms have.

[android-developers] Re: Android Development Phone Setup - Vodafone India

2009-02-09 Thread Dilli
Thank you It's worked fine for me. But a small modification 1) I need to install the driver for android ( Available at SDK Usb_Driver) 2) Change to adb shell 3) and change to super user by enter the command ( su ) 4) and do the steps a) echo app.setupwizard.disable=1 /data/local.prop

[android-developers] writing canvas back to bitmap

2009-02-09 Thread Sjaak
I am trying to write the canvas of my White Board app to a file, but it keeps saving blanks. mCanvas.save(); //mCanvas.drawBitmap(mBitmap, 0, 0, null); try { File myFile = new File(/sdcard/output.jpg);

[android-developers] Re: Suggestion for Android Market

2009-02-09 Thread Ivan Soto
Agree. Having a website for your application right now is very useless because of this. On Mon, Feb 9, 2009 at 8:05 AM, nagaraj attimani nagaraj.attim...@gmail.com wrote: yes.. this will make the android much more popular n at the same time minimize the same applns developed by diff vendors

[android-developers] Re: Failed to execute the Launcher built by myself

2009-02-09 Thread Romain Guy
Without showing us the exact exception we won't be able to help you much... On Mon, Feb 9, 2009 at 4:44 AM, Gerald myq...@gmail.com wrote: Hi, I need to customize the launcher application. I built it from the android source, and installed it to the emulator successfully(By renaming its

[android-developers] Re: SlidingDrawer not working with RC33

2009-02-09 Thread Romain Guy
Currently the app lifecycle for the user is: Download app - get OTA - broken app - wait for app update - download app update - working app - get OTA - broken app - wait for app update - download app update - working app - .. Which is exactly why we tell developers not to use private APIs. But

[android-developers] Re: Multimedia buffering

2009-02-09 Thread Dave Sparks
The files are not stored, they are streamed into a temporary memory buffer. What kind of file are you trying to stream? If it's an MP4 file, you need to make sure that the 'moov' atom comes before the 'mdat' atom. On Feb 9, 3:08 am, AliBaba kanul1...@gmail.com wrote: Hi All, I am trying to

[android-developers] add tab cause exception

2009-02-09 Thread AndroidGeek
Hey, I tried to add composite control to tabHost, I followed android example Tab3.java to do that. I created a new activity with listview, textview as following: ?xml version=1.0 encoding=utf-8? ScrollView xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical

[android-developers] Re: WPA2 Enterprise Support

2009-02-09 Thread Holkre
Any suggestions or ideas when support will be available in the SDK? On 7 Feb., 17:29, Holkre holger.krei...@gmail.com wrote: Hello Guys, is there a way to alter the wpa_supplicant on an non rooted G1 with the actual firmware RC33 which is installed on the german devices, I will need to have

[android-developers] Re: Playing video in android

2009-02-09 Thread Dave Sparks
First, the surface type needs to be push buffers. In your Preview constructor, add the following: getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); Second, you need to tell the media player where to display the video. You have a line commented out:

[android-developers] Re: add tab cause exception

2009-02-09 Thread AndroidGeek
And also found in my control java file override onCreate(Bundle saveInstanceState) method, super.onCreate(savedInstanceState) cause error, because saveInstanceState = null; Thanks On Feb 9, 11:57 am, AndroidGeek binli...@gmail.com wrote: Hey, I tried to add composite control to tabHost, I

[android-developers] Re: the image captured using Intent i = new Intent(android.media.action.IMAGE_CAPTURE); is very small

2009-02-09 Thread Dave Sparks
This is an issue that will be fixed in the Cupcake release. On Feb 8, 11:31 pm, jj jagtap...@gmail.com wrote: hello everybody I am capturing Image from app using : the image captured using Intent i = new Intent (android.media.action.IMAGE_CAPTURE); but it is very small (25*50) Why this

[android-developers] Re: Suggestion for Android Market

2009-02-09 Thread Moto
Yes! I also agree with this Idea... For now I just placed my webpage link on my application but in a way this won't help for a user trying to deside should I install this App or not? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Color filter modes and transparent colors

2009-02-09 Thread Obormot
I don't think there's a bug there, but maybe it wasn't the right filter for me. I tried SRC_OVER. Here's the result: http://tourizo.org/src_over.PNG 2 buttons. One is with the SRC_OVER applied with the color you suggested. This worked for me much better: iv.setColorFilter(_darkenColor,

[android-developers] Re: Color filter modes and transparent colors

2009-02-09 Thread Mike Reed
Glad MULTIPLY worked for you. I think DARKEN should have worked, assuming your op-color had zero alpha in it (so as not to affect the resulting alpha). e.g. 0x0088 On Mon, Feb 9, 2009 at 12:09 PM, Obormot atru...@gmail.com wrote: I don't think there's a bug there, but maybe it wasn't the

[android-developers] Re: Color filter modes and transparent colors

2009-02-09 Thread Obormot
Just tried that as well. Doesn't affect the picture at all. I assume that's because of 00 alpha portion. So it's got to be more than 00 to alter the image. On Feb 9, 11:33 am, Mike Reed r...@google.com wrote: Glad MULTIPLY worked for you. I think DARKEN should have worked, assuming your

[android-developers] items of StateListDrawable

2009-02-09 Thread skink
hi, normally in StateListDrawable (defined in XML) one defines either . 9.pngs or normal .pngs. i wanted my 'normal' state to be defined as LevelListDrawable (also defined in XML). and i have problem here: i always see the first item from LevelListDrawable, calling setLevel on that drawable

[android-developers] Re: Android SDK v1.1 due soon?

2009-02-09 Thread monmonja
You can download it from google but just not on the download page. I know its not there for a reason but if you really want to try 1.1 http://almondmendoza.com/2009/02/09/android-sdk-11/ I would suggest anyone to wait for the one on the download page coz they might still change something or fix

[android-developers] Re: Color filter modes and transparent colors

2009-02-09 Thread Mike Reed
Yea, you're right. I should think before I type. Hurray for MULTIPLY! On Mon, Feb 9, 2009 at 12:43 PM, Obormot atru...@gmail.com wrote: Just tried that as well. Doesn't affect the picture at all. I assume that's because of 00 alpha portion. So it's got to be more than 00 to alter the image.

[android-developers] Re: SlidingDrawer not working with RC33

2009-02-09 Thread Stefan
Dianne, To finish that dreaded SlidingDrawer topic - yes the use of the SlidingDrawer was in the Layout xml file only so I guess its was a loophole that I end up using without realizing. Thanks for your comments on the rest of the issues. I think we all agree that changes in the APIs happen

[android-developers] Webview has changed in RC33, problem with touch event and encoding

2009-02-09 Thread Chister Nordvik
Hi! I am using the webview to show a RSS feed and it has worked great until RC33. I now have two problems: 1. I am using a OnClicklistener for each item in a ListView where the item consists of a LinearLayout containing an image + a webview. This event is no longer fired when clicking the

[android-developers] Re: Webview has changed in RC33, problem with touch event and encoding

2009-02-09 Thread Chister Nordvik
The update also broke the polish RSS feed that I've used to display news for soccer (http://ekstraklasa.wp.pl/ver,rss,rss.xml). I would really like to know what happened with the Webview (or XML library) in this release! -Christer --~--~-~--~~~---~--~~ You

[android-developers] Re: Dynamically changing the language at runtime

2009-02-09 Thread Mark Nuetzmann
I have a settings dialog/activity where I allow the user to change the locale. Within that activity i call Resources res = ctx.getResources(); // Change locale settings on the device DisplayMetrics dm = res.getDisplayMetrics();

[android-developers] Is there way to keep the phone number as is before it hits the RIL layer?

2009-02-09 Thread Videoguy
Hi I am working on a device that uses dns names and IP addresses to make calls. This is not phone device. We are planning to replace the RIL layer bottom end to talk to our own call backend that accepts IP addresses. When I invoke a ACTION_CALL intent with a dns name, I see the Phone app coming

[android-developers] Re: Cannot delete that URL exception

2009-02-09 Thread Meryl Silverburgh
Thanks. But can you please tell me how can If I find the _ID from the phone number? On Mon, Feb 9, 2009 at 6:00 AM, Odessa Silverberg silverberg.ode...@googlemail.com wrote: I'm not 100% sure, but i think it's because you passed Contacts.Phones.CONTENT_URI instead of creating your own uri

[android-developers] Re: Dynamically changing the language at runtime

2009-02-09 Thread Dianne Hackborn
You will need to do all of the UI recreation in your activity. We don't currently have a way for an activity to ask that it be restarted, sorry. Like I said, this isn't really supported. On Mon, Feb 9, 2009 at 11:29 AM, Mark Nuetzmann mark.nuetzm...@gmail.comwrote: I have a settings

[android-developers] Re: Loading DEX files at runtime from SDCARD - Possible?

2009-02-09 Thread Dianne Hackborn
Sorry, this is not currently supported. And you really really wouldn't want to do this, because it would allow any other app installed on the device to take over your own and use any of its permissions for malicious purposes under the guise of being you. On Mon, Feb 9, 2009 at 5:09 AM, Gav

[android-developers] How can I launch the built-in picture viewer app from my app?

2009-02-09 Thread Freddy
I don't want to re-invent the wheel and would like to use the existing android picture viewer. I've found some intents to launch built-in android app such as the dialer Intent intent = new Intent(Intent.ACTION_MAIN);

[android-developers] Re: Dynamically changing the language at runtime

2009-02-09 Thread Evgeny V
So, what can be a best way to restart the app except to ask user restart manually? Thanks, Evgeny On Mon, Feb 9, 2009 at 9:49 PM, Dianne Hackborn hack...@android.com wrote: You will need to do all of the UI recreation in your activity. We don't currently have a way for an activity to ask

[android-developers] Re: Dynamically changing the language at runtime

2009-02-09 Thread Dianne Hackborn
Like I said, there isn't really a way. You are doing stuff that isn't really supported, so you're going to be hacking around. Forcibly changing the configuration of resources is already a hack -- for example if the user flips the lid the configuration will change, blowing away what you set. I

[android-developers] Re: Loading DEX files at runtime from SDCARD - Possible?

2009-02-09 Thread Gavin Aiken
Thanks for the response Dianne, I still live in the cotton wool word of University where third parties are friendly types. Understood, I did some more searching and found another thread in which you contributed regarding this topic;

[android-developers] Re: in-memory live object histogram

2009-02-09 Thread fadden
On Feb 9, 6:00 am, GiladH gila...@gmail.com wrote: Is there a way of querying Android (or G1 or DDMS) for a list of all currently live objects by type and by nymber of instances. That is:    - your app currently have 122 objects of type MyClass    - your app currently have 201 objects of

[android-developers] Android SDK v1.1 - changes / bug fixes or lack of

2009-02-09 Thread thesquib
This thread is for reporting changes and bug fixes (or the lack of fixes) to the new 1.1 SDK. So far I have found: Bug: android.graphics.Bitmap.getPixels and android.graphics.Bitmap.getPixel still do not correctly function (information is lost). Feature missing: Playing sounds from input

[android-developers] Re: Android SDK v1.1 - changes / bug fixes or lack of

2009-02-09 Thread Mark Murphy
thesquib wrote: This thread is for reporting changes and bug fixes (or the lack of fixes) to the new 1.1 SDK. What new 1.1 SDK? -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published!

[android-developers] Re: Android SDK v1.1 - changes / bug fixes or lack of

2009-02-09 Thread Mark Murphy
Mark Murphy wrote: thesquib wrote: This thread is for reporting changes and bug fixes (or the lack of fixes) to the new 1.1 SDK. What new 1.1 SDK? Never mind... http://developer.android.com/sdk/1.1_r1/index.html -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's

[android-developers] Re: quick questions about Skia in android

2009-02-09 Thread thesquib
Not officially supported, but is possible? How might we go about using this unsupported redirection to GL canvas? On Jan 6, 3:43 am, Mike Reed r...@google.com wrote: Skia is a 2D engine for drawing to abitmap. However, there is   experimental support for a canvas that redirects its calls to

[android-developers] Re: access to class not allowed

2009-02-09 Thread fadden
On Feb 7, 1:09 am, johnny johnny...@gmail.com wrote: So from which version, rc1, 1.0 or cupcake, the bug in Dalvik is fixed? Just want to make it easier when communicating with the author of the apk file. I don't remember precisely. Since I'm not sure this is the problem you're experiencing,

[android-developers] Re: quick questions about Skia in android

2009-02-09 Thread Mike Reed
Start your adventure by instantiating SkGLCanvas (after you have a current gl context) and then draw into it. On Mon, Feb 9, 2009 at 4:31 PM, thesquib thesq...@gmail.com wrote: Not officially supported, but is possible? How might we go about using this unsupported redirection to GL canvas?

[android-developers] Advanced trackball issues in ListView

2009-02-09 Thread kingkung
Hey all, Have some nitpicky scrolling issues in ListView that I don't expect many people to know the answer to, but if there are any experts in ListView, your help would be greatly appreciated. I'm doing a ListView of contacts such that one contact, the contact that the viewer is currently

[android-developers] Re: Advanced trackball issues in ListView

2009-02-09 Thread kingkung
A clearer (hopefully) example... What I want to happen: |* ** | ContactA | ContactA | == |** | | ContactB | ContactB | | |* What does happen: |*

[android-developers] Re: Age of GPS data

2009-02-09 Thread Anna PS
Thanks. Yes, it works much better with requestLocationUpdates set to 0. For the benefit of anyone reading and reusing code, requesting location updates drains the battery very quickly, so remember to unregister the LocationListener whenever you pause the application. Code below. Anna

[android-developers] Re: How can I launch the built-in picture viewer app from my app?

2009-02-09 Thread Freddy
Intent i = new Intent(Intent.ACTION_VIEW); Uri u = Uri.withAppendedPath (MediaStore.Images.Media.INTERNAL_CONTENT_URI, ); i.setData(u); startActivity(i); On Feb 9, 12:09 pm, Freddy f...@charter.net wrote: I don't want to re-invent the wheel and would like to use

[android-developers] Re: Advanced trackball issues in ListView

2009-02-09 Thread kingkung
A clearer (hopefully) example... What I WANT to happen: before: |* | ContactA | |* | ContactB |* after: |* | ContactA |* | ContactB | |* What happens NOW (in the middle of a list): before: |* | ContactA | |* | ContactB

[android-developers] ImageView.setColorFilter and/or LightingColorFilter- how to use them?

2009-02-09 Thread myIP
How would I be able to adjust a channel (R,G or B) using ImageView.setColorFilter by passing an instance of LightingColorFilter in its construct? For an example, when I create an instance of LightingColorFilter, I adjust the two params that are int values between 0-255. With this instance, I

[android-developers] Re: Advanced trackball issues in ListView

2009-02-09 Thread kingkung
A clearer example: Initial - ContactA is expanded |* | ContactA | |* | ContactB |* Ex. 1) What I WANT to happen when I move the trackball down: |** | ContactA |** | ContactB | |** ContactA has contracted, and ContactB has taken over the

[android-developers] Re: Android SDK v1.1 - changes / bug fixes or lack of

2009-02-09 Thread Dianne Hackborn
The 1.1 update was not a major platform release, it was primarily for localization, and we deliberately avoided doing other things to keep it as small as possible. I really don't want to read everything about 1.1 that is no different from 1.0 and people are for some reason unhappy about. :p On

[android-developers] Re: Android SDK v1.1 due soon?

2009-02-09 Thread Eric Wong (hdmp4.com)
If you read the Android blog, 1.1 SDK is just released Cheers Eric On Feb 10, 4:48 am, monmonja almondmend...@gmail.com wrote: You can download it from google but just not on the download page. I know its not there for a reason but if you really want to try 1.1

[android-developers] Android 1.1_r1 SDK released and developer.android.com launched

2009-02-09 Thread Justin (Google Employee)
Hey developers, today we released the new, 1.1_r1 SDK. This SDK includes some minor updates that you can read more about on the blog, http://android-developers.blogspot.com/2009/02/android-11-sdk-release-1-now-available.html . Also, we've launched the new developer site at

[android-developers] Re: Android SDK v1.1 - changes / bug fixes or lack of

2009-02-09 Thread Justin (Google Employee)
If you find *new* bugs the right thing to do is file them, http://source.android.com/report-bugs . Remember to search for existing bugs that match your issues before filing new ones. To echo Dianne, 1.1 was not a major platform release and many of the bugs in 1.0 will still exist in 1.1.

[android-developers] Charging Android Applications

2009-02-09 Thread Mithun Baphana
When will Google allow developers to sell their applications like the Apple Store ? Is there going to be any such android store ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] 3rd party jar

2009-02-09 Thread Michael Lippautz
Hi, Having a problem here with including a 3rd party jar and couldn't find any proper solutions on the group so far. Compiling the HelloWorld app. with an additional 3rd party jar (cglib-nodep). The jar is in the lib/ folder and has been added to build path (add jar). Compiling gives these

[android-developers] Re: How can I launch the built-in picture viewer app from my app?

2009-02-09 Thread Mateo Aeon Ortega
The Activity I think you are looking for is: com.android.camera.ImageGallery2 On Feb 9, 12:09 pm, Freddy f...@charter.net wrote: I don't want to re-invent the wheel and would like to use the existing android picture viewer.  I've found some intents to launch built-in android app such as the

[android-developers] Problems with video emulator

2009-02-09 Thread Manuel Lucio Dallo
Hello everybody! I'm starting an application that needs to use the camera of the emulator. I'm trying to use the Tom Gibara classes --- http://www.tomgibara.com/android/camera-source But these classes use the CameraDevice and CaptureParams class, they seems to be depreciated now, look

[android-developers] Sub Activities in Tabs?

2009-02-09 Thread kilobike
Hi All, I have a tabbed applicationen setup. I like to keep the tabs visible at all times and work with its subactivites as 'more or less' standalone application threads. Within one or more of these tab subactivities, I'd like to start its own sub-activity, which should not hide the root tabs.

[android-developers] Launch Browser without starting a new Window

2009-02-09 Thread mattaku.betsu...@gmail.com
Hello, Let's say I have an app that has a search on Google button. Every time the user choose it, I want to bring up the browser and run a Google search. Currently, I use: startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)); However, each time, it launches a new Window inside the

  1   2   >