[android-developers] Re: Sending mp3 file failed as email attachment

2009-06-29 Thread quill
Sorry, sendIntent.putExtra(Intent.EXTRA_STREAM, "file:///sdcard/ mysong.mp3"); should be sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file:/// sdcard/mysong.mp3")); but it doesn't change the result. On Jun 30, 2:39 pm, quill wrote: > I just copy the code fromhttp://www.openintents.org/en/

[android-developers] Sending mp3 file failed as email attachment

2009-06-29 Thread quill
I just copy the code from http://www.openintents.org/en/node/121 to test if I can send .txt or .mp3 file as email attachment, Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.setType("audio/mp3"); sendIntent.putExtra(Intent.EXTRA_STREAM, "file:///sdcard/mysong.mp3"); sendIntent.putEx

[android-developers] Re: How do you display many points on a map?

2009-06-29 Thread Maps.Huge.Info (Maps API Guru)
The standard way of handling the "too many points" problem is to use a clustering system, either server based or client based. Clustering converts the many markers that can appear in one area, usually determined by a matrix, into a single marker. Another method is to limit what is loaded into the

[android-developers] ListView

2009-06-29 Thread Rahul
hi all i have one problem in ListView ; i am created Custom List and in my list the diveder is not Coming even every where. some time it gives some extra thickness to diveder. i dont undestand the problem plz help me thank you --~--~-~--~~~---~--~~ You received t

[android-developers] Re: how to mark the location of google map?

2009-06-29 Thread tstanly
thanks for your help.. On 6月30日, 下午1時59分, "Dexter's Brain" wrote: > You can use the LocationManager to first get your location. Once you > get the location, extract the latitude and longitude information from > the Location object. this section i know how to do... > You have to create a MapOv

[android-developers] Getting response in diff form

