[android-developers] Re: HTC Hero OpenGL Bug

2009-12-29 Thread Keith
I was suffering from the same problem. The Texture Matrix works fine in the emulator, and on other platforms, but seems to not work so well on the htc device. After a full day of bashing my head, I found the root of the problem, and a simple workaround. It seems that once you call

[android-developers] How to build a binary dictionary for Latin IME( main.dict ) ??

2009-12-29 Thread vinay
Hi , I am trying to add a hindi dictionary support in Latin IME. I was able to make qwerty hindi keyboard layout. I figured out that the suggestions are generated from main.dict.But I am unable to find a way to generate main.dict comprising hindi words. Any help in this regard would be highly

[android-developers] Achieving evenly spaced buttons on a layout

2009-12-29 Thread Robert
I am developing a misterhouse frontend. I have 9 image buttons that I want to be evenly spaced on all sides. See http://onlamp.com/onlamp/2004/11/11/graphics/mrhousemain.gif . What layout and xml parameters do I use to achieve this? -- You received this message because you are subscribed to

[android-developers] Getting a Nexus One

2009-12-29 Thread Leif Andersen
I am looking around for a piece of hardware to actually test my apps on. I was looking at the droid, until the roomers about the Nexus One started coming out. I then read this: http://www.cnet.com/8301-19736_1-10421101-251.html Does anyone have any idea of how this 'invite only' system is going

[android-developers] Re: Error to create an AVD - Ignoring add-on

2009-12-29 Thread LP_Chicago
Has anyone found a solution to this? I too get the error - and yes, I ran SDK Setup On Dec 10, 11:46 am, Sprouts tospro...@googlemail.com wrote: Hi, You need to run the SDK Setup to make sure you have the targets. On Dec 2, 8:21 pm, Dj dipjyoti_gh...@yahoo.com wrote: Hi, I too am

[android-developers] Re: Error to create an AVD - Ignoring add-on

2009-12-29 Thread LP_Chicago
I found the problem. In the SDK Setup, under the settings section, you have to select force https..., then go to Availalbe packages, install a few of them, when that's complete, make sure they appear under the Installed packages section, then you can just create a new AVD in the Virtual Devices

[android-developers] focus control in compund control?

2009-12-29 Thread ssocco
Hello, I am trying to create a compound control using a TextView and Seekbar. I am also trying to keep the SeekBar focused on itself during View.FOCUS_RIGHT and View.FOCUS_LEFT transitions. If using just a seek bar by itself I can add android:nextFocusRight(Left) to the layout.xml which works.

[android-developers] Question regarding Heap size behaviour

2009-12-29 Thread Rudra
Hi All, I have developed an application in Android which is frequently facing memory issues. The application deals with heavy amounts of data but the heap size pattern is a bit baffling to me. Will be great if someone can share his/her thoughts. 1) When the process requires a chunk of new

[android-developers] Broadcasting Intent from native code

2009-12-29 Thread Anzi
Hi all, The following I already posted to Android-NDK forum, but i wasn't get any responses, Thats why I am posting the same here, by expecting a help from this forum. Sorry for the duplicate postings. I am wrote JNI wrapper to broadcast Intent from native code. But i am facing the following

[android-developers] Re: Widget does not render on wvga854 ?

2009-12-29 Thread Guy
forgot to mention: this code works on all other emulator skins. On Dec 28, 9:37 pm, Guy guy.ta...@gmail.com wrote: Hi All, I've written a simple widget application based on the wikitionary code. When run on an wvga854 emulator, the widget view does *not* update after a call to:       //

[android-developers] Problem while sending unicode character via SMS

2009-12-29 Thread andu
How are you all? I am developing application for android phone. Currently I am testing my system in the emulator. In my application, I want to send unicode character (Amharic language character) via SMS to the other emulator instance. But in the receiver side, the message is not viewed properly.

[android-developers] Re: VideoView playback fails on 2.0.1? MediaPlayer warnings in logcat

2009-12-29 Thread And-Rider
Did any one have a solution for this issue...? I do have the same problem with 2.0.1 On Dec 16, 11:19 pm, Morgane Plat moj...@gmail.com wrote: Sorry I can't help you on your problem now since I don't even have videos working with Android 2.0. Maybe this will help though

[android-developers] How can I listen for WebView page load completed event for consecutive URL load

