[android-developers] Re: Is there a way to control the Android phone or do a automated test using a remote PC?

2009-07-28 Thread chicochen
Thanks, I just read something about the instrumentation, and have the last question that is can we use instrumentation to control the app ui, such as click a button, input into textbox and click the keybord?. On 7月28日, 上午2时00分, Dianne Hackborn hack...@android.com wrote: You create an .apk with

[android-developers] return result of activity

2009-07-28 Thread dev
Hi, I have a instrumentation class test method which invokes is suppose to start an activity and wait for its result. My activity has only one intent android.intent.action.MAIN. What is wrong with the below code ? My activity oncreate returns setResult(0) , once it is finished its work this

[android-developers] Error while using Android Tool in the tools dir.

2009-07-28 Thread raj.10788
Hi, I am have the Ubuntu PC, where I installed the Android SDK 1.5 r3. But when I use adb that tool is working fine. But at the same time when I use the android command I am getting the following error. Exception in thread main java.lang.AssertionError at

[android-developers] Re: Android 1.5 SDK now available

2009-07-28 Thread rk
Hi, I am have the Ubuntu PC, where I installed the Android SDK 1.5 r3. But when I use adb that tool is working fine. But at the same time when I use the android command I am getting the following error. Exception in thread main java.lang.AssertionError at

[android-developers] About SurfaceView

2009-07-28 Thread Cold
1)Which is better for developing a game --a)Using XML layouts b)Using Custom layouts with Surface view 2) while making a custom view using Surface view... do we need to have a secondary thread to implement the

[android-developers] Re: Android 1.5 SDK now available

2009-07-28 Thread Dianne Hackborn
Hi, unfortunately there is no way for this to happen. There are a number of things at play: - Only critical bugs (typically meaning security bugs) are at all likely to warrant delivering an update. There is a lot of work around building (for the rapidly growing number of device configurations),

[android-developers] Re: How to get all table names in SQL database

2009-07-28 Thread Sujay Krishna Suresh
.tables is the sql instruction to retrieve all the tables in the db. try executing it asa sql statement with rawQuery. On Tue, Jul 28, 2009 at 12:45 PM, guishenl...@gmail.com guishenl...@gmail.com wrote: Hi all, I'm working at an application about SQLite database. I have inserted some

[android-developers] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-28 Thread f_heft
Hello, it seems like most of the users in the german android-hilfe.de board got it running perfectly under nearly every windows operating system (XP, Vista 32/64, Win7 32/64). I thought I were the only one who has still problems. I tried it so many times, uninstalled all old drivers, tried new

[android-developers] Can i display Gif animation on home screen?

2009-07-28 Thread android.vinny
HI Is it possible to display the Gif animation on the home screen or any screen where we presently opened. how can i show the Gif animation image playing in the Home scree. plz any body suggest me how to show the gif image on the screen instead out our layout thanks a lot in

[android-developers] Side effect of normal activity stack behaviour causes bug when used with Intent.FLAG_ACTIVITY_REORDER_TO_FRONT

2009-07-28 Thread adamphillips12
This took me awhile to understand and I will report it as a bug if I'm not corrected. You only need a basic new project (sdk 1.5r3) with two activty classes. A root/launcher activity with a button to start a second activity (of a different class). Everything else on default. Use the following

[android-developers] How can i access the home screen to show gif anim there..?

2009-07-28 Thread android.vinny
HI how can i access the Home screen .i need to show the gif animation there how can i show that gif image there how can i do it . thanks a lot in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: How can i access the home screen to show gif anim there..?

2009-07-28 Thread Romain Guy
You cannot do this. On Tue, Jul 28, 2009 at 12:44 AM, android.vinnyvinny.s...@gmail.com wrote: HI how can i access the Home screen .i need to show the gif animation there how can i show that gif image there how can i do it . thanks a lot in advance. -- Romain Guy

[android-developers] Changing standin animation in camera preview

2009-07-28 Thread Nithin
Hi, I am working on camera preview. I want to change the standin animation and want to put my own animation, any idea, how this can be done ?? Thanks Nithin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How can i access the home screen to show gif anim there..?

