[android-developers] Re: Changing button text color in various states (down, disabled etc)

2010-08-12 Thread Nik Bhattacharya
Thanks. ColorStateList did the trick! > > > > > > > I would like to vary the text color of a custom button that I am > > making depending on which state it is in (enabled, disabled, state > > pressed).  I know how to use an XML file to describe the different > > drawables that I need for the diff

[android-developers] Activity getting killed and automatically starting again on screen off button press

2010-08-12 Thread Shashidhar
Hi, We are experiencing this strange problem. If I press screen off button When my activity is running, its again starting a new activity. If I press the screen off button again and unlock the phone, it again starts a new activity. So in total there are 2 new activities getting created for one sc

Re: [android-developers] how to send data to server while recording

2010-08-12 Thread Miguel Morales
What have you tried? On Thu, Aug 12, 2010 at 10:45 PM, cindy wrote: > My application needs to send data to server while recording the audio > data? > > Does anyone know how to do that? > > Thanks! > > April > > -- > You received this message because you are subscribed to the Google > Groups "Andr

[android-developers] Re: Chilling news: Oracle sues Google over Android

2010-08-12 Thread JP
On Aug 12, 8:07 pm, Shane Isbell wrote: > If there were no lawsuits, then I would worry. This is an encouraging sign > that Android is starting to rattle more cages due to its expected > profitability and competitiveness. Nah, just a move to see if they can find some cheap way to balance the boo

[android-developers] Changing the Menu Selector?

2010-08-12 Thread Amit
Hi All, Is it possible to change the selector of standard Menu? If yes please let me know how? Thanks & Best Regards Amit -- 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

Re: [android-developers] ERROR IN "C:\Users\lenovo\Desktop\android-sdk_r06-windows\android-sdk-windows>>SDK Setup.exe"

2010-08-12 Thread Fatih Ulas
Thanks for your care, I want to install android SDK but I couldn't install, I think because of URL. I am using win vista. On Thu, Aug 12, 2010 at 3:25 PM, Kevin Duffey wrote: > What is the problem? The subject line is a bit vague.. need more > details... > > > On 8/12/2010 2:01 PM, izzet.ulas

Re: [android-developers] Re: Detect Wifi Enabled/Disabled

2010-08-12 Thread Martins Streņģis
WifiManager lWifiManager = (WifiManager) IntroVideoActivity.this.getSystemService(Context.WIFI_SERVICE); TelephonyManager lTelephonyManager = (TelephonyManager) IntroVideoActivity.this.getSystemService(Context.TELEPHONY_SERVICE); // if we have a fast connection (wifi o

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-12 Thread Miguel Morales
I used to hate Java, I think that it's ok to good now. (Even better with the framework google provided to make apps) The thread handling is pretty good, and tons of library is even better. I'm not going to pull any numbers as to why I say that most people think java sucks, maybe it's just some.

[android-developers] how to send data to server while recording

2010-08-12 Thread cindy
My application needs to send data to server while recording the audio data? Does anyone know how to do that? Thanks! April -- 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@googlegrou

[android-developers] Re: Detect Wifi Enabled/Disabled

2010-08-12 Thread Vinay S
If you need network information, then try NetworkInfo. if you have 3G or GPRS or Wifi network connectivity it can give that state. -Vinay On Aug 13, 3:35 am, KG wrote: > Thank you very much, this is what I needed. > > On Aug 12, 3:20 pm, Kostya Vasilyev wrote: > > > Look up WifiManager and its

[android-developers] Re: ListView scrolling past top and bottom

2010-08-12 Thread Nithin
>We have a ListView in the middle of a screen with the height set to >wrap-content. On all other devices, as long as there is room on the >screen, this control does not scroll--or if it does scroll, it only >scrolls to the limits of the entries in the list. What is the screen resolution on your de

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-12 Thread Kevin Duffey
Interesting point of view Miguel... most developers think the language sucks? Do you back this up in some way? Java is a very good language. I am curious what you find so bad, what languages you think are vastly superior? I think all languages have their faults, but given the overwhelming popu

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-12 Thread Miguel Morales
Well I think this has to be because of the use of Java in Android. If this is the case, I'd say that Oracle should be grateful that Android chose Java when there are better options out there. I personally wouldn't have touched the language if it wasn't for Android. Most developers think it sucks