2009-12-29 Thread neha
Hi All, I need to the following :- On the android browser menu click I need to fetch URL from a file, load them in a WebView, dump the Render Tree in some file. There can be any no of URLs present in the file. I have done teh following:- Created a WebViewClient object, overriding

[android-developers] Re: Get body movement (e.g. turn around)

2009-12-29 Thread Moritzz
Okay, I came up with an idea now but I can't implement it. Basically I need to implement sthg like a real compass. I also found an application like that in the market: Compass. But I have no clue how they got that thing working properly. Does anyone have some experience with the orientation and

[android-developers] ListView and Touch mode

2009-12-29 Thread Andriy Zakharchuk
Hello all, I have a question about ListView behaviour when user is in the touch mode. I have an application which has a list of items (stored in the database, thus I use SimpleCursorAdapter), and user can add new, edit and delete existing items to/from the list. I want to implement following

[android-developers] Strange behavior using alignParentBottom in a Relative Layout for a ListView item

2009-12-29 Thread Wouter
Does someone has a solution for this issue? http://code.google.com/p/android/issues/detail?id=1394 Thanks, Wouter -- 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] Re: ListView and Touch mode

2009-12-29 Thread Andriy Zakharchuk
After playing with it a little bit I discovered more interesting thing. Frankly speaking, I used my extension of the ListView, shortly public class MyListView { ... public void setSelection(long theID) { ListAdapter adapter = getAdapter(); if (adapter == null) {

[android-developers] blocking UI thread when Yes/No AlertDialog is displayed

2009-12-29 Thread swapnil kamble
Hi , I am displaying Confirmation type dialog box. I want to pause execution of that thread until answer is provided by user, but since this AlertDialog works asynchronously, I am facing problems in blocking that thread but displaying AlertDialog and continue execution on answer. I tried

[android-developers] continous raw audio playback using AudioTrack.

2009-12-29 Thread Ravinder
Hi, I am trying to play raw audio samples ( 16 bit , stereo , @ 32000KHz) using AudioTrack, in MODE_STREAM mode. I could play the first video buffer successfully but, After having received onMarkerReached for that raw audio buffer, I wonder how to push more audio data in AudioTrack ? without

[android-developers] Re: How to do Both horizontal and vertical scrolling on a screen

2009-12-29 Thread Atif
Yes, it is possible, I just tested it. And thanks for giving hint. I was also looking for the same solution :) regards, Atif Gulzar On Dec 14, 7:13 pm, Nithin nithin.war...@gmail.com wrote: Hi, Is it possible to put a scrollView(vertical scroll view) inside HorizontalScrollview, so that, I

[android-developers] MediaPlayer hanging abruptedly

2009-12-29 Thread Pierre Henry
I have a code running a MediaPlayer object with an mp3 uri somewhere in an activity. The player runs for 6/7 minutes and suddenly hangs off. Is there a particular thing to do with a mp3 streaming server ? -- Pierre -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Bluetooth SPP question

2009-12-29 Thread moneytoo
Are you advertising the correct SDP record using listenUsingRfcommWithServiceRecord? UUID for BT SPP is 1101--1000-8000-00805F9B34FB. Does the device act as server or client? You might try running sdptool browse on linux to find additional information about your BT device. On Dec 28, 6:15 

Re: [android-developers] blocking UI thread when Yes/No AlertDialog is displayed

2009-12-29 Thread Frank Weiss
I assume you want a modal dialog. I'm pretty sure blocking the UI thread is going about this wrong. For example, consider the Activity lifecycle callbacks which would be called when another Activity or Application becomes visible. Here's an explanation I found by googling for android modal

Re: [android-developers] Problem while sending unicode character via SMS

2009-12-29 Thread Frank Weiss
I believe SMS does support UTF-16 encoding. I would suggest analyzing the actual bits of the improperly received message. If you are getting spaces (0x20), then likely you've forced 7-bit-only encoding in your code. A code or data sample would be helpful. On Tue, Dec 29, 2009 at 1:02 AM, andu

Re: [android-developers] No Adobe Flash support for Eclair!?!

2009-12-29 Thread Sena Gbeckor-Kove
Hi Mark, Just a clarification, unless I'm worng. The HTC implementation is Flash 9. Not Flash Lite. S On 28 Dec 2009, at 20:10, Mark Murphy wrote: chris harper wrote: According to this article it is had been done and is possible:

Re: [android-developers] No Adobe Flash support for Eclair!?!

2009-12-29 Thread Mark Murphy
Sena Gbeckor-Kove wrote: Just a clarification, unless I'm worng. The HTC implementation is Flash 9. Not Flash Lite. That's possible. It reportedly uses ActionScript 2.0, which I interpreted as meaning Flash Lite, but I hadn't considered the possibility that they ported an older Flash to

Re: [android-developers] continous raw audio playback using AudioTrack.

2009-12-29 Thread Olivier Guilyardi
On 12/29/2009 01:01 PM, Ravinder wrote: I am trying to play raw audio samples ( 16 bit , stereo , @ 32000KHz) using AudioTrack, in MODE_STREAM mode. I could play the first video buffer successfully but, After having received onMarkerReached for that raw audio buffer, I wonder how to push

Re: [android-developers] Re: Get body movement (e.g. turn around)

2009-12-29 Thread Frank Weiss
It's doubtful you can literally tell if the person has turned around. I think you're trying to infer that, by assuming the person is holding the device a certain way in relation to his or her body.. Perhaps by that assumption, the device moves in a 360° arc through space, not on an axis

[android-developers] Re: Adding contacts to a custom account

2009-12-29 Thread sazilla
Hi Vadim, Actually for what I've understood the custom mime type can be used to specify how to render the custom fields when you view the contact not while you edit it. I've found a bug in the Contacts application (around line 178):

[android-developers] Re: BitmapDrawable with unexpected size in Android 2.0.1 WVA854

2009-12-29 Thread Streets Of Boston
I had something similar. But Android wasn't resizing the bitmap. Doing bitmapDrawable.getBitmap().getWidth() and bitmapDrawable.getBitmap().getHeight() returned the expected values (in your case those would be 480 and 320). However, i loaded the bitmap seperately and then wrapped it within a

[android-developers] Re: Get body movement (e.g. turn around)

2009-12-29 Thread Matt
Isn't it possible to use the compass magnet to track direction? Matt On Dec 29, 7:07 am, Frank Weiss fewe...@gmail.com wrote: It's doubtful you can literally tell if the person has turned around. I think you're trying to infer that, by assuming the person is holding the device a certain way

[android-developers] Inflating error after animation run

2009-12-29 Thread arnouf
Hi all, I apply an animation on my current displayed layout. I set an animation listener. When animation is ended, I'm trying to load a layout, using inflater, inside the current layout. But I've always the following error : ERROR/AndroidRuntime(2315): android.view.InflateException: Binary XML

[android-developers] Re: Fancy ListView help

2009-12-29 Thread Abhi
Hi Your suggestion sounds good. But I haven't been able to figure out how to use tags with buttons to determine the position. Would you be able to give me an example? Thanks, Abhi On Dec 22, 10:30 am, WoodManEXP woodman...@gmail.com wrote: Although I use ListView a lot it has always been a

[android-developers] Trying to get rid of my last few Long calculations in my game and completely turn it into FP format. System.currentTimeMillis() giving me a headache.

2009-12-29 Thread Mika
Like the topic of the thread says. In my game I would like to turn all the calculations into FP format. I can eliminate pretty much everything else but I still need to do the the following calculation in long format. Code: long t = this.lastUpdateTime - System.currentTimeMillis(); The value I

Re: [android-developers] Trying to get rid of my last few Long calculations in my game and completely turn it into FP format. System.currentTimeMillis() giving me a headache.

2009-12-29 Thread Mark Murphy
Mika wrote: Like the topic of the thread says. In my game I would like to turn all the calculations into FP format. That is the wrong direction to be going. Floating-point calculations are awful on mobile devices, since they usually lack floating-point hardware. Your game will perform better if

Re: [android-developers] Re: Get body movement (e.g. turn around)

2009-12-29 Thread Frank Weiss
Using the (magnetic) compass would require less coding, I suppose. However, is it available on all your target devices and is it accurate enough? I should defer to someone who's actually used the compass sensor. In the meantime, you could put together a test app in just a few minutes. You could

[android-developers] Re: How to test if app is shown on Market for all screensizes

2009-12-29 Thread ChristianF
I need to bring this issue (not seeing copyprotected apps in the market) up again. GOOGLE please give us an update when to expect this issue fixed!!! You are keeping loyal and honest customers from their leglay bought applications away and hinder us to spend more money on the market!!! This hurts

[android-developers] Re: Surface and Format

2009-12-29 Thread fala70
is there somebody can answer me ? how can I do to show an image YCbCr_420_SP directly on surfaceview ? On 27 Dic, 17:50, fala70 fal...@gmail.com wrote: Looking the doc with class SurfaceHolder is possibile set the kind of surface format. I need to show images YCbCr_420_SP format. If I set

[android-developers] java access from Android Webkit plugin

2009-12-29 Thread Digambar
Hi, has anybody tried to access Java class from Android Webkit plugin? I am trying to do but there is no reliable way to access with JNI. So if anybody has tried please reply. here is example of what I want - JS in webage access plugin and plugin accesses JAVA class/application to access

Re: [android-developers] java access from Android Webkit plugin

2009-12-29 Thread Mark Murphy
Digambar wrote: has anybody tried to access Java class from Android Webkit plugin? The Android SDK does not support development of WebKit plugins. Please do not cross-post to multiple lists. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App

Re: [android-developers] AudioTrack stop/release

2009-12-29 Thread Olivier Guilyardi
On 12/25/2009 02:00 PM, Business Talk wrote: I keep posting this message hoping that maybe somebody from google (media group in particular) monitors the group. I need to stop the AudioTrack, regardless what's in the buffer, immediately when executing the stop/release. The AudioTrack plays in

[android-developers] Re: Display Contacts You don't have any contacts to display possibly caused by NullPointerException: null

2009-12-29 Thread Scott W
Hi, If anyone could help me find the code for queryEntities function? I've been looking at the ViewContactActivity.java and digging through the querying code gets me to the following function call under AsyncQueryHandler.java: resolver.queryEntities(args.uri, args.selection, args.selectionArgs,

[android-developers] JetCreator

2009-12-29 Thread Business Talk
Using the JetCreator, I have created an ‘App Controller’ event and assigned a track number = 2 to it. Yet, track = 0 is passed to the onJetEvent listener method. Any Ideas? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: java access from Android Webkit plugin

2009-12-29 Thread Digambar
I know that but Webkit development is not platform feature. Its more of application than platform feature and so I thought its good to post here. Anyway sorry to disturb you cheers Digambar -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Trying to get rid of my last few Long calculations in my game and completely turn it into FP format. System.currentTimeMillis() giving me a headache.

2009-12-29 Thread a1
Well, yes, you can simply shift to fixed since t is difference which I should be around 20. But what's the point? I'm using floating point exclusively for calculations, and really do not have problems with performance. If you do not perform heavy calculations it doesn't matter, and if you do

[android-developers] Re: Trying to get rid of my last few Long calculations in my game and completely turn it into FP format. System.currentTimeMillis() giving me a headache.

2009-12-29 Thread Mika
OH sorry guys, my bad, I wasn't specific enough. I'm TRYING To shift myself into fixed point(FP) world and trying to get rid of the long calculations :) So.. does the topic make more sense now? Sorry for being such a numnum and not realising that FP = fixed point AND floating point. D'oh. But

Re: [android-developers] No Adobe Flash support for Eclair!?!

2009-12-29 Thread chris harper
Sena - I picked up a book on writing Flash content for mobile devices and from I understand from the book is that FlashLite is based off of Flash 9. They are essentially the same thing. Where anything written for Flash 9 (with actionscript 2) can be run in FlashLite. That is my current

[android-developers] Re: AudioTrack stop/release

2009-12-29 Thread Business Talk
Thanks Olivier, It is very helpful Olivier, I am just curious about MP3 players, They are able to stop playing with a very small latency. It seems like they would have to repeatedly write into a very small buffer. Do you think that is the case? My scenario is very similar to the MP3 players. I

Re: [android-developers] Trying to get rid of my last few Long calculations in my game and completely turn it into FP format. System.currentTimeMillis() giving me a headache.

2009-12-29 Thread Frank Weiss
Do you really think that calculating the difference between two floats is faster than calculating the difference between two longs? On Dec 29, 2009 7:25 AM, Mika mts...@googlemail.com wrote: Like the topic of the thread says. In my game I would like to turn all the calculations into FP format. I

Re: [android-developers] Portrait vs landscape using sensor

2009-12-29 Thread Frank Weiss
This may a related issue. When using the accelerometer sensor on Droid when I hold the device with the display plane vertical, like when taking a picture, the y axis is minus one g, regardless of lanscap or portrait orientation. On Dec 18, 2009 10:50 AM, Mark Wyszomierski mar...@gmail.com wrote:

[android-developers] AES decryption is slow....

2009-12-29 Thread sdphil
hi, I am trying to do AES decryption like this -- Cipher cipher = Cipher.getInstance(AES/ECB/PKCS5Padding); cipher.init(Cipher.DECRYPT_MODE, aesKey); cipher.update(encryBytes, 0, encrByteCount); And it is taking me about 2.5+ seconds to run just the cipher.update (i.e. I excluded the init and

[android-developers] Re: Reminder: IRC office hours tomorrow

2009-12-29 Thread theSmith
Thanks for those Megha. Is there any plan to add responses to the 12/17 and 12/22 meetings? I find this an excellent resource issues/problems/insight that I think should be available. -theSmith On Dec 18, 5:39 pm, Megha Joshi mjo...@google.com wrote: Check out the answers to questions from

[android-developers] Re: How can i stop a thread in a Activity?

2009-12-29 Thread theSmith
I found this article to be very insightful because I too am just learning about managing multiple threads. http://articles.techrepublic.com.com/5100-10878_11-5144546.html I ended up using a shared volatile variable that is check when I'm doing this that take alot of time in the background thread,

[android-developers] Re: AES decryption is slow....

2009-12-29 Thread sdphil
interestingly enough, on a device T-Mobile G2, things are fast - like on the order that I would expect - 10 to 15 seconds. so i guess this is less important, however, it's still troubling that it's so slow on the simulator. On Dec 29, 9:14 am, sdphil phil.pellouch...@gmail.com wrote: hi, I am

[android-developers] Re: Trying to get rid of my last few Long calculations in my game and completely turn it into FP format. System.currentTimeMillis() giving me a headache.

2009-12-29 Thread Lance Nanek
Fixed point can still fit a good 30 seconds or so worth of whole milliseconds, can't it? Are you ever going to have updates more than 30 seconds apart? Even if you are, you can just convert to seconds. Use the integer representing portion of the fixed point from 116 up for whole seconds. Use the

[android-developers] Droid/Milestone: GL_OES_framebuffer_object reported but not working

2009-12-29 Thread Hexage
Hi, I'm trying to use the framebuffer object extension on Milestone with 2.0 firmware. The extension is reported by OpenGL but when you try to use it then my app aborts. No message, no stacktrace, nothing. Here is a simple code snippet for creating a framebuffer object: int createFBO(GL11 gl) {

Re: [android-developers] blocking UI thread when Yes/No AlertDialog is displayed

2009-12-29 Thread TreKing
Um ... why don't you just put the code you want to execute in the onClick handlers for the Yes and No options, respectively? That's pretty much the point of having them ... - TreKing - Chicago transit

[android-developers] Logs from framework.jar

2009-12-29 Thread Michael Scott
Hi, Why does no logprints from the framework-code (Telephony) show up in logcat? Is there a setting somewhere I should turn on or something? Thanks, Michael -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Crop a Picture after Using Camera to Take It

2009-12-29 Thread Wysie
Hi all, After doing some reading, I realized it can't be done so simply. My modded Contacts source is at http://github.com/Wysie, you can take a look if you're interested. Also, here's what I did to get it working: private void doTakePhotoAction() { //

[android-developers] Re: Debugging on mobile 2

2009-12-29 Thread LeGeNDuS
Hello!, thanks for the answers. Yes I have enbled the USB debugging. My device is a HTC hero of Orange (in spain). It takes the android 1.5 (I don't know how to update it). I have installed the USB tool that comes with the setup of the SDK, and well, when I want to debug on the device (or trying

[android-developers] Re: Phone calls recording on 2.0

2009-12-29 Thread appforce.org
I would like to ask Google engineers or anyone, if there is known device that supports voice call audio recording? -- 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] Re: Debugging on mobile 2

2009-12-29 Thread LeGeNDuS
thanks for all!, I have seen why it doesnt work... android:debuggable=true lacked in the manifiest, now it works (I didn't know it was neccesary...) On 29 dic, 18:32, LeGeNDuS legen...@gmail.com wrote: Hello!, thanks for the answers. Yes I have enbled the USB debugging. My device is a HTC

[android-developers] SMS text garbled using native Messaging app when message spans two text messages?

2009-12-29 Thread Mark Wyszomierski
Hi, I'm working with the sms intent. Testing this on 2.0 emulators. If I use the built-in messaging app to create a text message which spans two messages, the receiving emulator displays the received message as garbled text. Looks like it's encoded or compressed etc. Does anyone else see this?

[android-developers] Re: How can i stop a thread in a Activity?

2009-12-29 Thread jotobjects
Why not just call Thread.isInterrupted() instead of using the volatile? On Dec 29, 9:24 am, theSmith chris.smith...@gmail.com wrote: I found this article to be very insightful because I too am just learning about managing multiple

[android-developers] Re: Get body movement (e.g. turn around)

2009-12-29 Thread Moritzz
Well, I chose another way now: I'm just looking at the compass (calibration required) and check with a switch-case if the phone was turned. That's not the good approach but it works for now and as I'm just working on a prototype that should be fine for now. As the user is supposed to look on the

[android-developers] Re: Trying to get rid of my last few Long calculations in my game and completely turn it into FP format. System.currentTimeMillis() giving me a headache.

2009-12-29 Thread a1
On 29 Gru, 17:49, Mika mts...@googlemail.com wrote: OH sorry guys, my bad, I wasn't specific enough. I'm TRYING To shift myself into fixed point(FP) world and trying to get rid of the long calculations :) So.. does the topic make more sense now? Sorry for being such a numnum and not

[android-developers] Re: Phone calls recording on 2.0

2009-12-29 Thread Matt
You can watch this thread: http://code.google.com/p/android/issues/detail?id=2117 I don't think it works on any phones yet. There is some speculation it might work on the Nexus one. matt On Dec 29, 11:36 am, appforce.org ogi.andr...@gmail.com wrote: I would like to ask Google engineers or

[android-developers] Re: No Adobe Flash support for Eclair!?!

2009-12-29 Thread Skid
The browsers on my Droid (Milestone) forwards me Adobe's site that tells me: Adobe Flash Player 10.1 is coming to Android 2.0 and future releases in the first half of 2010. Nice and vague but there you are. On Dec 28, 6:07 pm, chris harper ch393...@gmail.com wrote: I kept reading about how one

Re: [android-developers] No Adobe Flash support for Eclair!?!

2009-12-29 Thread chris harper
Hey Sena It looks like I have to do a little more research between Flash 9 and FlashLite. I will do that tonight. Thank you. Unfortunately I have the Sprint HTC HERO which as I recently found out is less open to find ROM updates. I will search for the Sense 2 that you referred to. I might get

[android-developers] Re: Android “hover” event i n custom layout

2009-12-29 Thread k_day
I suppose one way to do this is to capture touch events at the layout level, and then loop through all the layouts to see if an imageview is under that point, though that sounds inefficient. Is there any better way to find which view is at a given point? Also, is it true that any touch event on

[android-developers] Re: How can i stop a thread in a Activity?

2009-12-29 Thread theSmith
That would work also, you just have to remember that function calls are never free and the GC on android is annoying enough as it is, no need to give it more stuff to do. -theSmith On Dec 29, 1:43 pm, jotobjects jotobje...@gmail.com wrote: Why not just call Thread.isInterrupted() instead of

Re: [android-developers] No Adobe Flash support for Eclair!?!

2009-12-29 Thread Frank Weiss
Chris, sounds OK to me. I suppose using the WebView is to bridge between Flash and Java as you indicated and to allow instant application updates (instead of requiring install of a rich interface application). However, the plumbing looks awful, I think you'd agree. I've wondered if Adobe hasn't

[android-developers] AudioTrack - Clicking Sounds

2009-12-29 Thread Business Talk
Do you know of any freeware application that can convert/generate sounds in the PCM format? I am getting clicking sounds when playing AudioTrack and I think it is because I am playing a wave file which is a pcm with some headers. I downloaded a number of converters but all of them generate wave

[android-developers] open sourcing an app

2009-12-29 Thread Christine
I haven't seen many open source android apps yet. Can I make my app gpl open source just like that? Or do I have to include legal statements regarding the Android code that my app is using? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] open sourcing an app

2009-12-29 Thread Greg Donald
On Tue, Dec 29, 2009 at 4:39 PM, Christine christine.kar...@gmail.com wrote: I haven't seen many open source android apps yet. There are quite a few actually: http://code.google.com/hosting/search?q=label:android -- Greg Donald http://destiney.com/ -- You received this message because you

[android-developers] Re: Contact Picking on Motorola Cliq (1.5)?

2009-12-29 Thread jak.
Hello Suzanne, I'm glad to hear that there is a fix in the works for this bug. Are you aware that there is also a bug when using the create intent? Intent(Intent.ACTION_INSERT,Contacts.People.CONTENT_URI); This does allow me to create a new contact, but the result it sends back to my

[android-developers] Re: open sourcing an app

2009-12-29 Thread Christine
Thanks for pointing that out, I should have done a search first :-) On Dec 29, 11:52 pm, Greg Donald gdon...@gmail.com wrote: On Tue, Dec 29, 2009 at 4:39 PM, Christine christine.kar...@gmail.com wrote: I haven't seen many open source android apps yet. There are quite a few actually:

[android-developers] How to retrieve sms number

2009-12-29 Thread snehal penurkar
Hello Freinds, i am doing program for retrieving sms number. I am using BroadcastReciever. Can anyone tell me how to retrieve sms numbers? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Sony Ericsson Developer World on Android Developers

2009-12-29 Thread SonyEricsson DeveloperWorld
Hi all This is the debut post of Sony Ericsson Developer World on this forum and we are pleased to announce that our content submission portal, https://submit.sonyericsson.com is now open for Android developers to upload applications and games to PlayNow, Sony Ericsson’s one-stop content store

[android-developers] On distribution of APP

2009-12-29 Thread cristiamterrera
Good Community, I wonder if someone uploaded any application to market sales of google android market? and if an earned some selling silver or been uploaded for free? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] How to draw lines through onTouchEvent

