[android-developers] Re: Recorder Audio

2008-11-04 Thread mesak82
Does Sound Recorder application also save recorded audio in a raw format? I'm recording using Sound Recorder, the file is saved (it's on sdcard and also showed in logcat is being stored) but if I try to open the file from Music application, the file I recorded is not even shown in the play list.

[android-developers] OpenDatabase error

2008-11-04 Thread Kingorcus
db = SQLiteDatabase.openDatabase("/data/data/ com.android.providers.settings/databases/settings.db", null,SQLiteDatabase.OPEN_READONLY); I keep getting an exception "unable to open database file" any ideas --~--~-~--~~~---~--~~ You received this message because

[android-developers] Installing Android on different Handsets than G1?

2008-11-04 Thread MArtin Schumacher
Hi Group, I'm living in Germany, so there is no access to the G1 right now. Also as far as I know the G1 will come with a 2 year subscription from t- mobile... So my idea is to deploy the Android System on another handset. I have a spare Samsung I600 (comparable with the Samsung BlackJack 1) lyi

[android-developers] Re: Showing the options menu

2008-11-04 Thread Jason Parekh
Hey Mark, Could you describe your scenario a little bit more? Testing openOptionsMenu in MenuInflateFromXml worked, add to the end of onCreate: new Handler().postDelayed(new Runnable() { public void run() { openOptionsMenu(); } }, 1000); j

[android-developers] Re: camera events

2008-11-04 Thread spackest
So if I want to capture images and send them to a website, I need to write my own capture program, separate from the core capturing program? Would sure be nicer to just catch the event from a different app. Thanks, Earl On Nov 4, 1:24 am, hackbod <[EMAIL PROTECTED]> wrote: > Sorry, you can't in

[android-developers] Re: disable item of list view in Alert Dialog

2008-11-04 Thread Jason Parekh
Hi Justin, Check out ListAdapter's areAllItemsEnabled and isEnabled. jason On Mon, Nov 3, 2008 at 9:12 PM, Justin <[EMAIL PROTECTED]> wrote: > > I want to disable some items in listview which is in the Alert Dialog > I implemet an Adapter and in getView() of Adapter I set item to > disable > bu

[android-developers] Re: Showing the options menu

2008-11-04 Thread Mark Wyszomierski
Hmm seeing as how this is not working, is there a way to inject a menu button key press to get the menu to come up? Thanks Mark Wyszomierski wrote: > Hi, > > How can we programatically show the options menu for an Activity? It > seems: > > Activity.openOptionsMenu() > > would do it, but it h

[android-developers] Is the address of a contact really held in POSTAL_LOCATION_LATITUDE ?

2008-11-04 Thread jarkman
I'm trying to fetch location data for contacts. When I look in the Contacts.ContactMethods.POSTAL_LOCATION_LATITUDE field, hoping to get a latitude, I find I actually get the postal address of the contact ! Is that just a bug, or is there really a latitude for the contact in there somewhere ? T

[android-developers] Re: Urgent: MapActivity - Couldn't get connection factory client (API key does not work)

2008-11-04 Thread bryan
Eclipse 3.4.1 JDK 1.5.0_16 Android SDK 1-1.0_r1 Mac OS X 10.5 Used "keytool -list -keystore ~/.android/debug.keystore" to get my md5. public class MyMapView extends MapActivity { private static final int MILLION = 100; MapView map; MapController controller;

[android-developers] Re: Tips for Orientation

2008-11-04 Thread Cheryl Sedota
FYI: I have a bug open against Android for not respecting the activity's request to handle orientation changes itself: http://code.google.com/p/android/issues/detail?id=969 On Oct 30, 7:01 am, Mark Hansen <[EMAIL PROTECTED]> wrote: > You need to store whatever information determines the state o

[android-developers] how to detect the Orientation of G1 Screen ?

2008-11-04 Thread Hw3699
how to detect the Orientation of G1 Screen ? --~--~-~--~~~---~--~~ 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: Exact Battery level value

2008-11-04 Thread Peli
At least the source code exists: http://git.source.android.com/?p=platform/packages/apps/Settings.git;a=blob;f=src/com/android/settings/BatteryInfo.java;h=ef60fc35b1f0f80f9bb88cc9d4fc5eaf55e9ef4b;hb=de2d9f5f109265873196f1615e1f3546b114aaa7 :-) Peli On Nov 4, 4:24 pm, Ian <[EMAIL PROTECTED]> wro

[android-developers] Re: getCurrentLocation

2008-11-04 Thread Bobbie
The code I am using to get the location is very simple: LocationManager lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE); loc = lm.getLastKnownLocation(lm.getBestProvider(new Criteria(), true)); When I get the location, it's always a "network" location. If I hard code it and re