2009-06-29 Thread android.vinny
Hi i am getting the response from the soap webservices in the form of this... eturn=ContestInfo { item=anyType{name=Ankitha; totalimages=2; rating=2.5; }; item=anyType{name=Anushka; totalimages=4; rating=9.5; }; item=anyType {name=Apsara; totalimages=1; ra

[android-developers] Re: AlertDialog.Builder don't close on PositiveButton click

2009-06-29 Thread Dexter's Brain
Hi, I guess, it is not possible to do it with setPositiveButton, since it it's click, the dialog will be dismissed. What you can do it, you should put an extra button on the Alert Dialog, and write your handler for that. Clicking on that button wont close your dialog. And from the handler of the

[android-developers] Re: ListView Doubt : Listen to clicks inside a ListView Item

2009-06-29 Thread Dexter's Brain
Thanks Sujay, I got it working. Thanks a lot. On Jun 19, 10:01 am, Sujay Krishna Suresh wrote: > u shd use d setonclicklistener for each view in ur adapter n if u hv 2 > fields, its best 2 use tablerow... > > On Fri, Jun 19, 2009 at 10:28 AM, Dexter's Brain > wrote: > > > > > > > Hi, > > >

[android-developers] Re: ListView Query

2009-06-29 Thread Dexter's Brain
Thanks, I got it working. Dexter. On Jun 11, 5:05 pm, Mark Murphy wrote: > Dexter's Brain wrote: > > I have a ListView whose layout contains several TextViews. When an > > item is clicked on the ListView, is it possible to capture on which > > TextView he has clicked? > > You will want to call

[android-developers] Re: how to mark the location of google map?

2009-06-29 Thread Dexter's Brain
You can use the LocationManager to first get your location. Once you get the location, extract the latitude and longitude information from the Location object. You have to create a MapOverlay, on which you can mark this new point. Using the MapOverlay, you can mark multiple points on the map. Le

[android-developers] Re: Google Maps application problem - tiles not loading = grey background only / Maps API key available

2009-06-29 Thread Raphael
On Mon, Jun 29, 2009 at 4:43 PM, Mark Murphy wrote: > I looked in the main SDK for a sample and didn't find one. I keep > forgetting the Maps code is now in add-ons/ and that any samples would > be there. I totally agree that it's not obvious. Logical but not obvious. R/ --~--~-~--~

[android-developers] using the music picker

2009-06-29 Thread Nate
I need to allow users of my app to select a song from their music library. I also need to only show a subset of the songs, based on artist and title. I implemented this with a ListView and tried to make it look like the Music app. However, I was wondering if it is possible to use the MusicPicker a

[android-developers] Receive value from servlet

2009-06-29 Thread N V
Hi to all... Can any one help me that how can i receive value from the servlet to my andriod application... I am developing simple application.. In Sockets there is some problems. Thank You Nithin N V --~--~-~--~~~---~--~~ You received this message because

[android-developers] OCR on Android?

2009-06-29 Thread jonathan
are there any libraries on G1 Android that supports OCR(Optical character recognition)? 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-d

[android-developers] Play videos from WebView

2009-06-29 Thread VRAQ
Is there a way to play videos from the web view? For example, a user is using a web view to browse Youtube or Metacafe and they click on a video. So is there a simple way to start the video player? --~--~-~--~~~---~--~~ You received this message because you are su

[android-developers] Re: Android Dev Phone 1 in New Zealand

2009-06-29 Thread Delta Foxtrot
2009/6/28 Ram Vijapurapu > > Hi Guys, > > I am wondering how I can get the Android Dev Phone 1 in New Zealand? > > I tried purchasing from the market place, but it doesn't have New > Zealand listed. > > Could you please help. Ask a friend in the US, or any other country for that matter, if they

[android-developers] Re: How do you display many points on a map?

2009-06-29 Thread Delta Foxtrot
2009/6/29 guinyard > > I understand the notion of overlays and all, but what if I want to > display thousands of points on a map? The map becomes unresponsive > after a few hundred OverlayItems are added. What's the best approach > for doing this? If they are passive points, that don't accept

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-29 Thread Romain Guy
Do not inflate a new view every time, not only is it less efficient but it can make your application run out of memory if the user scrolls for a while. It is a very poor way to work around whatever bug you have in your adapter. On Mon, Jun 29, 2009 at 9:43 PM, Peter wrote: > > Doug, you were righ

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-29 Thread Peter
Doug, you were right. If I inflate a new view each time instead of using the cached convertView, the images never show incorrectly. This is obviously less efficient, but it's right. I need to look more closely to see if I was abusing the ViewHolder pattern, but I don't see how I was. This is wha

[android-developers] Re: WST 3.1 does not allow editing of Android manifest

2009-06-29 Thread Dan
I had the same problem, and opening the layout in the basic XML Editor didn't even work. I then noticed that Eclipse 3.5 is out. I downloaded and installed that (blowing away my old Eclipse install), reinstalled the Android plugins, and now things seem to be working. I think that XML Core 3.1 is

[android-developers] Re: Rotating image using setImageMatrix()

2009-06-29 Thread sagar.indianic
Its is working fine. I was a bit confused. I only used matrix.postTranslate at first. But now its working fine. Thanks a lot!! On Jun 27, 7:23 pm, "deepdr...@googlemail.com" wrote: > you should be able to do that with something like > >         matrix.preTranslate(-centerX, -centerY); >        

[android-developers] Re: make call from application

2009-06-29 Thread Honest
No reply ? On Jun 29, 7:18 pm, Honest wrote: > Can some one give me code snippt or any idea of how to make call from > application ? Can i give input to that call ? I mean i want to play > file which the receiver can listen it. Is that possible if not at > least tell me how can i make call ? --~

[android-developers] Re: MediaPlayer sluggish to play sounds

2009-06-29 Thread Baratong
Actually what you described is exactly how I handle the audio in this app. It's a video poker app but I preload all sounds and even on payout sounds of the coins dropping I load 4 instances of it so they can overlap while the game is in that mode. What I found was after 3 seconds of no audio at al

[android-developers] Re: MediaPlayer sluggish to play sounds

2009-06-29 Thread Baratong
I actually tried that one first and found the soundpool to be a little less than ready for primetime... it didn't work reliably in my testing and even crashed from time to time. After that I went back to trying to solve the MediaPlayer audio system wake-up issue. I'm building under the Android 1.1

[android-developers] Re: MediaPlayer sluggish to play sounds

2009-06-29 Thread Baratong
In this code I merely place the sound in the 'pause' state as I simply want to unpause with the 'start()'. Doing a start on a paused MediaPlayer instance does not reload the sound but simply changes state back to 'Started' which makes it begin playing again thus waking up the audio system. (see M

[android-developers] [opengl] glpixelstorei to change texture ystride information

2009-06-29 Thread Max R.
Hi, i need to change the ystride info of my texture. it's 2d bitmap which I load by using GLUtils.texImage2D(). and found out android doesn't support GL_PACK_ROW_LENGTH under glpixelstorei is there other alternative to change ystride info on this texture? Max. --~--~-~--~~--

[android-developers] Re: How to add Google Maps library, Maps to the Android 1.5 version device?

2009-06-29 Thread Elvis
Hi tstanly You mean I need to sign the Maps.apk again? Maps.apk is from my G1 dev phone and I want to install it to another hardware(dev board) Is it possible to porting Google Map to other targets than G1? I've been searching solution for days. Your help is much appreciated!! Elvis On Jun

[android-developers] Re: Market Not Updating Version Info

2009-06-29 Thread Craig
My Market app does not appear to be finding updates either. I tried to clear the cache as suggested, but the button is not enabled, and the Cache size says 0.00B. On Jun 29, 2:56 pm, Stuart Saunders wrote: > We were experiencing the same issue and discovered clearing the Market > app cached reso

[android-developers] Any plan for support OMA-DLOTA (OMA Download) Spec?

2009-06-29 Thread onceaweek
Does Android have plan for supporting OMA-DLOTA in later version? --~--~-~--~~~---~--~~ 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] Any plan for support OMA-DM?

2009-06-29 Thread onceaweek
I know that Android currently does not support OMA-DM. Is there any plan for supporting OMA-DM in the later version of Android? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

[android-developers] Re: Getting ESN number of a Phone

2009-06-29 Thread Yusuf T. Mobile
Here's some code to get you on your way: Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. -- import java.io.IOExceptio

[android-developers] Re: SQL Query

2009-06-29 Thread Yusuf T. Mobile
Cursor peopleCursor = contentResolver.query( Contacts.People.CONTENT_URI, new String[] {Contacts.People._ID, Contacts.People.DISPLAY_NAME}, // columns you want null, // WHERE selection null, // selection arguments Contacts.People._ID); // order by http://de

[android-developers] Re: scalable vector graphics

2009-06-29 Thread Yusuf T. Mobile
GIYF http://www.coderanch.com/t/433938/Android/Mobile/Does-Andriod-Support-SVG Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, I

[android-developers] Re: DDMS won't load (or doesn't parse?) KML file

2009-06-29 Thread nderraugh
I've tried various permutations of KML files and now I've tried yours. Still no luck. And no error messages either. It just seems to ignore me. I'm on a dual processor quad core Xeon system running Vista 64 if it makes any difference. On Jun 27, 6:44 pm, atrekker wrote: > I compare your KML

[android-developers] Re: problem regarding receving sms

2009-06-29 Thread Yusuf T. Mobile
It sounds like the variable that contains the received message does not change after the first time, probably due to some logic bug. If debugging mysteriously makes the problem go away, then I recommend using Log statements instead to learn what's happening. Yusuf Saib Android ·T· · ·Mobile· st

[android-developers] Re: Çağrı Bırakmak

2009-06-29 Thread Yusuf T. Mobile
Bu ilginç bir özelliktir. Bir uygulama veya robot platformu bir değişiklik var mı? Yusuf Saib T Mobil ayrılmamak Bu kez, görüş ve tablolar bu e-postayı bu yazarın kendi kapasitesi yalnızca, ve yapmak zorunda olan T temsil değil-Mobile USA, Inc On Jun 27, 9:05 am, Cryptic Man wrote: > Android'e

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

2009-06-29 Thread Devomat
Im searched many days and hours to find a solution to read the state of bluetooth in Cupcake... can anyone show me a example code? On 7 Mai, 10:31, so_is wrote: > Thank you very much. :) > > Here some advice for all the others reading that topic: > > private static final String BLUETOOTH_STATE

[android-developers] Re: Using CursorAdapter What is what?

2009-06-29 Thread Moto
Nicey nicey! Thanks Mark great help! Moto! --~--~-~--~~~---~--~~ 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] Re: Google Maps application problem - tiles not loading = grey background only / Maps API key available