2009-12-29 Thread hollowback
Hi, i need to create app in which will user draw simple lines through onTouchEvent. It had to be possible to save drawed image as bitmap. At Graphics | Android Developers I read there are 2 ways to do it. But as i wrote with SurfaceView it is impossible to save it as bitmap. But I don't know how

[android-developers] hashset problem

2009-12-29 Thread raphael couturier
Hi, I have a problem with the hashset implementation because the followinf little part of my code uses it and doesn't give the same result according to the version of android. Here is my code : HashSetString hset=new HashSetString(); hset.add(new String(cat)); hset.add(new String(dog));

[android-developers] Sony Ericsson Developer World on Android Developers

2009-12-29 Thread SonyEricsson DeveloperWorld
Hi all This is the debut post of Sony Ericsson Developer World on this forum and we are pleased to announce that our content submission portal, https://submit.sonyericsson.com is now open for Android developers to upload applications and games to PlayNow, Sony Ericsson’s one-stop content store

[android-developers] Adobe AIR runtime can run on Android?

2009-12-29 Thread Lucas
Hi everyone, im from Argentina and this is mi 1st post, sorry for my poor english. My doubt is if Adobe AIR runtime, for desktop apps, can be installed and run on Android. Recently i get a smartphone (Droid phone) and i want to use the multi- touch API launch by Adobe, to mobile devices, and is