[android-developers] Re: OpenGL Basics

2008-11-04 Thread JavaAndroid
Hi Smith, Thanks a Million for ur response..After going through several times i m able to understand GLSurfaceView to some extent.but still some portion of the code remains obscure Correct me if am wrong.it looks like the animation which we want to display should be implemented

[android-developers] Re: Exact Battery level value

2008-11-04 Thread Ian
True. If its not documented, it must be cool! (joke!) IV 2008/11/4 Jean-Baptiste Queru <[EMAIL PROTECTED]>: > > If it's not documented, you shouldn't rely on it. > > JBQ > > On Tue, Nov 4, 2008 at 5:23 AM, denismo <[EMAIL PROTECTED]> wrote: >> >> The answer is in Settings/BatteryInfo, thanks to

[android-developers] Re: Exact Battery level value

2008-11-04 Thread Ian
AnyCut is available in the Market. But its not AnyCut that is giving you the extra battery info, it is only providing you with a shortcut to a Android app that displays the battery info. So that code must be somewhere in the android code base! IV 2008/11/4 denismo <[EMAIL PROTECTED]>: > > Wher

[android-developers] Andriods SAXParser

2008-11-04 Thread Jakob Sachse
I am facing a problem when using Androids SAXParser. It throws DOMExceptions where the J2SE SAXParser (xerces) doesn't. I am trying to find the sources for Androids SAXParserFactory (to see how it chooses the SAXParser to return) and the SAXParser itself, but I coulnd't find them. In Debug mode

[android-developers] how to test if the screen is in HVGA-L mode

2008-11-04 Thread Hw3699
How to test if the screen is in HVGA-L mode? --~--~-~--~~~---~--~~ 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] Extending ACTION_PICK ?

2008-11-04 Thread Jake Maui
Is there a way that anyone knows of to extend the view of the image picker? In particular, I'd like to decorate the image to indicate the the image has some property. Thx in advance ... private OnClickListener buttonListener = new OnClickListener() { public void onClick(View v) {

[android-developers] Re: Proper way of handling orientation change + async thread

2008-11-04 Thread zl25drexel
Thanks for your reply, any example codes? On Nov 3, 8:28 pm, Greg <[EMAIL PROTECTED]> wrote: > When you change orientation your Activity is destroyed and then re- > created.  When you re-create the dialog view object that was sent to > the background process is no longer valid, thus the error. >

[android-developers] Any tool to analyze the memory?

2008-11-04 Thread qvark
Hi, we are having problems in our application with Out of Memory after executing several times the same set of activities, so we suspect we are leaking memory somehow. All the activities seem to be destroyed correctly, but the DDMS plugin shows the memory increasing. The problem is we can see th

[android-developers] Re: Sending email

2008-11-04 Thread john
Haha! Yes, it only works on the phone. Sorry for the mixup, I can be pretty absent minded at times. On Nov 3, 4:42 pm, Daniel Bradby <[EMAIL PROTECTED]> wrote: > I'm assuming you meant to say it only works on the phone, not the   > emulator :) > > On 04/11/2008, at 1:13 AM, john <[EMAIL PROTECTED

[android-developers] more problems with opengl in the new sdk

