[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-04-25 Thread Huebi
I just hit the same issue and cannot disable copy protection any more. And the description in the Market is not exactly long enough to provide all the required information... :( In my case, the _new_ SQLite Database fails. There has never been one before in our app and still it breaks: 04-25

[android-developers] Re: Can't upload my app in the market ! Market requires the minSdkVersion to be set in AndroidManifest.xml.

2009-04-25 Thread Huebi
which is nice because even the new (I know, it is a pre-release, but stull) Eclipse plugin does not put this as the first line... Thanks for those who fought until it worked :) On 25 Apr., 07:30, 6real xirgon...@gmail.com wrote: Yes it works : uses-sdk android:minSdkVersion=2 / as first

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-04-25 Thread Huebi
I just hit the same issue and cannot disable copy protection any more. And the description in the Market is not exactly long enough to provide all the required information... :( In my case, the _new_ SQLite Database fails. There has never been one before in our app and still it breaks: 04-25

[android-developers] sqlite, big tables and like/glob statement

2009-04-25 Thread skink
hi, anyone working with big sqlite tables and trying to match rows using patterns (for example for autocomplete purposes) ? recently i played with LIKE statement and it seems it will never use table index (if any), you have to use GLOB instead. but... the weird thing is that you cannot use

[android-developers] Re: URGENT!!!!! Can't update apps in android market!!!

2009-04-25 Thread Josh Dobbs
I just did it with no problem I used uses-*sdk* android:minSdkVersion=1 / put it right after the openin manifest tag. On Fri, Apr 24, 2009 at 6:40 PM, s...@zooropa.com s...@zooropa.com wrote: I'm still having the same problem as below when I insert the: uses- sdk

[android-developers] Making VideoView play automatically

2009-04-25 Thread Miguel Paraz
Hi, How can I make a VideoView play immediately, without the user having to select the MediaPlayer UI Play button? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Making VideoView play automatically

2009-04-25 Thread Nithin Varamballi
HI... Create one one obect of VideoView then give objectname .start(); Thank You Nithin N V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Android 1.5: How to get the BT state?

2009-04-25 Thread scanning_it
Thank you very much. I am aware that it is not part of the public API. :) On Apr 24, 10:41 pm, Nick Pelly npe...@google.com wrote: On Fri, Apr 24, 2009 at 7:09 AM, code_android_festival_way festival.s...@googlemail.com wrote: At the moment I am trying to update my application to Android

[android-developers] Re: Android 1.5: How to get the BT state?

2009-04-25 Thread scanning_it
Well after testing the whole thing I recognized that the state is not delivered via an Intent extra. (although mentioned in the SDK) Here is what I tried: Log.e(TAG,Received Bt change. Change action: +intent.getAction ()); int state = intent.getIntExtra(BLUETOOTH_STATE, 404);

[android-developers] Re: sqlite, big tables and like/glob statement

2009-04-25 Thread skink
On 25 Kwi, 05:34, skink psk...@gmail.com wrote: hi, anyone working with big sqlite tables and trying to match rows using patterns (for example for autocomplete purposes) ? recently i played with LIKE statement and it seems it will never use table index (if any), you have to use GLOB

[android-developers] Re: minsdkversion required in manifest to upload an app upgrade

2009-04-25 Thread sage2...@gmail.com
Thanks Clark! That solved it. -Wes --~--~-~--~~~---~--~~ 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

[android-developers] WebView visited links

2009-04-25 Thread Mattaku Betsujin
Hello, Is there a way to programatically tell a WebView that certain links have been visited, and thus should be displayed using dark blue instead of bright blue? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Making VideoView play automatically

2009-04-25 Thread Miguel Paraz
On Apr 25, 2:55 pm, Nithin Varamballi nithi...@gmail.com wrote: HI...           Create one one obect of VideoView          then give objectname .start(); Thanks for the reply! Nothing happens, though. No logcat logs. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Making VideoView play automatically

2009-04-25 Thread Nithin Varamballi
Try this code... This code woks for me.. package mypack.mydemos; import android.app.Activity; import android.graphics.PixelFormat; import android.os.Bundle; import android.widget.MediaController; import android.widget.VideoView; public class demo extends Activity { /** Called when the

[android-developers] Re: Layout bugs

2009-04-25 Thread jarkman
Mark - I've spent a lot of time developing for a lot of mobile platforms. It's true that they all have their quirks, and they all need a bit of tweakiness, but this stack business seems to me to be more than ordinarily tweaky. The Android layout scheme has been a strange thing to work with. It's

[android-developers] Re: Layout bugs

2009-04-25 Thread jarkman
Jeff - I believe you are posting that from the future, when all the Android devices in the world have 1.5 running on them... :-) R. On Apr 24, 7:11 pm, Jeff Sharkey jshar...@android.com wrote: FastScrollView ListView You can now specify android:fastScrollEnabled=true on the ListView

[android-developers] screenshot for scrolling display

2009-04-25 Thread guruk
hi, i have a calendar app with monthly display. how could i do realize a soft scrolling from one month to another. I thought about doing a screenshot of the act. calendar and creating a screenshot of the next (hidden) month. but first how to do a screenshot and than realize the scrolling :)

[android-developers] Re: Making VideoView play automatically

2009-04-25 Thread Miguel Paraz
On Apr 25, 4:32 pm, Nithin Varamballi nithi...@gmail.com wrote: Try this code... This code woks for me.. Yes, it works! The key is to start() before attaching the MediaController. Thank you. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Making VideoView play automatically

2009-04-25 Thread Miguel Paraz
On Apr 25, 4:32 pm, Nithin Varamballi nithi...@gmail.com wrote: Try this code... This code woks for me.. Yes, it works! The key is to start() before attaching the MediaController. Thank you. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] IMP: Central repository creation

2009-04-25 Thread Zhubham
HI EXPERTS, I HAVE BEEN WAITING FOR YOUR REPLIES TO THIS QUERY FOR 2-3 WEEKS. PLEASE LET ME KNOW UR UNDERSTANDING ABOUT MAKING DATA factory configurable.. I HOPE I GET TO HEAR FROM YOU GUYS SOON. Thanks. On Apr 1, 7:40 pm, Zhubham sahilz...@gmail.com wrote: Hi, How can i make any

[android-developers] Memory usage query.

2009-04-25 Thread Zhubham
Hi Experts, I need your help to know what can be the equivalent of following memory usage scenarios for any given android application Memory usage Section Memory (Bytes) (i) Code- i guess this equals apk size?? (ii)

[android-developers] Re: Recording Audio in a call

2009-04-25 Thread Mark Murphy
John Doe wrote: Hi guys. I have a question and i am looking for an answer for a very long time. I am trying to record audio when i call someone and when someone calls me.I am using phonestatelisteners and i am able to record audio from outside (my voice) when i call someone. however when

[android-developers] Re: Android v. 1.5 = FAIL #2: Directly Manipulating Settings

2009-04-25 Thread patg
For the most part, My Vista computer only prompts during install to get permission to write to the programs directory. Personally I find the Andoid model much more annoying because it is so fine grained and meaningless to the average user. On Apr 24, 10:44 am, Mark Murphy

[android-developers] Re: Layout bugs

2009-04-25 Thread Mark Murphy
jarkman wrote: Mark - I've spent a lot of time developing for a lot of mobile platforms. It's true that they all have their quirks, and they all need a bit of tweakiness, but this stack business seems to me to be more than ordinarily tweaky. *shrugs* It all depends on what you're used to.

[android-developers] Re: IMP: Central repository creation

2009-04-25 Thread Mark Murphy
Zhubham wrote: I HAVE BEEN WAITING FOR YOUR REPLIES TO THIS QUERY FOR 2-3 WEEKS. PLEASE LET ME KNOW UR UNDERSTANDING ABOUT MAKING DATA factory configurable.. I cannot speak for anyone else on this list, but the reason I did not respond to your original message is because, to me, your message

[android-developers] apk-builder sdk 1.5

2009-04-25 Thread Fred Grott(shareme)
I know that some new commands may have been added to apk-builder but are the command line ones we used before still valid? For example, can I still denote the junit path usign the same command line sequence? Thanks --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Layout bugs

2009-04-25 Thread Al Sutton
I started coding on a 1Kb ZX-81 (http://en.wikipedia.org/wiki/Sinclair_ZX81), but that doesn't mean I'd expect to see the same problems and limitations on modern hardware, and I do see the stack depth limitations as tweaky. Dianne has already pointed out that even the guys at Google consider it

[android-developers] Re: OnTouchListener OnClickListener

2009-04-25 Thread AusR
Did you find any answers to this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Seeing Double ListView

2009-04-25 Thread Jason Van Anden
I am wondering if anyone else is encountering this issue (or if its just me). I converted an app I have been working on from using a regular view to using SurfaceView. The app accesses listviews to change properties of the elements I am drawing on a canvas. The listviews called from the

[android-developers] Re: Layout bugs

2009-04-25 Thread Dianne Hackborn
On Sat, Apr 25, 2009 at 9:57 AM, Al Sutton a...@funkyandroid.com wrote: Dianne has already pointed out that even the guys at Google consider it a less than optimal, lets hope a 1.6 or whatever brings some improvements. To be clear, the main improvement I expect is a very clear delineation of

[android-developers] Re: orientation change runtime option?

2009-04-25 Thread Dianne Hackborn
I would suggest not doing anything special and letting users select what they want in the global pref that is in 1.5. On Fri, Apr 24, 2009 at 7:21 PM, andrew andrewsach...@gmail.com wrote: Hi, Is it possible to have a user choose how an app should respond to orientation changes? I have it

[android-developers] Re: URGENT!!!!! Can't update apps in android market!!!

2009-04-25 Thread aleung
When I didn't add the minSdkVersion, I got the error message: Market requires the minSdkVersion to be set in AndroidManifest.xml. But even after I added it, there was still error: The server could not process your apk. Try again. I have added the uses-sdk as the first child of manifest:

[android-developers] Re: orientation change runtime option?

2009-04-25 Thread andrew
Thanks for your quick response. My app is kind of specialized and I think users might want it to respond differently to orientation changes than the default (I get a lot of requests for that, hence the android:screenOrientation=sensor ). Is there any other approach I can take that would

[android-developers] Blank screen when switching activities

2009-04-25 Thread MrChaz
Hey, I've got a basic list activity with a few images that when you select one starts a new activity with a SurfaceView (based on the Lunar Lander sample). Some times the screen is just blank, from some debugging I can see that the background .png is being loaded and doDraw() is being called by

[android-developers] Re: Layout bugs

2009-04-25 Thread Mike Hearn
What's the rationale for hard-coding stack sizes at 8k? That's pretty small, even for Java apps that don't allocate things on the stack. Windows will actually grow the stack for you when you exceed the limits, up to the point at which you run out of memory. This really isn't a Views-heirarchy

[android-developers] how to add a button widget to a custom ImageView.

2009-04-25 Thread SMN
Hi All, I am trying to add a button to a custom imageview. I have created a custom view to display an image to the screen, now i wanted to add a custom button on this veiw and display a layout in onClick. The following is my custom view. /** testimgview.java*/ package com.android.testview;

[android-developers] Re: Android v. 1.5 = FAIL #2: Directly Manipulating Settings

2009-04-25 Thread Mike Hearn
I too think this change is a bad idea and will decrease the user's experience with my application. Perhaps, but it'll probably improve the users experience with the phone in general. I'm sure the battery life complaints have reduced G1 sales, and yet my own G1 doesn't seem to have such

[android-developers] Re: Seeing Double ListView

2009-04-25 Thread Jason Van Anden
... am I trying to do the impossible by using a SurfaceView and ListView in the same app? What it looks like to me is that the double buffering on the list is getting flummoxed. j On Sat, Apr 25, 2009 at 1:25 PM, Jason Van Anden jason.van.an...@gmail.com wrote: I am wondering if anyone else

[android-developers] Re: Difficulty Resuming SurfaceView

2009-04-25 Thread Mike Hearn
Does GLSurfaceView do what you want? See the latest blog post. --~--~-~--~~~---~--~~ 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

[android-developers] Transparency on Views behaving differently in 1.5

2009-04-25 Thread Chister Nordvik
Hi! I have a lot of Views where I have set a background image on the top LinearLayout and then I have nested a new linear layout below with a background that is semi-transparent. This works great in 1.1, but in 1.5 the transparency is just disregarded and this breaks my app as the text on top is

[android-developers] Re: Disable XSL transforms in HTTPClient

2009-04-25 Thread Mike Hearn
Is there a reference for that behavior? Can it really be true that an HTTP library includes an XSL transformer? That's some serious scope creep if so! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Smooth scrolling in surfaceview possible?

2009-04-25 Thread admin.androidsl...@googlemail.com
Anyone successfully managed to get smooth scrolling of large image in surfaceview. Always seems a bit jerky to me. I've checked garbage collection and used the code from lunar lander game but not very happy with results. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Recording Audio in a call

2009-04-25 Thread John Doe
Is it going to be possible somehow? in g2 ? cupcake ? i wonder whether it is because of software limitations or hardware limitations... On Apr 25, 5:33 am, Mark Murphy mmur...@commonsware.com wrote: John Doe wrote: Hi guys. I have a question and i am looking for an answer for a very long

[android-developers] Re: Cross process cursor using AbstractWindowedCursor

2009-04-25 Thread Brian Smith
Never mind... I found a way to do it that 1) avoids messing around with custom cursors across process boundaries and 2) is likely more efficient anyway for large numbers of exported records. Setup: - Add export flag to table containing potentially exported records At export time: - Set export