[android-developers] Suppressing touch events with ACTION_CANCEL

2009-12-29 Thread rahul
Hi, I am suppressing the touch events depending upon the size in the dispatchTouchEvent of View.java. If the event size is greater than the threshhold i m sending the event as ACTION_CANCEL to onTouchEvent. I wanted to know how ACTION_CANCEL works. In the android document it says it cancel the

[android-developers] Re: Microphone sample rates

2009-12-29 Thread RLScott
OK, can anyone give me any information at all on Android phones with a microphone sample rate of more than 8000 Hz? Robert Scott Ypsilanti, Michigan -- 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] unsubscribe

2009-12-29 Thread Jiawu Zhong
-- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit

[android-developers] Questions about data persistence

2009-12-29 Thread cristiamterrera
Good community, I am developing an application data load information, such an agenda, and I get the question of how to persist data? to join the application, as besides the data also persist the settings that are joining as preferences between other things and information that is generated will

[android-developers] What use for simple drawing on screen

2009-12-29 Thread hollowback
Hi, what is best way to create app in which I only need to draw simple lines through onTouchEvent? When i use invalidate everytime i draw any line, that erase lines i draw before. But if I use some List structure to store drawed lines it lose performance. Is there any simple way to do it? Thanks

[android-developers] Spinners

2009-12-29 Thread Duey Oxburger
Hey All, A spinner question: I want to have multiple spinners working in the same view. In my list, the first spinner works, but the others are empty. Here's how my main.xml looks: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android

