[android-developers] Re: Android Camera Preview Filter Using Camera.PreviewCallback.onPreviewFrame

2008-11-25 Thread blindfold
How come I recognize so many of these findings? ;-) 4. I believe that processing breaks down whenever I spend too much time in the onPreviewFrame function. That's what I observed too: so do the heavy duty image processing outside onPreviewFrame(), with supplementary frame skipping and

[android-developers] Re: Android Camera Preview Filter Using Camera.PreviewCallback.onPreviewFrame

2008-11-26 Thread blindfold
Hi David, I can't seem to make coexist: SurfaceHolder for the camera ImageView for the filtered Bitmap to display. ... Do you know why I can't make the Camera's Surface and an ImageView Bitmap simultaneous members of the same active ViewGroup? I do not use ImageView myself so I cannot

[android-developers] Re: Camera Settings

2008-11-30 Thread blindfold
There are such settings, but they are apparently not supported. See http://groups.google.com/group/android-developers/browse_thread/thread/c1cad408e833282a/ On Nov 30, 4:24 pm, StarLog [EMAIL PROTECTED] wrote: There seems to be no settings for the camera, as far a lighting, i.e. setting day or

[android-developers] Re: Android Dev Phone 1 + Shipping to Germany

2008-12-08 Thread blindfold
To The Netherlands shipping and handling is $178.90. I even got a phone call from the fraud prevention team of my credit card's bank today, because they apparently found it a suspicious transaction. Well, hopefully I'll now have a functional G1 soon. On Dec 8, 2:03 pm, roland [EMAIL PROTECTED]

[android-developers] Re: Android Dev Phone 1 + Shipping to Germany