[android-developers] Re: URGENT!!!!! Can't update apps in android market!!!

2009-04-25 Thread jsdf
I am also getting this error. All I did, beyond incrementing my android:versionCode by one, was add: uses-sdk android:minSdkVersion=1 / to the XML. After that, I cannot upload any upgrade. Jason --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] opengl display issue when using g.getHolder().setFormat(PixelFormat.RGBA_8888);

2009-04-25 Thread William
Ok, so I wanted to create a transparent activity where I draw some cubes on the screen. Well I initially was developing with the default settings where g.getHolder().setFormat(PixelFormat.RGBA_); my view in a real narrow scope see below code for sample. when not setting a alpha channel.

[android-developers] Re: opengl display issue when using g.getHolder().setFormat(PixelFormat.RGBA_8888);

2009-04-25 Thread William
I forgot an interesting tid bit of information. There is not issue/ difference on the emulator when i use or dont use the alpha channel. the issue only occurs on the actual phone On Apr 25, 4:54 pm, William william.caine...@gmail.com wrote: Ok, so I wanted to create a transparent activity

[android-developers] Re: SDK1.5 AudioRecord sample rate problem

2009-04-25 Thread szabolcs
Dave, Yoni, Thank you for replying. Is this on the emulator? If so, it may be a limitation of the emulator. Yes, I experienced the problem using the 1.5 prerelease SDK emulator. I dont know how the G1 would behave. Make sure you're using 16 bit samples.. I have tried pretty much ALL