[android-developers] Re: Microphone sample rates

2009-12-29 Thread niko20
Hi, I know the G1 and the Droid can both do multiple sample rates. As far as I know from reading posts, only the Samsung Moment is limited to 8000hz. I don't know of other devices tho. -niko On Dec 29, 8:52 am, RLScott fixthatpi...@yahoo.com wrote: OK, can anyone give me any information at all

Re: [android-developers] Adobe AIR runtime can run on Android?

2009-12-29 Thread Mark Murphy
Lucas wrote: My doubt is if Adobe AIR runtime, for desktop apps, can be installed and run on Android. Android does not natively support Flash, let alone AIR. Adobe does not have a downloadable Flash player for Android, let alone an AIR runtime. -- Mark Murphy (a Commons Guy)

Re: [android-developers] No Adobe Flash support for Eclair!?!

2009-12-29 Thread Dianne Hackborn
On Tue, Dec 29, 2009 at 1:45 PM, chris harper ch393...@gmail.com wrote: I am doing a proof of concept right now for an app that I want to do. For my app to work I will need to interact certain system actions on the phone with code in Flash (actionscript 2 which FlashLite supports). I have not

Re: [android-developers] Suppressing touch events with ACTION_CANCEL

2009-12-29 Thread Dianne Hackborn
ACTION_CANCEL lets you consume the current touch event stream until the next up. I would highly recommend that you not do this yourself, but use the APIs on ViewGroup for intercepting touch events that will take care of these details for you and ensure that the correct event flow occurs. On Tue,

