[android-developers] Getting hold of PreferenceActivity Views from the xml file

2009-12-13 Thread jax
I have an XML file called user_preferences that contains my preferences for my application. How do I get hold of the different preference Views so that I can validate them? Currently I have the code below which is not working because getSharedPreferences does not return a View.

[android-developers] Re: What is the Sprint Hero AppWidget problem?

2009-12-13 Thread btm...@gmail.com
Hi buddha, What phone did you encounter this issue on? The damage may be spreading... I had gotten the impression that HTC had fixed this and had rolled it into the Sprint update, but the complaints just keep rolling in... No, I haven't come up with any workarounds... -Brian On Dec 7, 10:09 

Re: [android-developers] Getting hold of PreferenceActivity Views from the xml file

2009-12-13 Thread Mark Murphy
I have an XML file called user_preferences that contains my preferences for my application. How do I get hold of the different preference Views so that I can validate them? Currently I have the code below which is not working because getSharedPreferences does not return a View. You can

Re: [android-developers] Getting hold of PreferenceActivity Views from the xml file

2009-12-13 Thread Mark Murphy
I have an XML file called user_preferences that contains my preferences for my application. How do I get hold of the different preference Views so that I can validate them? Currently I have the code below which is not working because getSharedPreferences does not return a View. You can

[android-developers] Hero: how to set enable always-on mobile data setting

2009-12-13 Thread Alex Tang
Hi everyone, I want to set enable always-on mobile data setting by code in Hero. Does anyone know how to do it? Thanks. -- 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

[android-developers] Default values for LATITUDE and LONGITUDE in database

2009-12-13 Thread Jordan B.
Hi, The LATITUDE and LONGITUDE fields of the Images Content Provider are not filled in after taking a picture on my HTC Hero (I guess the HTC Camera app does not do it). So I read the EXIF metadata of the file and then update the database in order to save time the second time. But I'm facing an

[android-developers] how to change the image view at runtime by clicking on the particular image view

2009-12-13 Thread bhas
Hi, I am bhaskar ,i am beginer in android ,i want help from you people . i am not able to changing the image view at runtime when clicking on that image view. so please can anyone help me.. Thanks in advance. -- You received this message because you are subscribed to the

[android-developers] Re: Getting magnetic field results as degrees

2009-12-13 Thread Peli
You need basic trigonometry: http://en.wikipedia.org/wiki/Trigonometry if x and y denote the magnetic field strength in microtesla, then you get the angle through the arc tangent function: phi = Math.atan(y/x); or phi = Math.atan2(y,x); phi is then the angle in radians. Note that you may want to

[android-developers] Creating views dynamically

2009-12-13 Thread Neilz
Hi all. Need some help with Views... In my main.xml layout file, I define a FrameLayout. Then in another layout file (say overlay.xml), I define another layout. At runtime (onCreate) I want to create a new View object, set it's layout with overlay.xml, and add it to the frame dynamically. I need

[android-developers] Re: Cannot build Android source in Ubuntu

2009-12-13 Thread Seraieis
Thanks for the advice! I'll give it a shot and get back to you. On Dec 13, 1:40 am, Jack Palevich jack.palev...@gmail.com wrote: I don't recognize the ARGH!!! error messages. I wonder if you're using an incompatible version of Java. Android needs version java-1.5.0-sun. You don't mention

[android-developers] Updating my calendar

2009-12-13 Thread Prasant Baratam
Hello Click on the link below and please enter your birthday for me. It will take less than one minute. http://www.birthdayalarm.com/bd2/86034545a160384687b1489515042c102571688d1386 Thank You, Prasant -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Creating views dynamically

2009-12-13 Thread skink
On Dec 13, 2:54 pm, Neilz neilhorn...@googlemail.com wrote: Hi all. Need some help with Views... In my main.xml layout file, I define a FrameLayout. Then in another layout file (say overlay.xml), I define another layout. At runtime (onCreate) I want to create a new View object, set it's

[android-developers] Re: Getting hold of PreferenceActivity Views from the xml file