[android-developers] Re: URGENT!!!!! Can't update apps in android market!!!

2009-04-25 Thread Randy McEoin
The market doesn't seem to accept minSdkVersion=2. You must use 1. On Apr 25, 10:42 am, aleung leoli...@gmail.com wrote: When I didn't add the minSdkVersion, I got the error message: Market requires theminSdkVersionto be set in AndroidManifest.xml. But even after I added it, there was

[android-developers] Proper usage of object passing for TabActivity/TabHost

2009-04-25 Thread Derek
I'm working on a TabActivity with 4 tabs, each of which works on various data pieces in a single data object. I have a few questions: - What is the best way to make this object available across all these activities? Is it as an object defined in the TabActivity and visible to each of the

[android-developers] sqlitecursor exceptions while debugging

2009-04-25 Thread andrew
Hi, When I debug I constantly get SQLiteCursor exceptions (see below) that don't seem to affect the program functioning or reference any of my code but make debugging a pain. Is this normal or indicative of a problem with my system or code? Daemon System Thread [5 HeapWorker] (Suspended

[android-developers] Re: opengl display issue when using g.getHolder().setFormat(PixelFormat.RGBA_8888);

2009-04-25 Thread Jon Colverson
On Apr 25, 9:54 pm, William william.caine...@gmail.com wrote: Ok, so I wanted to create a transparent activity where I draw some cubes on the screen.  Well I initially was developing with the default settings where   g.getHolder().setFormat(PixelFormat.RGBA_); my view in a real narrow