2009-06-29 Thread Mark Murphy
Raphael wrote: > Another suggestion is to try to run the maps demo that comes with the sdk: > > /add-ons/google_apis-3/samples/MapsDemo > > Also as explained in > http://code.google.com/android/add-ons/google-apis/maps-overview.html > you need to sign your APK. Disclaimer: I never actually ran t

[android-developers] Re: Using CursorAdapter What is what?

2009-06-29 Thread Mark Murphy
Moto wrote: > Sorry for not giving any details on that post. I assumed that what > you are saying was already happening... So in the case I delete the > item my list does get updated but now its blank since there are no > items on my database. I want to handle this case by applying a new > view

[android-developers] Re: Using CursorAdapter What is what?

2009-06-29 Thread Moto
Sorry for not giving any details on that post. I assumed that what you are saying was already happening... So in the case I delete the item my list does get updated but now its blank since there are no items on my database. I want to handle this case by applying a new view which would tell the

[android-developers] Re: Google Maps application problem - tiles not loading = grey background only / Maps API key available

2009-06-29 Thread Raphael
Another suggestion is to try to run the maps demo that comes with the sdk: /add-ons/google_apis-3/samples/MapsDemo Also as explained in http://code.google.com/android/add-ons/google-apis/maps-overview.html you need to sign your APK. Disclaimer: I never actually ran the demo nor used the maps API