2009-07-28 Thread Desu Vinod Kumar
Hi Romain Guy thanks for response My requirement is to show the Gif animation and sound on the screen...instead of our layout . when i install my applicationif a new sms or email arrived to our mobile i should show some animation like notification u goa a mail /sms like that ...

[android-developers] Re: How can i access the home screen to show gif anim there..?

2009-07-28 Thread Desu Vinod Kumar
Hi As we are showing the toast at home screen .. like that why can't we bring the gif image animation on the screen i need to do this ...please help me regarding this i need to bring some characterswhen i go a new sms .or email On Tue, Jul 28, 2009 at 1:19 PM, Desu Vinod

[android-developers] Re: How to get all table names in SQL database

2009-07-28 Thread guishenl...@gmail.com
Thank you for answering! But I didn't catch your real meaning. Could you give me some exact code to show your point? On 7月28日, 下午3时25分, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: .tables is the sql instruction to retrieve all the tables in the db. try executing it asa sql statement

[android-developers] Re: DD command

2009-07-28 Thread Francesco Pace
Ok, thanks of all Dianne... 2009/7/28 Dianne Hackborn hack...@android.com Sorry, applications can't do this. On Mon, Jul 27, 2009 at 3:32 PM, Francesco Pace paxa...@gmail.com wrote: Sorry Dianne, so it's impossibile execute dump of (total) internal memory... Doesn't exist some methods?

[android-developers] Re: mysterious ant build error

2009-07-28 Thread Xavier Ducrohet
Hi Fred, I'm glad someone's working on a more powerful and flexible Ant system for Android. The basic Ant script we include with the SDK is really the minimum and it's not really flexible enough to add custom steps like many people need. I started looking at some of your stuff and in particular

[android-developers] Re: update for syncML (client) and android