2008-11-04 Thread petunio
Hi people I am trying to migrate an opengl sample that it used to work under the old (3) version of the sdk, and so far, I am not having much success... this is my function for setting up the opengl environment: boolean initOpenGL() { egl = (EGL10) EGLContext.getEGL();

[android-developers] Re: Android Icon Creation Software

2008-11-04 Thread Peli
We've created our "Android" icons using Inkscape. http://www.inkscape.org/ Have a look at some icons here: http://www.openintents.org/en/ for OI Flashlight, OI Shopping list, OI News Reader, and OI Notepad. (you have to scroll down a bit to see the new SDK 1.0 look icons). Peli www.openintents.o

[android-developers] Re: Question about View, Canvas, and Drawable.. --Basics

2008-11-04 Thread joshbeck
I'll go ahead and add this too: I wrote two programs last night: -One added a Drawable to an ImageView Layout. -The other used onDraw and invalidate to repeatedly render out a canvas. Under what circumstances is the Drawable beneficial is my question I guess. Thanks again, Josh

[android-developers] Re: Tabs at bottom of screen

2008-11-04 Thread [EMAIL PROTECTED]
Hi, If you find solution of this problem please email me. 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@googlegroups.com

[android-developers] Question about View, Canvas, and Drawable.. --Basics

2008-11-04 Thread joshbeck
Hello all, Is this correct? View: The android screen is divided up into views. Views are basic layout objects. Canvas: You need to have at least one canvas if you want to do any drawing. Each view potentially has its own canvas. Drawable: ---)This is where my 10:30 bedtime turns into a 2:30 am

[android-developers] Re: Exact Battery level value

2008-11-04 Thread Jean-Baptiste Queru
If it's not documented, you shouldn't rely on it. JBQ On Tue, Nov 4, 2008 at 5:23 AM, denismo <[EMAIL PROTECTED]> wrote: > > The answer is in Settings/BatteryInfo, thanks to Ian for pointing out > its existence. ACTION_BATTERY_CHANGED carries various undocumented > (thanks Google) extras, includ

[android-developers] Re: Exact Battery level value

2008-11-04 Thread denismo
The answer is in Settings/BatteryInfo, thanks to Ian for pointing out its existence. ACTION_BATTERY_CHANGED carries various undocumented (thanks Google) extras, including "level". Not sure what "scale" means though, but it's a good start. Denis On Nov 5, 12:12 am, denismo <[EMAIL PROTECTED]> wro

[android-developers] Re: Exact Battery level value