[android-developers] Re: Using CursorAdapter What is what?

2009-06-29 Thread Mark Murphy
Moto wrote: > Let me add to the blog: > > How can I: if item was deleted and there are no items left on the > list... How could this custom adapter know this happen? I want to set > a different view based on that case... The data source for the Cursor (SQLiteDatabase, ContentProvider, etc.) is

[android-developers] Re: Using CursorAdapter What is what?

2009-06-29 Thread Moto
Let me add to the blog: How can I: if item was deleted and there are no items left on the list... How could this custom adapter know this happen? I want to set a different view based on that case... Thanks! --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Using CursorAdapter What is what?

2009-06-29 Thread Moto
Nice! Along with that I attached a tag to the newView so that bindView would not have to go and find my view IDs on the xml... A little extra opt! Thanks Mark! Moto! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Using CursorAdapter What is what?

2009-06-29 Thread Mark Murphy
Moto wrote: > I been using custom adapters based on the BaseAdapter and I usually > populate my data at the getView() funtion. > > Now I'm trying to write my custom adapter for my database cursor which > now will be based on a CursorAdapter. > > I'm getting confused where I should do the populat

[android-developers] Using CursorAdapter What is what?

2009-06-29 Thread Moto
I been using custom adapters based on the BaseAdapter and I usually populate my data at the getView() funtion. Now I'm trying to write my custom adapter for my database cursor which now will be based on a CursorAdapter. I'm getting confused where I should do the populating work...?? Along with

[android-developers] Re: Hierarchy Viewer is not working on 1.5 sdk

2009-06-29 Thread jarkman
Romain - thanks for the confirmation. It would save a bit of time & puzzlement if it could spit out some kind of message about that, instead of just crashing. Richard On Jun 29, 6:10 pm, Romain Guy wrote: > HierarchyViewerdoes not work with production devices. If adb shell > getprop ro.secure

[android-developers] Re: EditText and Virtual Keyboard

2009-06-29 Thread Hong
I'm not sure if this will help you: http://developer.android.com/reference/android/widget/TextView.OnEditorActionListener.html But looks like some IME related actions you can catch. Please let us know if it works... On Wed, Jun 24, 2009 at 4:36 AM, Hazam wrote: > > Folks, > is there nobody havi

[android-developers] Intent to view sms?

