[android-developers] Re: Playing sounds multiple times using MediaPlayer

2008-11-01 Thread Robert Green
I've been trying to switch my soundpool based app to use mediaplayer but the mediaplayer just feels so laggy compared to the quick, reliable responsiveness of soundpool. Honestly I'm just not happy even attempting to use mediaplayer for games. It's not suited for it even one bit. On Oct 31,

[android-developers] Re: Determining Application Size

2008-11-01 Thread hackbod
Yep the size of the .apk. On Oct 31, 3:04 pm, cyntacks [EMAIL PROTECTED] wrote: Hi Hackbod, thanks for such a quick reply! So, after reading this and other discussions on this topic, when you have mentioned in the past keeping the app size small, were you referring to the actual size of the

[android-developers] Re: API for Phone profiles

2008-11-01 Thread denismo
Thanks a bunch, will make use of these. Denis On Nov 1, 6:38 am, Jason Parekh [EMAIL PROTECTED] wrote: 1.0 only has support for silent, vibrate, and normal profiles.  You can use AudioManager.setRingerMode to switch between those. jason On Fri, Oct 31, 2008 at 4:40 AM, denismo [EMAIL

[android-developers] How can I use Camera Class!!?

2008-11-01 Thread [EMAIL PROTECTED]
I'm interested in implementing Camera Demo App.. As you guys know that In Emulator there is a CameraPreview Sample But When I get started it App. was opened but It couldn't get a screen from my camera How can I get my camera view to Emulator???

[android-developers] Re: GTalk (XMPP) service, ADC, android market and wasted months

2008-11-01 Thread babyblue
Hi Raft google had removed GTalk (XMPP) service from api, which BabelFish mainly depends on. remember the documentation at early releases, it was stated that XMPP is the preferred way of device to device communication. now it's gone, untill an unknown date, and we are left with WASTED

[android-developers] Check for new version of applications

2008-11-01 Thread friedger
Hi, we are preparing the OI Updater that checks a given info file for new updates as described in the Android documentation. You can find the current build (rev 1284) at http://openintents.googlecode.com/files/UpdateChecker.apk In order to initiate the update check you just have to add the

[android-developers] Re: G1 camera capture crashage

2008-11-01 Thread blindfold
Indeed Android camera input support is currently fragile at best. Filed as issue 1129 at http://code.google.com/p/android/issues/detail?id=1129 On Oct 30, 3:02 am, Jason Proctor [EMAIL PROTECTED] wrote: hi, i have an application which opens a Camera and then installs itself as a preview

[android-developers] Re: Check for new version of applications

2008-11-01 Thread Wiktor
Great idea! Hmm one feature: a service (or activity) that automatically checks all installed apps versions :) On 1 Lis, 10:33, friedger [EMAIL PROTECTED] wrote: Hi, we are preparing the OI Updater that checks a given info file for new updates as described in the Android documentation. You

[android-developers] Re: delete my app on G1

2008-11-01 Thread Mark Murphy
sd wrote: I am able to delete my app on the emulator either using adb or the file explorer on ddms. However, I have been having trouble deleting my app on G1. I get 'permission denied' when I use adb to browse the data directory. I cannot expand the 'data' folder on the file explorer

[android-developers] Re: delete my app on G1

2008-11-01 Thread brs
On Nov 1, 1:05 am, sd [EMAIL PROTECTED] wrote: I am able to delete my app on the emulator either using adb or the file explorer on ddms. However,  I have been having trouble deleting my app on G1. I get 'permission denied' when I use adb to browse the data directory. I cannot expand the

[android-developers] Re: Check for new version of applications

2008-11-01 Thread Al Sutton
Hi Friedger, I've updated AndAppStore.com to provide a versionCode in the update.xml as you requested. At the moment anyone with applications listed will find that they can specify the versionCode in the details about a released version (not the application details page, the release details

[android-developers] Re: No audio picker activity?

2008-11-01 Thread Guillaume Perrot
Actually, there is already intents to capture sound or photo, they're just undocumented bet we use it in our application: mCaptureImageIntent = new Intent(android.media.action.IMAGE_CAPTURE); mCaptureAudioIntent = new Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION); On 31 oct, 21:17, Alvin

[android-developers] Re: Problem with ACTION_MEDIA_SCANNER_SCAN_FILE