[android-developers] Strange Issue with Return String from Web Service

2010-08-12 Thread Tommy
Hi everyone, I have a strange issue. I am using KSOAP2 to create a soap request to a .net webservice. I do this in a few other places and everything works fine. The webservice basically queries a data base and takes the values from the data reader and creates a string. This string is then retur

[android-developers] Re: Google browser certificate issue

2010-08-12 Thread MB
My guess is that the date/time on Mathew's device is wrong. Digital certificates have an expiry date that the browser will validate against the time on the device. On Aug 12, 8:05 pm, TreKing wrote: > On Wed, Aug 11, 2010 at 2:41 AM, Mathew wrote: > > What to do? > > I'm sure you've tried clear

Re: [android-developers] Best way to populate ListView on runtime.

2010-08-12 Thread Miguel Morales
I'm not sure what you're trying to ask. You should try phrasing your question differently. So I think you're asking how to populate a listview and save its between activities. What you could do is create a top Application class. First you'd modify your AndroidManifest.xml file like so:

[android-developers] Re: How do you create a custom Preference which needs to invoke a "activity for result" like RingtonePreference?

2010-08-12 Thread Pino Silvaggio
Yes PreferenceActivity is an Activity. But that not my problem. The issue is how do I create a custom preference like RingtonePreference if what I need is in PreferenceManager and is hidden by package level? example: registerOnActivityResultListener which is needed if I want to call preference

[android-developers] No underline for texts candidates in html before committing

2010-08-12 Thread James Wang
Hi, When input something in EditText of app, we can differ the inputted and inputting text by underline before committing from softkeyboard. But it is not true in html. Is this a bug? And is there any work arround? Best Regards James -- You received this message because you are subscribed to

[android-developers] No underline for texts candidates in html before committing

2010-08-12 Thread James Wang
Hi, When input something in EditText by softkeyboard, the -- 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-develop

Re: [android-developers] Re: double tap zoom on Google maps

2010-08-12 Thread zeeshan mirza
Thank you very much Barm. Your reply helped me alot :) BR, Zeeshan On Sun, Aug 1, 2010 at 1:55 PM, Bram van Driel wrote: > Hi Zeeshan, > > Maybe you can study this implementation of a MapActivity and > OnGestureDetector: > http://blog.js-development.com/2009/12/mapview-doesnt-fire-onlongclick-ev

Re: [android-developers] Re: Best way to populate ListView on runtime.

2010-08-12 Thread TreKing
On Thu, Aug 12, 2010 at 10:02 PM, Warrior wrote: > neone there? Who's "neone"? - TreKing - Chicago transit tracking app for Android-powered device

Re: [android-developers] Fixing warning in the project

2010-08-12 Thread TreKing
On Thu, Aug 12, 2010 at 6:00 PM, Zsolt Vasvari wrote: > The second one is in AndroidManifest.xml: "Attribute minSdkVersion (3) is > lower than the project target API level (8)" Yes! Thank you for bringing this up. It drives me crazy as it's the only warning I have and there's nothing to do abou

Re: [android-developers] source code

2010-08-12 Thread Tony Gonzalez
I hope that's sarcasm, because it would be a low blow just trying to learn man. Sent from my Android phone On Aug 12, 2010 5:03 PM, "TreKing" wrote: > Tony, for future reference, there's this amazing new technology that will > allow you to find these kinds of answers on your own, almost immediat

Re: [android-developers] How do you create a custom Preference which needs to invoke a "activity for result" like RingtonePreference?

2010-08-12 Thread TreKing
On Thu, Aug 12, 2010 at 4:19 PM, Pino Silvaggio wrote: > How should I proceed? Hint: PreferenceActivity is an Activity like any other ... - TreKing

[android-developers] Re: Connecting to AT&T Samsung Captivate Galaxy

2010-08-12 Thread Stephen
I have this experience with older usb_driver when Nexus one first out. It is simple,just need to update the android_winusb.inf,but make sure you have the android_winusb.inf backup. Add the your device Hardware Ids to the original android_winusb.inf 1) Get the Ids, go to Device Manager, ther

Re: [android-developers] Please help , how you would do it