2009-06-29 Thread Seer
What i am trying to do is write an app as an alternative to the built in sms viewer when sms are received. I don't want to replace the exisiting sms notification but want my app to be one of hte apps that shows up as a choice when you click on the notification to view the sms. Similar to how it

[android-developers] Re: MediaPlayer sluggish to play sounds

2009-06-29 Thread Mark Murphy
Baratong wrote: > I've found the audio subsystem is a little quirky. It's great if you > are playing songs, or video but if you are writing a game that plays > short sounds quickly it poses problems. After much work I found a > pretty cool solution to one of the annoying problems of MediaPlayer >

[android-developers] Re: curious

2009-06-29 Thread Mark Murphy
Beaveroid wrote: > Do anyone know of any new/draft books that are more in depth on > Android. > Actually, I like to find more info in the area of LBS and navigation. > I have already browsed thru all current list already. Do not seem to > have one. Well, there is no "navigation" (in terms of turn

[android-developers] Re: REGARDING AsyncTask Class in Android

2009-06-29 Thread Mark Murphy
Arun kutty wrote: > I found out an issue that 2 AsyncTasks do not work concurrently . > > i.e if there are 2 Async Tasks thread1 and thread 2 , thread 2 does > not execute until thread 1 finishes. > > Is there a solution to this problem.. > > when i checked the AsyncTask thread pool size it is

[android-developers] Re: Google Maps application problem - tiles not loading = grey background only / Maps API key available

2009-06-29 Thread Mark Murphy
Christian S. wrote: > For some reason I cannot get my first maps application to work. I have > gone though the full process of getting the MD5 fingerprint for the > debug.keystore, registered for the key on the website, put it into the > xml file. Even had changed my computer's locale to US Englis

[android-developers] How to pass a map (hashMap) from javascript to android?

2009-06-29 Thread eartied1
Hello, I'm trying to pass a map from javascript to a java function which has to get that map information and process it: JavaScript: function beforeSMS() { sms.createSMS({body:"hello"}); } Java: I have added a new interface to webView: mWebView.addJavascriptInterface(new SMSManager(thi

[android-developers] Re: MediaPlayer sluggish to play sounds

2009-06-29 Thread Paul Kilgo
On Sat, Jun 27, 2009 at 3:08 PM, Baratong wrote: > > What I ended up doing was this: > 1. Use Audacity to create a 1-second .wav of total silence and add the > wave into my manifest as a raw resource referenced in the app as > R.raw.silence. > 2. On startup, create a MediaPlayer instance, load th

[android-developers] REGARDING AsyncTask Class in Android

2009-06-29 Thread Arun kutty
I found out an issue that 2 AsyncTasks do not work concurrently . i.e if there are 2 Async Tasks thread1 and thread 2 , thread 2 does not execute until thread 1 finishes. Is there a solution to this problem.. when i checked the AsyncTask thread pool size it is 1...i.e CORE_POOL_SIZE=1 what if

[android-developers] curious

2009-06-29 Thread Beaveroid
Do anyone know of any new/draft books that are more in depth on Android. Actually, I like to find more info in the area of LBS and navigation. I have already browsed thru all current list already. Do not seem to have one. Please advise. --~--~-~--~~~---~--~~ You r

[android-developers] Google Maps application problem - tiles not loading = grey background only / Maps API key available

2009-06-29 Thread Christian S.
For some reason I cannot get my first maps application to work. I have gone though the full process of getting the MD5 fingerprint for the debug.keystore, registered for the key on the website, put it into the xml file. Even had changed my computer's locale to US English. I also signed the applica

[android-developers] Accelerometer data

2009-06-29 Thread House n @ MIT
Hello, I've been doing some testing on the accelerometer, specifically with the old SensorListener and new SensorEventListener versions available as of Cupcake. Using SensorListener, I've been getting normal acceleration values as expected according to the documentation - around 9.8 on the axis i

[android-developers] Wrapping onCreateInputConnection for 1.1 safety

2009-06-29 Thread Dan Sherman
Recently was updating a game implementing SurfaceView to handle input from the soft-keyboard. One of the first things we noticed was that the enter/return key is handled by the IME and not passed to our app (we do our own handling of all keypresses). I've wrapped the classes necessary for normal

[android-developers] What is the URL of the image capture when I launch an intent .ACTION_IMAGE_CAPTURE

2009-06-29 Thread silverburgh
Hi, If I launch an intent using the following: Intent i = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE, null); How can I find out the URL (not the bitmap) of the capture image? I think Camera does save it somehow in the phone, but how can I get the actual of the image capture s