2009-07-28 Thread tuergeist
ok. No updates on syncML :( --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: About Android Email architecture ??

2009-07-28 Thread Chris
I have source code with me, iam looking for some documentation on android email system. Thanks On Jul 28, 10:31 am, Dianne Hackborn hack...@android.com wrote: Full source is here: http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=s... On Mon, Jul 27, 2009 at 9:18 PM,

[android-developers] Displaying virtual keyboard in a custom View

2009-07-28 Thread LambergaR
Hello all! I am building a custom view and would like to pragmatically display the default on-screen input method (if any) when certain conditions are met. Due to some specific features of the view I am not able to reuse the TextView and EditText views with all the functionality already present.

[android-developers] Re: Two SurfaceViews in a FrameLayout

2009-07-28 Thread Chris
Thanks for the indepth reply! Maybe you as Android Framework Developer can give a recommendation on how I best implement the following: I have camera preview and want to overlay my own item over this that change very quickly (about every 200ms). The camera preview uses a SurfaceView as in the

[android-developers] Re: Changing standin animation in camera preview

2009-07-28 Thread Nithin
Hi, Now, in camera preview, a square is moving, I just want to remove the square and want to put my own image, How to achieve this, any idea ?? Thanks Nithin On Jul 28, 12:46 pm, Nithin nithin.war...@gmail.com wrote: Hi, I am working oncamerapreview. I want to change the standin animation

[android-developers] Could I read call_log by Intent?

2009-07-28 Thread Wang He
Dear all Here in my activity I set a call_log Uri as: uri = Uri.parse(content://call_log/calls/4); I wrote code as: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(uri, getContentResolver().getType (uri));

[android-developers] could i get email recieve notification from intents?

2009-07-28 Thread android.vinny
Hi could i get email recieve notification from the Intent... how can i get the email recieve notification... thanks a lot in advanc --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Displaying virtual keyboard in a custom View

2009-07-28 Thread LambergaR
There is a small typo in my post, obviously I would like to display the on-screen keyboard programmatically and not pragmatically :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: About Android Email architecture ??

2009-07-28 Thread David Turner
There are a number of comments in the source code.I'm sorry but you will have to look at it to get what you want. On Tue, Jul 28, 2009 at 10:41 AM, Chris narendrasingh.bi...@gmail.comwrote: I have source code with me, iam looking for some documentation on android email system. Thanks On

[android-developers] Re: Could I read call_log by Intent?

2009-07-28 Thread Wang He
Ps. 1. content://call_log/calls starts 07-28 17:58:35.930: INFO/ActivityManager(498): Starting activity: Intent { action=android.intent.action.MAIN flags=0x1020 comp= {com.android.phone/com.android.phone.DialtactsActivity} } 2. content://call_log/calls/XXX suppose to start 07-28

[android-developers] Re: How can i catch the notification from in built mail in mobile?

2009-07-28 Thread Mark Murphy
Desu Vinod Kumar wrote: Is no other way to display when a new mail arrived please i need it urgently. You have already been told no. K-9 can display its own notifications because K-9 is the one receiving the mail. If you wish to rewrite the built-in mail application and deploy it to your

[android-developers] Custom GridView

2009-07-28 Thread ioRek
Hello, I tried to make my own Custom GridView by extending ViewGroup as I saw in the photostream application. I now have what I want for the measure and layout but the scrolling isn't working. When I look to the GridView code, it let me think that it's too much work to have a good scroll. So I'm

[android-developers] savedInstanceState Textview text problem.

2009-07-28 Thread Ne0
Hi, My activity displays a text view where the text is constantly changed with updates from a LocationListener. When returning to the activity after navigating away, the text view comes back with the savedInstanceState state but any changes to the text in the text view dont. How do i get the

[android-developers] Re: savedInstanceState Textview text problem.

2009-07-28 Thread Mark Murphy
Ne0 wrote: My activity displays a text view where the text is constantly changed with updates from a LocationListener. When returning to the activity after navigating away, the text view comes back with the savedInstanceState state but any changes to the text in the text view dont. How do i

[android-developers] Re: savedInstanceState Textview text problem.

2009-07-28 Thread Ne0
Thanks, i will approach it that way. On 28 July, 11:28, Mark Murphy mmur...@commonsware.com wrote: Ne0 wrote: My activity displays a text view where the text is constantly changed with updates from a LocationListener. When returning to the activity after navigating away, the text view

[android-developers] Re: Changing standin animation in camera preview

2009-07-28 Thread Nithin
Hi, Is it possible to remove that standin animation and to put our own ?? Sombody please help.. On Jul 28, 2:24 pm, Nithin nithin.war...@gmail.com wrote: Hi, Now, in camera preview, a square is moving, I just want to remove the square and want to put my own image, How to achieve this, any

[android-developers] display thumbnail images from sdcard

2009-07-28 Thread jaimin
hi. i can not view any image in my emulator screen can anyone please tell me where i am doing wrong in my code. this is my code ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=image.Thumbnails android:versionCode=1

[android-developers] How to modify HTTP PROXY by using Android API?

2009-07-28 Thread Aaron Li
Hello all, I found a statement in SDK document about HTTP PROXY. It seems that there is no way to modify HTTP PROXY directly by using API since this becomes read only in Settings.Secure.HTTP_PROXY . Is there any other way to change this settings? either via UI or function call. Any help would

[android-developers] Using SDk provided images

2009-07-28 Thread swapnil
Hi, There are images provided in android-sdk-windows-1.5_r2\platforms \android-1.5\data\res\drawable folder of SDK. Is there any way that we can use those directly in appliation. (without local copy)? Thanks best Regards; Swapnil Dalal --~--~-~--~~~---~--~~

[android-developers] Re: Using SDk provided images

2009-07-28 Thread String
On Jul 28, 11:57 am, swapnil swapnil.da...@gmail.com wrote: There are images provided in android-sdk-windows-1.5_r2\platforms \android-1.5\data\res\drawable folder of SDK. Is there any way that we can use those directly in appliation. (without local copy)? Certainly some of them can be

[android-developers] Re: Using SDk provided images

2009-07-28 Thread Mark Murphy
String wrote: Certainly some of them can be accessed with resource identifiers like android.R.drawable.[file_name]. For example, I'm using the standard Settings menu icon by referencing android.R.drawable.ic_menu_preferences. I suggested that once on this list, and a member of the core

[android-developers] Increasing DNS timeout values

2009-07-28 Thread 葉子
It's easy to find pages about Increasing DNS timeout values ,ex: http://groups.google.com/group/mailing.postfix.users/browse_thread/thread/ee84080313a99313/e83d2579f9334fc9?hl=zh-TWq=RES_TIMEOUT#e83d2579f9334fc9 I found similar variable in the file: bionic/libc/private/resolv_private.h LN#131

[android-developers] Re: Increasing DNS timeout values

2009-07-28 Thread Mark Murphy
葉子 wrote: It's easy to find pages about Increasing DNS timeout values ,ex: http://groups.google.com/group/mailing.postfix.users/browse_thread/thread/ee84080313a99313/e83d2579f9334fc9?hl=zh-TWq=RES_TIMEOUT#e83d2579f9334fc9 I found similar variable in the file:

[android-developers] Attach multiple images

2009-07-28 Thread SrilankanKK
Hi i have put this question on several time on the Developer forum. But i didn't get any answer. I build an email application using intents. I can send a email with one image attachment. I tried to attach multiple images using putExtra () method.But it still send only a single image if any

[android-developers] Android kernel download

2009-07-28 Thread aparna
Hi All, I'm new to Android.. I'd like to download the android kernel completely. Can I know from where I can get the site to install the android kernel and also the complete source code of the emulator. Also from where can I get the patches of the git? Regards Aparna

[android-developers] Managed Cursor, Providers, and Exceptions

2009-07-28 Thread Al Sutton
I keep hitting something which makes me wonder if I'm doing something wrong. I have a few Activities, each of which has a ExpandableList and a ResourceCursorTreeAdapter which is given a cursor from Activity.managedQuery when the adapter is created in the onCreate method of the activity. There

[android-developers] Re: Beginner Application Development

2009-07-28 Thread timf999
Thanks for that. Just wondering, does anyone have a sample app that they've made that I can experiment with? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Android kernel download

2009-07-28 Thread Mark Murphy
aparna wrote: Hi All, I'm new to Android.. I'd like to download the android kernel completely. Can I know from where I can get the site to install the android kernel and also the complete source code of the emulator. Also from where can I get the patches of the git?

[android-developers] Re: Beginner Application Development

2009-07-28 Thread Mark Murphy
timf999 wrote: Thanks for that. Just wondering, does anyone have a sample app that they've made that I can experiment with? Thanks. There are many samples in with the SDK (platforms/android-1.5/samples inside of wherever you installed your SDK). Most of the Android books have sample

[android-developers] Re: Error while using Android Tool in the tools dir.

2009-07-28 Thread Fred Grott(shareme)
what java environment are you using enter: java -version and post the printout here.. On Jul 28, 1:48 am, raj.10788 raj.10...@gmail.com wrote: Hi, I am have the Ubuntu PC, where I installed the Android SDK 1.5 r3. But when I use adb that tool is working fine. But at the same time when I

[android-developers] Re: OpenGL leaking garbage

2009-07-28 Thread smartpixgames
Definitely, without any processing, it looks like function calls gl.glVertexPointer(2, GL10.GL_FLOAT, 0, vBuffer); gl.glDrawElements(GL10.GL_TRIANGLES, 3, GL10.GL_UNSIGNED_SHORT, iBuffer); causes intenal memory allocations. Switching to GL_FIXED instead of GL_FLOAT doesn't help. This

[android-developers] Re: Using SDk provided images

2009-07-28 Thread String
On Jul 28, 12:22 pm, Mark Murphy mmur...@commonsware.com wrote: android.R.drawable.ic_menu_preferences. I suggested that once on this list, and a member of the core Android team pointed out that this is a really bad idea, since those resource values might change, or the underlying graphics

[android-developers] MediaScannerConnection cant connect!

2009-07-28 Thread SurtaX
I am trying to use MediaScannerConnection to update content provider of a newly downloaded MP3. However no matter what I do it does not seem to be able to connect. I have even put this chunk of code into onCreate and hardcoded to path of an existing file but still no dice.

[android-developers] APNG supported

2009-07-28 Thread Fred Grott(shareme)
For those in the dark APNG is animated PNG graphics files. I was wondering if Android SDK supported APNG files.. Fred Grott http://mobilebytes.wordpess.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Using SDk provided images

2009-07-28 Thread Mark Murphy
String wrote: On Jul 28, 12:22 pm, Mark Murphy mmur...@commonsware.com wrote: android.R.drawable.ic_menu_preferences. I suggested that once on this list, and a member of the core Android team pointed out that this is a really bad idea, since those resource values might change, or the

[android-developers] Re: Any updates on ADC-2?

2009-07-28 Thread jmhermelin
May we have an official answer from google ? On 15 juil, 18:20, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Looks like the app has to be written with the SDK. See the official terms and conditions for the exact wording. My application works only in the US, I wonder if that will

[android-developers] Re: How can i access the home screen to show gif anim there..?

2009-07-28 Thread Desu Vinod Kumar
Hi thanks for ur response when we close the app also it should animate upto when we dissmiss that gif image upto that it should animate it possible... On Tue, Jul 28, 2009 at 6:38 PM, rollbak roll...@gmail.com wrote: Hello, You need to extend a class from *BroadcastReceiver* and then add it

[android-developers] Re: How can i access the home screen to show gif anim there..?

2009-07-28 Thread rollbak
Hello, You need to extend a class from *BroadcastReceiver* and then add it to a reciever tag in your AndroidManifest.xml public class SMSReceiver extends BroadcastReceiver{...} receiver android:name=.SMSReceiver intent-filter action

[android-developers] Facebook api for Android

2009-07-28 Thread luyen
Our member has a question about Facebook api for Android, can some one give us a help: Quote: hi Guyz, I m developing an application in which on a single click of button will redirect me to my facebook account where i can upload my personalised images . I m finding it difficult to do it as still

[android-developers] Re: Any updates on ADC-2?

2009-07-28 Thread Maps.Huge.Info (Maps API Guru)
The terms are fairly plain and obvious if you read them: a. SUBMISSION OF ENTRIES: To qualify for a Prize, an Entry to the Challenge consists of an original application that is written using a version of the Android Software Development Kit (SDK) (available at http://developer.android.com) that

[android-developers] Re: Can't find file with OpenFile

2009-07-28 Thread Charlie Collins
Window-Show View-Android-File Explorer Or you can use the DDMS file explorer: http://developer.android.com/guide/developing/tools/ddms.html. Or you can use adb shell to connect and browse around manually (ls / data/data - for example):

[android-developers] Re: How to get all table names in SQL database

2009-07-28 Thread Yusuf T. Mobile
It depends if you want all the tables programmatically or if you can do it in the command line. Sujay's answer was from the command line. So starting a few steps back, you type: adb shell # cd /data/data # cd com.android.providers.contacts # cd databases # sqlite3 contacts.db SQLite version

[android-developers] Re: Any updates on ADC-2?

2009-07-28 Thread Zsolt Váradi
On Tue, Jul 28, 2009 at 3:42 PM, Maps.Huge.Info (Maps API Guru)cor...@gmail.com wrote: There is no ambiguity, the SDK is required. -Jonn Coryat It's not like you had any other choice for application development. But the original question was about using the NDK with the SDK, and it's still

[android-developers] Correct intent to launch gallery / video camera

2009-07-28 Thread admin.androidsl...@googlemail.com
My application has buttons to launch gallery and video camera apps but the below code only seems to work on phones with the standard Cupcake build : // For Gallery Intent intent = new Intent(); intent.setClassName(com.android.camera, com.android.camera.GalleryPicker);

[android-developers] how to avoid activity restart at keyboard open or close

2009-07-28 Thread Sundar
Hi, I have fixed the activity screen orientation to portrait on AndroidManifest.xml file. When I open or close the keyboard the activity gets restarted. How to avoid this restart? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Log with Production App

2009-07-28 Thread mjc147
I know its not the same, but is this a more recommended approach than to wrap each log with a call to Log.isLoggable()? I know this would not have the benefits (like app size) you mentioned, but, since I've had problems with the isLoggable() method anyway, it seems like a simple and effective

[android-developers] is it possible to display a multi column list ?

2009-07-28 Thread jerryfan2000
Hi, I am looking for a way to create a Microsoft data grid style list in android. But I am wondering is there any available built in component capable of doing this job such as listview? Thanks --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] How to Set Dialog Orientation

2009-07-28 Thread doubleslash
My underlying actitvity is set to landscape orientation, but when I show the dialog, I'd like it to be in portrait (vertical) orientation. I set the orientation in my layout to be vertical but that didn't help. The Dialog class doesn't have a method for such a thing. Can someone help?

[android-developers] Re: Unicode characters via resource element

2009-07-28 Thread Jason Van Anden
Is no one biting because I used no avail twice? On Mon, Jul 27, 2009 at 1:21 PM, Jason Van Anden jason.van.an...@gmail.comwrote: I posted this in beginner to no avail. Perhaps this is one for developers ... I want to use unicode characters in a toast. I can do this via code. I am not

[android-developers] Re: Correct intent to launch gallery / video camera

2009-07-28 Thread Jack Ha
VideoCamera doesn't exist before Cupcake. -- Jack Ha Open Source Development Center ・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 Jul

[android-developers] Re: MediaScannerConnection cant connect!

2009-07-28 Thread quill
Use MediaScannerConnectionClient. If you don't know how to use, search MediaScannerConnectionClient in this forum. On 7月28日, 下午8时55分, SurtaX garylo@gmail.com wrote: I am trying to use MediaScannerConnection to update content provider of a newly downloaded MP3. However no matter what I do

[android-developers] Re: update for syncML (client) and android

2009-07-28 Thread angelo
funambol do have a second release of the syncml client which did do contacts,events and tasks but I couldnt get it to work with my companys syncml server (the paths were incorrect).. Unfortunatly my knowledge of ant and all the deployment tools aint good enough to rewrite the urls and try.. :-(

[android-developers] Re: Attach multiple images

2009-07-28 Thread Jack Ha
As far as I know, it only supports one attachment as Intent.putExtra() will replace any existing value for the given key. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Re: Attach multiple images

2009-07-28 Thread quill
I don't think the current email application support this. Just my opinion. :-) On 7月28日, 下午7时31分, SrilankanKK k2er...@gmail.com wrote: Hi i have put this question on several time on the Developer forum. But i didn't get any answer. I build an email application using intents. I can send

[android-developers] How to use Arial font with Webview

2009-07-28 Thread Peacemoon
I user a webview control in my app to display some local data (load loadData method) . Now i want to display some unicode characters and i have used tag: font face=Arialsomething herer/font . But it seems that webview can not find the Arial font because i can only see UFO - Characters . Do i

[android-developers] Re: how to avoid activity restart at keyboard open or close

2009-07-28 Thread Jack Ha
I don't believe you can avoid that. Your code just needs to handle it correctly. -- Jack Ha Open Source Development Center ・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

[android-developers] Re: could i get email recieve notification from intents?

2009-07-28 Thread Jack Ha
No, you won't be able to receive new email arrival notification. -- Jack Ha Open Source Development Center ・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

[android-developers] Re: Managed Cursor, Providers, and Exceptions

2009-07-28 Thread Hong
I think this is your code here: $MyCursorHelper$MyContentObserver.onChange(CursorTreeAdapter.java:503) Looks like when you switching between activities and multiple data population tasks are going on, they have conflicting Cursor state in your onChange method. You might want to use a static

[android-developers] Re: MediaScannerConnection cant connect!

2009-07-28 Thread Marco Nelissen
On Tue, Jul 28, 2009 at 5:55 AM, SurtaX garylo@gmail.com wrote: I am trying to use MediaScannerConnection to update content provider of a newly downloaded MP3. However no matter what I do it does not seem to be able to connect. I have even put this chunk of code into onCreate and

[android-developers] Re: Sqlite problem, urgent request!

2009-07-28 Thread Hong
has this LIMIT clause as argument been implemented yet? thanks On Thu, Apr 10, 2008 at 4:55 PM, Megha Joshimjo...@google.com wrote:  Hi,  A future release of the SDK will provide a SQLiteDatabase.query() which takes LIMIT clause as an argument.  For now you can use the use execSQL() method

[android-developers] Re: Can't find file with OpenFile

2009-07-28 Thread Lorenz
THanks Charlie, and thanks to Mark, now I've a new problem, I'm very sorry but I'm a beginners of Android , I'm not able to read a file!! First of all I've found the file in the File explorer, but I can see only the icon and can't open it ,it seems also tha the file Data.dat is empty, as a matter

[android-developers] Re: TIME_TICK in an AppWidget?

2009-07-28 Thread nEx.Software
Jeff, is there some way to change the dial at runtime? On Jul 13, 3:51 pm, Jeff Sharkey jshar...@android.com wrote: Is there any way to make thedialdynamic? That's a crucial part of the app I'm trying to build. Yep, assign a drawable to android:dial just like the other attributes.  Here's

[android-developers] Spent 3 weeks building 'Launcher'(Home) application. Please help. T_T

2009-07-28 Thread alucard20004
(Please excuse me for my imperfect English.) Hi. this is me: - My skill : 80% artist / 20% programming. - Now 6 months into Android development. - My goal is to use my art skills to customize the Launcher application. Current situation: (please forgive this long story) 1. I'm trying to build

[android-developers] Re: Spent 3 weeks building 'Launcher'(Home) application. Please help. T_T

2009-07-28 Thread Romain Guy
The source code works but cannot be compiled with the SDK. You need to build the Android source tree from where you got Launcher's source code and build Launcher in that tree. On Tue, Jul 28, 2009 at 9:37 AM, alucard20004alucard20...@gmail.com wrote: (Please excuse me for my imperfect

[android-developers] Re: IMplementing flood fill algorithm on the bitmap

2009-07-28 Thread karthikr
Hi Guys, I have been trying very hard to get the flood fill algorithm implemented. But its taking a long time, can someone help me with some examples or some guidelins for the same? Regards, R.Karthik On Jul 23, 8:31 pm, karthikr karthik.scintill...@gmail.com wrote: Hi Guys, Any help on

[android-developers] Re: Can't find file with OpenFile

2009-07-28 Thread Marco Nelissen
On Tue, Jul 28, 2009 at 9:29 AM, Lorenz lorenzoteod...@gmail.com wrote: THanks Charlie, and thanks to Mark, now I've a new problem, I'm very sorry but I'm a beginners of Android , I'm not able to read a file!! You might want to try the android-beginners group.

[android-developers] Re: Spent 3 weeks building 'Launcher'(Home) application. Please help. T_T

2009-07-28 Thread Dianne Hackborn
Also, you really need to take the version of the code that matches the version of the platform it is to run on (i.e., cupcake for 1.5). You'll cause yourself lots of extra trouble trying to back-port a more recent version of code to an older version of the platform; this is probably the reason

[android-developers] Re: Spent 3 weeks building 'Launcher'(Home) application. Please help. T_T

2009-07-28 Thread alucard20004
Hi. Thank you for the fast reply. build the Android source tree from where I got Launcher's source ? I assume that can't be done in Windows, correct? according to this message from http://source.android.com/download : To build the Android source files, you will need to use Linux or Mac OS.

[android-developers] Re: Can't find file with OpenFile

2009-07-28 Thread Lorenz
ok Thanks.. On Jul 28, 6:42 pm, Marco Nelissen marc...@android.com wrote: On Tue, Jul 28, 2009 at 9:29 AM, Lorenz lorenzoteod...@gmail.com wrote: THanks Charlie, and thanks to Mark, now I've a new problem, I'm very sorry but I'm a beginners of Android , I'm not able to read a file!! You

[android-developers] Re: display thumbnail images from sdcard

2009-07-28 Thread Jack Ha
Your code seems to work fine. Did you see any errors in the logcat output? Did you specify the sdcard image? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and

[android-developers] Re: Using SDk provided images

2009-07-28 Thread Dianne Hackborn
The issue isn't with the icons being renamed (they can't be, they are part of the public API). It is that you can count on different devices having different looks for these icons, so unless your applications able to -only- use the icons available in the system and none of its own, on an

[android-developers] how to disable android keybaord by default

2009-07-28 Thread Morris
Hi All: The default settings of Android Keyboard is enabled(settings - localtext - android keyboard --check). I would like to disable (unchecked) it by default. I couldn't know how and where to modify the code to let it be disabled by default at my first time when I open the android system.

[android-developers] Fonts of different families and sizes for widgets

2009-07-28 Thread rizwan
hi, I m new to android dev ,can anyone share me the code snippet to play with fonts of different families and sizes for TextView .I have seen many tutorials based on Canvas. but no way to change fonts of Android widgets . Thanks --~--~-~--~~~---~--~~ You received

[android-developers] android.R.drawable resources, mutate(), and StateListDrawable question

2009-07-28 Thread Mike
I am trying to create a Drawable from android.R.drawable.list_selector_background and mutate it so that I may change some of the drawables states for the StateListDrawable that is returned. I would like to be able to change the default enabled state drawable for the StateListDrawable to a

[android-developers] View Files on a remove server/PC

2009-07-28 Thread johnny
Is anyone aware of a way to view the directory structure and files on a remote server or PC? Is there an existing app for this? Thanks in advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Flipping / Rotating TextView (or layout) upside-down

2009-07-28 Thread jhoffman
Romain, the solution you gave me works perfectly for rotating the layout upside-down. Unfortunately, I now have another problem! After the layout has been rotated, the Views no longer respond to clicks and long clicks. Inside of the RelativeLayout I am rotating, I have a textView that I allow the

[android-developers] Press Back key programmatically

2009-07-28 Thread Peacemoon
i want to trigger the onKeyDown listener programmatically but don't know which method i should call? Does anyone know? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Press Back key programmatically

2009-07-28 Thread Marco Nelissen
What is it that you're trying to achieve? If you want your activity to exit, call finish() If you want onKeyDown to be called for some reason, just call onKeyDown() On Tue, Jul 28, 2009 at 12:51 PM, Peacemoon tran.bin...@gmail.com wrote: i want to trigger the onKeyDown listener

[android-developers] Re: serialization is taking too long, what can I do in terms of the activity life cycle

2009-07-28 Thread Dan Bornstein
On Mon, Jul 27, 2009 at 9:24 PM, Dianne Hackborn hack...@android.com wrote: On Mon, Jul 27, 2009 at 8:35 PM, rukiman ruksh...@optushome.com.au wrote: Yes I did mean Java serialization. Any reason why I can't use it (apart from it being slow) ? Um...  it being super-crazy slow? :) It's also

[android-developers] Re: bad compass and sensor data (stuck data).

2009-07-28 Thread Richard Schilling
There are lots of reasons sensors, especially digital compasses fall out of calibration. It's just part of the behavior we have to deal with. What I would like to know is how the Google dev team for Sky Map handles these conditions. Cheers, Richard On Jul 23, 7:55 am, Rud k5...@arrl.net

[android-developers] Re: CameraPreview: Out of memory

2009-07-28 Thread Richard Schilling
I am doing this as well. I still get the out of memory errors. Here's my setup - 1. I create a main menu activity that shows an introductory screen. There's a big START button on that screen. When pressed, it opens a second activity with the camera preview SurfaceView on it. 2. When the

[android-developers] Re: is it possible to display a multi column list ?

2009-07-28 Thread Jack Ha
There's no built-in data grid component. -- Jack Ha Open Source Development Center ・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 Jul

  1   2   >