[android-developers] Re: ProgressDialog during location tasks either won't show or force closes - I have tried everything!

2009-12-29 Thread andrew android
Thanks. I was trying to create the ProgressDialog in OnCreate or OnStart. That must be the problem so what is the best approach to do it immediately when theView is loading?I even tried RunInUIThread? Sorry for not including much trace before, by the way. My mistake. I may try again later

[android-developers] Re: Spinners

2009-12-29 Thread Brion Emde
At least one of your Spinners has android:layout_height=fill_parent. that could mess you up. On Dec 29, 12:47 pm, Duey Oxburger cg-art...@hotmail.com wrote: Hey All, A spinner question: I want to have multiple spinners working in the same view.  In my list, the first spinner works, but the

[android-developers] Re: hashset problem

2009-12-29 Thread Brion Emde
HashSet is not an ordered collection. The ordering is based on the the hash value and however it represents the data internally. I am not surprised at all that different versions of Android would give different orderings. On Dec 29, 4:25 am, raphael couturier raphael.coutur...@gmail.com wrote:

[android-developers] Re: blocking UI thread when Yes/No AlertDialog is displayed

2009-12-29 Thread theSmith
On Dec 29, 1:22 pm, TreKing treking...@gmail.com wrote: Um ... why don't you just put the code you want to execute in the onClick handlers for the Yes and No options, respectively? That's pretty much the point of having them ... +1 for the win. I agree, just take what ever action is

[android-developers] TabActivity how to show Contact activity in a tab.

2009-12-29 Thread maxsap
Hello all I am developing an application and as part of it I would like to show a tabactivity and use the contact activity to let the user see,modify,or call a specified contact. my code is this: package com.WaveCally; import android.app.AlertDialog; import android.app.TabActivity; import

Re: [android-developers] TabActivity how to show Contact activity in a tab.

2009-12-29 Thread Mark Murphy
maxsap wrote: Hello all I am developing an application and as part of it I would like to show a tabactivity and use the contact activity to let the user see,modify,or call a specified contact. my code is this: package com.WaveCally; import android.app.AlertDialog; import

  1   2   >