2010-08-12 Thread TreKing
On Wed, Aug 11, 2010 at 9:17 PM, joel wrote: > Need some guidance to incorporate dynamic authentication as in here > > http://consumeradoption.com/sherman1/ > > Thank You. > http://catb.org/esr/faqs/smart-questions.html ---

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-12 Thread Shane Isbell
If there were no lawsuits, then I would worry. This is an encouraging sign that Android is starting to rattle more cages due to its expected profitability and competitiveness. On Thu, Aug 12, 2010 at 7:27 PM, Dianne Hackborn wrote: > Oh gee, another patent lawsuit. :p > > I certainly wouldn't los

Re: [android-developers] Google browser certificate issue

2010-08-12 Thread TreKing
On Wed, Aug 11, 2010 at 2:41 AM, Mathew wrote: > What to do? I'm sure you've tried clearing the cache and cookies, right? - TreKing - Chicago tra

[android-developers] Re: Best way to populate ListView on runtime.

2010-08-12 Thread Warrior
neone there? -- 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 opt

[android-developers] Re: Chilling news: Oracle sues Google over Android

2010-08-12 Thread DanH
One can't tell a whole lot from the patent titles, but I authored (on behalf of IBM) several patents covering similar subjects. Generally to get a patent in such areas the scope of the invention needs to be fairly narrow, since there's such a large amount of prior art. It'll keep the lawyers empl

[android-developers] Re: CST: TC Failure due to unknown host

2010-08-12 Thread deven
got the answer!! This problem was coming because wifi was not activated. We need to activate the wifi to pass the Network related test case. Regards Deven On Aug 12, 2:08 pm, deven wrote: > Dear all, >              I am running the CTS on the Arm based ph

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-12 Thread Dianne Hackborn
Oh gee, another patent lawsuit. :p I certainly wouldn't lose any sleep over this as a third party developer. :} On Thu, Aug 12, 2010 at 5:52 PM, Frank Weiss wrote: > It hit the press today. Rumored that Google refused to settle. I have > no idea where this is headed, but I'll continue to develo

[android-developers] Re: Why doesn't fillparent work for a child view group inside ScrollView?

2010-08-12 Thread Moto
Thanks Rommain! that was exactly what I needed! Good thing your still around to help us out! :) -Moto! On Aug 12, 12:02 am, Romain Guy wrote: > fill_parent means "always be as big as your parent," which makes no > sense in a ScrollView. What you want is android:fillViewport="true" on > the tag

[android-developers] Re: Subscription to HorizontalScrollView

2010-08-12 Thread Ryan Tan
Hi, maybe you can attach a simple SimpleOnGestureListener to the HorizontalScrollView and override the onScroll method to act when scrolling happens. Sample (untested coding): //Assuming that you have horizontalScrollView1 and horizontalScrollView2 defined. gestureDetector = new GestureDetector(

[android-developers] Re: Chilling news: Oracle sues Google over Android

2010-08-12 Thread Maps.Huge.Info (Maps API Guru)
One thing Google has, plenty of lawyers. I would think they have either a good case or can keep this one bottled up until Android has passed into the great beyond. -John Coryat -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Re: Chilling news: Oracle sues Google over Android

2010-08-12 Thread Evan Cummings
The complaint document is an interesting read: http://www.scribd.com/doc/35810897/Oracle-Google-Complaint "As a direct and proximate result of Google’s direct and indirect willful copyright infringement, Oracle America has suffered, and will continue to suffer, monetary loss to its business, repu

[android-developers] Re: Whats first onCreate or the constructor

