[android-developers] Home Screen source code in SDK 1.0

2009-02-06 Thread Jose Cortes
Hello everybody. I have been looking the home Screen source code (The Launcher code) in the Android project page: http://android.git.kernel.org/ And, in this case, there are some classes that are not implemented in the actual public SDK (1.0), like android.provider.LiveFolders. I supose that is

[android-developers] Question on Multicomplete Text View

2009-02-06 Thread for android
I need to use a CursorAdapter to display the contacts in an auto complete view.When the user has selected/typed the contacts he wants , how do i retrieve the ids of the contacts he has typed in or selected. I tried to use the onItemClicked,but if the user has typed the contact name himself,I have

[android-developers] File Reading Writing Problem

2009-02-06 Thread Sajid Iqbal
I am trying to read write a text file, what am I doing is 1- Have made a text file raw folder in res (in my project) 2- try to read this file from code, inside an activity, below is the code InputStream inputStram=appContext.getResources().openRawResource(R.raw.TestFile); byte

[android-developers] Re: problem with playing sounds using media player

2009-02-06 Thread suhas gavas
Hi, I have used media player in my formal game which was 2d game ... At that time I used view . But now its 3d game and so i have extended surfcae view . So much rendering is done at run time . So i thing this must be issue as cpu is overloaded and i have

[android-developers] Re: SSL certificate bypassing for DigiCert

2009-02-06 Thread Eric Chan
I met the same problem as you, if any solution please let me know? Best Regards Eric Chan On Fri, Jan 9, 2009 at 1:17 AM, NitroDesk gsuku...@gmail.com wrote: Hello, We have pulled a lot of hair out for this one. We use the DefaultHttpClient to connect with exchange servers. In order to

[android-developers] Re: ListView: Disable Focus Highlight

2009-02-06 Thread Marco Schmitz
otherwise try it with your own theme. you need to take a look at theme.xml and styles.xml in your sdk in order to manipulate your list selector (which is shown above your list items, so manipulating them wont help) greetings darolla 2009/2/6 BoD bodl...@gmail.com: Thanks a lot, I'll try that.

[android-developers] Re: how to add 3-4 items in list view

2009-02-06 Thread Marco Schmitz
you need to create an xml for each children row. please take a look at the 14 list source codes inside your api samples. greetings, darolla 2009/2/6 munish munish.sha...@lntinfotech.com: Can any one please tell me how to add multiple items (images/text) in list view

[android-developers] Re: how to add 3-4 items in list view

2009-02-06 Thread munish
hey thanx Marco. On Feb 6, 3:16 pm, Marco Schmitz netzprofi.ma...@googlemail.com wrote: you need to create an xml for each children row. please take a look at the 14 list source codes inside your api samples. greetings, darolla 2009/2/6 munish munish.sha...@lntinfotech.com:

[android-developers] Re: How to programmically add a new contact in android

2009-02-06 Thread MichaMicha
values.clear(); doesn't look right, right? On 6 feb, 08:30, Meryl Silverburgh silverburgh.me...@gmail.com wrote: Hi, I am trying to programmically add a new contact in android. What I did is this:   Uri uri = Contacts.People.CONTENT_URI;                

[android-developers] Re: OutOfMemoryError BitmapFactory.nativeDecodeByteArray inside Threads

2009-02-06 Thread blindfold
I had only problems with memory leaks beetween application launches. I had exactly the same problem until recently, and for the time being just used System.exit(1) at the end of onDestroy() for a fresh restart. Causing a memory exception might have partially the same effect, but probably

[android-developers] access to class not allowed

2009-02-06 Thread johnny
I get an apk file from somewhere. I tried to install it the emulator successfully. (The emulator is built from the latest code in AOSP which should be cupcake or later). But I can't launch the application from the GUI. It complains The application xxx has stopped unexpectedly. After checking the

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

2009-02-06 Thread Mike Reed
There is not (afaik) yet. What specific uses do you have (to help scope the request)? On Fri, Feb 6, 2009 at 5:43 AM, GiladH gila...@gmail.com wrote: Hey guys, Is there a way to directly access a Jpeg's file metadata, without having to go through the ImageManager services? Tnx, GiladH

[android-developers] Re: BitmapShader performance

2009-02-06 Thread Mike Reed
Doh! You've stumbled across a known missing optimization. No promises, but this has been identified as an future optimization. The dirty details are that the current code has special optimizations for a straight drawBitmap when there is no matrix (other than translate). In addition, there is

