[android-developers] Re: Using ActionBar while remains compatible with Android 2.x?

2011-11-19 Thread dara kok
Why not just ur solution here. -- 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: android SQLite query

2011-11-19 Thread chripo
the string datatype is called TEXT in sqlite. to setup working tables see http://www.sqlite.org/lang_createtable.html -- christoph polcin www.christoph-polcin.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: dynamic gallery array

2011-11-19 Thread chripo
1. subclass BaseAdapterhttp://developer.android.com/reference/android/widget/BaseAdapter.html - implement getCount, getView 2. subclass AsyncTaskString, Void, Bitmap - load your image in doInBackground, scale it down and cache it to the temporary chache dir - set the image in the

[android-developers] Re: Action Bar

2011-11-19 Thread Royston
But on a Large emulator I still get this behavior i.e. no menu overflow icon so no obvious access to menus! Regards Roy On Nov 16, 12:17 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Nov 16, 2011 at 4:15 AM, Royston roystonpcar...@gmail.com wrote: I am building an application and

Re: [android-developers] Re: Action Bar

2011-11-19 Thread Mark Murphy
On Sat, Nov 19, 2011 at 6:19 AM, Royston roystonpcar...@gmail.com wrote: But on a Large emulator I still get this behavior i.e. no menu overflow icon so no obvious access to menus! Which SDK are you using? IIRC, -large support was not added until 3.1 or 3.2. -xlarge was there from 3.0, and I

Re: [android-developers] New developer agreement

2011-11-19 Thread Kostya Vasilyev
This is a great day for Titanium Backup users :) 19.11.2011 8:54, Nikolay Elenkov пишет: Products that cannot be previewed by the buyer (such as applications): You authorize Google to give the buyer a full refund of the Product price if the buyer requests the refund within 48 hours after

[android-developers] Re: New developer agreement

2011-11-19 Thread Sanchiski
this actually ain't true, is still 15 minutes. The 48 hours has been there since day 1. It only means if that the user contacts you complaining that he wants a refund, he has 48 hours to do it so. But through google checkout he will still have the usual 15 minutes gap. On 19 nov, 14:05, Kostya

Re: [android-developers] AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-11-19 Thread Kostya Vasilyev
Hi, The original code that you posted did contain concurrent (multithreaded) reads and writes of the activity member variable. That concurrency was causing null pointed exceptions in a *seemingly* impossible place. The reason, as far as I can tell, you had concurrent access to the member

[android-developers] question about WebChromeClient

2011-11-19 Thread Zhihong GUO
Hi all, Can anyone tell me what's WebChromeClient for? I read the document on developer.android.com but still some unclear issues: what's the onShowCustomView for? when it will be called ? can you give an example or user experience on that ? thanks a lot James -- You received this message

Re: [android-developers] question about WebChromeClient

2011-11-19 Thread Mark Murphy
On Sat, Nov 19, 2011 at 8:22 AM, Zhihong GUO gzhh...@gmail.com wrote: Can anyone tell me what's WebChromeClient for? It is for events that might be triggered by HTML or JavaScript that would affect a browser but (typically) not in the HTML rendering area. The canonical example is the alert()

Re: [android-developers] Re: New developer agreement

2011-11-19 Thread Kostya Vasilyev
Hm... it doesn't sound like that to me at all: You authorize Google to give the buyer a full refund of the Product price if the buyer requests the refund within 48 hours after purchase. It's seems quite clear that: 1) the time applies to when the user requests the refund, not to how long it

Re: [android-developers] Re: New developer agreement

2011-11-19 Thread Mark Murphy
On Sat, Nov 19, 2011 at 8:19 AM, Sanchiski sanchi...@gmail.com wrote: this actually ain't true, is still 15 minutes. The 48 hours has been there since day 1. It only means if that the user contacts you complaining that he wants a refund, he has 48 hours to do it so. But through google checkout

[android-developers] Re: New developer agreement

2011-11-19 Thread Sanchiski
as I said, the 48hours is there since day one, this has not changed even when the gap was reduced to 15 minutes. Is the type gap for refunds asked directly to the developer or by complain to google. The new agreement is just and update for new content. On Nov 19, 2:31 pm, Mark Murphy