2010-08-12 Thread Indicator Veritatis
The simple solution, that followed by all (at least, all of it that I have seen) Google's sample and tutorial code is: don't use the constructor. Do all your initialization instead in onCreate(). If you do this, the problem you are having goes away. You should almost certainly be using a (built-in

[android-developers] Re: How to install package without asking user just like market app?

2010-08-12 Thread Indicator Veritatis
That is possible, but the OP really needs to state more clearly what problem he is trying to solve. Until he does, responding to him is a waste of time and bandwidth. On Aug 12, 11:29 am, TreKing wrote: > On Thu, Aug 12, 2010 at 9:04 AM, Alex Xin wrote: > > How to install package without asking

[android-developers] ListView scrolling past top and bottom

2010-08-12 Thread John Seghers
We're working with a pre-release device running V2.1_update1 We have a ListView in the middle of a screen with the height set to wrap-content. On all other devices, as long as there is room on the screen, this control does not scroll--or if it does scroll, it only scrolls to the limits of the entr

[android-developers] Re: Chilling news: Oracle sues Google over Android

2010-08-12 Thread DanH
I don't think it's unexpected. Oracle has a bit of a rep for filing infringement suits, and when they bought Sun it was expected to happen with respect to Java. On Aug 12, 7:52 pm, Frank Weiss wrote: > It hit the press today. Rumored that Google refused to settle. I have > no idea where this is

Re: [android-developers] Re: about handle the home key

2010-08-12 Thread 李实
thank you for help,but you may mistake me. what I really want to do is to disable the home key,when my activity is running . and the code in the xml is my attempt. when home is pressed,then android probably sent an intent "home". in my activity,android find it has "HOME" category,so it does nothin

[android-developers] Android 2.2-Numeric PIN

2010-08-12 Thread perumal316
Hi All, In Android 2.2 there is an option to lock the screen using numeric PIN. Any idea which API it uses? Because I want to implement the same concept to lock an application. Meaning user have to enter the PIN to open the application. Even if the phone is restarted, the PIN have to be used to o

Re: [android-developers] Re: can AIDL really support the Map? (the data type)

2010-08-12 Thread Dianne Hackborn
On Wed, Aug 11, 2010 at 7:13 PM, QasewKim wrote: > Thank you always. > I love your quick & simple answers. :) > Thanks. Many people don't seem to appreciate them. :) > 1. Bundle seems the good way. > But is it possible to pass the pair of the data? > Because Map support the iteration, so I ca

[android-developers] Chilling news: Oracle sues Google over Android

2010-08-12 Thread Frank Weiss
It hit the press today. Rumored that Google refused to settle. I have no idea where this is headed, but I'll continue to develop for Android. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] Re: can AIDL really support the Map? (the data type)

2010-08-12 Thread QasewKim
Well, Uri seems good if I send the big image files, but I want to pass the small bitmaps like 25 x 25. I thought it is more efficient for small bitmaps. hmm.. as you said, 1. the client made all Bitmaps to Uri ( by content provider? ) 2. the client send the Uri to the server instead of Bitmap may

[android-developers] Re: LVL buy now button.

2010-08-12 Thread Indicator Veritatis
You are misusing the principle behind the old saying, "to err is human, to forgive, divine". Sure, they writers are only human, but the pattern of errors, the number of errors, and the age of them -- they leave so many unfixed -- says something more: it says that Google doesn't really care about qu

[android-developers] Re: best way to debug ANR...

2010-08-12 Thread Paul Turchenko
Consider pausing debugger when you think ANR is about to occur. Basically, ANR pops up when your UI thread (main thread) can't dispatch UI event message queue for more than 5 sec. (it could be less - that's just my guess). So basically, you're loading your UI thread with some heavy worka and he has

[android-developers] Re: .aidl and resource files not processed by Eclipse.

2010-08-12 Thread Richard Schilling
I got it working. There are apostrophies in the String values in strings.xml. The resource processing tool doesn't like those. Jeez Louise - you'd think the build would be checked before sending it out into the wild. I am sure there's a bug related to fixing this somewhere. Richard On Aug 12,

[android-developers] Re: .aidl and resource files not processed by Eclipse.

2010-08-12 Thread Richard Schilling
Absolutely. Richard On Aug 12, 4:25 pm, Mark Murphy wrote: > On Thu, Aug 12, 2010 at 7:21 PM, Richard Schilling > > > > > > wrote: > > I'm building the stock ApiDemos code, which used to build just > > fine But, here's the top three errors. > > > [2010-08-12 16:19:44 - ApiDemos] libpng war

Re: [android-developers] Re: .aidl and resource files not processed by Eclipse.