[android-developers] Re: How to add a new ContentProvider to Contacts

2009-06-29 Thread Mark Murphy
Ola wrote: > I want to add an extra field to the phonebook on android. The field > contains a new contact method and when clicked it should start my own > application/intent. I have created my own content provider that > stores the information. I want to add this contentProvider to the > phonebo

[android-developers] Çağrı Bırakmak

2009-06-29 Thread Cryptic Man
Android'e dışarda olmayan bir özellik eklenmesini tavsiye ediyorum. Bahsettiğim özellik: Birisine çağrı bırakmak için telefonu dinleyip, çalmaya başladığı anda kapanmasını sağlamamız gerekiyor ancak eğer bunu otomatik yapan bir seçenek bulunursa yani biz sadece kişiyi seçip "çağrı bırak" gibi b

[android-developers] Getting Service interface across processes

2009-06-29 Thread George
I am trying to create a RemoteService that runs in its own process. For that I created a service in a separate APK with the corresponding aidl file. In another APK, I copied the aidl file of the Service, so that I have interfaces to the RemoteService. The corresponding .java file is generated. In

[android-developers] return value after addJavascriptInterface(obj, "obj")

2009-06-29 Thread sglai
Hi, after adding an obj via addJavascriptInterface, is it possible to return an array from obj.method to javascript? Thanks, sui-sig --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] how to mark the location of google map?

2009-06-29 Thread tstanly
hi all, i have a problem about the gps with the google map, that is, how gps can mark the user's location which is on the google map?? is somebody have same experience can share? thanks!!! --~--~-~--~~~---~--~~ You received this message because you are subscribe

[android-developers] Title of dialog

2009-06-29 Thread UK Android Apps UK Android Apps
Hi, Is it possible for the title of the Dialog to go onto two lines? 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@googleg

[android-developers] Re: Camera in portrait mode

2009-06-29 Thread SebX
Hi, First at all congratulation for Layar, it seems very impressive and I look forward to test the application (I did not see it on the appstore) I have the same problem with my application when I'm in portrait mode and that's very frustrating. I think we have to use the landscape mode only beca

[android-developers] Re: How to add Google Maps library, Maps to the Android 1.5 version device?

2009-06-29 Thread tstanly
do you signed for your app? http://developer.android.com/guide/publishing/app-signing.html#setup On Jun 26, 9:06 pm, Elvis wrote: > Hi all > > I've pushed 3 files to the required path, but Maps is still invisible. > > Anyone has idea what's going on with this? > > ps. I'm using android sdk 1.5r2

[android-developers] jymsg implementation on android

2009-06-29 Thread Muhammad Abdullah
Hi All, I understand that there are some of the members here have tried to use jymsg api on android, I have tried it also since a few days ago but I can't login (failed: login timed out) and always receive this error on adb logcat: I/global ( 723): Default buffer size used in BufferedInputStream

[android-developers] Re: MediaPlayer sluggish to play sounds

2009-06-29 Thread Marco Nelissen
On Sat, Jun 27, 2009 at 1:08 PM, Baratong wrote: > > > I've found the audio subsystem is a little quirky. It's great if you > are playing songs, or video but if you are writing a game that plays > short sounds quickly it poses problems. After much work I found a > pretty cool solution to one of th

[android-developers] Re: DDMS won't load (or doesn't parse?) KML file

2009-06-29 Thread atrekker
I compare your KML with the one I have been using in DDMS & notice some tag difference. Please try following modified version: http://www.opengis.net/kml/2.2";> Simple placement Simple placemark Attached to the ground. Intelligently places itself at the height of the u

[android-developers] Getting PCM data from the builtin audio decoders