2008-12-08 Thread blindfold
did anyone who ordered the dev phone receive a upstrackingnumber? Not yet, but that is supposedly to come later (http:// android.brightstarcorp.com/help.php): How can I track my order? Once your order ships, you will receive an email with your shipment tracking information. With the

[android-developers] Re: Android Dev Phone 1™

2008-12-11 Thread blindfold
Hmm, maybe that was the same lady named Dana who yesterday properly canceled one of my two orders that arose from a server glitch at Brightstar. On Dec 11, 5:11 pm, cyntacks [EMAIL PROTECTED] wrote: Hey guys, Just an FYI, I called Brightstar yesterday to inquire on my order. After calling a

[android-developers] Re: Camera.PreviewCallback IOException

2008-12-12 Thread blindfold
2. G1 doesn't support 100, 100 preview. It only does 480 x 320, but your request will not cause any problems, it will just get ignored. When you finally do receive the preview callback check the actual frame size in onPreviewFrame. Correct, but end-user testing indicated that the situation

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-12 Thread blindfold
Same with me. Basically all I want is to automatically compose an e- mail with a subject line, recipient address and an image attachment, and an e-mail app should then pop up with this automatically composed message, to let the user decide whether to send, edit or discard the message. My purpose

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-12 Thread blindfold
I'd love to see that one extra line in your example that shows how to add an image file attachment with the image file stored on the SD card. :-) On Dec 12, 3:42 pm, Peli peli0...@googlemail.com wrote: From that link:http://www.openintents.org/en/node/121I copy and paste it here: Intent

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-13 Thread blindfold
Fabulous Peli! Thank you. I found the online documentation a bit intimidating at first, but this example gives a great flying start. Regards On Dec 12, 9:08 pm, Peli peli0...@googlemail.com wrote: I'd love to see that one extra line in your example that shows how to add an image file

[android-developers] Text-to-Speech for Android: Eyes-Free

2008-12-16 Thread blindfold
For your information. I was tipped by a reliable source about the availability of Eyes-Free, a new text-to-speech (TTS) library from Google that currently uses an Android port of the eSpeak text-to- speech engine: http://eyes-free.googlecode.com/svn/trunk/documentation/tutorial/tutorial.html

[android-developers] Re: Text-to-Speech for Android: Eyes-Free

2008-12-16 Thread blindfold
Just curious, Jean-Baptiste: will there be the same speech recognition engine that currently powers Google's Voice Search on the iPhone? Thanks On Dec 16, 3:24 pm, Jean-Baptiste Queru j...@google.com wrote: There is a speech-recognition engine in Android, but there are currently no public

[android-developers] Re: If your hosting your own .apk

2008-12-16 Thread blindfold
Installation via the web may not be available for emulators That was true up to and including SDK 1.0r1, but as of SDK 1.0r2 webmasters can install an APK directly from their own website using the browser on the emulator, after first enabling Unknown Sources (from the main screen selecting Menu

[android-developers] Re: Camera preview to an invisible SurfaceView

2008-12-19 Thread blindfold
Is it possible to capture camera snapshots to bitmaps WITHOUT creating a visible surface view? All samples I saw over internet uses camera preview directly to a surface view and the surface view underneath must be visible. Just do not use setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS) and

[android-developers] Re: camera crash

2008-12-20 Thread blindfold
Maybe you can add a comment at http://code.google.com/p/android/issues/detail?id=1578 such that it becomes apparent that it is not an exemplary fault. On Dec 20, 10:40 am, Boshik bos...@gmail.com wrote: I have the same symptoms on G1 with my app using camera preview to opengl surface.

[android-developers] Re: Camera preview to an invisible SurfaceView

2008-12-20 Thread blindfold
The problem possibly caused by using GLSurfaceView (from the API Demos) as a preview surface. Is it possible to avoid that? Don't know, I use a SurfaceView but no OpenGL, so maybe the hardware acceleration and buffers on the G1 make the difference when using OpenGL. I have no experience with

[android-developers] Re: Camera Preview is rotated 90. (auto rotates unless keyboard is out)

2008-12-20 Thread blindfold
It is a known G1 bug. See also http://groups.google.com/group/android-developers/browse_thread/thread/601862b9f379e944/ A workaround is to design your app for landscape mode and force it to always run in that mode, for instance by using android:screenOrientation=landscape in the manifest. It is

[android-developers] Re: Camera Preview is rotated 90. (auto rotates unless keyboard is out)

2008-12-20 Thread blindfold
something gets initialized somewhat randomly at power up, perhaps even the camera hardware. In that case, to quote Jason this would suggest that if i set rotation, it would fix some phones and break others. Wonder what others are finding? Regards On Dec 21, 7:17 am, blindfold seeingwithso...@gmail.com

[android-developers] Re: Text-to-Speech for Android: Eyes-Free

2008-12-22 Thread blindfold
I had problems too a couple of days ago, and then needed to use another TTS stub .jar. I'm not sure if the material underneath the tutorial links has in the mean-time been adapted accordingly, but check out the discussion at

[android-developers] How to track menu navigation focus changes?

2008-12-26 Thread blindfold
How can one track menu navigation events, that is, changes in focus as the user moves from menu item to menu item, i.e., yet without selecting (clicking) a menu item? The android.view.Menu.OnSelectionListener, which seemed to fit the bill, has been dropped from earlier versions of the Android

[android-developers] Re: How to track menu navigation focus changes?

2008-12-26 Thread blindfold
a setOnFocusChangeListener() and a setOnItemClickListener (). Why was Menu not designed as a subclass of View such that it would have naturally inherited the listeners? Android currently seems to lack some key functionality for accessibility. Regards On Dec 26, 11:39 am, blindfold seeingwithso

[android-developers] Can one not use @+id with ArrayAdapter layout XML file?

2008-12-28 Thread blindfold
Not using @+id through ArrayAdapterString MyList = new ArrayAdapterString(this, R.layout.mylist); works fine, but using @+id through ArrayAdapterString MyList = new ArrayAdapterString(this, R.id.mylist); does not, where my mylist.xml reads ?xml version=1.0 encoding=utf-8? TextView

[android-developers] Re: Can one not use @+id with ArrayAdapter layout XML file?

2008-12-28 Thread blindfold
Thanks a lot for your clarification, Mark! Very lucid. Regards On Dec 28, 2:07 pm, Mark Murphy mmur...@commonsware.com wrote: blindfold wrote: Not using @+id through ArrayAdapterString MyList = new ArrayAdapterString(this, R.layout.mylist); works fine, but using @+id through

[android-developers] Re: Text-to-Speech for Android: Eyes-Free

2008-12-29 Thread blindfold
, but other than that it is not too bad. Regards On Dec 22, 9:22 am, blindfold seeingwithso...@gmail.com wrote: I had problems too a couple of days ago, and then needed to use anotherTTSstub .jar. I'm not sure if the material underneath the tutorial links has in the mean-time been adapted accordingly

[android-developers] Re: Text-to-Speech for Android: Eyes-Free

2008-12-29 Thread blindfold
quite sluggish for lack of a JIT compiler or equivalent, but other than that it is not too bad. Regards On Dec 22, 9:22 am, blindfold seeingwithso...@gmail.com wrote: I had problems too a couple of days ago, and then needed to use anotherTTSstub .jar. I'm not sure if the material underneath

[android-developers] Problematic Android heap management remaining cause of crashes

2008-12-30 Thread blindfold
One of the main reasons that my app still occasionally crashes is that I have limited control over Android's heap management. In particular, when I launch a new activity from within my app, I see in the DDMS debug view for my dev phone 1 a huge - albeit temporary - free memory dip that sometimes

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2008-12-30 Thread blindfold
I wonder if there could be some bug in this intended VM-like behaviour, because my app continuously uses about 3 to 4 MB on the dev phone 1 according to DDMS (with similar figures reported by freeMemory ()), and DDMS reports a heap size of about 6 MB (not a typo, not 16 MB). And yet my app

[android-developers] Re: imeem and buffering audio with MediaPlayer

2009-01-03 Thread blindfold
How does the HTTP proxy approach perform as compared to saving to flash and then playing from there? Is there any sample code for trying this proxy server workaround for playing audio? Thanks On Jan 2, 6:32 pm, Dave Sparks davidspa...@android.com wrote: I haven't looked at imeem, but one way

[android-developers] Re: imeem and buffering audio with MediaPlayer

2009-01-03 Thread blindfold
, blindfold seeingwithso...@gmail.com wrote: How does the HTTP proxy approach perform as compared to saving to flash and then playing from there? Is there any sample code for trying this proxy server workaround for playing audio? Thanks On Jan 2, 6:32 pm, Dave Sparks davidspa...@android.com

[android-developers] Re: How to track menu navigation focus changes?

2009-01-03 Thread blindfold
could set up listeners for key up/down (and/or scroll), and check to see where thefocusis. It's tacky, but I think it would work for a simple scroll list.  Not sure if this would work for all phones though, and it would definitely be a good thing to have. On Dec 26, 11:46 am, blindfold

[android-developers] Re: How to get Voice data from Android

2009-01-04 Thread blindfold
Probably not yet possible, because the current SDK does not give access to the audio buffers for input or output. On Jan 3, 11:29 pm, er erez.levin...@gmail.com wrote: Hello all, I wish to develop some of my modules onto the Android platform and in order to do so i have some questions

[android-developers] Re: Resizing camera preview dimensions

2009-01-06 Thread blindfold
The G1 ignores whatever preview dimensions you throw at its camera. http://android.git.kernel.org/?p=platform/hardware/msm7k.git;a=blob_plain;f=libcamera/QualcommCameraHardware.cpp Regards On Jan 6, 6:07 pm, Robert rret...@gmail.com wrote: Is anyone aware of how to lower the width and height

[android-developers] Re: imeem and buffering audio with MediaPlayer

2009-01-07 Thread blindfold
The Cupcake roadmap reads about new features at http://source.android.com/roadmap/cupcake Access to the raw audio data for playback and recording from application code and Streaming audio I/O for applications. The associated MediaPlayer API changes well may be minimal, but the resulting

[android-developers] Re: Android Market Developers need phones

2009-01-07 Thread blindfold
Here it is, at last, although we mostly needed this before the dev phone 1 became available: http://www.deviceanywhere.com/index.aspx?sid=6nid=81 On Nov 13 2008, 11:23 am, blindfold seeingwithso...@gmail.com wrote: Maybe some third party will offer such a service. Remote application testing

[android-developers] Re: missing javax audio?

2009-01-08 Thread blindfold
TTS is already available as a library from Android Market and http://eyes-free.googlecode.com, and works quite well in my experience. For many audio purposes, javax.sound is not needed, as other audio APIs may offer similar functionality. For me the audio functionality of Java ME (J2ME) was and

[android-developers] Re: imeem and buffering audio with MediaPlayer

2009-01-08 Thread blindfold
Thanks David. You say that Cupcake's AudioTrack allows for generating raw audio in the application to be streamed to the audio output. It does not include a byte stream interface to the MediaPlayer, for example. Does this mean that it bypasses MediaPlayer altogether in accessing the audio

[android-developers] Re: imeem and buffering audio with MediaPlayer

2009-01-09 Thread blindfold
for its low-level audio interface. Up to 32 tracks of audio can be mixed. On Jan 8, 5:49 am, blindfold seeingwithso...@gmail.com wrote: Thanks David. You say that Cupcake's AudioTrack allows for generating raw audio in the application to be streamed to the audio output. It does

[android-developers] Re: Restart application

2009-01-09 Thread blindfold
You can automatically restart your closed app Activity after a few seconds using the OneShotAlarm approach described at http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/app/ using a scheduled app (re)launch. Regards On Jan 8, 2:39 pm, Evgeny V evgen...@gmail.com

[android-developers] Re: Connecting a Google Dev phone to UK Vodafone

2009-01-10 Thread blindfold
I'm with Vodafone in The Netherlands, and I did not need to buy a different SIM card to get my dev phone 1 registered with Google. I remember that I did have to add live.vodafone.com (and perhaps web.vodafone.nl when doing things via Wifi, not sure) to the list of access point names, and of

[android-developers] Re: Eclipse plugin URL invalid?

2009-01-10 Thread blindfold
Get it from here: http://code.google.com/android/adt_download.html On Jan 10, 7:48 pm, Mark Wyszomierski mar...@gmail.com wrote: Hi, Just switched to eclipse-ganymede, was trying to get the android plugin via the getting started directions here:    

[android-developers] Re: Problematic Android heap management remaining cause of crashes

2009-01-12 Thread blindfold
Haven't heard anything. Some of my earlier problems were caused by using a ListView created in another Activity. I use a ListView instead of the regular Menu because Menu unfortunately lacks a focus listener as needed to create a speaking main menu for blind users. However, a quick succession of

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

2009-01-13 Thread blindfold
Sounds like your have ~300 KB JPEG-compressed images at the standard G1 resolution of 2048 * 1536. At 2 bytes per pixel (using RGB_565 or ARGB_ format) this will in your phone expand into 2048 * 1536 * 2 = 6291456 bytes uncompressed. That's a sizable chunk of memory. Regards On Jan 11, 4:29 

[android-developers] Re: Problematic Android heap management remaining cause of crashes

2009-01-13 Thread blindfold
System.exit() might be easier. You are right. Works out the same. Thanks! What log messages appear when this happens? Below I have interspersed log info labeled by 4fadden and generated from freeMemory() and totalMemory(), showing values that are similar to the DDMS values. The total heap

[android-developers] Re: What's slow on Android?

2009-01-13 Thread blindfold
1. JIT compiler, for real-time signal and media processing. 2. Read/write access to audio buffers, to avoid caching to flash memory. 3. Support for at least one of the Bitmap.Config formats in using the camera preview callback, such that one need not decode an image pixel by pixel but can instead

[android-developers] Re: How to disable Auto-Focus on Camera?

2009-01-14 Thread blindfold
It is not officially supported on the G1, but you might try Camera.Parameters.set(autofocus, false); Regards On Jan 14, 7:52 pm, Wanted unique nickname marc.rob...@gmail.com wrote: Hi,     Does anyone know how to disable autofocus from the Camera class? This feature is available in

[android-developers] Re: How to disable Auto-Focus on Camera?

2009-01-19 Thread blindfold
You will find more, including autofocus, by looking at the LogCat output window in Eclipse as a camera app starts running and changes its (preview) settings. Regards On Jan 19, 8:06 am, marc marc.rob...@gmail.com wrote: Hello Dave or Blindfold,     So I placed the following lines of code

[android-developers] Re: Screen Orientation change performance Question

2009-01-22 Thread blindfold
According to DDMS, my app leaks about 30 KB every time I quit and restart it. It may well be that this is caused by context references, but so far I have been unable to track it down. I think we desperately need some tool or a straightforward method to know exactly *what* is leaking *where* from

[android-developers] Re: Activity.showDialog/dismissDialog BUG

2009-01-23 Thread blindfold
Not sure if it is related to your problem, but I'm reminded of the progress dialog problem discussed earlier at http://groups.google.com/group/android-developers/browse_thread/thread/1211b385358857b9/ On Jan 22, 11:30 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Hi guys, ... Has anyone

[android-developers] Re: Unused java hardware acceleration on the G1 (was Re: Android game developers desperately need optimised game engine example code ...)

2009-04-01 Thread blindfold
A simple jit would probably give a 5-10x+ speed up of the java Yes, this is what I observed in my tests of Nokia 6680 and Sony Ericsson X1 versus Android G1 for the same computational benchmark. It is not good for battery life either when the CPU has to spend 5-10 times as many clock cycles for

[android-developers] Re: Unused java hardware acceleration on the G1 (was Re: Android game developers desperately need optimised game engine example code ...)

2009-04-02 Thread blindfold
Yes, you are right, for many applications it may not be that critical. It rather reflects my own disappointment with the fact that whereas modern Nokia phones meet my real-time requirements with Java ME and offer satisfactory performance for users without any need to mess with native code, the

[android-developers] Use SDK 1.5 features while maintaining SDK 1.0,1.1 backward compatibility

2009-04-14 Thread blindfold
Hi, I want to avoid the SDK 1.0 and 1.1 workaround for playing synthesized audio as of SDK1.5, but for older phones or firmware (SDK 1.0 and 1.1 based) I want to maintain backward compatibility and first write audio to flash memory in order to play the resulting audio file from there. That is in

[android-developers] Re: Use SDK 1.5 features while maintaining SDK 1.0,1.1 backward compatibility

2009-04-14 Thread blindfold
Thanks, good to know. Still I now find that if I compile my app for SDK 1.5 but without using any 1.5 features, I can next run my app on my DP1.1 (SDK 1.1), but just having code with 1.5 features in a branch that is never reached causes a java.lang.VerifyError when trying to run on my DP1.1. So

[android-developers] Re: Use SDK 1.5 features while maintaining SDK 1.0,1.1 backward compatibility

2009-04-15 Thread blindfold
Thanks Tom and Pieter. I haven't tried your suggestions yet, but is there any guarantee that the phone's VM will not also verify isolated classes or methods? By analogy to http://supportforums.blackberry.com/rim/board/message?board.id=java_devmessage.id=17826 (with two Blackberry OS versions, for

[android-developers] Re: Use SDK 1.5 features while maintaining SDK 1.0,1.1 backward compatibility

2009-04-15 Thread blindfold
Indeed it works! Thanks a lot, Tom. My app containing new SDK 1.5 API calls now runs fine on my SDK 1.1 developer phone. You were absolutely right, and this solution is elegant from a future maintenance point of view. Much appreciated! On Apr 15, 12:55 pm, Tom Gibara m...@tomgibara.com wrote:

[android-developers] SDK 1.5 and camera preview decoding

2009-04-17 Thread blindfold
Does Cupcake (SDK 1.5) add any support for decoding camera preview images with BitmapFactory.decodeByteArray(), or does onPreviewFrame(), as with SDK 1.1, still give only a header-less image data[] that the Dalvik interpreter must decode pixel-by-pixel (too slow for most uses)? Thanks

[android-developers] Re: How do I get the View dimension after the View has been laid out?

2009-01-24 Thread blindfold
A problem remains that one cannot immediately rely on getWidth() and getHeight() after for instance a home screen excursion. They may initially return portrait mode values in run() even while one hard- coded a landscape mode in the app manifest. Issue

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

2009-01-25 Thread blindfold
How can this possibly help you? You are trying to allocate 61 MB (3200*4800*4 bytes), which lies well above the 16 MB heap limit. I tried once to allocate, say, 12 MB at program startup to keep Android from all the time bumping into the heap limit and possibly crashing as a result in case its

[android-developers] Re: Orientation sensor: why does roll change with pitch?

2009-01-26 Thread blindfold
OK, thank you JBQ. I was working on a coordinate conversion as needed to make the relevant angles more intuitive to users when using my app in a see-through display orientation (similar to Wikitude), and it is good to know that things will improve with cupcake. On Jan 26, 11:12 pm, Jean-Baptiste

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

2009-01-26 Thread blindfold
Check first, and think a bit. I stand by what I said. Regards On Jan 25, 8:30 pm, ad avra...@gmail.com wrote: Check first, and think a bit. On Jan 25, 2:49 pm, blindfold seeingwithso...@gmail.com wrote: How can this possibly help you? You are trying to allocate 61 MB (3200*4800*4

[android-developers] Eclipse kills running app with exit(1)

2009-01-27 Thread blindfold
While developing and debugging an app with Eclipse and running the app on the physical phone via the USB cable, it is easy to forget to first manually quit the app before launching a freshly recompiled APK from Eclipse. I find that the system then brutally calls exit(1) on the running app before

[android-developers] Re: exit button - or not?

2009-01-27 Thread blindfold
Also note that calling Activity.finish() doesn't actually quit the process, so the OS is still in charge of managing when the process goes away. That's why I am still using System.exit(0); at the end of onDestroy() to also kill the process, because my app somehow leaks memory from run to run,

[android-developers] Re: exit button - or not?

2009-01-28 Thread blindfold
Thank you for this interesting information, hackbod. - The android system outright kills a processes when it needs more memory elsewhere, no less than your task manager would be killing a process if you request it. We don't kindly ask a process to go away and assume it is well behaved and

[android-developers] Re: Is SDK(r2) support camera capture from desktop devices * (webcams etc). ?

2009-01-29 Thread blindfold
Maybe try http://www.tomgibara.com/android/camera-source On Jan 29, 6:59 am, jj jagtap...@gmail.com wrote: Actually I am working on emulator, dont have android phone, I am developing app of capture image using camera and use that in my appl. Thank you.

[android-developers] Re: Anybody having trouble accessing https://dl-ssl.google.com/android/eclipse/ - ie the eclipse / android integration plugin ?

2009-01-30 Thread blindfold
http://code.google.com/intl/ru/android/adt_download.html On Jan 30, 9:57 am, Richard Green richardagr...@gmail.com wrote: I can't seem to get anything back fromhttps://dl-ssl.google.com/android/eclipse/ - even accessing from a browser just gives a 404. Is it just me ?!?!

[android-developers] Re: android.graphics.Camera is stable in SDK 1.0?

2009-01-30 Thread blindfold
Hi plusminus, I remember running in some deadlocks, when using it for some time. Check if your camera deadlock is perhaps the same as the one that I reported at http://code.google.com/p/android/issues/detail?id=1578 which takes a full power cycle to recover from. Regards On Jan 30, 7:30 

[android-developers] Re: what is maximum height and width of image which can display?

2009-01-30 Thread blindfold
So how will Android work with 8 megapixel cameras? Several (non- Android) 8 megapixel camera phones have been announced for this year. Either the application heap has to grow or the camera must get a memory area of its own. Thanks On Jan 29, 7:53 pm, Dave Sparks davidspa...@android.com wrote:

[android-developers] Re: Anybody having trouble accessing https://dl-ssl.google.com/android/eclipse/ - ie the eclipse / android integration plugin ?

2009-01-30 Thread blindfold
time I checked On 30 Jan 2009, 11:22 AM, blindfold seeingwithso...@gmail.com wrote: http://code.google.com/intl/ru/android/adt_download.html On Jan 30, 9:57 am, Richard Green richardagr...@gmail.com wrote: I can't seem to get anything back fromhttps:// dl-ssl.google.com/android/eclipse

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-01-30 Thread blindfold
I read in this post that I am supposed to have 16Mb available for my computer, but when I check the heap size it is never 2.8Mb, and yet it still crashes. Did you make any progress on this? Your description sounds very similar to what I experience with my own app. My app never uses more than

[android-developers] Re: android.graphics.Camera is stable in SDK 1.0?

2009-01-30 Thread blindfold
Oops, sorry, overlooked the android.graphics versus android.hardware distinction. BTW, my latest webcam does 3D transformations too (anaglyph encoding). :-) On Jan 30, 6:11 pm, plusminus stoeps...@gmx.de wrote: Hi blindfold, I am referring to another Camera-Class - not the one for taking

[android-developers] Re: When does my thread die?

2009-01-30 Thread blindfold
Aaargh! Thank you for this post, as it led me to fix a memory leak where my app would consume 50K more with every run. I was looking into all sorts of context leaks, but it was just that threads are not automatically killed when pressing the back button to exit the app, so if one launches a

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-01-30 Thread blindfold
Never mind, I found the culprit and fixed it. Not killing all threads when pressing the back button seems to have been the root cause of my problems. On Jan 30, 6:08 pm, blindfold seeingwithso...@gmail.com wrote: I read in this post that I am supposed to have 16Mb available for my computer

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-01-31 Thread blindfold
to HprofBasicType to satisfy the VC compiler. Of course I fully understand that HprofConv was not yet developed for maximum portability but for in-house use. I will experiment with your HprofConv utility later. Thanks! On Jan 31, 3:15 am, fadden fad...@android.com wrote: On Jan 30, 3:39 pm, blindfold

[android-developers] Re: Audio Volume

2009-02-03 Thread blindfold
My app generates and plays sound samples in one second bursts, and this context sensitive volume adjustment keeps flipping between ringtone volume and media volume depending on split second timing (apparently depending on whether a burst is playing or a next burst is in preparation when the

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-02-03 Thread blindfold
Thank you for the additional information. I will look into it later. One thing that kept me from further working with this a few days ago is that I ran the monkey tool with the --hprof option, which according to http://code.google.com/intl/zh-TW/android/reference/monkey.html puts results in the

[android-developers] Re: I am getting SICK of 1 star ratings for charging!

2009-02-03 Thread blindfold
Somewhat in this direction goes the new RC33 G1 firmware, http://forums.t-mobile.com/tmbl/board/message?board.id=87thread.id=30897 allowing visitors to Tap Mark this as SPAM. in the application's comments. Regards On Feb 3, 7:59 pm, Beshoy Girgis odsl...@gmail.com wrote: I think some

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-02-04 Thread blindfold
? Thanks On Feb 4, 1:18 am, fadden fad...@android.com wrote: On Feb 3, 1:42 am, blindfold seeingwithso...@gmail.com wrote: One thing that kept me from further working with this a few days ago is that I ran the monkey tool with the --hprof option, which according tohttp://code.google.com/intl

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-02-05 Thread blindfold
Ah yes, perfect! Works like a charm now - I had not been aware of the need to use su. Thanks! On Feb 5, 2:05 am, fadden fad...@android.com wrote: The adb daemon still runs as a regular user on the ADP1.  You need to run su to become root, then issue the chmod.

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

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

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

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

[android-developers] Re: What's in raw data from PictureCallback of camera?

2009-02-11 Thread blindfold
Hi David, I am inclined to deprecate that API entirely and replace it with hooks for native signal processing. Can you please elaborate on that? First of all I am using the existing APIs in my app and don't like the idea of things breaking through deprecation of the camera APIs that are in

[android-developers] Re: is there a way to read the screen text

2009-02-11 Thread blindfold
Text from your own app or any running app? I think much effort has been spent on preventing that one Android app can steal information from another running app unless both were designed to communicate with each other. You also cannot capture the screen bitmap for instance. For screen-reader-like

[android-developers] Re: What's in raw data from PictureCallback of camera?

2009-02-11 Thread blindfold
Thank you David, I feel relieved to hear that. :-) Rather than trying to do all your image processing in Java, wouldn't you prefer to have built-in native signal processing kernels that are optimized for the platform? Yes, of course. One can parameterize and wrap under an API a number of

[android-developers] Re: What's in raw data from PictureCallback of camera?

2009-02-12 Thread blindfold
Fine! As a comparatively easy to design-and-implement yet very powerful solution to boost the computational performance of Android, you might consider adding a basic vector function API. Think java.lang.System.arraycopy() and java.util.Arrays.fill(), but then much enriched to cover most

[android-developers] Re: is there a way to read the screen text

2009-02-12 Thread blindfold
Instead of cursor position you might use the position where the screen is touched, using dispatchTouchEvent(). For retrieving labels (strings) of running programs you likely need to dig deep into http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree while anything you would

[android-developers] Re: Android Market broken? Can't see the new release of my app in the Android Market?!

2009-02-16 Thread blindfold
I unpublished my app yesterday (because of a detected bug), and today it turned out published again. Seems like the Market restore mechanism is running wild, undoing any changes that one currently submits. Regards On Feb 16, 7:21 am, Mariano Kamp mariano.k...@gmail.com wrote: On the other hand

[android-developers] How to retrieve current keyboard configuration (without configuration changes)?

2009-02-16 Thread blindfold
How can I detect if the G1 keyboard is hidden or open at application startup? My app always runs in landscape mode, but I can only find how to detect keyboard configuration *changes* (through onConfigurationChanged()). So how can I retrieve the current keyboard configuration (open or closed) at

[android-developers] Sensor problem with keyboard open

2009-02-16 Thread blindfold
Why do the sensor values in onSensorChanged() barely change with (compass) heading when the keyboard is open? The heading values are fine with the keyboard closed. Is this a known bug? BTW, my app always runs in landscape mode. Thanks --~--~-~--~~~---~--~~ You

[android-developers] Re: SlidingDrawer not working with RC33

2009-02-17 Thread blindfold
I'd welcome that too. For some reason my app's Listview-based menu according to recent user reports breaks (crashes) on some phones, but I cannot get it to break on my vanilla dev phone 1 (thus making it very hard to track down and fix the problem). I'm not using any private classes AFAIK, but

[android-developers] Re: How to retrieve current keyboard configuration (without configuration changes)?

2009-02-17 Thread blindfold
().getConfiguration(). On Mon, Feb 16, 2009 at 5:15 AM, blindfold seeingwithso...@gmail.comwrote: How can I detect if the G1 keyboard is hidden or open at application startup? My app always runs in landscape mode, but I can only find how to detect keyboard configuration *changes* (through

[android-developers] Re: Text-to-Speech for Android: Eyes-Free

2009-02-23 Thread blindfold
I haven't tried the TTS on the emulator. Perhaps ask around in the TTS- for-Android group http://groups.google.com/group/tts-for-android Regards On Feb 23, 8:27 am, Breezy mbre...@gmail.com wrote: I can't get my emulator to play the sound of the TTS. I manually installed the APK and now I

[android-developers] Re: Android 1.6 SDK is here!

2009-09-16 Thread blindfold
OK, I've now also inquired with TTS-for-Android at http://groups.google.com/group/tts-for-android/ how one should best transition from using Google's TTS-for-Android library to using Google's android.speech.tts in SDK 1.6 r1. Right now there seems to be zero public information about this for

[android-developers] Double uses-permission list when uploading to Market?

2009-10-08 Thread blindfold
When I upload my upgraded-from-1.5 Android 1.6 app to the Market I get a double list of permissions, like This apk requests 14 permissions that users will be warned about 'android.permission.CAMERA' 'android.permission.WAKE_LOCK' 'android.permission.ACCESS_FINE_LOCATION'

[android-developers] Re: Double uses-permission list when uploading to Market?

2009-10-08 Thread blindfold
OK, thanks for the quick reply! I'll give it a go then. On Oct 8, 6:35 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Just a bug in the market upload program, the permissions show correctly in the market app itself, so no worries. -John Coryat Radar Now! What Zip Code?

[android-developers] Re: Object Recognition

2009-10-22 Thread blindfold
http://code.google.com/p/zxing/ On Oct 22, 7:48 am, Julius Spencer jul...@msa.co.nz wrote: Hi, I'd like to know more about Object Recognition. Has anyone got any   links about how to implement object recognition from the camera in an   Android application? For example say I wanted to make a

[android-developers] Re: 1.6 vs setPictureSize

2009-10-25 Thread blindfold
It works for me under Android 1.6 on ADP1, and I can save a 640 x 480 snapshot just fine, set using setPictureSize(). In my app the user can set the desired resolution (default 2048x1536). On Oct 24, 3:55 pm, enervat...@gmail.com wrote: Before 1.6:         Camera.Parameters parameters =

[android-developers] Re: SoundRecordingAPISample to save audio in Internal Storage

2008-09-13 Thread blindfold
Thanks Megha, I'll check it out once I have the opportunity, or maybe turn it into a user option. On Sep 13, 1:31 am, Megha Joshi [EMAIL PROTECTED] wrote: The sdcard access might be faster, but it depends on the particular sdcard. Only way to know for sure is to measure it.

[android-developers] Re: Where to get ADT 0.8.0?

2008-09-23 Thread blindfold
Never mind, I found the direct link http://dl-ssl.google.com/android/ADT-0.8.0.zip On Sep 23, 9:05 pm, blindfold [EMAIL PROTECTED] wrote: Anyone else having problems getting the update ADT 0.8.0 plugin fromhttps://dl-ssl.google.com/android/eclipse/in order to get started with android-sdk

[android-developers] Camera questions for SDK 1.0 R1

2008-09-23 Thread blindfold
The release notes read under Significant API Changes, Improvements to the Camera API. However, I upgraded my app from SDK 0.9 beta to 1.0 R1, and it runs OK again, but it seems that concerning implementation of APIs little has improved for using the camera: 1. The camera still cannot be queried

[android-developers] Re: ADT 0.8.0 Eclipse plugin download taking FOREVER

2008-09-24 Thread blindfold
Did you download http://dl-ssl.google.com/android/ADT-0.8.0.zip and next update via Help | Software Updates | Available Software| Add Site | Archive button to get to this downloaded local zip file? The http://download.eclipse.org website currently does appear to be crawling or grinding to a halt

[android-developers] Re: Obfuscation in eclipse for Android?

2008-09-25 Thread blindfold
Also under Microsoft Windows take care to apply - dontusemixedcaseclassnames with Proguard, or else you will run into trouble with dex once getting beyond 26 classes a-z. For me -optimizationpasses 1 was maximum, or else the Android emulator would fail (in 0.9 beta, didn't bother to retry for

  1   2   3   4   >