2010-08-12 Thread Mark Murphy
On Thu, Aug 12, 2010 at 7:21 PM, Richard Schilling wrote: > I'm building the stock ApiDemos code, which used to build just > fine But, here's the top three errors. > > [2010-08-12 16:19:44 - ApiDemos] libpng warning: Ignoring attempt to > set cHRM RGB triangle with zero area > [2010-08-12 16:1

[android-developers] Re: .aidl and R.java STILL not being generated.

2010-08-12 Thread RichardC
Does turning on Verbose build output give you anysort of clue? Window > Preferences > Android > Build > Build output > Verbose On Aug 13, 12:20 am, Richard Schilling wrote: > Alright, I downgraded to Eclipse 3.5, and the following still doesn't > happen when I build a project in Eclipse: > > 1. .

[android-developers] Re: HTC Droid Eris - Accessing SD Card

2010-08-12 Thread JRich
For anyone reading this thread with the same problem... the cause is that the HTC Eris and Hero do not utilize the putExtra(android.provider.MediaStore.EXTRA_OUTPUT, Uri file) due to a bug. Therefore, they do not save an ACTION_IMAGE_CAPTURE to that specified location. You will have to grab the U

[android-developers] Re: .aidl and resource files not processed by Eclipse.

2010-08-12 Thread Richard Schilling
I'm building the stock ApiDemos code, which used to build just fine But, here's the top three errors. [2010-08-12 16:19:44 - ApiDemos] libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area [2010-08-12 16:19:44 - ApiDemos] C:\Users\richards\android\android-sdk- windows\platfo

[android-developers] .aidl and R.java STILL not being generated.

2010-08-12 Thread Richard Schilling
Alright, I downgraded to Eclipse 3.5, and the following still doesn't happen when I build a project in Eclipse: 1. .aidl files don't get processed (at all). 2. R.java isn't generated. Used to work. What the heck? Richard Schilling -- You received this message because you are subscribed to the

Re: [android-developers] Whats first onCreate or the constructor

2010-08-12 Thread Dianne Hackborn
Simple answer: if you are implementing a component like Activity, Service, and ContentProvider, don't implement a constructor. (That is just use the default empty constructor). Whatever you think you want to do in the constructor... you very like don't, and should do in onCreate() instead. On W

[android-developers] Re: Fixing warning in the project

2010-08-12 Thread RichardC
On Aug 13, 12:00 am, Zsolt Vasvari wrote: > What is this warning saying and what can I do to prevent it from > appearing? It is saying you are building against SDK v8 (Android 2.2) and are happy for your code to run on all version from SDK v3 (Android 1.5) onward. So you need to test on all pla

Re: [android-developers] VideoView inside a ListView

2010-08-12 Thread Dianne Hackborn
Er. Just don't do that. A list view contains views that are created and destroyed dynamically as you scroll through the list so that it doesn't need to have an object instantiated for every single row. This is so very much not how you want a video view to work. On Thu, Aug 12, 2010 at 3:31 PM,

Re: [android-developers] Fixing warning in the project

2010-08-12 Thread Mark Murphy
On Thu, Aug 12, 2010 at 7:00 PM, Zsolt Vasvari wrote: > The second one is in AndroidManifest.xml: "Attribute minSdkVersion (3) > is lower than the project target API level (8)" > > I have: > > > > and the project is built against Version 8. > > What is this warning saying and what can I do to pre

Re: [android-developers] source code

2010-08-12 Thread TreKing
Tony, for future reference, there's this amazing new technology that will allow you to find these kinds of answers on your own, almost immediately. It's called "Google" or something. Google it. - TreKin

[android-developers] Fixing warning in the project

2010-08-12 Thread Zsolt Vasvari
Trying to clean my project of all warnings. I have two left: The first one is in the generated R.java; a bogus semicolon after the stylable class. Not much I can do about it. The second one is in AndroidManifest.xml: "Attribute minSdkVersion (3) is lower than the project target API level (8)"

Re: [android-developers] source code

2010-08-12 Thread Tony Gonzalez
Thanks Frank Tony Sent from my Android phone On Aug 12, 2010 4:28 PM, "Frank Weiss" wrote: > http://source.android.com/ > > -- > 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@goog

Re: [android-developers] Whats first onCreate or the constructor

2010-08-12 Thread TreKing
On Wed, Aug 11, 2010 at 3:10 AM, Scott Herbert < scott.a.herb...@googlemail.com> wrote: > I'm new to Java (and be extension Android) > I highly recommend you go learn Java on it's own outside of Android. You're trying to run before you walk and you're going to be tripping and falling all over th

Re: [android-developers] .aidl and resource files not processed by Eclipse.

2010-08-12 Thread Mark Murphy
On Thu, Aug 12, 2010 at 6:49 PM, Richard Schilling wrote: > I've recently upgraded the Android SDK to the latest version, and I'm > trying to re-build the ApiDemos project.  I've imported it properly. > > The problem is > > 1. the .aidl files aren't being processed at all by Eclipse during the > p

[android-developers] .aidl and resource files not processed by Eclipse.

2010-08-12 Thread Richard Schilling
I've recently upgraded the Android SDK to the latest version, and I'm trying to re-build the ApiDemos project. I've imported it properly. The problem is 1. the .aidl files aren't being processed at all by Eclipse during the pre-processing stage. 2. R.java isn't re-generated at all by eclipse U

Re: [android-developers] SeekBar Increment Value

2010-08-12 Thread Mark Murphy
On Wed, Aug 11, 2010 at 2:13 PM, Mark Siano wrote: > I have a SeekBar and I want the SeekBar to increment by for example 5 > each time somebody drags it.  The default increment is 1.  How can I > make it increment by more than 1?  Is there a simple method? Multiply the result (e.g., getProgress()

Re: [android-developers] reading and parsing call DTMF

2010-08-12 Thread Mark Murphy
On Wed, Aug 11, 2010 at 9:20 AM, doronguy wrote: > im testing case for reading and acting upon DTMF Tone reviced from a > seession call,is this possible ?? Android SDK applications have no means to access the in-call audio stream, so I am not sure how you will get the DTMF tones. -- Mark Murphy

Re: [android-developers] Driving directions in Google map view

2010-08-12 Thread Mark Murphy
On Wed, Aug 11, 2010 at 5:25 AM, tushar wrote: > The Google Directions webservice provides direction waypoints given > two geo locations. Is there some support available in Android MapView > for output (XML/JSON) spitted by this web service or do I have to roll > out my own parser and some kind of

[android-developers] Re: Whats first onCreate or the constructor

2010-08-12 Thread Busa
You might not want to do what you want directly in the activity. You might want to create a different class and put the necessary calls in that. Then you can instantiate an instance in the oncreate method. Typically oncreate is a good place to initialize GUI components and callbacks. Cheers. On

Re: [android-developers] Re: best way to debug ANR...

2010-08-12 Thread Frank Weiss
AFAIK there's no silver bullet, sorry. Just your skill at debugging: narowwing down the problem, correlating the problem, studying log files, studying stack traces, stepping through the code... -- You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] Re: Detect Wifi Enabled/Disabled

2010-08-12 Thread KG
Thank you very much, this is what I needed. On Aug 12, 3:20 pm, Kostya Vasilyev wrote: > Look up WifiManager and its broadcast action definitions. > > -- > Kostya Vasilyev --http://kmansoft.wordpress.com > > 13.08.2010 2:10 пользователь "KG" написал: > > Hi Everyone, > > This seems like a common

Re: [android-developers] SampleSyncAdapter demo code -- 2 questions

2010-08-12 Thread Connick
The OS governs the sync process. As for interval, there's periodic sync but that's only as of 2.2. To work around that I ended up using alarm manager on 2.1 to request a sync at whichever interval. -Stace On Wed, Aug 11, 2010 at 5:30 PM, Tom Millett wrote: > I've read through the SampleSyncAdapt

Re: [android-developers] Widget update on some event. Is it possible?

2010-08-12 Thread Kostya Vasilyev
A widget provider (the class you define in the manifest) is a subclass if BroadcastReceiver. As such, it can receive any broadcast action (from the driver), you just need to declare it alongside the update action in the manifest. No polling is necessary. -- Kostya Vasilyev -- http://kmansoft.wor

[android-developers] Re: best way to debug ANR...

2010-08-12 Thread Eddie Ringle
adb logcat? On Aug 11, 5:21 pm, sdphil wrote: > hi.  what is the best way to debug ANR.  ideally, it would be nice to > know what call / thread / file and line number it is stalled at when > the ANR occurs, but every time I look at /anr/traces.txt, I can't seem > to find anything that points to s

Re: [android-developers] Whats first onCreate or the constructor

2010-08-12 Thread Frank Weiss
I don't understand. What is the relationship between the Activity for which onCreate() is called and the object whose constructor is called? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develo

[android-developers] VideoView inside a ListView

2010-08-12 Thread Sandy
I am trying to play a video via VideoView in my android application. The VideoView is one of items inside a ListView. Video playing functionality works good but when the list scroll happens, there are rendering artifacts at the boundaries of the list. Also, the video view surface changes location o

Re: [android-developers] source code

2010-08-12 Thread Frank Weiss
http://source.android.com/ -- 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.co

Re: [android-developers] ERROR IN "C:\Users\lenovo\Desktop\android-sdk_r06-windows\android-sdk-windows>>SDK Setup.exe"

2010-08-12 Thread Kevin Duffey
What is the problem? The subject line is a bit vague.. need more details... On 8/12/2010 2:01 PM, izzet.ulas wrote: Hi everybody, I need solution my big problem, please tell me advices.. -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] SyncAdapter for GoogleContacts

2010-08-12 Thread thstart
I need to create my own SyncAdapter for GoogleContacts. CoogleContacts are push and I would like the SyncAdapter to update when there is a change in Contacts on Google Server. Is this possible? -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] OpenGL ES 2.0 available on the updated HTC Hero? (Android 2.1)