2009-06-29 Thread NagyI
Hi! First of all, sorry for my bad english. I'm new into Android application development, just experimenting with the emulator and the SDK. I have searched with some keywords on the developer group, but i didn't find what i need. I'm searching for classes which with i can do simple audio DSP on l

[android-developers] AudioRecord , buffer overflow issue.

2009-06-29 Thread Anu
Hi, Iam using Android 1.5 sdk . I have audio capture working using audiorecord, but then after few seconds , I get buffer overflow and thats tearing down the whole call. Can anyone of you please let me know how to fix this issue. Thanks, Anu --~--~-~--~~~---~--~---

[android-developers] Re: Sms Broadcasts and Logs

2009-06-29 Thread fidji-florian
+1 I want to know when a sms to be send. (I want to count how many sms i send in a determinate time) Merci, Flo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] Android Dev Phone 1 in New Zealand

2009-06-29 Thread Ram Vijapurapu
Hi Guys, I am wondering how I can get the Android Dev Phone 1 in New Zealand? I tried purchasing from the market place, but it doesn't have New Zealand listed. Could you please help. Regards, Ram. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Radio interface stats

2009-06-29 Thread craft
Is there an URL where I can find documentation on how to get radio interface stats (signal level, registered BTS's / Node B's in the area ) Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developer

[android-developers] How to "Find" and navigate to a string in a local WebView web page....

2009-06-29 Thread John B. Hansen
Hi, I'm using WebView (quite successfully I might add) on Documents in my SDCARD but I want to provide a page search to reposition the browser to the first occurrence of a query string on the page. This is the typical 'ctrl-f' browser behavior. But as far as I can tell, WebView doesn't support th

[android-developers] how to mark the location of google map

2009-06-29 Thread 鐘賢 蔡
hi all, i have a problem about the gps with the google map, that is, how gps can mark the user's location which is on the google map?? is somebody have same experience can share? thanks!!! --~--~-~--~~~---~--~~ You received this message because you are subscri

[android-developers] How to set WebView zoom manually?

2009-06-29 Thread iron
How to set 1x zoom manually in WebView? --~--~-~--~~~---~--~~ 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 gro

[android-developers] Wrapping onCreateInputConnection for 1.1 safety

2009-06-29 Thread impact...@gmail.com
Hey guys, Recently was updating a game implementing SurfaceView to handle input from the soft-keyboard. One of the first things we noticed was that the enter/return key is handled by the IME and not passed to our app (we do our own handling of all keypresses). I've wrapped the classes necessary

[android-developers] Alter Pitch In Music Player

2009-06-29 Thread handheld-penguin
i'm trying to write a DJ app that will allow me to pause, fast foward, rewind, cue and skip (using a duration bar) songs. This is all done easily in the built in media player that comes with android so nothing new there. The problem comes when I want to implement a way of being able to adjust the

[android-developers] Voice Dialing non-functional

2009-06-29 Thread J Renfrew
I have a new HTC Dream running V1.5 fw and the voice dial function doesn't pickup any voice commands. Both "call" and "dial" commands are unresponsive by the phone. I have a Roger's English version of the Dream if it makes any difference. When I manually place calls the microphone functions, so

[android-developers] How do you display many points on a map?

2009-06-29 Thread guinyard
I understand the notion of overlays and all, but what if I want to display thousands of points on a map? The map becomes unresponsive after a few hundred OverlayItems are added. What's the best approach for doing this? --~--~-~--~~~---~--~~ You received this mess

[android-developers] Re: TextView Ellipsize: Questions

2009-06-29 Thread jle
You are not crazy. I see the exact same problem w/ ellipsizing and a multi-line TextView as you described above. On Jun 11, 2:58 pm, "nEx.Software" wrote: > For the time being, I decided to roll my ownellipsizefunction, which > I will call on my own and then feed into myTextView. It is highly >

[android-developers] quick change input language in android

2009-06-29 Thread tudor
I always configure the UI of my mobile phones with english. But I write sms in French, German, English & Spanish. Android does not seem to offer the possibility to quickly change the input language of the keyboard. It looks like UI language both determines keyboard layout and input language, which