[android-developers] What UI Elements in AppWidget?

2009-04-25 Thread nEx.Software
Just wonder what limitations there are for UI elements in AppWidgets? I tried a ListView and was met with an error... I saw the other post that EditText isn't available. Just wondering if there was a full list somewhere? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: What UI Elements in AppWidget?

2009-04-25 Thread Jeff Sharkey
Here ya go: http://groups.google.com/group/android-developers/msg/a5247467151f5e3a j On Sat, Apr 25, 2009 at 6:24 PM, nEx.Software justin.shapc...@gmail.com wrote: Just wonder what limitations there are for UI elements in AppWidgets? I tried a ListView and was met with an error... I saw the

[android-developers] Re: Get scroll speed of a Listview

2009-04-25 Thread Ivan Soto
Thanks for pointing me on the right direction, I also found that List13 example on ApiDemos uses the same method. Ivan Soto Fernandez Web Developer http://ivansotof.com On Fri, Apr 24, 2009 at 8:36 PM, Romain Guy romain...@google.com wrote: Use ListView's scroll listener. You can see how I

[android-developers] Re: What UI Elements in AppWidget?

2009-04-25 Thread nEx.Software
Awesome. Thanks. Not sure why it didn't come up in my search? Oh well, I appreciate the quick response... It helps a lot. On Apr 25, 6:32 pm, Jeff Sharkey jshar...@android.com wrote: Here ya go:http://groups.google.com/group/android-developers/msg/a5247467151f5e3a j On Sat, Apr 25, 2009