2010-08-12 Thread Johan Gardell
Hi all! I'm trying to run some of the hello-gl2 code on my HTC Hero updated to Android 2.1 but i keep getting the error "java.lang.IllegalArgumentException: No configs match configSpec", which is in GL2JNIView.java on line 168. My question, before i try any other codes/workarounds etc, is OpenGL

[android-developers] Blocking Bluetooth Discovery issue

2010-08-12 Thread Bonnarooster
Goal: Run startDiscovery() in a separate method which will wait/block until the discovery finishes and then return a list of all available devices. Problem: We have a seperate API package declared as a basic java project in eclipse which imports the android jar. From an actual android project w

[android-developers] How do you create a custom Preference which needs to invoke a "activity for result" like RingtonePreference?

2010-08-12 Thread Pino Silvaggio
Seriously, who decided or wrote this code? PreferenceManager contains very useful methods like "registerOnActivityResultListener" which enables you to call startActivityForResult in your custom preference like RingtonePreference does but it's restricted at the package level!? So tell me, let's sa

Re: [android-developers] Re: Bind the pushpin on image

2010-08-12 Thread Farjad Habib
use map layout... I hope it can help... On Thu, Aug 12, 2010 at 11:20 AM, Beena wrote: > hi > Is there any one who can guide? > > On Aug 6, 11:04 am, Beena wrote: > > Hi all, > > I have an image of 600x600. Which is scrollable horizontally and > > vertically. > > And then I have to add the pus