2008-11-01 Thread Spanish Android
I solved my problem using: mScanner = new MediaScannerConnection(hacerFoto.this, new MediaScannerConnection.MediaScannerConnectionClient() { public void onMediaScannerConnected() { mScanner.scanFile(name, null /* mimeType */); } public void

[android-developers] Android Icon Creation Software

2008-11-01 Thread ScottG
What graphics package is recommend to create those nice Android icons? Thanks for any insight. Cheers, Scott --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] User E-Mail Address

2008-11-01 Thread ScottG
What is the drill to acquire the user's current or preferred or gmail e-mail address from inside an application? Thanks for any insight. Cheers, Scott --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Check for new version of applications

2008-11-01 Thread Al Sutton
Friedger, How are you identifying the apps?, I'd happily add an extra field or two to the AndAppStore.com data that you can search for if it would be useful. Al. friedger wrote: The idea is that the Updater will also be able check all applications it knows about by a single button clicked

[android-developers] Re: No audio picker activity?

2008-11-01 Thread hackbod
Just be prepared for your application to break in the future. These are undocumented because they are not ready for use. On Nov 1, 5:50 am, Guillaume Perrot [EMAIL PROTECTED] wrote: Actually, there is already intents to capture sound or photo, they're just undocumented bet we use it in our

[android-developers] Re: delete my app on G1

2008-11-01 Thread s d
Thanks Mark and brs for your answers. Uninstall works. I wonder why I never thought of that :) sd On Sat, Nov 1, 2008 at 5:06 AM, brs [EMAIL PROTECTED] wrote: On Nov 1, 1:05 am, sd [EMAIL PROTECTED] wrote: I am able to delete my app on the emulator either using adb or the file explorer

[android-developers] Re: No audio picker activity?

2008-11-01 Thread Guillaume Perrot
I hope when there will be standard intents to replace them once those two intents will break. 2008/11/1 hackbod [EMAIL PROTECTED] Just be prepared for your application to break in the future. These are undocumented because they are not ready for use. On Nov 1, 5:50 am, Guillaume Perrot

[android-developers] Emulator Calendar Code --What's up?

2008-11-01 Thread joshbeck
Here is a very simple code segment I am running on the emulator. It creates a new Calendar cal and reads cal.HOUR and cal.MINUTE it then prints those values to the screen. The emulator always reads 10 12 ? Any ideas? Thanks, package com.android.date; import android.app.Activity; import

[android-developers] source not found workaround

2008-11-01 Thread moazzamk
I was browsing the net and found a few things that would solve the source not found error you get when you have an error in the application (or an exception). The web interface here doesn't let me post any pictures so I wrote it here : http://moazzam-khan.com/

[android-developers] ImageButton Icons

2008-11-01 Thread [EMAIL PROTECTED]
Hi, Just tried using the ImageButton for the first time but I could really do with some help on the masking of the image it uses. I currently assign the image to the button in the XML file like so: ImageButton android:id=@+id/button_zoom_in android:layout_width=wrap_content

[android-developers] Please add this capability to bluetooth headsets

2008-11-01 Thread frito
We need at least untill stereo bluetooth support has been added a setting to enable all sounds (maily music playing imo) to beable to be sent to the normal bluetooth headset if we want. There should be no reason to need to use a wired headset to listen to music on the phone imo that is my only

[android-developers] Re: Camera causing crash