[android-developers] Re: ImageView 's layout_width and layout_height

2009-04-25 Thread Lucius Fox
On Sun, Apr 19, 2009 at 12:31 PM, Mark Murphy mmur...@commonsware.com wrote: Lucius Fox wrote: Do I need to set the height/width specifically for my ImageView to match my backgroundDrawable? Or it will pick up automatically. ImageView scales the image to fit the view size, not the other way

[android-developers] Re: URGENT!!!!! Can't update apps in android market!!!

2009-04-25 Thread jsdf
Even with 1 this does not work. I still get The server could not process your apk. Try again. I've pasted the relevant AndroidManifest.xml code below. Is there anything else that is wrong? Perhaps use of the custom Application (vs. the default Application) is throwing the XML parser for a loop?

[android-developers] How to draw a rectangle on screen using layout.xml file

2009-04-25 Thread Lucius Fox
Hi, I am trying to draw a rectangle using layout.xml file without java code. So this is what I tried: LinearLayout color android:layout_width=wrap_content android:layout_height=10dp android:color=#00ff00 / /LinearLayout

[android-developers] Re: Transparency on Views behaving differently in 1.5

2009-04-25 Thread Dianne Hackborn
I can't think of anything that could have changed here -- there is really nothing special the view hierarchy does in this case, it is just drawing the views on on top of the other in Z-order. And we certainly have transparent background working in many other places, such as the background image

[android-developers] Re: orientation change runtime option?

2009-04-25 Thread Dianne Hackborn
You can certainly have a user preference that lets them select between sensor, nosensor, portrait, landscape, and set that in the activity when it starts with the API on Activity. On Sat, Apr 25, 2009 at 11:15 AM, andrew andrewsach...@gmail.com wrote: Thanks for your quick response. My app is