[android-developers] Iny Information for Android 2.2 Patch to Write on USIM card

2010-08-12 Thread anurag sachan
Hello, I am looking for the information regrading a patch avaliablity for Android 2.2 so that Mobile Application can write on USIM card (3G SIM). Please also let me know which handset is coming into the market with this patch. It is very important to know for my application. Thanks, Anurag --

[android-developers] Widget update on some event. Is it possible?

2010-08-12 Thread MikeLev
Hi, I hope it is the right android group for this question. I have a widget that is essentially an image button that toggles display and speaker modes on a custom Android 2.1 platform. It also displays different images to indicate what mode is currently selected. We are adding a hardware button

[android-developers] How to get Viewfinder state

2010-08-12 Thread Raghu sesha
Hi, I need to get the camera viewfinder state in my application. I need to see if someone is using the camera/camcorder. How can I achieve this? I could not find an intent that reports this state. Regards, Raghu S -- You received this message because you are subscribed to the Google Group

[android-developers] Please help , how you would do it

2010-08-12 Thread joel
Need some guidance to incorporate dynamic authentication as in here http://consumeradoption.com/sherman1/ Thank You. -- 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] How to write ContentProvider for content not stored in a file nor DB?

2010-08-12 Thread Sergey
Hi, I need to write a ContentProvider to provide a dynamically generated audio stream to be playable by MediaPlayer. That is MediaPlayer will use ContentResolver.openInputStream() to play it. I have read a lot of discussions about this problem but no one had a solution yet. The most recent one was