2009-12-13 Thread jax
Yes that worked I used: timeLimitPreference = getPreferenceScreen().findPreference (time_limit); to get hold of the preference and then: timeLimitPreference.setOnPreferenceChangeListener to to validate the preference returning false if it was no successful and thus canceling the change.

[android-developers] Re: What is the Sprint Hero AppWidget problem?

2009-12-13 Thread JP
Great find above. HTC only supplies the hardware. Sprint needs to fix this, but, depending on how they operate, hope might be slim. In case they just mess with the formula, push units out the door, and move on to the next thing, it's going to remain broken. On Dec 13, 12:31 am,

[android-developers] Re: Default values for LATITUDE and LONGITUDE in database

2009-12-13 Thread JP
The day will never come that this will be picked up as a change, unless you go through the process of pushing this through into the Android code base yourself (Hint: ain't going to happen either) What I would do is to read the coords and string, determine if they fall within an existing range

[android-developers] Re: Creating views dynamically

2009-12-13 Thread Neilz
That's perfect, thanks Skink :-) On Dec 13, 2:33 pm, skink psk...@gmail.com wrote: On Dec 13, 2:54 pm, Neilz neilhorn...@googlemail.com wrote: Hi all. Need some help with Views... In my main.xml layout file, I define a FrameLayout. Then in another layout file (say overlay.xml), I define

[android-developers] Re: What is the Sprint Hero AppWidget problem?

2009-12-13 Thread String
On Dec 13, 3:21 pm, JP joachim.pfeif...@gmail.com wrote: HTC only supplies the hardware. Not true, HTC also supplies the [non]Sense UI on the Hero, as a homescreen replacement. The claim in this thread is that it's Sense which has the broken widget-host functionality, and if so, it's HTC's

[android-developers] Sorry Cannot Play this Video

2009-12-13 Thread Valentino XM
Hi! trying to play video in a Emulator, error Sorry this Video cannot be played , please tell me what i am doing or not doing.. TIA Cheers package info.shouraig.com; import android.app.Activity; import android.net.Uri; import android.os.Bundle; import android.util.Log; import

[android-developers] Re: Creating views dynamically

2009-12-13 Thread skink
On Dec 13, 4:46 pm, Neilz neilhorn...@googlemail.com wrote: In my main.xml layout file, I define a FrameLayout. Then in another layout file (say overlay.xml), I define another layout. At runtime (onCreate) I want to create a new View object, set it's layout with overlay.xml, and add

[android-developers] Adding a new dictionary to LatinIME

2009-12-13 Thread David Bidorff
Hi ! I'm trying to add my own dictionaries to the LatinIME package. Currently, my word lists look like the one in 'dictionaries/ sample.xml', however, I can't find any documentation related to how I can convert this XML file to a binary dictionary that can actually be read by the package.

[android-developers] access usb from Java

2009-12-13 Thread fry
I want to interact with the computer from android phone over USB interface. Is that possible with current API? Adb does similar things, HTC Hero can also synchronize some data with windows over USB - does it use some standard API? -- You received this message because you are subscribed to the

[android-developers] Re: androidplayground.net

2009-12-13 Thread theSmith
How did you guys set up alerts? Im confused by what you mean by this. -smith On Dec 12, 7:24 pm, iPaul Pro mr.paulbu...@gmail.com wrote: @Andrel - Thats exactly how I found out about this. On Dec 12, 6:57 pm, Andrei gml...@gmail.com wrote: I would advise to everybody to create Google alert

[android-developers] application name change

2009-12-13 Thread Peter Jeffe
We're having to change our app's name due to it being somewhat close to a mark owned by a large company that believes consumers are easily confused. I had been assuming that this was simply a matter of changing the name listed in our Market description when we publish an update, but has anyone

[android-developers] Re: application name change

2009-12-13 Thread Maps.Huge.Info (Maps API Guru)
I don't think there will be an issue with changing the name of the app in the market but that will only affect what users see as the name there. You'll also have to change the android:label name in the manifest (or in your strings resource) so that the name of the app once downloaded and installed

RE: [android-developers] application name change

2009-12-13 Thread Ryan Beesley
I've seen other apps do this before, so I don't think it would be a problem... but if someone searches for your app by name that could be a problem. If this is a paid app, the following won't be all that useful, but if not you could possibly leave a tombstone that points to your new app

Re: [android-developers] Re: How to change widget layout background or hide it dynamically?

2009-12-13 Thread nada fatma
*The Light Of Truth* ** * * * * *[align=left]What is life? Man's existence in this world and the creation of this entire universe are not mere accidents or products of a fortuitous nature. This universe, every

[android-developers] Re: Default values for LATITUDE and LONGITUDE in database

2009-12-13 Thread Jordan B.
You are right, and while I don't think it will be changed, I thought it might be worth mentioning it in any case. I actually have a solution, which is to set the coordinates to non-existing values, but I am afraid that other apps on a given phone, which were working correctly up until that point,

Re: [android-developers] Re: Default values for LATITUDE and LONGITUDE in database

2009-12-13 Thread nada fatma
*The Light Of Truth* ** * * * * *[align=left]What is life? Man's existence in this world and the creation of this entire universe are not mere accidents or products of a fortuitous nature. This universe, every

[android-developers] signing the apk file problem

2009-12-13 Thread chinni
hi all, i am getting a error like below. keytool error:java.io.IOException:invalid keystore format it is giving warnig , file already exists. can u help me to create signed .apk file in eclipse? thanks all -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Disable spinner item?

2009-12-13 Thread rexowner
I also want to do this, and after hunting around for half a day, have not found a way to do it, and am moving on to some other priorities. I also would be very interested in this useful behavior. Sorry I can't be of more help, but if you find a way, please post. Thanks! On Dec 10, 4:36 pm,

[android-developers] Re: Application use of Haptics (When to enable/disable - minimizing confusion annoyance)

2009-12-13 Thread Tushar
I think it should be a global setting and it should follow the Settings - Locale Text If Haptics is turned OFF there the same should be followed in all the application. On Dec 11, 11:43 pm, Steve Scherer steve.schere...@gmail.com wrote: Is there a general guideline for application developers

[android-developers] Re: Updates to the Android SDK

2009-12-13 Thread SangHyunLee
Android has been active in Korea, I wish it soon! However, Korea has not said that ... -- 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,

[android-developers] Re: Alarms, Receivers and Wakelocks...oh my!

2009-12-13 Thread BK
These approaches are not working for me. I'm not sure why, and I've reviewed a number of implementations. But when running this pattern on either the emulator or my device (through the debugger), I see that the static getLock(...) call is made from different DalikVM PIDs. My LogCat output shows

[android-developers] Re: Accessing elements of a widget from the AppWidgetProvider

2009-12-13 Thread Adam Brookman
On Nov 23, 6:17 pm, Mark Murphy mmur...@commonsware.com wrote: Susan wrote: Just to make sure I'm understanding you correctly, you mean that there's no way to, say, change the image in an ImageView or change the color of a Button programmatically? Sure you can, the same way you set the

[android-developers] Avaliablity Andriod Market app in India

2009-12-13 Thread abhayemadhok
I recently bought HTC Magic, and only after buying the phone did I realize that it didn't have the market app. I researched a bit on internet and found that the phone can run on Australian image. The only problem I'm not going ahead with imaging is coz this might harm the phone forever, I've seen

[android-developers] Re: Is Android Speech recognition only available for english?

2009-12-13 Thread Edward Moskal
Hi, I'm having the same problem. I have an Android cell set to Japanese. But I added intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.US.toString()); to the API Demo and tried it out on the cell but it only recognize the voice as Japanese and not English. BYW, it's not my english

[android-developers] Re: Alarms, Receivers and Wakelocks...oh my!

2009-12-13 Thread BK
Here is my source code to review: http://github.com/knitterb/AndroidAPITest -- 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 email

[android-developers] Re: Alarms, Receivers and Wakelocks...oh my!

2009-12-13 Thread BK
I just noticed that you are performing a setReferenceCounted(false). I think you will find that the WakeLock is never released, or not released properly. On Dec 11, 6:06 am, MrChaz mrchazmob...@googlemail.com wrote: The code I'm using has a static method in the service I'm about to start that

[android-developers] Re: Alarms, Receivers and Wakelocks...oh my!

2009-12-13 Thread BK
These approaches are not working for me. I'm not sure why, and I've reviewed a number of implementations. But when running this pattern on either the emulator or my device (through the debugger), I see that the static getLock(...) call is made from different DalikVM PIDs. My LogCat output shows

[android-developers] Using raw resource sound file as Ringtone

2009-12-13 Thread Maurício
I have a problem setting a ringtone from a resource in my app: Uri uri = Uri.parse(android.resource://com.package.app/ + R.raw.sound1); RingtoneManager.setActualDefaultRingtoneUri(this, RingtoneManager.TYPE_RINGTONE, uri); I've noticed also some people had the same problem but got no answers. Do

[android-developers] android.intent.category.DESK_DOCK

2009-12-13 Thread Nat
Anyone know anything about android.intent.category.DESK_DOCK? I am trying to get my app to run when in the desk dock similar to what was posted here: http://www.mail-archive.com/android-developers@googlegroups.com/msg64577.html Didn't have any luck. Also wondering why a search at this site

[android-developers] Re: RecognizerIntent available languages ?

2009-12-13 Thread Edward Moskal
I have my cell set to Japanese language and it recognize my voice as Japanese. I'm having overwriting the language setting though. I run API Demo on my cell and when i try Voice Recognition, it only recognize my speech as Japanese(which the cell phone is set to as Default language) So I added

[android-developers] Re: How can we change the view within the tabs?

2009-12-13 Thread Achanta
I have attached a sample project at the link below which shows the tabview with the problem that I am talking about. Please check it out and let me know if you know where I am going wrong or what I need to do. http://www.anddev.org/how_can_we_change_the_view_of_the_tabs-t9527.html Thank you. On

[android-developers] Re: Getting magnetic field results as degrees

2009-12-13 Thread Ethan Rublee
Here's my code for capturing orientation data... This is a snippet so has not been compiled, but should give you and idea. Keep in mind that you should register the sensors with something like this when ever you want to start listening to sensors: sensorMgr = (SensorManager)

[android-developers] Help

2009-12-13 Thread faithfullghost
hi heelp i am trying to build an android application to do the following i am trying to build an application that can connect to Google calendar , get the newly added events every 2 hours, i need to have a service that will be triggered every two hours to do the job any ideas will be

[android-developers] Controlling an external camera from an Android phone via micro USB

2009-12-13 Thread Ridha HAMIDI
Anyone knows if it is possible to control an external camera from an Android phone via micro USB? My application needs pictures that cannot be taken from the Android integrated camera because of quality and I also need flexibility by using different lenses. Thanks rh4games -- You received

[android-developers] Re: Where are the HTC dev phone 1 image package links?

2009-12-13 Thread Noah Tilton
Hey, On Dec 8, 9:35 pm, Ryan Beesley ryan.bees...@swypeinc.com wrote: lbcoder posted this on one of the other groups: The page is just broken. The files are still there to download. http://member.america.htc.com/download/RomCode/ADP/{filename} You can find the filename in the link that

[android-developers] strange behavior in list of checkboxes

2009-12-13 Thread matthew
At least it's strange to me... My goal is to display a list of items each with a checkbox and when the user selects some and hits an OK button, I save those items to a database. I'm starting slow and currently trying to display a list of checkboxes and be able to check various items. The list

[android-developers] Re: RecognizerIntent available languages ?

2009-12-13 Thread Edward Moskal
I'm sure at least Japanese is also available. i tested on my cell phone. However, I too am having a problem in actually overriding and changing the language used for voice recognition. I tried to search in Japanese with default language set to English, that didn't work. I also tried to use voice

[android-developers] Re: 1.6 VPN Certificate Store

2009-12-13 Thread Nate
Anybody ever find the answer to this? On Nov 9, 7:37 pm, itsluy its...@gmail.com wrote: Same problem here but I'm using 2.0 (droid). The documentation doesn't mention this and I don't see what folder i should place the certificates in. On Oct 10, 12:20 pm, Dida

[android-developers] Re: AudioRecord producing no-sound data. Why?? [SOLUTION]

2009-12-13 Thread pratanu
Same thing is happening to me and it is not producing the sound data... On Dec 7, 9:12 am, Raul raulxi...@gmail.com wrote: Nobody will know what you want to do untill you give more info. On 12月7日, 上午10时34分, Hunter  Peress hunt...@gmail.com wrote: Logic:         for (int i = 0; i

[android-developers] QUESTION: can I SPEECH-Schedule on google calendar via Andriod apps? If so, which APP

2009-12-13 Thread veronica2020
I would like to be able to schedule events on Google calendar, by way of speech, through ANDROID operating phone. Is this possible? -- 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] problem in signing the apk file

2009-12-13 Thread chinni
hi all, i am getting the error while signing the apk file. error is java.io.IOException it warns me file already exists. i forgot the keystore password. how to change password and sign my apk file? Thanks in advance -- You received this message because you are subscribed to the Google Groups

[android-developers] Unable to display image during runtime But working fine while debuging?

2009-12-13 Thread mini maheshwari
hi folks When i load the image from the server in grid view and click any image to see the details 1 of my image is not displaying when i run the application but when i debug the application it is showing the correct results... Any help would be appreciated Thanks -- You received

[android-developers] How to deal with BuiltInZoomControl with custom controls in android google map?

2009-12-13 Thread allankliu
Hi, I am trying to develop a Android Google Map application, which is basically Gmap with my own marker geo layer. Since android.com is banned in China, I have to search support from Google user groups. I have no idea which groups I should call for help, android group or google map group. Anyway

[android-developers] Re: Where are the HTC dev phone 1 image package links?

2009-12-13 Thread Noah Tilton
Hey, On Dec 8, 9:35 pm, Ryan Beesley ryan.bees...@swypeinc.com wrote: lbcoder posted this on one of the other groups: The page is just broken. The files are still there to download. http://member.america.htc.com/download/RomCode/ADP/{filename} You can find the filename in the link that

[android-developers] Re: T-Mobile Carrier Billing

2009-12-13 Thread frcole
Yeah, Im kind of curious too. As a developer I would think they would let us know ahead of time if we are going to stuck with additional fees etc. Furthermore, how the heck are we supposed to find out our download stats, track sales, etc? Since the TMobile carrier billing update to the Market

[android-developers] Re: Inconsistent results from date additions loop

2009-12-13 Thread andrew android
the code is something like this... public void getWorkDays(final int mm, final int dd,final int ccyy, final int mmNew, final int ddNew, final int ccyyNew) { Calendar c2 = Calendar.getInstance(); Calendar c4 = Calendar.getInstance();

[android-developers] Recording from MIC in real time

2009-12-13 Thread chris harper
Hi everyone. Merry xmas. I have been looking relentlessly for over a week to see if doing what I need to do is possible on the Android system and going crazy in the process. I know you can read input in from the MIC via two ways 1. new AudioRecord(MediaRecorder.AudioSource.MIC... and whatever

[android-developers] Vietnamese language?

2009-12-13 Thread Chuck
Just a quick query and suggestion from a NON-DEVELOPER -- but a consumer, sorry for the non-technical intrusion. I HOPE someone is developing some language flexibility with the new phone. I finally ditched my Palm Treo 650 and ONLY because it offered no way to adapt Vietnamese language tones,

[android-developers] Flash Lite and Android

2009-12-13 Thread chris harper
Hi Has anyone done much development for Flash Lite on Android? What I am trying to do is upload the a .swf file to android, add in an image into Flash (via actionscript) and play the movie. Has anyone done this yet? If so what has been your experience? Is it easy to do? Also as a side note had

[android-developers] alarm driver issue

2009-12-13 Thread jorje
Hello All I would like to know how to use alarm device to set RTC? I do folowing 1. Open /dev/alarm 2. Send ioctl ANDROID_ALARM_SET_RTC 3. Close After these steps kernel does not go to sleep because of pending alarm, but I did not set any alarms, I just set time. I look at alarm.c file and see

[android-developers] How to change the contents of the Tabs Already added

2009-12-13 Thread Waqar Ali Khan
In my case i have three tabs, SEARCH, BROWSE, ABOUT. when someone type the query and click on search a new tab is created RESULT, there is a listview in it, when someone clicks on any of its item i WANT TO CHANGE THE CONTENT OF BROWSE TAB THEN. please tell me what to do :( -- You received this

[android-developers] startActivityForResult and concurrent Activities

2009-12-13 Thread abnormative
I'm trying to understand the limits of startActivityForResult(), so I can simplify my onActivityResult() logic. An Activity can make back-to-back calls to startActivityForResult() in a single method execution, seemingly kicking off multiple concurrent sub-Activities. The startActivityForResult()

[android-developers] Re: Alarms, Receivers and Wakelocks...oh my!

2009-12-13 Thread BK
Mark Murphy (CommonsWare) helped me find the solution to this one. Apparently in my manifest I had improperly specified that the receiver and service should run in separate processes: *snip* receiver android:name=.APITestIntentBroadcastReceiver

[android-developers] To Stop or lock an app for a particular time

2009-12-13 Thread vishnu
Is it possible to lock/block/hide an application (say prepackaged like messaging or browser) on android..for a particular period...can i do dat programmatically... please reply -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Recording from MIC (merry xmas everyone)

2009-12-13 Thread chris harper
Hi -- 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 email to android-developers+unsubscr...@googlegroups.com For more options, visit

[android-developers] Re: Merge gives odd z order hiding between custom views

2009-12-13 Thread Ethan Rublee
Thanks, I realized this has been discussed at length else where. My solution has been to fully stop the activity on pause. It seemed that after a pause is when the camera surface would hide the opengl surface. Completely restarting the activity every time it pauses, by calling finish() in

[android-developers] Localization for simplified and traditional chinese

2009-12-13 Thread Kit
i want to create an application which supports both simplified and traditional chinese. so i created 2 strings.xml in values-zh-rCN (sim. chi) and values-zh-rTW (tra. chi). but then i run the application in the emulator, it seems that only the default strings.xml is loaded. i tried to use

[android-developers] Re: Services, Intents and Wakelocks

2009-12-13 Thread BK
Mark Murphy (CommonsWare) helped me find the solution to this one. Apparently in my manifest I had improperly specified that the receiver and service should run in separate processes: *snip* receiver android:name=.APITestIntentBroadcastReceiver

[android-developers] Re: Inconsistent results from date additions loop

2009-12-13 Thread andrew android
Thanks for responding... the code is the following : public void getWorkDays(final int mm, final int dd,final int ccyy, final int mmNew, final int ddNew, final int ccyyNew) { Calendar c2 = Calendar.getInstance(); Calendar c4 =

[android-developers] String arrays do not allow illegal java names as values.

2009-12-13 Thread JonOakes
Does anybody know of a work around for the android xml file string array inability to process string item's that are not legal java variable names If not, is this not a major bug? Why does an item in an array need to generate a reference id anyway? Isn't this redundant? -- You received this

[android-developers] Discussion on localizing-android-apps-draft

2009-12-13 Thread Kit
Hi all, i made an app in Traditional Chinese. and now i want to make it in Simplified Chinese too. so i guess i should use the locale zh-TW for traditional chinese and zh-CN for simplified chinese. but for the strings.xml, it only allows values-zh but NOT for values- zh-rTW and values-zh-rCN. so

[android-developers] how to Windows Media Stream in android?

2009-12-13 Thread maxsap
Hello all, I am interested in developing an adroid application that would let the users listen to internet radios.Correct me if I am wrong but most internet radios have a uri mms:// which is a windows media stream and i want to know if it is possible to get a stream from that source and how,

Re: [android-developers] Re: SensorManager.registerListener gives unexpected results

2009-12-13 Thread dan raaka
the IK series have the fix. -Dan On Thu, Dec 10, 2009 at 12:28 AM, TonyDoc tony...@gmail.com wrote: I'm running firmware 1.5, baseband I7500XXII5, kernel 2.6.27.35, build no 76XXCSDCBALUM6375 On Dec 10, 4:51 am, dan raaka danra...@gmail.com wrote: what is the full version name ? -Dan

Re: [android-developers] Re: Disable spinner item?

2009-12-13 Thread Romain Guy
This is performed by the adapter: http://d.android.com/reference/android/widget/ListAdapter.html#isEnabled(int) On Fri, Dec 11, 2009 at 4:50 PM, rexowner lap...@gmail.com wrote: I also want to do this, and after hunting around for half a day, have not found a way to do it, and am moving on to

Re: [android-developers] Re: Merge gives odd z order hiding between custom views

2009-12-13 Thread dan raaka
could be related to http://code.google.com/p/android/issues/detail?id=2828 -Dan On Sat, Dec 12, 2009 at 10:54 PM, Ethan Rublee ethan.rub...@gmail.comwrote: Thanks, I realized this has been discussed at length else where. My solution has been to fully stop the activity on pause. It seemed

[android-developers] Re: androidplayground.net

2009-12-13 Thread iPaul Pro
@theSmith http://www.google.com/alerts On Dec 13, 2:09 pm, theSmith chris.smith...@gmail.com wrote: How did you guys set up alerts? Im confused by what you mean by this. -smith On Dec 12, 7:24 pm, iPaul Pro mr.paulbu...@gmail.com wrote: @Andrel - Thats exactly how I found out about

[android-developers] Re: androidplayground.net

2009-12-13 Thread JP
These guys again. A bunch of kids in Florida if I remember right. I am disappointed in that their hosting service didn't take them out of business. Search the android-discuss group for androidplayground so you can get the scoop. I believe someone posted their old, unprotected (that's how

[android-developers] Re: androidplayground.net

2009-12-13 Thread Maps.Huge.Info (Maps API Guru)
For those of you with paid apps on this site, they're using AdSense, so I suggest anyone who has their work being distributed on this site click on the Google Ads link and complain. At least you can get their AdSense account suspended. They also use PayPal, so you can complain to them too. Both of

[android-developers] Re: T-Mobile Carrier Billing

2009-12-13 Thread Streets Of Boston
I agree with you that Google or T-mobile should have sent out some details to us developers. But i think that your 'My Sales' Google Checkout section will still be updated with sales, even if the purchases are done through T-mobile's billing. On Dec 12, 8:28 pm, frcole frc...@gmail.com wrote:

[android-developers] Re: androidplayground.net

2009-12-13 Thread JP
I doubt they make much through donations or AdSense. Good ideas though. Someone with a vested interest (I'm not) needs to write a CD letter to the hosting service. I'd go straight to the exec's, don't bother with customer service or who ever. Here's the crew:

[android-developers] Screen density screen layout size

2009-12-13 Thread Chopcsu
Hi, I am having problems getting Android to use the correct resources. I am trying to have it pick the correct resources across all densitys and screen layouts orientations. So I have created the directory structure as follows drawable drawable-large drawable-large-land drawable-large-port

[android-developers] Re: Localization for simplified and traditional chinese

2009-12-13 Thread HeHe
not quite get your question. selection of the resource folder should be automatic, as indicated in android-sdk-windows/docs/guide/topics/resources/resources- i18n.html the current locale of your phone/emulator can be learned by Locale.getDefault(); hope this helpful to

[android-developers] Re: core tests coverage report 0%

2009-12-13 Thread James Wang
Hello, nobody had run core tests? Anybody can help me? Please! -- 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 email to

[android-developers] Re: Localization for simplified and traditional chinese

2009-12-13 Thread Kit
Hi HeHe, Thanks for your reply and sorry for the misleading. let me clarify my question. i didn't make any coding on localization. what it want to do is to let my application shows either traditional chinese/simplified chinese depending on the phone locale. currently i got the following two

[android-developers] Re: what kind of Java in Android

2009-12-13 Thread EricWang
Thanks, I got what I want. On 12月12日, 上午7时24分, fadden fad...@android.com wrote: On Dec 11, 2:04 pm, jotobjects jotobje...@gmail.com wrote: methods that are not part of the public API will of course show up in stack traces. Are you looking at theJavaAPI docs or at theJava source code?

[android-developers] ContactsContract.CommonDataKinds.Phone.HAS_PHONE_NUMBER

2009-12-13 Thread stanlick
I am using the following query and expecting to retrieve only contacts with at least one phone number. However, I *am* getting contacts with zero phone numbers. Should this constant be renamed MAYBE_HAS_PHONE_NUMBER? :) @Override public ListAdapter getAdapter(Activity activity)

Re: [android-developers] String arrays do not allow illegal java names as values.

2009-12-13 Thread Dianne Hackborn
Items in arrays shouldn't have names. See for example these array definitions in the base platform:

Re: [android-developers] Re: Merge gives odd z order hiding between custom views

2009-12-13 Thread Dianne Hackborn
Prior to 2.0 multiple surfaces on top of each other were not supported, and any tricks you use to try to make this work are likely to break in the future or on different devices. (The framework made no guarantees about what order they would be placed in the window manager, it was just

Re: [android-developers] Inter-process communication with a Service and Notifications issue

2009-12-13 Thread Dianne Hackborn
You can set android:launchMode to singleTop to avoid having multiple instances of the activity created on top of each other. However, you probably want to sit down and think about how this notification should interact with the application in all of its states -- both while the user is in it, and

[android-developers] WebView - flipping

2009-12-13 Thread Sukitha Udugamasooriya
Hi, I'm just wondering if there is a way to to make a WebView flip sideways instead of displaying the content by scrolling down. I.E If the content is a very long paragraph, can we make the webview to display it by flipping sideways? Thank you -- You received this message because you are

[android-developers] Re: Eclipse Crashes

2009-12-13 Thread g...@devicedriven
i further rectified the problem by looking at error logs of eclipse It seems textView is the problem..whenever i try to access a textview in the layout eclipse crashes.and exits.. here are a few lines from the error log..can any1 tell me wat i did wrong?? # # An unexpected error has been

[android-developers] how can we change the image view at runtime

2009-12-13 Thread bhas
Hi, I am bhaskar ,i am beginer in android ,i want help from you people . i am not able to changing the image view at runtime when clicking on that image view. so please can anyone help me.. Thanks in advance -- You received this message because you are subscribed to the

[android-developers] List of Intents related to Contact

2009-12-13 Thread VA
Is there a place where I can find all the intents related to operations on Contacts. I am working on an app that allows sending of a contact entry as a vcard. For this I need a functionality whereby when somebody touches a contact entry (Long Press) for a contact, I can display a menu option Send

[android-developers] Re: Eclipse Crashes

2009-12-13 Thread Mike
I'm using Ganymede with the latest release of the Android SDK (2.0.1) and I'm experiencing a similar problem. I'm pretty sure I noticed this issue with the 2.0 SDK as well. For me, I notice the problem will occur as I am editing an XML layout while on the text editor tab and the last 3 or 4

[android-developers] Observing User inactivity time and broadcasting intent after timeout

2009-12-13 Thread swapnil kamble
Hi, As in android, after inactvity of screen off timeout, android screen goes off. So here android itself uses some activity observer, to know whether user is currently active or not. I need not every keystroke or touch event with details, just knowing that user is active and getting a

[android-developers] Re: multiple activity refresh

2009-12-13 Thread Jags
is my post visisble to the group :) ? On Dec 10, 11:41 am, Jags jag...@gmail.com wrote: I am dealing with 4 activities and a database. one parent activity calls 3 other activites [add, edit, delete] . so when i come back from these 3 activities to parent activities, depending upon the database

[android-developers] How to handle simultaneous key press

2009-12-13 Thread onceaweek
I was wondering whether Androd can catch simultaneous Key Press. For example, a application does something when a user press HOME and MENU key simultaneously. Is it a possible scenario? Thank you in advance. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Call Recording in Andriod ?

2009-12-13 Thread Y2U
Thanx Matt.. lemme know if you find something related to this matter.. :) On Dec 9, 7:59 pm, Matt hansen.matt...@gmail.com wrote: Thecallrecordingapps that I know of in Android only work if the phonecallis on speaker phone. Based on user comments, they also look pretty unstable. Matt On

  1   2   >