Re: [android-developers] Re: New developer agreement

2011-11-19 Thread Kostya Vasilyev
Thanks Mark, this helps. So the 48 hours clause has always been there. This change really jumped at me: the new agreement seems to allow applications whose primary purpose is to sell content. -- Kostya 19.11.2011 17:31, Mark Murphy пишет: On Sat, Nov 19, 2011 at 8:19 AM,

[android-developers] Re: fall back

2011-11-19 Thread hoyski
On Nov 18, 12:47 pm, bob b...@coolgroups.com wrote: I have this code                 try {                 mGLView.setEGLConfigChooser (8, 8, 8, 8, 0, 0);                 }                 catch(Exception e)                 {                         mGLView.setEGLConfigChooser(false);  

[android-developers] EGLConfigChooser

2011-11-19 Thread bob
Any good info on how to make your own EGLConfigChooser? The official docs on this seem quite lacking. -- 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

[android-developers] android SQLite query

2011-11-19 Thread lbendlin
You will need to learn SQL. Getting all data from a table goes like SELECT * FROM tablename That's what needs to go into the SQL string field. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] android SQLite query

2011-11-19 Thread Deepu George Jacob
I am facing a problem to access IP camera directly in android.I got byte streams of video file by using http request I am facing a problem How to convert live stream to video file . Anybody knows it please replay me.. Thanks -- You received this message because you are subscribed to the

Re: [android-developers] Speech processing @ emulator.

2011-11-19 Thread Deepu George Jacob
Yes it is true -- 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

[android-developers] Action Bar

2011-11-19 Thread Navindian
could you please send a minimal action bar example which just shows the tabs on the top. It needs to be a minimal version.just to run on a tablet with android 3.0. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: Please Help with GPS Provider Switch

2011-11-19 Thread Deepu George Jacob
GPS never use timer it will automatically update At first check your is GPS enabled..It also done by programatically ... To check the location changed by using location.getSpeed(); location.getLatitude() some thing like that -- You received this message because you are subscribed to the

[android-developers] ZoomButtonsController keeping touch events from custom view

2011-11-19 Thread Alex Pruss
I have a ZoomButtonsController and a custom view. I call ZoomButtonsController.setVisible(true) from the custom view's onTouch() on ACTION_DOWN. But as soon as I call ZoomButtonsController.setVisible(true), the custom view stops receiving any events via onTouch(). The containing activity's

[android-developers] Re: ZoomButtonsController keeping touch events from custom view

2011-11-19 Thread Alex Pruss
OK, I have a workaround. Instead of using an OnTouchListener(), I just use onTouchEvent() in the custom view. Works perfectly fine. On Nov 19, 10:23 am, Alex Pruss arpr...@gmail.com wrote: I have a ZoomButtonsController and a custom view.  I call ZoomButtonsController.setVisible(true) from

[android-developers] How can I save image on sd card with onpreviewfame??????

2011-11-19 Thread muhammad.ume...@hotmail.com
Hi, please tell me with the code example, how can we save images on sd card from OnperviewFrame(byte[] data, Camera camera) what can we do with this data byte array, to store as image on sd card. I know i want to decode it but not succeed.please please give me the code example to do this.

Re: [android-developers] EGLConfigChooser

2011-11-19 Thread Latimerius
The EGLConfigChooser part of this is really easy - you just override a single member function and that's it. ;-) Once you have figured out what you want the rest is just plain old EGL. However, be prepared to bump into strange things. I noticed (some?) HTC and LG devices return configs

[android-developers] Re: fall back

2011-11-19 Thread bob
Turns out this statement doesn't throw the exception: mGLView.setEGLConfigChooser (8, 8, 8, 8, 0, 0); What it does is set things up for the exception to be thrown at some unclear point in the future. What I'm trying to do is use 32 bit color if supported. Otherwise, use whatever. Hasn't

[android-developers] Debugging ADK (USB Accessories) over TCPIP

2011-11-19 Thread JohnH
Hi, I'm trying (and failing) to debug an ADK based project. I can successfully start adb on port and connect to the device: C:\android-sdk\platform-toolsadb tcpip restarting in TCP mode port: C:\android-sdk\platform-toolsadb connect 192.168.2.3: connected to 192.168.2.3:

[android-developers] Problem with loosing contains of ArrayList please help

2011-11-19 Thread Graham Bright
Hi all, I am new to Android programming and I am trying to write an application which uses a blocking list based on ArrayList. The class Querycontacts presents to the user contains to block. Querycontacts calls ExtractContracts to add the number to an ArrayList checking to see if the number is

[android-developers] Re: fall back

2011-11-19 Thread bob
Turns out adding the second line makes it work: mGLView = new GLSurfaceView(this); mGLView.getHolder( ).setFormat( PixelFormat.RGBA_ ); On Nov 19, 9:05 am, bob b...@coolgroups.com wrote: Turns out this statement doesn't throw the exception:

[android-developers] Dangerous audio noise while using of headphones

2011-11-19 Thread Harald
Hi, my android and many others have a dangerous noise. This noise is easy recognizable in the silent parts of audio files. Many people think that this noise is not present in the load part of the audio file. But, this is not true. The noise is always present and at a very high level at a very high

[android-developers] Re: Dangerous audio noise while using of headphones

2011-11-19 Thread Harald
I forgot to mention: 2.3.4 On 19 Nov., 19:34, Harald harald65.si...@googlemail.com wrote: Hi, my android and many others have a dangerous noise. This noise is easy recognizable in the silent parts of audio files. Many people think that this noise is not present in the load part of the audio

Re: [android-developers] Dangerous audio noise while using of headphones

2011-11-19 Thread Mark Murphy
On Sat, Nov 19, 2011 at 1:34 PM, Harald harald65.si...@googlemail.com wrote: Hi, my android and many others have a dangerous noise. And your proof of this is, what, exactly? This noise is easy recognizable in the silent parts of audio files. Then it should be easy for you to provide detailed

Re: [android-developers] Re: New developer agreement

2011-11-19 Thread String
On Saturday, November 19, 2011 1:31:57 PM UTC, Mark Murphy (a Commons Guy) wrote: I have a ChangeDetection.com profile set up for this document: http://www.changedetection.com/log/android/developer-distribution-agreement_log.html Well done, Mark. An excellent way to stop the rampant

Re: [android-developers] Re: New developer agreement

2011-11-19 Thread Jim Graham
On Sat, Nov 19, 2011 at 05:19:08AM -0800, Sanchiski wrote: this actually ain't true, is still 15 minutes. The 48 hours has been there since day 1. It only means if that the user contacts you complaining that he wants a refund, he has 48 hours to do it so. But through google checkout he will

[android-developers] Strikethru Differennt Color Than Text

2011-11-19 Thread Jay
Is it possible to to create a span of text in a textview in which the strikethru line is a different color than the text. I cannot find much documentation on the SpannableString interface. Thanks, Jay -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: localization bloats my app - is there an alternative approach?

2011-11-19 Thread mot12
That's an interesting viewpoint :). But I think it depends on the app; this may apply more to games where users anticipate levels and graphics but probably not so much for a calculator or an alarm clock (as is the case with my app). -- You received this message because you are subscribed to the

[android-developers] Gesture help

2011-11-19 Thread bt
Hi, I would like to switch screens by swiping left and right. I have a ScrollView inside a GestureOverlayView and everything is OK until I use a SeekBar. But there are SeekBars inside the scroll view and if I change the seekbar value with my finger by moving it to the left or right then the

Re: [android-developers] Gesture help

2011-11-19 Thread Mark Murphy
Try using a ViewPager instead of the ScrollView and GestureOverlayView. On Sat, Nov 19, 2011 at 6:06 PM, bt barta...@gmail.com wrote: Hi, I would like to switch screens by swiping left and right. I have a ScrollView inside a GestureOverlayView and everything is OK until I use a SeekBar. But

[android-developers] How to set WebView to follow 302 redirects

2011-11-19 Thread DoubleCheese
Hi, I am using a webview to load a URL which results in a few 302 redirects. However, I've noticed that it doesn't seem to follow the redirects correctly. Is there a way to setup WebView so it follows the redirect? Here is the code I use to initialize my WebView: final WebView webview =

Re: [android-developers] How to set WebView to follow 302 redirects

2011-11-19 Thread Mark Murphy
Add a WebViewClient with a shouldOverrideUrlLoading() implementation. That method gets control for link clicks and redirects. You can then load the redirected URL back in the WebView. On Sat, Nov 19, 2011 at 7:01 PM, DoubleCheese dennis.ang...@gmail.com wrote: Hi, I am using a webview to load a

[android-developers] Re: How to set WebView to follow 302 redirects

2011-11-19 Thread DoubleCheese
Hi, Thanks for the reply, I am already using a WebViewClient here (ThisWebViewClient). However, what I've noticed is that the shouldOverrideUrlLoading() seems to be not getting the right hostname and my theory is that the 302 processing has already happened before the shouldOverrideUrlLoading()

[android-developers] Re: Webview weird redirect

2011-11-19 Thread DoubleCheese
Hi, Did you manage to sole this issue? On Sep 22, 8:29 pm, yringel yrin...@gmail.com wrote: Hey, I've created aWebView, and given him an Open ID url (from Google / Yahoo Open ID). For some reason, after entering the user details, the viewredirects to my site behind the scenes - I couldn't

Re: [android-developers] Re: How to set WebView to follow 302 redirects

2011-11-19 Thread Mark Murphy
On Sat, Nov 19, 2011 at 7:14 PM, DoubleCheese dennis.ang...@gmail.com wrote: Thanks for the reply, I am already using a WebViewClient here (ThisWebViewClient). I noticed that about five seconds after pressing Send... :-) However, what I've noticed is that the shouldOverrideUrlLoading() seems