2008-11-04 Thread denismo
Where can I get that AnyCut, preferably with the source code? Thanks. Denis On Nov 4, 11:04 pm, Ian <[EMAIL PROTECTED]> wrote: > By installing AnyCut, I was able to add a shortcut to "Battery info". > This gave me a whole load of info I have not seen via any other menu option! > (Makes me wonde

[android-developers] Re: how to stay in webview without opening new browser window

2008-11-04 Thread Mark Murphy
hao wrote: > anyone? > > On Oct 26, 8:55 pm, hao <[EMAIL PROTECTED]> wrote: >> if i make the webview load a web page, and in that web page i press on >> a form submit button, then another browser window is open. How can i >> make everything stay in my app instead of opening a new browser window?

[android-developers] Re: My new issue...How can I select a song from playlist available in phone (or) Emulator ...

2008-11-04 Thread yasmin afrose
Hi Sutton, Thanks for your response. Thanks Again!! Yasmin On Tue, Nov 4, 2008 at 3:17 PM, Al Sutton <[EMAIL PROTECTED]> wrote: > > Patience is a virtue > > What have you tried while you've been waiting? > > Al. > > yasmin afrose wrote: > > Hi,,, > > > > No body is there aa to save me from

[android-developers] Re: getCurrentLocation

2008-11-04 Thread Mark Murphy
Bobbie wrote: > I have the latest SDK download and the SDK throws errors when I try to > use "getCurrentLocation", I can only use "getLastKnownLocation" and > can only get a "network" location, can't even get a GPS location > (which is what I want)... It works just fine with GPS. > What's the de

[android-developers] Re: Can I build Android source code in RedHat Enterprise Linux Server?

2008-11-04 Thread Mark Murphy
Jerry wrote: > Can I build Android source code in RedHat Enterprise Linux Server? > Does anyone success the build on Redhat Linux? This is not the mailing list for Android source code support: http://source.android.com/discuss Choose one of the "Open source mailing lists" shown on that page, w

[android-developers] Re: My new issue...How can I select a song from playlist available in phone (or) Emulator ...

2008-11-04 Thread yasmin afrose
Hi, I didn't get any idea. I've added the following line in *PrankActivity.java* startActivity(new Intent( "com.aspire.android.prankapp.GetSongNameActivity")) above line instead of startService(" ") ; Then, I've modified the code within onStart() under PrankService.java String action = int

[android-developers] Re: Exact Battery level value

2008-11-04 Thread Ian
By installing AnyCut, I was able to add a shortcut to "Battery info". This gave me a whole load of info I have not seen via any other menu option! (Makes me wonder what other goodies are hidden away!) IV 2008/11/4 denismo <[EMAIL PROTECTED]>: > > Hi, > > for tuning power consumption of my applic

[android-developers] Not able to scroll in WebView

2008-11-04 Thread vel
In webview after loading data i want to scroll to the bottom of the page. I tried using pageDown( true ) method it flickers goes down and then comes up please guide me how to scroll down in a web view --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Orientation Sensor yaw values. Is your G1 compass bad?

2008-11-04 Thread jarkman
On Nov 4, 10:01 am, bryan <[EMAIL PROTECTED]> wrote: > Has anyone here experienced similar results when reading yaw from the > sensor? I've gotten a number of reports from others complaining about > inaccuracy with compass type results and am wondering if this is a per > phone error or if all of

[android-developers] NinePatchDrawable - how to use?

2008-11-04 Thread Ludwig
Is there any example out there on how to use a NinePatchDrawable programmatically? I need to draw a text label inside one -- essentially for a map-pin with variable length text in it. Any usage examples out there (of whatever kind), from the online doc it is just a complete mystery to me how to us

[android-developers] Exact Battery level value

2008-11-04 Thread denismo
Hi, for tuning power consumption of my application I need to be able to estimate how much it consumes power in, say, 1 hour. I will then try different strategies and experiment with parameters in order to reduce power consumption. Is it possible to implement something like this on Android? Is it

[android-developers] CPU control API?

2008-11-04 Thread denismo
Hi, I heard on ARM CPU it is possible to set low-power consumption options, to reduce power consumption at the cost of speed or features. Is it possible to control these options using Android API? Thanks. Denis --~--~-~--~~~---~--~~ You received this message beca

[android-developers] Testing internationalization...

2008-11-04 Thread atrus123
Hello, I'm currently working to add international variations to my app, but I'm not sure how to test them. Is there some way in the emulator or the phone to mimic being in the UK? I'm handling international variations by using the values-en-rUK/ method. Should there always be a generic values/

[android-developers] Re: Orientation Sensor yaw values. Is your G1 compass bad?

2008-11-04 Thread David Given
bryan wrote: [...] > For example, the range of offset from magnetic north is +/- 46 > degrees. The average offset is just under 20 degrees. Depending on how > I orient my G1, the error can go to 46 degrees off of magnetic north. > Has anyone here experienced similar results when reading yaw from t

[android-developers] Camera preview on G1 only works in landscape ?

2008-11-04 Thread jarkman
I'm using camera preview on the G1, using code from CameraPreview in ApiDemos. I'm seeing the preview image appear stretched & rotated unless my screen orientation is set to 'landscape' in the manifest. I can reproduce the same effect by changing the manifest for ApiDemos, setting the screen ori

[android-developers] Contacts List Fail To Save To Phone

2008-11-04 Thread ric
Does anyone have any idea why my contacts will not save.. on my phone. I repeatedly add contacts only to find them no-where in the phones contact list. thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Folders in main "Start" menu/tab?

2008-11-04 Thread Ian
I now have a lot of installed apps, and I want to organise them in the pull-up-menu/tab. But it is not possible to create folders? I know I could copy all icons to the desktop with my folders there, but that is something else. --~--~-~--~~~---~--~~ You received thi

[android-developers] Orientation Sensor yaw values. Is your G1 compass bad?

2008-11-04 Thread bryan
I've been trying to figure out the cause of a compass related error for a while. After debugging and standing out in the rain slowly spinning in circles for a while, I finally found out that my device is reporting back yaw values inconsistently. For example, the range of offset from magnetic nort

[android-developers] Re: My new issue...How can I select a song from playlist available in phone (or) Emulator ...

2008-11-04 Thread Al Sutton
Patience is a virtue What have you tried while you've been waiting? Al. yasmin afrose wrote: > Hi,,, > > No body is there aa to save me from this issue :( > > On Tue, Nov 4, 2008 at 11:44 AM, yasmin afrose <[EMAIL PROTECTED] > > wrote: > > Hi All, > >

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

2008-11-04 Thread Ian
Without causing offence, its actually a very cool feature that most people either have found out for them selfs, or read about. (The ability to "pick-up" and move/drag/drop desktop icons) IV 2008/11/3 Ric Higgins <[EMAIL PROTECTED]>: > Thank you for that! How would I have learned that unless u t

[android-developers] Re: My new issue...How can I select a song from playlist available in phone (or) Emulator ...

2008-11-04 Thread yasmin afrose
Hi,,, No body is there aa to save me from this issue :( On Tue, Nov 4, 2008 at 11:44 AM, yasmin afrose <[EMAIL PROTECTED]>wrote: > Hi All, > > Greetings!!! > > I've played .mp3 songs using MediaPlayer in Android 1.0. > > *My code was*: > > 1:* PrankActivity.java* > --

[android-developers] Re: looking for a developer to write an app for me

2008-11-04 Thread guna
Hi, So, we can make deal, if you stil not found any developer... I am a developer, doing some couple of application for clients and my own app. Thanks, Guna --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android

[android-developers] Re: Yet another HTTPS problem with HttpClient in Android SDK v1.0r1

2008-11-04 Thread Guillaume Perrot
We have a trusted one at our software company which is working but I wanted to add an option to trust self signed certificate in the application. I still don't have a solution for that, except using URLConnection API which works well with the AllowAllHostnameVerifier. The problem is with the HTTPCl

[android-developers] Nullpointer ......Stack overflow, expanding

2008-11-04 Thread for android
I have created a complex view layout.Whn i see the layout(in eclipse)it appears fine .When i see the log statements also I get the statements till the last line in the onCreate without any issues . But at run time i get this error which is Nullpointer.What does this error really indicate?? 11-04

[android-developers] Re: Yet another HTTPS problem with HttpClient in Android SDK v1.0r1

2008-11-04 Thread [EMAIL PROTECTED]
have you success your https connection? I don't know how to do with the not trusted certificate. thx On 23 oct, 09:23, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > Caused by: > java.security.cert.CertPathValidatorException: TrustAnchor for > CertPath not found. > > On 23 oct, 10:20, "Guillaume

[android-developers] Re: Simple Level App

2008-11-04 Thread Steve Oldmeadow
All you have to do is reverse the rotation e.g rotate by -rotateMe after you have drawn the rotated image and then all subsequent draws will be non rotated. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Re: camera events

2008-11-04 Thread hackbod
Sorry, you can't intercept what other applications are doing like this. On Nov 3, 8:58 pm, spackest <[EMAIL PROTECTED]> wrote: > I run a free hosting web site which has functionality for emailing > photos to your site and having them show up on the web.  I would like > to write an android app tha

[android-developers] Re: "hooking" to the PHONE button

2008-11-04 Thread hackbod
The green phone key is for use by the foreground application. On Nov 3, 7:34 pm, "Declan Shanaghy" <[EMAIL PROTECTED]> wrote: > It shouldnt be "stolen" but it should be overridable. > Much like the app picker behaves when multiple apps are registered for an > Intent. > > I dont know how the inter

[android-developers] Re: Executing a different android application through intents.

2008-11-04 Thread friedger
Hi, there is a list of publicly known intents at http://www.openintents.org/en/intentstable If your app should provide an intent to other apps you have to define the intent-filter in your manifest. Feel free to add yours to the above mentioned list. Friedger On 4 Nov., 07:40, sush <[EMAIL P

<    1   2