[android-developers] OpenCORE on Linux x86 PC

2010-08-12 Thread Tony
Hi, I want to run the opencore test on my linux pc. And I followed quick_start.txt to build OpenCORE outside of Android, and got the link errors: undefined reference to `vtable for PVMFAsyncEvent' undefined reference to `vtable for PVMFCmdResp' 1. Can the opencore test app be run on my linux x86 p

[android-developers] how to detect incomming sms with api level 8 (2.2 FROYO)

2010-08-12 Thread kbn
since 0.9, this feature has been deleted. My question is how to detect this event, and how can sms apps detect it (like chomp sms or handcent) Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

[android-developers] reading and parsing call DTMF

2010-08-12 Thread doronguy
im testing case for reading and acting upon DTMF Tone reviced from a seession call,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@googlegroups.com To unsubscribe f

[android-developers] Whats first onCreate or the constructor

2010-08-12 Thread Scott Herbert
Firstly I hope this isn't too basic a question, I'm new to Java (and be extension Android) so please forgive me if it's obvious to everyone else, but I couldn't find the answer via Google. I have a simple app I'm writing primary because I and at least one of my friends want it but also to learn Ja

[android-developers] Driving directions in Google map view

2010-08-12 Thread tushar
Hi, I am working on an app (not browser-based) that shows restaurants around my current GPS fix. I would like to show driving directions to the store selected by the user on the map view. The Google Directions webservice provides direction waypoints given two geo locations. Is there some support

[android-developers] Subscription to HorizontalScrollView

2010-08-12 Thread Thibaut
Hello, I'm trying to develop a scrollable dot chart to represent temporal events. There are 2 HorizontalScrollViews in my layout. I want the one above updates his position if the user changes the position of the one below. Is there any listener or anything else that can help me? I didn't find any

[android-developers] SampleSyncAdapter demo code -- 2 questions

2010-08-12 Thread Tom Millett
I've read through the SampleSyncAdapter project (http:// developer.android.com/resources/samples/SampleSyncAdapter/index.html). The main entry point for the SampleSyncAdapter appears to be the onPerformSync(...) method. In the documentation page for the sample, it mentions that "[onPerformSync]..

[android-developers] 2.2 Media File Support

2010-08-12 Thread Alex
Is there an updated list of media files that are supported on 2.2? I'm fairly certain that the list located at: http://developer.android.com/guide/appendix/media-formats.html is outdated. I have a file that's using: - AAC for audio encoding - AVC for video encoding - MPEG-4 for it's file contain

[android-developers] source code

2010-08-12 Thread Tony319
Hey guys, Just downloaded the Android SDK and want to get busy learing how to program using this platform. My question is, where can I download the source code? Thanks Cheers, Tony319 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To p

[android-developers] Google browser certificate issue

2010-08-12 Thread Mathew
Hi When I open the browser on my n1 the default page is Google.com. I get an certificate error saying the one I am having is not dated correctly. What to do? Mathew -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[android-developers] Re: Compile Sip Stack

2010-08-12 Thread Mamadou
Don't see what is the problem. On Jul 7, 4:56 pm, "Fred Grott(Android Expert, http://mobilebytes.wordpress.com)" wrote: > You would not use C/C++ for thesipstack for obvious reasons of cost > of moving objects over the JNI > > On Jul 7, 9:40 am, André Barbosa wrote: > > > hi, > > anyone could c

[android-developers] Re: java.lang.NullPointerException when trying to edit strings.xml

2010-08-12 Thread Omkar
Thanks, this helps On Jul 9, 11:10 pm, Nitin Dahyabhai wrote: > On Jul 2, 5:16 pm, Xavier Ducrohet wrote: > > > Hello all, > > > We've tracked down this issue to a bug in the Eclipse Web tools > > plug-ins which provide the XML models and editors that our plug-ins > > use. > > > For reference, E

[android-developers] How to statically link SQLite against my app

2010-08-12 Thread Porcupine
I've hit an SQLite bug (mentioned here: http://old.nabble.com/Android-database-corruption-td28044218.html#a28044218) that affects the version of SQLite bundled with < 2.2 Android. What I'd like to do is bundle a newer version of SQLite along with my app. I've been told that I can use the NDK to d

  1   2   3   >