Re: [android-developers] question about WebChromeClient

2011-11-19 Thread Zhihong GUO
Hi Mark, Thank you so much! 2011/11/19 Mark Murphy mmur...@commonsware.com On Sat, Nov 19, 2011 at 8:22 AM, Zhihong GUO gzhh...@gmail.com wrote: Can anyone tell me what's WebChromeClient for? It is for events that might be triggered by HTML or JavaScript that would affect a browser but

[android-developers] Re: Strikethru Differennt Color Than Text

2011-11-19 Thread Zsolt Vasvari
Get the source code for the class that implements strikethru and modiify it to your liking. On Nov 20, 4:43 am, Jay johnabloodwor...@gmail.com wrote: Is it possible to to create a span of text in a textview in which the strikethru line is a different color than the text. I cannot find much

Re: [android-developers] Re: Webview weird redirect

2011-11-19 Thread Yiftach Ringel
No.. Do you have an idea how to solve it? Thanks! On Sat, Nov 19, 2011 at 7:21 PM, DoubleCheese dennis.ang...@gmail.comwrote: Hi, Did you manage to sole this issue? On Sep 22, 8:29 pm, yringel yrin...@gmail.com wrote: Hey, I've created aWebView, and given him an Open ID url (from

[android-developers] Re: Strikethru Differennt Color Than Text

2011-11-19 Thread Jay
I have actually already considered that. The StrikethruSpan class just sets the strikethru bit on the Paint that is passed through it; there does not seem to be a separate field for strikethru color. Unfortunately, I cannot find any documentation of the entry points that custom Spans have

[android-developers] Re: Webview weird redirect

2011-11-19 Thread shashi asanka
You mean after entering your details and click something your page doesn't load to to same place (I mean same web view ) is that your problem ? -- 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] Remove menu if no camera found?

2011-11-19 Thread limtc
I have a menu item in menu.xml that allows user to click and use camera. Since now there are more devices without camera (Kindle Fire, etc), would like to remove menu (or disable it) if no camera detected. Has anybody done this before? -- You received this message because you are subscribed to

[android-developers] Re: Problem with loosing contains of ArrayList please help

2011-11-19 Thread shashi asanka
What Do you need? mez with your code . tell what exact you want do you want to pass values from one activity to another activity ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: How can I save image on sd card with onpreviewfame??????

2011-11-19 Thread BelvCompSvs
do not decode or do anything other than write the file directly ( unless you want to cipher ) the exact call to getExternalStorage varies some by target and may give different locations some on devices reminds me of htc incredible no default external storage? May 21 2010 - 22 messages - 8