[android-developers] permissions to be set for an MMS receiver Application

2009-06-29 Thread naive
Hi, I am trying to write an application which gets invoked when SMS or MMS is received. SMS part works fine but hard luck on MMS. I have written a Receiver class which should be invoked upon the receipt of an MMS message. However that class is not invoked. In the Manifest File I have set the fo

[android-developers] Ignoring one touch event and servicing the next one

2009-06-29 Thread Paul Kilgo
I'm building a simple Pong game that up to two can play, but I've run into this problem. If one player wants to cheat, all they have to do is never lift up their finger and the second player never gets a chance to move their paddle. One touch event is blocking to the next one so long as the initia

[android-developers] question about inflate in LayoutInflater

2009-06-29 Thread 宋庆欣
the method has 3 parameters.and I'm confused by the second and the thrid. I read api. rootOptional view to be the parent of the generated hierarchy (if attachToRoot is true), or else simply an object that provides a set of LayoutParams values for root of the returned hierarchy (if attachTo

[android-developers] HTML input fields in webview lose focus on JavaScript calls via loadUrl

2009-06-29 Thread Justin
Currently I have a small application that creates a socket connection as well as a WebView to load a web application. The android java application relays information passed via the socket to the webview using the loadUrl("javascript:") call. I'm experiencing an issue though whenever focus is place

[android-developers] 'Operation not permitted' error while calling ioctl () to configure WiFi property

2009-06-29 Thread feel
Hi, I would like to load wifi driver and configure wifi properities through JNI from Android UI. (referring not default setting menu but new wifi application). When I try to call ioctl dealing with wifi properties, I am getting 'Operation not permitted' error. To cope with, I tried to give permiss

[android-developers] Call log bug

2009-06-29 Thread Frol
Hi, Any one else having problem when trying to call someone from the call log by pressing the "green phone" (witch will call instantly) and then the phone actually calls someone else on the list? Its almost like there is some positions issues. It works well if you hit the name/number and the pres

[android-developers] Android Apps, network and Tariff For DEAF users is coming

2009-06-29 Thread DavidDB
Nine million people in the UK (15% of the population) suffer from permanent, disabling hearing loss. The estimated demographic figure has ranged from 22 million deaf and hard of hearing to as high as 36 million deaf and hard of hearing worldwide. Of these, only a few million are considered "deaf"

[android-developers] Memory leak in AudioTrack?

2009-06-29 Thread Morné Pistorius
Hi all, If I create and release multiple AudioTrack objects, the GREF count continually increases which eventually causes an application crash. This small test code snipped illustrates the problem: byte[] buffer = readAudioFile( "audio.raw" ); for ( int n = 0; n <

[android-developers] Managing the On Screen Keyboard

2009-06-29 Thread Nick
I have a dialog that opens up for text input. When the On Screen Keyboard is enabled the keyboard actually covers the textview. What I would like to do is have it bring up the full text box effect, where, like the browser, it isolates the text view and all that is visible is the text view and on

[android-developers] Dial pause character

2009-06-29 Thread J Renfrew
Android V1.5 FW doesn't seem to have support for a pause character when dialing a number. I have tried #, P, W, ".", and even "," but none of these characters have any impact on the dialing. --~--~-~--~~~---~--~~ You received this message because you are subscribe

[android-developers] How to add a new ContentProvider to Contacts

2009-06-29 Thread Ola
Hi I want to add an extra field to the phonebook on android. The field contains a new contact method and when clicked it should start my own application/intent. I have created my own content provider that stores the information. I want to add this contentProvider to the phonebook in the same wa

[android-developers] Maps API Key Signup page is down...

2009-06-29 Thread savio
See: Google Error Not Found The requested URL /android/add-ons/google-apis/signup.html? agreeTerms=1&fp=... was not found on this server. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] MediaPlayer sluggish to play sounds

2009-06-29 Thread Baratong
I've found the audio subsystem is a little quirky. It's great if you are playing songs, or video but if you are writing a game that plays short sounds quickly it poses problems. After much work I found a pretty cool solution to one of the annoying problems of MediaPlayer being sluggish to play au

  1   2   >