[android-developers] Re: how to add 3-4 items in list view

2009-02-06 Thread mscwd01
This was a little confusing to me at first so I hope this code extract will help you out: Java: -- public View getView(int position, View convertView, ViewGroup parent) { // Inflate row layout from 'list_row.xml' View row = inflater.inflate(R.layout.list_row,

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

2009-02-06 Thread GiladH
Hey guys, Is there a way to directly access a Jpeg's file metadata, without having to go through the ImageManager services? Tnx, GiladH --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Problem

2009-02-06 Thread Marco Schmitz
hi, maybe you start with the onTouchEvent which each Activity has: public boolean onTouchEvent(MotionEvent event) {...} then you can get the Id of each button. changing the way the button looks can be manipulated using button.setBackground(). there you can add a resource (like a .png or a

[android-developers] Updation of the Media Data base in emulator only on bootup/mount/recording?

2009-02-06 Thread Rishi
When i added a media file to the sdcard an update in the MediaProvider database is not happening. When i bootup the emulator it happens . Is this the expected behaviour ? - Rishi Kaura --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: Home Screen source code in SDK 1.0

2009-02-06 Thread Marco Schmitz
you can download the whole 2gb android sources using GIT (there is a windows implementation for that, too) :) greetings, darolla 2009/2/6 Jose Cortes jbeerb...@gmail.com: Hello everybody. I have been looking the home Screen source code (The Launcher code) in the Android project page:

[android-developers] Re: Debugging applications with Google MAP api on an actual device

2009-02-06 Thread Eric Chan
I met the same problem with you, pls let me know if you got the answer. * * On Fri, Dec 5, 2008 at 3:20 AM, BobW b...@whelanhome.com wrote: When I run my map application in the debugger, I can see the map on the emulator (I have a MAP key for my debugger from Google), but I can't see it from

[android-developers] Re: WebView responding to touch events

2009-02-06 Thread Fred Grott(shareme)
I have been looking for this information can you detail if it occurs both in emulator and/or device? On Feb 5, 9:46 am, Mark Nuetzmann mark.nuetzm...@gmail.com wrote: I just tried adding an OnTouchListener to the webview and I get ALL the touch events.  However, the links in the webview to

[android-developers] Re: How to programmically add a new contact in android

2009-02-06 Thread Meryl Silverburgh
That line is after my first insert. On Fri, Feb 6, 2009 at 4:23 AM, MichaMicha micha.okker...@gmail.com wrote: values.clear(); doesn't look right, right? On 6 feb, 08:30, Meryl Silverburgh silverburgh.me...@gmail.com wrote: Hi, I am trying to programmically add a new contact in android.

[android-developers] Sampling

2009-02-06 Thread Sundog
Is it possible to piggyback the audio stream or the microphone and get raw sample data from it? Can anyone point me to some documentation? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Application storage data growing

2009-02-06 Thread Rmac
I've had debugging on from the beginning. What I need is something that can tell me exactly what is in the application's data area that Android reports via Settings for managing applications. I am sure my application is adding to it somehow, but I have no handle to tell what content is stored

[android-developers] Re: Home Screen source code in SDK 1.0

2009-02-06 Thread Romain Guy
Hi, The GIT repository has a branch called release-1.0 which contains the source code of Home as found in SDK 1.0. On Fri, Feb 6, 2009 at 3:48 AM, Jose Cortes jbeerb...@gmail.com wrote: Well, I can download the branch of the project I need (I have done that). The point is, that I need to

[android-developers] Re: OutOfMemoryError BitmapFactory.nativeDecodeByteArray inside Threads

2009-02-06 Thread ad
Exception throwed on application start causes bitmaps memory freeing. That's all, I had only problems with memory leaks beetween application launches. So that's the best solution for me right now. Regards. avram On Jan 27, 12:09 am, blindfold seeingwithso...@gmail.com wrote: Check first, and

[android-developers] Re: Home Screen source code in SDK 1.0

2009-02-06 Thread Jose Cortes
Well, I can download the branch of the project I need (I have done that). The point is, that I need to work with the present SDK, the official, and I need to know how present Home is made. The fires that are on the web (Android source code) are in development, so they are using, probably, the SDK

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

2009-02-06 Thread Justin (Google Employee)
Ronald, I've asked the Market team to take a look at your app specifically. I'll update you as I get new information. Cheers, Justin Android Team @ Google On Feb 5, 12:43 pm, Ronald van der Lingen lin...@jsource.nl wrote: At this moment the developer console is still showing 0 downloads

[android-developers] Re: how to set RESULT_OK when activity exit?

2009-02-06 Thread Al
You need to call setResult before calling finish(), e.g. setResult(RESULT_OK); finish(); You can also pass data back to the previous activity using: setResult(int, Intent); On Feb 6, 6:24 am, jj jagtap...@gmail.com wrote: how to set RESULT_OK when activity exit? I am launching list

[android-developers] Re: Querying in Sqlite

2009-02-06 Thread Al
Hi, I'm not sure exactly what you mean. If you mean something like mysql command line interface, you can use sqlite3 from adb shell to execute queries directly. On Feb 6, 6:32 am, And-Rider rahulregunat...@gmail.com wrote: Is it possible to pass a query directly and check the values that has

[android-developers] Re: Application storage data growing

2009-02-06 Thread Dianne Hackborn
Unfortunately it's a little tricky, because only your app (and some very very low-level parts of the system) can touch your data. You can, however, just add some code to your app that iterates through your data directories with the standard Java File APIs and prints out what it finds. On Fri,

[android-developers] Re: custom EditText that executes callback function

2009-02-06 Thread Al
How about something like this: public class myClass extends Activity implements OnKeyListener { private EditText mInput; @Override public void onCreate(Bundle savedState) { //set layout and initialize mInput and set the keyListener to 'this' } @Override public boolean onKey (View v, int

[android-developers] Re: RC33 for Dev Phone

2009-02-06 Thread Timothy DeWees
So do I need a special update package other than the ones signed by Google linked here: http://forum.xda-developers.com/showthread.php?t=479571 On Feb 5, 9:52 pm, Jean-Baptiste Queru j...@android.com wrote: The bootloader does allow unsigned filesystem images. The recovery system still

[android-developers] OpenGL Ambient Lighting

2009-02-06 Thread Patrick
I'm getting some strange results when enabling ambient lights in openGL. After some experiments, I determined that for some reason, the ambient light color is multiplied by 0.2f. That is, setting an ambient light of color ( 5.0f, 0.0f, 0.0f, 1.0f ) is needed to get a pure red ambient, not the

[android-developers] Re: Sampling

2009-02-06 Thread Dave Sparks
No, this is not supported in SDK 1.0. On Feb 6, 8:34 am, Sundog sunns...@gmail.com wrote: Is it possible to piggyback the audio stream or the microphone and get raw sample data from it? Can anyone point me to some documentation? Thanks. --~--~-~--~~~---~--~~

[android-developers] SOS: Please Help: IMport SMS from XML file to G1

2009-02-06 Thread babeinwoods
Alright, folks, I was a WM5 user - TMobile MDA (in UK TMobile MDA Vario), and I switched to Android (TMobile G1) There are some important messages that I want to keep (i.e. transfer from MDA to G1). But as HTC (makers of MDA)'s website says, there's no way of synching SMSs with PC...that there

[android-developers] Re: problem with playing sounds using media player

2009-02-06 Thread dengjiuhong
I found SoundPool is very useful! On Feb 6, 1:22 pm, suhas gavas suhas.ga...@gmail.com wrote: Hi, No ... i m not playing 6 to 7 mp3 files at same time .. later that day i have tried with just playing one single file and same issue . But then i tried SoundPool

[android-developers] my Activity extending ListActivity,null pointer exception when i select a list item which overstep the screen. why

2009-02-06 Thread george
code: @Override protected void onListItemClick(ListView l, View v, int position, long id) { LinearLayout line = (LinearLayout)getListView().getChildAt (position); } --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Problem with audio recording

2009-02-06 Thread bubble.vnhan
You shout creat new MediaRecorder one time, so that you shout creat new MediaRecorder() inside part of buttonRecorder. And also, you shout use method audioRecorder.stop(). if you correct 2 issue above, you will fix this bug. if(v==buttonRecording){ audioRecorder

[android-developers] Re: Android and Java Security Running Together

2009-02-06 Thread NguyenVinh
Hi Daniel, Your post is a good news for me. Actually, the dex jar files that were signed is so strange for me. Currently, when DexFile wants to load a class of them (i.e. the dex jar file), they define this class with a null ProtectionDomain parameter. A way to fulfill the security for the dex

[android-developers] How to create two emulator instances in SDK 1.0 r2

2009-02-06 Thread mayank.android
Hi I am new to android, I am creating a app in which i want to send and receive SMS. using Android 1.0 r2 release, found that there is less classes is there which is provide support then compare to prevoius release, so by reading some fourum comment I get success in receiving the sms

[android-developers] How to add shortcut in home screen by modifying config file ?

2009-02-06 Thread HelloWorld
Dear all, Would you please point me how to add more shortcuts in home screen? -- I want to do this by modifying config file rather than draging an app and dropping it on home screen. Namely, I want to know which config file contains these shortcuts. Thanks for your help in Advance. Thanks,

[android-developers] how to mount the sd card to pc via android application?

2009-02-06 Thread Azreal Yang
i want to access gphone's sd card when the gphone connect to the pc via usb, but i need click mount on notifications...is there any way when the gphone connect to pc, then pc can access the sd card? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] seek bar implementing problem

2009-02-06 Thread Er. syed imran ali
hello Dear friends! i am trying to implement seekbar or progress bar, but i am getting problem to synchronize with file. so, if any body has code for seekbar/progress bar in media player kindly send me.. or give me process to implement. Thanks and regards Er. Syed Imran Ali

[android-developers] How to create two emulator instances in SDK 1.0 r2

2009-02-06 Thread mayank.android
Hi, I am new to android, I am creating a app in which i want to send and receive SMS. using Android 1.0 r2 release, found that there is less classes is there which is provide support then compare to prevoius release, so by reading some fourum comment I get success in receiving the sms which

[android-developers] Re: problem with playing sounds using media player

2009-02-06 Thread Syed Malgimani
Can any one help me in getting the tool for code coverage for Android Application, How to intergarte with Eclipse. I had tried with EclEmma Code Coverage tool, it gives code coverage for the normal Java Applications, Can u please suggest any Code Coverage tool for Android Application With

[android-developers] Re: Updation of the Media Data base in emulator only on bootup/mount/recording?

2009-02-06 Thread Dave Sparks
You need to tell the media scanner that you have added a new file. See http://code.google.com/android/reference/android/media/MediaScannerConnection.html On Feb 6, 4:38 am, Rishi kaurari...@gmail.com wrote: When i added a media file to the sdcard an update in the MediaProvider database is not

[android-developers] Re: problem with playing sounds using media player

2009-02-06 Thread Dave Sparks
There is a lot of new audio support in the Cupcake SDK release. This includes working SoundPool for low-latency sounds and streaming audio API's. On Feb 6, 2:13 am, suhas gavas suhas.ga...@gmail.com wrote: Hi, I have used media player in my formal game which was 2d game ... At

[android-developers] Re: How to add shortcut in home screen by modifying config file ?

2009-02-06 Thread Romain Guy
The shortcuts are contained in a private database. There is no config file you can modify directly. On Fri, Feb 6, 2009 at 1:46 AM, HelloWorld xiaolong_...@yahoo.com.cn wrote: Dear all, Would you please point me how to add more shortcuts in home screen? -- I want to do this by modifying

[android-developers] Re: How to add shortcut in home screen by modifying config file ?

2009-02-06 Thread Peli
Hello HelloWorld, AnyCut can create custom shortcuts on the home screen - and it is open source: http://code.google.com/p/apps-for-android/source/browse#svn/trunk/AnyCut But the broadcast intent used there is in the com.android.launcher namespace, so it is not part of the public SDK API, and

[android-developers] Re: How to add shortcut in home screen by modifying config file ?

2009-02-06 Thread Romain Guy
But the broadcast intent used there is in the com.android.launcher namespace, so it is not part of the public SDK API, and may break in a future version of Launcher. Right? It will not break. It is not considered a private API, it's just not a platform API. Peli www.openintents.org On

[android-developers] Re: Inserting button in a difficult position

2009-02-06 Thread goldfish
Why not add SampleView to your main.xml? You could then add a button to main.xml as well. Another approach may be to do hit testing within SampleView. You could draw a bitmap of your button then detect if the user click in/on that area. On Feb 5, 11:19 pm, ipeg.stud...@gmail.com wrote: Hi all

[android-developers] Re: WebView.loadData does not always work quite right

2009-02-06 Thread Frank Galligan
Hi Mark, I was having the same issue. What worked for me was changing the layout_height of the WebView from wrap_content to fill_parent. Depending on your UI you may also want to add a layout_weight of 1. I'm not sure why if layout_height is set to wrap_content that the WebView doesn't seem to

[android-developers] Touch screen response delay

2009-02-06 Thread Zombies and Robots
Hello. I am working on a game that displays its graphics through a modified SurfaceView. The game scrolls around a map based on the location of the main character. That all works fine. I am trying to add a feature to the game that allows you to touch the screen and drag the camera around to

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

2009-02-06 Thread Justin (Google Employee)
There does appear to be some problem here. We're looking into it further. Cheers, Justin Android Team @ Google On Feb 6, 9:29 am, Justin (Google Employee) j...@google.com wrote: Ronald, I've asked the Market team to take a look at your app specifically. I'll update you as I get new

[android-developers] MMS message length

2009-02-06 Thread Ajith
Is there an API to support setting MMS upload and download message size ? Are there predefined sizes that limit how big the outgoing and incoming messages can be ? Ajith --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] modifying voice service behaviour?

2009-02-06 Thread Tim Reid
greetings. i can not determine a straight forward way to power down the voice service (ie enter airplane mode) from code. i have found the TelephonyManager, and i see how i can register my PhoneStateListener and subsequently obtain a ServiceState object upon a change of voice service state. i

[android-developers] Need help in writing unit test for parcelable object

2009-02-06 Thread Lucius Fox
Hi, I follow the following example in creating a Parcelable object: http://code.google.com/android/reference/android/os/Parcelable.html And I did the following to unit test the CREATOR and writeToParcel method: Parcel dummyParcel = Parcel.obtain(); MyParcelable p = new MyParceable(12345);

[android-developers] Re: Touch screen response delay

2009-02-06 Thread Tom Gibara
I've been struggling with similar issues on-and-off with a game I've been slowly incubating. The drop in frame-rate experienced with touch events may be caused by their continual generation (fingers aren't like mice, even an apparently static finger will exhibit variation). If this is the case it

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

2009-02-06 Thread fadden
On Feb 6, 7:38 am, johnny johnny...@gmail.com wrote: I get an apk file from somewhere. I tried to install it the emulator successfully. (The emulator is built from the latest code in AOSP which should be cupcake or later). But I can't launch the application from the GUI. It complains The

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

2009-02-06 Thread Ronald van der Lingen
Thanks for the update. I hope you can find the cause of the problem and that the download count for the last week can still be recovered. Kind Regards, Ronald On Feb 6, 9:00 pm, Justin (Google Employee) j...@google.com wrote: There does appear to be some problem here. We're looking into it

[android-developers] Re: Processing audio

2009-02-06 Thread Natalie
Thanks. Anyone know of any other info on how to decode .mp4s by hand then? On Feb 5, 7:35 pm, Dave Sparks davidspa...@android.com wrote: This is not possible in SDK 1.0. On Feb 4, 1:01 pm, Natalie natlinn...@gmail.com wrote: I would like to be able to extract frequency/amplitude info from

[android-developers] Re: Run two android instances on the same host and comunicate betwen them using socket

2009-02-06 Thread Lillian Brandão
Hi, I read this old email and I have the same problem. Now, anyone knows how to do it? I need more instances of the emulator in the same machine or some method to start many emulators and configure them to comunicate with each other. Thanks in advance, Lillian Brandão. On Thu, May 8, 2008 at

[android-developers] WebView is not clearing history.

2009-02-06 Thread Obormot
Hi, guys. I'm using the following code: _articleView.loadArticle(section.getResource()); _articleView.clearHistory(); to ensure that nothing is left in the history and back button behaves as usual. Unfortunately, this code doesn't work for me

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

2009-02-06 Thread blindfold
Maybe Google fixed things a moment ago? I had a related issue that although I live in The Netherlands, I could not even find the Dutch ING Wegwijzer (for finding local ATMs) today when searching Android Market with my dev phone 1. However, now I suddenly can, and I also find PimPam (did not try

[android-developers] Re: jYMSG on Android - Help please

2009-02-06 Thread Al
Did you declare a permission to access the Internet in the manifest? The android system doesn't throw any 'bad permissions' exception with sockets as it would with something like wifi locking. On Feb 6, 10:55 am, Maddy malli.ar...@gmail.com wrote: Hi All, I am trying to implement Yahoo

[android-developers] Re: Application storage data growing

2009-02-06 Thread Rmac
Thanks Dianne. The odd thing is that I am NOT creating any files. And let me make sure we are talking the same thing... when I say data, I don't mean the data directory... I am talking about going to Settings/Applications/Manage applications/myapp/Storage/Data... if that is the data directory

[android-developers] How to remove a contact with a specified phone number?

2009-02-06 Thread Meryl Silverburgh
How to remove a contact with a specified phone number? I try this: String phone =1234567; context.getContentResolver().delete(Contacts.Phones.CONTENT_URI, phone, null); But I get an error with this: java.lang.UnsupportedOperationException: Cannot delete that URL: content://contacts/phones

[android-developers] Re: Run two android instances on the same host and comunicate betwen them using socket

2009-02-06 Thread Faber Fedor
Well, on Linux, I just dropped to the command line and ran android/tools/emulator twice and it brought up two instances of the emulator. Of course, the second one complains about the disks being read by another emulator, so you'll have to set up a set of disks (really, just binary files) for each

[android-developers] Re: RC33 for Dev Phone

2009-02-06 Thread camurphy
I have tried this, it is a dead end. The reason you can't apply the standard RC33 update is because it is not signed for the dev phone. I downloaded a modified recovery image that works with test keys. Then I used a small java script to sign the image with test keys. Even after this some

[android-developers] Broken Gallery View? using Gallery.setSelection(int position, boolean animate)

2009-02-06 Thread drasticp
I'm trying to set the selection of a Gallery in code. I would like to have the Gallery smoothly roll down a few items over the duration of a second or two. At frist glance, it appears that two members would to the trick: Gallery.setAnimationDuration(int animationDurationMillis);

[android-developers] Re: Broken Gallery View? using Gallery.setSelection(int position, boolean animate)

2009-02-06 Thread Romain Guy
setSelection() is not meant to be animated. On Fri, Feb 6, 2009 at 4:15 PM, drasticp drast...@gmail.com wrote: I'm trying to set the selection of a Gallery in code. I would like to have the Gallery smoothly roll down a few items over the duration of a second or two. At frist glance, it

[android-developers] Re: .apk file resource optimisation

2009-02-06 Thread Inderjeet Singh
I dont think assets/ files are compressed all that great. For my app, I was able to cut down the size of overall apk by almost 50% by using GZipInputStream. I posted the numbers a while back. But now I am paying the cost of decompression while loading those assets. I hope the Android platform

[android-developers] WebView starts with a delay

2009-02-06 Thread Inderjeet Singh
I am using WebView in a number of screens in my application, and notice that it takes couple of seconds when starting up for the first time. What can I do to speed it up besides trying to create one in a separate thread beforehand? Thanks Inder

[android-developers] how can i change the background color of ExpandlistActivity?

2009-02-06 Thread 百合的味道
hi all, now i have a ExpandListActivity,now i want to change it's background color ,when i change the color to White,i can not see the font.just focus the item that can see it!why? /:includetail --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Touch screen response delay

2009-02-06 Thread Al
Hi, have you checked the trace file that is written when an anr occurs? It shoud be in /data/anr with the filename traces.txt. This will show exactly what was running and at what line of code when the anr popped up and should help locate the problem code. On Feb 6, 7:03 pm, Zombies and Robots

[android-developers] Re: WebView starts with a delay

2009-02-06 Thread Fred Grott(shareme)
The delay is it is processing these items in your head..loading javascript, css and etc. The way I handled it was setting background color to zero for transparency and using style to load a application logo image that user sees while stuff loads. You will not be able to speed it up however.

[android-developers] Re: how to update list

2009-02-06 Thread Emmanuel
runOnUiThread is your friend for this situation : http://code.google.com/android/reference/android/app/Activity.html#runOnUiThread(java.lang.Runnable) Emmanuel http://androidblogger.blogspot.com/ On Feb 4, 7:04 pm, cindy ypu01...@yahoo.com wrote: I figure out the problem. You can't change

[android-developers] Re: RC33 for Dev Phone

2009-02-06 Thread Disconnect
Install jf's 1.41-rc33. http://andblogs.net/tag/jf It is signed with test keys -and- its a full install instead of a patch, so no perquisites. On Fri, Feb 6, 2009 at 6:59 PM, camurphy camur...@gmail.com wrote: I have tried this, it is a dead end. The reason you can't apply the standard RC33

[android-developers] Re: WebView responding to touch events

2009-02-06 Thread Sergey Ten
Mark, I think I had this problem myself and could solve it by using the following code: webView.setOnTouchListener(new View.OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { switch (event.getAction()) { case

[android-developers] I tried to deploy a timer and switch the user to another dialog for setting if times out. But the dialog just cannot display. No error/exception reported. Vibration works fine t

2009-02-06 Thread Xin Zhao
I tried to deploy a timer and switch the user to another dialog for setting if times out. But the dialog just cannot display. No error/exception reported. Vibration works fine though. What's wrong? Code: private void setAutoPhonecardSelector(int interval) { Date timeToRun = new

[android-developers] Re: I tried to deploy a timer and switch the user to another dialog for setting if times out. But the dialog just cannot display. No error/exception reported. Vibration works fi

2009-02-06 Thread Xin Zhao
Sorry, the code format was somehow messed up in previous email. Here is the one that is easier to read. /*-*/ Code: private void setAutoPhonecardSelector(int interval) { Date timeToRun = new Date(System.currentTimeMillis() +

[android-developers] SMS_Sent and Hangup Intent Notification?

2009-02-06 Thread Tom3030
Hi, I'm writing a little utility to go and check a couple of things after an SMS has been sent or a call has been made. The checking bit is fine but I can't find a suitable intent. Do you know what I can hook into to determine if either of these has occured? Many thanks, Tom.

[android-developers] multiple tables in sqlite

2009-02-06 Thread intbt
Hopefully some one will nmotice my 'obvious' mistake. I have created 2 tables in the database (below). When I access table c, no problem. But when I attempt to access table s I get an error message that column name x (all names give the same error) does not exist. How can 1 table get created but

[android-developers] Can we start a new activity or at least display a Toast in TimerTask.run()?

2009-02-06 Thread Xin Zhao
I tried to deploy a timer and switch the user to another dialog for setting if times out. But the dialog just cannot display. No error/exception reported. Vibration works fine though. What's wrong? Code: private void setAutoPhonecardSelector(int interval) { Date timeToRun = new

[android-developers] MyLocationOverlay marker disappears

2009-02-06 Thread dlawl...@gmail.com
Anyone run into the flashing marker used by MyLocationOverlay on the MapView to show the user's current location disappearing after a certain amount of time (looks like about 1 minute)? Seems like it should either be a setting or should stay on by default as long as the MapView is displaying.

[android-developers] java.nio.channels.IllegalSelectorException

2009-02-06 Thread sdehne
Hi, I'm running into an IllegalSelectorException in my application which can be reproduced with the following code (I put this test code right after the super() in onCreate() of an Activity): try { SocketChannel channel = SocketChannel.open(); channel.configureBlocking(false); Selector

[android-developers] Re: a receiver for outgoing sms and email?

2009-02-06 Thread Oscar A
Hi I would also like to know if that is possible have tried a number of solutions without success. Have managed to Receive incoming sms but outgoing is still a difficulty for me. Would be grate if there where some sort of ACTION_NEW_OUTGOING_SMS (Broadcast Action: An outgoing sms is about to be

[android-developers] Re: .apk file resource optimisation

2009-02-06 Thread Dianne Hackborn
We welcome patches. On Fri, Feb 6, 2009 at 4:45 PM, Inderjeet Singh inder...@gmail.com wrote: I dont think assets/ files are compressed all that great. For my app, I was able to cut down the size of overall apk by almost 50% by using GZipInputStream. I posted the numbers a while back. But

[android-developers] Re: Application storage data growing

2009-02-06 Thread Dianne Hackborn
That is everything in the root data directory, which includes your raw data files, plus SQLite databases, preferences, etc. On Fri, Feb 6, 2009 at 2:45 PM, Rmac ry...@mac.com wrote: Thanks Dianne. The odd thing is that I am NOT creating any files. And let me make sure we are talking the same

[android-developers] Re: java.nio.channels.IllegalSelectorException

2009-02-06 Thread sdehne
I subitted a new issue http://code.google.com/p/android/issues/detail?id=1932 On Feb 7, 2:13 am, sdehne de...@colibria.com wrote: Hi, I'm running into an IllegalSelectorException in my application which can be reproduced with the following code (I put this test code right after the super()

[android-developers] Color filter modes and transparent colors

2009-02-06 Thread Obormot
Hi, guys. I'm trying to make an image darker, but the image has some pixels transparent. I want to keep those pixels intact. I tried DARKEN and couple other filters, but they seem to alter transparent pixels as well. Do you know if there is a way to keep transparent pixels intact while applying