2008-11-01 Thread jrpowers
You can grab a 480x320 picture, but it still takes a while to come back after you call takePicture. The preview format is some YUV format. I think it's like YUV420P. I've been able to decode the luminance part (Y) (it's just in-order byte values), but I haven't tried to recover the color part.

[android-developers] Android on device GPS locate not working - code included

2008-11-01 Thread Amir
I'm creating a project that allows for my location to be found using the android device and communicating with my website as to where my Android device is. When I download the .apk to my phone the following permissions are acquired: Network communication (full) Your location (fine (GPS), coarse

[android-developers] Using JmDNS in emulator

2008-11-01 Thread gshetty
Hi, I am trying to use JmDNS to discover the services available in Bonjour network. I am running my app in the emulator and my system is connected to LAN and the ip on my system is assgined through a DHCP server. However when the JmDNS tries tries to find out the ip address of localhost it gets

[android-developers] SSH to the G1 ?

2008-11-01 Thread SnolahC_FR
Hi, i just bought an HTC G1. After hours of searching on google, i found NO terminal emulator running directly on the phone (without the emulator). The only one is pTerminal and it is really useless... (cannot run an ifconfig, nor a pwd...) So, i thought i could connect the G1 on a local

[android-developers] Re: How do I update my activity on receiving intent in BroadcastReceiver

2008-11-01 Thread Juan David Trujillo C.
Hi Megha! I'm having a similar problem. I want to be able to create a notification and schedule an alarm from a BroadcastReceiver class. Do I have to make my BroadcastReceiver an inner class of an Activity or is it just using a regular class that extends BroadcastReceiver? Is it possible to

[android-developers] Windows TreeView/ListView Control equivalent for Android OS?

2008-11-01 Thread ppcinfo
I'm a long time Windows Mobile app developer, and I'm making the switch to Android. Question: Are there equivalent controls for the TreeView and ListView controls in Microsoft Windows? I've looked through the docs, but don't see anything similar. Your help is appreciated! Thanks.

[android-developers] Re: Android Icon Creation Software

2008-11-01 Thread Pavel Antokolsky aka Zigmar
On Nov 1, 6:09 pm, ScottG [EMAIL PROTECTED] wrote: What graphics package is recommend to create those nice Android icons? Any graphical editor which can produce an alpha-channeled png. Gimp, Photoshop, whatever, you choose. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: can anyone help me how to create a Calendar.app?

2008-11-01 Thread [EMAIL PROTECTED]
I am developing a calendar application, what service would you like to pull the calendar information from? On Oct 31, 12:46 am, joan [EMAIL PROTECTED] wrote: Can anyone help me how to create a Calendar App which is not dependent on google, and how to write the this app's main.xml? Thanks!

[android-developers] Re: Windows TreeView/ListView Control equivalent for Android OS?

2008-11-01 Thread Jason Parekh
Haven't touch winmo development, but these might be useful for you: ListView: http://code.google.com/android/reference/android/widget/ListView.html A two-level ListView: http://code.google.com/android/reference/android/widget/ExpandableListView.html Definitely check out the API demos, it

[android-developers] Re: SSH to the G1 ?

2008-11-01 Thread Mark Murphy
SnolahC_FR wrote: How do you manage to use a console on THE PHONE ? AFAIK, you don't. Just because it has Linux under the covers does not mean it has a full console with a bash shell and all that jazz. For connecting to other Linux/etc. boxes running SSH, ConnectBot has worked fairly

[android-developers] Re: ImageButton Icons

2008-11-01 Thread Mark Murphy
[EMAIL PROTECTED] wrote: Hi, Just tried using the ImageButton for the first time but I could really do with some help on the masking of the image it uses. I currently assign the image to the button in the XML file like so: ImageButton android:id=@+id/button_zoom_in

[android-developers] Re: Check for new version of applications

2008-11-01 Thread friedger
I'd say the package name is the global identifier. Maybe you can just provide a VeeCheck url based on the package name (as alternative to the app id). So I could check that url. If you don't host an app for the package name or if it is not unique you could return a HTTP 400. Friedger On 1

[android-developers] Re: Camera causing crash

2008-11-01 Thread blindfold
You can grab a 480x320 picture, but it still takes a while to come back after you call takePicture. Thanks! Is this 480x320 for the physical G1, or for the emulator? The preview format is some YUV format. I think it's like YUV420P. It is yuv422sp, which is equivalent to Android's

[android-developers] Re: Verify Error with HTTPMIME / MIME4J

2008-11-01 Thread Alvin Yates
Rechecked the dependency trees, rolled back my libraries from httpcore-4.0b3 to 4.0b2, and downgraded my Mime4J to 0.4 to match the dependencies on each of the compiled JAR files. Still the same error on the same line. I would be very grateful if someone who has successfully gotten HTTP MIME or

[android-developers] ImageButton borders, vs. ImageView touch events

2008-11-01 Thread Eric
Thus far I've been using Buttons in a TableLayout, and calling setOnTouchListener() to catch both presses and releases. Now I'm trying to switch to ImageButtons. They work OK, but I wind up with an annoying white border around the image. Even when calling setPadding (0, 0, 0, 0), I still get

[android-developers] Re: GTalk (XMPP) service, ADC, android market and wasted months

2008-11-01 Thread PowerGUI
Hi Raft, I fell very regret,we have did the simillar software.I design it from the very ADC beginning date.I am very busy on my company's many other linux project,I have not finished then. my another ADC project is Hi Taxi,also delayed with the my busy project.you know, the simillar

[android-developers] Re: SSH to the G1 ?

2008-11-01 Thread PowerGUI
without root,nothings can do. even for the simplest read and copy operations . I have no words to say. wish the things will change in the coming date. many of the G1 buyer now is really android developers. Best Regards PowerGUI Android DotPhone Project http://www.dotphone.org/english/

[android-developers] Re: Getting database access from service

2008-11-01 Thread Teo Hong Siang
I guess an option is to declare a static Cursor in your Activity, then call manageQuery once. Subsequently, in the service, you can just do a requery() on the Cursor object. On Nov 1, 5:01 pm, Lillian Brandão [EMAIL PROTECTED] wrote: Hi, I have an application which access database information

[android-developers] Re: GTalk (XMPP) service, ADC, android market and wasted months

2008-11-01 Thread Steve Oldmeadow
r a f t wrote: now i really WONDER if using GTalk service was a hidden judging criteria. i assume at the time of ADC round 1 google had plans to remove GTalk service from api and cannot afford giving prize to an application which wont work on the actual device ! are there any finalist

[android-developers] Re: Getting database access from service

2008-11-01 Thread Lillian Brandão
Hi Mark, Thaks a lot! Now it's working fine! About the activity (method managedQuery), I made a mistake. It's not necessary. Using DatabaseHelper to get a SQLiteDatabase instance is enough for me. Thanks for the valuable help, Lillian Brandão. On Sat, Nov 1, 2008 at 10:16 PM, Mark Murphy

[android-developers] Re: ImageButton borders, vs. ImageView touch events

2008-11-01 Thread Jason Parekh
Hi Eric, When you get the ACTION_DOWN event, are you returning true? If not, this is probably the issue. The framework will only deliver future touch events (ACTION_MOVEs and the ACTION_UP) to that View if its touch listener or onTouchEvent returns true. jason On Sat, Nov 1, 2008 at 5:00 PM,

[android-developers] Drawing many map overlays efficiently

2008-11-01 Thread Mark Wyszomierski
Hi, I have many pins I'd like to display on a map. I first tried adding each as an Overlay, but this is way too slow, as each overlay tries drawing itself even though it may not be visible within the screen view. So the question is, is one overlay instance supposed to be used per pin? Or is

[android-developers] Re: Error coming while creating a login page

2008-11-01 Thread Dhiwa
Hi, If you still see the problem. Change it to : android:layout_gravity=@id/btnSign Regards, Dhiwakar On Oct 21, 7:07 am, Peli [EMAIL PROTECTED] wrote: You should not use the '+' in: android:layout_toRight=@+id/btnSign Replace it by: android:layout_toRight=@id/btnSign Peli On Oct

[android-developers] Re: ImageButton borders, vs. ImageView touch events

2008-11-01 Thread Eric
Interesting. I'm returning false, because when I was using the Button class the button highlighting didn't work right if my touchHandler returned true. See Romain Guy's reply to my question in this thread:

[android-developers] How to use indicatorLef and Right of ExpandableListView?

2008-11-01 Thread sori
I'm having trouble to set the position of group indicators on ExpandableListView. What I need to do is to set the indicator on the right hand side (margin 10px from the right end). I tried all I can think of with indicatorLeft and indicatorRight (which I believe are defined for the purpose), but

[android-developers] Re: ImageButton borders, vs. ImageView touch events

2008-11-01 Thread Jason Parekh
On Sat, Nov 1, 2008 at 8:59 PM, Eric [EMAIL PROTECTED] wrote: Interesting. I'm returning false, because when I was using the Button class the button highlighting didn't work right if my touchHandler returned true. See Romain Guy's reply to my question in this thread:

[android-developers] Re: How to use indicatorLef and Right of ExpandableListView?

2008-11-01 Thread Jason Parekh
Yup, that's exactly what indicatorLeft/Right are for. What issues are you seeing? What vlaues are you setting those to? jason On Sat, Nov 1, 2008 at 9:01 PM, sori [EMAIL PROTECTED] wrote: I'm having trouble to set the position of group indicators on ExpandableListView. What I need to do

[android-developers] Re: Android on device GPS locate not working - code included

2008-11-01 Thread C-LIS Keiji Ariyama
Hi Amir, I had encountered a same situation. But my case is about getLastKnownLocation(String) cid:part1.07010905.08080404@c-lis.co.jp method on the emulator. In that time, I fixed my code below. Old public class TestActivity extends Activity { private void initActivity() {

[android-developers] Re: ImageButton borders, vs. ImageView touch events

2008-11-01 Thread Eric
Setting the background to null works great! I'd tried to do that previously based on information in a different Android-developers thread, but the syntax for the XML was wrong. Thanks! Eric --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Windows TreeView/ListView Control equivalent for Android OS?

2008-11-01 Thread ppcinfo
Thanks for those links, but the ListView control in MS Windows can contain multiple columns while the Google ListView is a single column (more like a Windows ListBox control). The Expandable ListView is similar to the TreeView control in MS Windows, but it only has 2 two levels while the MS