[android-developers] Re: Theme.Dialog for PreferenceScreen child does not work

2009-01-26 Thread Stoyan Damov
On Sun, Jan 25, 2009 at 10:20 PM, Dianne Hackborn hack...@android.com wrote: I can't help you off-hand with the problem, but for what it's worth preferences really aren't intended to be used with a dialog theme. Actually I would stay away from the dialog theme for all but very simple things

[android-developers] Re: Theme.Dialog for PreferenceScreen child does not work

2009-01-26 Thread Stoyan Damov
On Mon, Jan 26, 2009 at 10:48 AM, Stoyan Damov stoyan.da...@gmail.com wrote: On Sun, Jan 25, 2009 at 10:20 PM, Dianne Hackborn hack...@android.com wrote: I can't help you off-hand with the problem, but for what it's worth preferences really aren't intended to be used with a dialog theme.

[android-developers] Re: Audio Streaming with Media Player

2009-01-26 Thread arnouf
Hello, I tried to do the same thing. I had to implement a buffering file system...but it was not easy, two files one reading the stream and another readed by player... But the problem was the first file streaming the content grew without stopping... So wait cupcake... But how LastFm could

[android-developers] Re: JMI and android

2009-01-26 Thread arnouf
The problem is that I have to compile kernel or do something in Android source. If I'm just a software editor, I don't want compile kernel...because I sale only software no devices. So now I don't think that It's possible to put a C library in assets folder in my Android project and load it

[android-developers] Re: Example: upload files to php from android

2009-01-26 Thread arnouf
It's done :) On 19 jan, 13:56, arnouf arnaud.far...@gmail.com wrote: Hi all, I used this method until now. But I would like to light my application on device - without apache libraries - to use the code present in this

[android-developers] Re: Theme.Dialog for PreferenceScreen child does not work

2009-01-26 Thread android_soft
Hi Damov, Your activity will only be PAUSED if you use Dialog Theme for a PreferenceActivity. For other Themes, it is PAUSED and STOPPED, but not destroyed or killed. So if you want to restore the state you can do it in onResume... so no need to use Theme.Dialog in your case unless it looks good

[android-developers] Re: Sleep on END_CALL keycode, but terminate on HOME?

2009-01-26 Thread Guillaume Perrot
HOME calls onPause then onStop most of the time. BACK do the same but also calls onDestroy after onStop. The Acitivity.finish() function do the same as the BACK button. You can try the following (I didn't test it): You can have a boolean flag that your set when you press your button. Then in

[android-developers] Re: Updated app not showing up in Market's by date sorting?

2009-01-26 Thread arnouf
Unpublish current app, and post your new app...perhaps it's the bad solution to be on the top always.. On Jan 26, 11:25 am, android_soft cspeche...@gmail.com wrote: may be you can post a small portion of your manifest where the version info goes, so others know what you got.(especially people

[android-developers] Re: Updated app not showing up in Market's by date sorting?

2009-01-26 Thread android_soft
may be you can post a small portion of your manifest where the version info goes, so others know what you got.(especially people who are not the market yet but who can help if they notice anything amiss) --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Sleep on END_CALL keycode, but terminate on HOME?

2009-01-26 Thread Guillaume Perrot
HOME calls onPause then onStop most of the time. BACK do the same but also calls onDestroy after onStop (if you didn't override the BACK button behavior and no dialog or menu is being displayed). The Acitivity.finish() function do the same as the BACK button. You can try the following (I didn't

[android-developers] Re: Updated app not showing up in Market's by date sorting?

2009-01-26 Thread A T
Yeah, I did that by accident once. Unpublished it, uploaded the update, and it was on top again. All other updates before and after that stayed at the same spot. I hope this will be fixed now... On Mon, Jan 26, 2009 at 5:40 AM, arnouf arnaud.far...@gmail.com wrote: Unpublish current app, and

[android-developers] Re: adb stopped working (Ubuntu 8.10)

2009-01-26 Thread Mark Murphy
Evan Charlton wrote: All, I shut down my PC (running Ubuntu 8.10, fully updated) overnight and when I booted the following day, `adb devices` failed to recognize my stock, OTA-updated, RC30 G1. I followed the instructions listed here:

[android-developers] Re: adb stopped working (Ubuntu 8.10)

2009-01-26 Thread Evan Charlton
I found a workaround last night (sorry, I should have replied to myself): adb needs to be started as root in order for it to work after. Observe (all of this is with the phone connected): e...@evan-desktop:~$ adb kill-server adb devices * daemon not running. starting it now * * daemon started

[android-developers] Re: Theme.Dialog for PreferenceScreen child does not work

2009-01-26 Thread android_soft
You should move the heavyweight lifting stuff to a Service if you don't want it to be stopped. Running background music is something that a background service should take care of. Here's another thread response from Dianne-

[android-developers] Re: Root Acess on developer phone

2009-01-26 Thread Rafael Fernandes
well again, it is not possible to get access to /data via eclipse... you have to go via adb... adb shell su su command gives you the super user rights... cheers, rafael fernandes On Jan 26, 3:10 pm, sudheer sudheer.mo...@gmail.com wrote: Dear All I just procured a developer phone recently.

[android-developers] Re: Anyone success to build emulator for Windows?

2009-01-26 Thread Breno
Hey, According with this link, http://android.git.kernel.org/?p=platform/development.git;a=blob_plain;f=tools/eclipse/README_WINDOWS.txt;hb=HEAD, some cygwin packets are necessarily. But it missed one: flex. Regards Breno On Jan 5, 8:04 am, Tim tim.ka...@gmail.com wrote: Hi

[android-developers] I can't write a file in a subdirectory of data/data/packages/files/

2009-01-26 Thread Nico
hello, I have some problems to write in a file from a subdirectory. I can create subdirectories. I can create a file in files/ directory and write directly . But i can't do the two operations in the same time. It seems that i don't have the writable right to do it. Could you help me?

[android-developers] Re: Activity Issue on G1 phone

2009-01-26 Thread Brad Gies
Ah.. Thank you. That clears up a lot !!! I was thinking that a static variable created in an activity would be global only to that activity, and any spawned processes of that activity. But now. knowing it is at the application level open up many possibilities. When I was designing my current

[android-developers] Re: There is a problem communicating with Google servers

2009-01-26 Thread Adrien Guichard
2009/1/24 qwerty enetconsult...@comcast.net: I just got the Dev. phone today and trying to get it up and running'. I am trying to create a google account but I keep getting an error message There is a problem communicating with Google servers This could be a temporary problem or your

[android-developers] Query regarding OutOfMemoryException

2009-01-26 Thread parth
I am downloading a audio file from server on sd card. It is showing me OutOfMemoryException. This is my code.. --- package com.android; import java.io.BufferedInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import

[android-developers] Re: Search Dine (Restaurant search Android app by Mofirst)

2009-01-26 Thread Niti
ok i shall do that Andy :) thanks for the advice ..if u can suggest me where i can promote my application best it would really be great!! thanks! On Jan 24, 6:56 am, Andrew Stadler stad...@gmail.com wrote: Nitichandra- Congratulations on releasing your application, but unless you're

[android-developers] Installing Driver on Vista 32bit

2009-01-26 Thread Dan
I extract the zip found on http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware and attempt to install the device and get System can not find file specified . Now I point it to the INF file, but doesn't work any suggestions? thanks

[android-developers] Re: Root Acess on developer phone

2009-01-26 Thread Andrea Fanfani
On Mon, Jan 26, 2009 at 06:10:37AM -0800, sudheer wrote: Dear All I just procured a developer phone recently. I am not able to access the /data directory. how do I get super access on this phone? What should I do to get super access? Please advice me. sudo su ? from console in adb ?

[android-developers] Re: Marketplace Sponsorship

2009-01-26 Thread Cassius
You can put your application on your web site. If it's useful people will download it even without the visibility given by the Market. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: EULA

2009-01-26 Thread Alistair.
I too am looking for a sample EULA. I found this. http://www.developer-resource.com/sample-eula.htm Al. On Dec 5 2008, 6:14 am, lior liorza...@comcast.net wrote: Thanks, I actually meant an agreement example as most examples out them deal with companies (not single developers) On Dec 4,

[android-developers] Re: Root Acess on developer phone

2009-01-26 Thread martin d.
Hi, On Jan 26, 3:46 pm, Rafael Fernandes luizraf...@gmail.com wrote: well again, it is not possible to get access to /data via eclipse... you have to go via adb... there is a workaround for that. You can just chmod the path you want to access from Eclipse to 777 and it will work. This change

[android-developers] Change connection programmatically

2009-01-26 Thread alexdonnini
Hello, I have been looking for a way to programmatically change the active connection on a G1. for example, I would like to be able to switch from g3 to wifi by first disconnecting the g3 connection. When it comes to WIFI, enabling/disabling WIFI, and connecting/re- connecting to a WIFI access

[android-developers] Re: Marketplace Sponsorship

2009-01-26 Thread Cédric Berger
On Mon, Jan 26, 2009 at 09:57, Cassius cassius.um...@gmail.com wrote: You can put your application on your web site. If it's useful people will download it even without the visibility given by the Market. There are also other repositories on the web. You can begin from there... (example :

[android-developers] Adding padding between buttons in a LinearLayout

2009-01-26 Thread Inderjeet Singh
Hi, I am probably missing something totally obvious, but can someone tell me how to add padding between buttons of a LinearLayout? Here is the code fragment from my layout xml file. LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=horizontal

[android-developers] Re: Adding padding between buttons in a LinearLayout

2009-01-26 Thread Christoph Studer
Hello Inder, nice to see you here. :-) padding{Left,Top,Right,Bottom} is - like in CSS - within the bounds/border of the widget you apply it to. You can use layout_margin{Left,Top,Right,Bottom} attributes to accomplish what you intend to do. Cheers, Christoph On Mon, Jan 26, 2009 at 5:55

[android-developers] Measuring Views

2009-01-26 Thread Alexey
Hi all , i have a custom View with layout LinearLayout android:id=@+id/story_image_layout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=horizontal android:layout_width=fill_parent android:layout_height=wrap_content

[android-developers] Re: Measuring Views

2009-01-26 Thread Romain Guy
Hi, You don't need to do this, you can simply use the ellipsize feature of TextView. It will automatically truncate the text based on the available space. On Mon, Jan 26, 2009 at 9:05 AM, Alexey avolo...@gmail.com wrote: Hi all , i have a custom View with layout LinearLayout

[android-developers] Re: Query regarding OutOfMemoryException

2009-01-26 Thread Romain Guy
Hi, The file you are downloading is simply to large to fit in the available RAM. Instead of downloading the entire file and then write it to disk, download the file in small batches (of 16 kB for instance) and write each batch to the SD card right away. On Mon, Jan 26, 2009 at 4:25 AM, parth

[android-developers] Re: Measuring Views

2009-01-26 Thread Alexey
Thanks a lot for your reply but i guess i'm confused how ellipsize will help me if i don't know the width and height of the TextView. task is a break a long text into two TextView to create wrap around the Image effect. I have an imageView and textview( where i need to put a short portion of the

[android-developers] MediaRecorder docs fix

2009-01-26 Thread Tim Bray
The section Recording Media Resources of http://code.google.com/android/toolbox/apis/media.html seems to be out of date and wrong. I got working code from

[android-developers] Re: Dynamically changing the language at runtime

2009-01-26 Thread Dianne Hackborn
You can't just modify the structure, you need to give a new Configuration of new values to Resources.updateConfiguration(). On Mon, Jan 26, 2009 at 11:21 AM, deepdr...@googlemail.com deepdr...@googlemail.com wrote: I tried : Resources res = getResources();

[android-developers] Re: Dynamically changing the language at runtime

2009-01-26 Thread deepdr...@googlemail.com
ya, great, thanks, this works for me ! : Resources res = getResources(); DisplayMetrics dm = res.getDisplayMetrics(); Configuration conf = res.getConfiguration(); conf.locale = Locale.GERMANY;

[android-developers] Re: Recording audio stream

2009-01-26 Thread benmccann
I'm happy to hear future releases will support the ability to stream audio being recorded. Any ETA on this? On Dec 30 2008, 9:58 am, Dave Sparks davidspa...@android.com wrote: It's probably not really streaming audio. Some people are working around the issue by tailing the file as it is

[android-developers] Re: How to play youtube videos in an Android application?

2009-01-26 Thread RoelandP
Dear Michael Kolby, can you show us a working example of how to exactly implement this youtube view? Would be great to see this! thank you in advance! On 21 jan, 13:44, kolby kolbys...@gmail.com wrote: The emulator doesn't provide you with the YouTube application (I don't know about the

[android-developers] Re: automatic start using Alaram Manager problem

2009-01-26 Thread AlexeyMot
Move receiver android:name=.OneShotAlarm / declaration under application/application On Jan 26, 9:20 am, Honest honestsucc...@gmail.com wrote: On Jan 24, 4:11 am, AlexeyB alex...@mail.ru wrote: Try to move your service declaration in the manifest under application tag. Regards. On Jan

[android-developers] creating Services for location bases application

2009-01-26 Thread Goldmember
Hi, I am new to android Development. I have created a location based application which runs in the Background. I dont get any errors but when i try to check it out using emulator. I get a message saying that the applicataion has stopped unexpectedly, Pls try again. Can some one help me

[android-developers] question about KEYCODE_NOTIFICATION

2009-01-26 Thread Jin
I tried to run Monkey on G1 to see how long Monkey can run. Monkey was always killed whenever the event KEYCODE_NOTIFICATION was sent. Why is that? :SendKey: 83// KEYCODE_NOTIFICATION [1] Killed monkey -v -s 116... --~--~-~--~~~---~--~~ You

[android-developers] Re: Measuring Views

2009-01-26 Thread Alexey
I'm adding this listener in the constructor. I realize that i need to remove it but i'm not sure at what point . onLayout ? Is using a ViewTreeObserver a right direction in general to implement functionality described ? On Jan 26, 3:32 pm, Romain Guy romain...@google.com wrote: Did you remove

[android-developers] ConnectivityService

2009-01-26 Thread alexdonnini
Hello, Does anyone know if there is any way to access/use ConnectivityService from an application? ConnectivityService includes a number of methods related to handling a change in network connection across different types of network (e.g. from mobile to WIFI) which I would like to use in my

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

2009-01-26 Thread Jean-Baptiste Queru
The issue is that the implementation of the orientation angles in 1.0 isn't actually pitch and roll, it's pitch around the x axis and pitch around the y axis. This was deeply improved for cupcake. Yes, we've maintained compatibility with the old API too. JBQ On Mon, Jan 26, 2009 at 1:10 PM,

[android-developers] Re: After the ADT 0.9 update, Eclipse can not create R.java automatically

2009-01-26 Thread Penguin of Death
I ran into the same problem after building SDK/ADT on Mac OS X Leopard; no R-file is being generated. At least it doesn't seem like an isolated issue... On Jan 25, 10:49 pm, MayFirst zhu.sh...@gmail.com wrote: I am facing the same issue On Jan 24, 6:55 am, Oxygen oxygen.jian.w...@gmail.com

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

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

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

2009-01-26 Thread Jean-Baptiste Queru
Yes, the see-through case is one that is hard to implement with the current APIs (because yaw/orientation is even more broken than roll), and I know the new cupcake APIs are expected to make this specific case much easier. JBQ On Mon, Jan 26, 2009 at 2:35 PM, blindfold seeingwithso...@gmail.com

[android-developers] Re: After the ADT 0.9 update, Eclipse can not create R.java automatically

2009-01-26 Thread Breno
Same issue in Windows SDK... On 26 jan, 19:15, Penguin of Death penguin.of.de...@gmail.com wrote: I ran into the same problem after building SDK/ADT on Mac OS X Leopard; no R-file is being generated. At least it doesn't seem like an isolated issue... On Jan 25, 10:49 pm, MayFirst

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

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

[android-developers] Re: question about KEYCODE_NOTIFICATION

2009-01-26 Thread Jin
I simply tried to send KEYCODE_NOTIFICATTION to G1 via ADB Shell input. The input got killed immediately. I did not see this on the emualtor. So, it seems that we can't send event KEYCODE_NOTIFICATON directly to G1. Does anyone know the reason? D: adb shell input keyevent 83 [1] Killed

[android-developers] Re: Screen on/off Intents Can't Be Declared in AndroidManifest?

2009-01-26 Thread Blikkies Botha
Dianne, I have noticed you dispatch useful information on several occasions that is either not obvious or not included in the documentation. Is it not possible for you to update the online docs as you post messages? Screen_on/off not working via the manifest also caused me much aggravation.

[android-developers] Re: Map Server

2009-01-26 Thread Charlie Collins
Sorry, I thought maybe you hadn't tried the -dns-server route yet, and were trying to use the localhost etc/hosts. I don't know of an easier way. On Jan 26, 1:46 am, nknize nkn...@gmail.com wrote: Thanks for the reply, I appreciate any help on this.  I do understand that the emulator doesn't

[android-developers] Re: Sensors don't work on partial wake lock

2009-01-26 Thread Blikkies Botha
In case anyone encounters this issue: Based on the acceleration values one gets during a screen flip I think the accelerometer is mounted on the screen assembly so they probably can't be powered independently. If this is the case it's obviously a hardware implementation decision that Android

[android-developers] Re: 3G network response different from Wifi

2009-01-26 Thread Rich
Somebody on anddev mentioned that this may be an issue related to NAT.. anything I can do about that? --~--~-~--~~~---~--~~ 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] ellipsize not working with TextView

2009-01-26 Thread Mark Nuetzmann
I am using the following to create a layout that is inflated and used in a ListView. The text in the first TextView gets truncated but I do not get the ... added as I expected. What do I not have set correctly? Or is this a known problem... ?xml version=1.0 encoding=utf-8? LinearLayout

[android-developers] Re: ellipsize not working with TextView

2009-01-26 Thread Romain Guy
Try changing the TextView's width from wrap_content to 0dip. On Mon, Jan 26, 2009 at 4:13 PM, Mark Nuetzmann mark.nuetzm...@gmail.com wrote: I am using the following to create a layout that is inflated and used in a ListView. The text in the first TextView gets truncated but I do not get

[android-developers] Re: Marketplace Sponsorship

2009-01-26 Thread Peter Fisher
Okay thanks guys, ill look into the online repositories. Do you get any benefits other than being able to provide application on the marketplace when you sign up? On Mon, Jan 26, 2009 at 11:01 AM, Michael MacDonald googlec...@antlersoft.com wrote: Perhaps some registered developer will offer

[android-developers] Re: Provider.Settings.Secure database is lacking some entries

2009-01-26 Thread Dianne Hackborn
That seems okay. What do you think is wrong? Not all of the possible entries are initialized, like on 1.0. On Mon, Jan 26, 2009 at 1:57 PM, laubea...@googlemail.com laubea...@googlemail.com wrote: Hello, When running Cupcake release in my SDK I noticed that the secure table in settings db

[android-developers] Identifying pictures taken on 'this' device

2009-01-26 Thread GiladH
Hey, Is there a way to identify which of the MediaStore images has been taken on 'this' device, as opposed to pictures exported/downloaded from an external source ? I have started my search by creating a Camera.PictureCallback and registering it by camera.takePicture() only to realize that it

[android-developers] Search engine app for Android? It's in Perst 4.0 embedded database

2009-01-26 Thread Ted
Looking for a way to integrate full-text search and fast, lightweight data management with your Android applications? The new Perst 4.0 open source, object-oriented embedded database system brings native full-text search capability to Android and builds on this feature to provide a sample search

[android-developers] Re: Sleep on END_CALL keycode, but terminate on HOME?

2009-01-26 Thread g1bb
That looks like it's going to work great. Thanks, Guillaume! On Jan 26, 3:55 am, Guillaume Perrot guillaume.p...@gmail.com wrote: HOME calls onPause then onStop most of the time. BACK do the same but also calls onDestroy after onStop (if you didn't override the BACK button behavior and no

[android-developers] Is there any way to know application updates?

2009-01-26 Thread Nock
I easily missed application updates I use. Is there any way to get update notification for each applications I installed? of should I check My downloads list occasionally? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Sporadic SharedPreferences reset

2009-01-26 Thread radiolistener
I've been struggling with these shared preferences. I want to save a resolution setting, so that people with different degrees of vision can see the screen. With a Diabetes application, this is a very important feature. What I've found thus far, however I cut the cake, I lose my settings with

[android-developers] Re: Sporadic SharedPreferences reset

2009-01-26 Thread Christoph Studer
If you do not store values with special characters in your settings, it might be interesting to see some of your code in order to analyze why you're losing them. If we're only talking about the problem with special characters, you should be fine with Base64 encoding values that potentially lead

[android-developers] discover intents that an app supports

2009-01-26 Thread Peter Jeffe
Is there any way to discover which intents a given app supports? An old post indicated that PackageManager.GET_INTENT_FILTERS isn't supported, might there be some other way to do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: onProviderEnabled() not being called dynamically enabling GPS

2009-01-26 Thread Ken Adair
As anyone else encountered this?? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Sporadic SharedPreferences reset

2009-01-26 Thread radiolistener
My issue was simpler than that. I was trying to get any setting to read, write, save, then recall under any condition. What I was doing wrong was I didn't have the xml file set up right. It appears to work fine now. Thanks, it was from studying your code that I figured out what was wrong. So

[android-developers] Re: Age of GPS data

2009-01-26 Thread gjs
Hi, Subtract the Location.getTime() value from the current time to get the age of the last fix. See http://code.google.com/android/reference/android/location/Location.html Regards On Jan 23, 10:07 am, Anna PS annapowellsm...@googlemail.com wrote: Hi When you get GPS location using

[android-developers] Re: ellipsize not working with TextView

2009-01-26 Thread Mark Nuetzmann
just tried that. no change. Still does not display the ..., just truncates the text. On Jan 26, 6:15 pm, Romain Guy romain...@google.com wrote: Try changing the TextView's width from wrap_content to 0dip. On Mon, Jan 26, 2009 at 4:13 PM, Mark Nuetzmann mark.nuetzm...@gmail.com wrote:

[android-developers] Re: Measuring Views

2009-01-26 Thread Alexey
Now i'm thinking it'll be easier to make calc in the constructor based on image size and screen. not very elegant though On Jan 26, 3:45 pm, Alexey avolo...@gmail.com wrote: I'm adding this listener in the constructor. I realize that i need to remove it but i'm not sure at what point .

[android-developers] Re: MediaRecorder docs fix

2009-01-26 Thread Dave Sparks
Would you please post a bug with specifics? Thanks! On Jan 26, 12:03 pm, Tim Bray timb...@gmail.com wrote: The section Recording Media Resources ofhttp://code.google.com/android/toolbox/apis/media.htmlseems to be out of date and wrong. I got working code

[android-developers] JavaScript XMLHTTPRequest

2009-01-26 Thread kevin
I am trying to use javascript XMLHTTPRequest inside a webview. Wondering if anyone has experience doing this and what is the limitation Android webview has? Anyway to get around loading a local page with javascript XMLHTTPRequest having security issue for other domain? Thanks, Kevin

[android-developers] Re: Recording audio stream

2009-01-26 Thread Dave Sparks
I can't give you specifics about deployment because: (a) I don't know, it's up to the carrier and manufacturer to decide when they deploy new releases (b) Even I did know, there's a fairly good chance I couldn't tell you due to NDA's we have with our partners You can see the code in

[android-developers] Re: Identifying pictures taken on 'this' device

2009-01-26 Thread Dave Sparks
The camera application in the Cupcake branch does it somehow. You could try looking at the code in packages/apps/Camera. On Jan 26, 4:38 pm, GiladH gila...@gmail.com wrote: Hey, Is there a way to identify which of the MediaStore images has been taken on 'this' device, as opposed to pictures

[android-developers] Rotating SurfaceView

2009-01-26 Thread ivan
Is it possilble to rotate a SurfaceView that displays the contents of a buffer of type SURFACE_TYPE_PUSH_BUFFERS coming from the camera? I have tried many different ways, but to no avail ... If it is possible, does anyone happen to have any code snippets? Thanks.

[android-developers] Re: Dynamically changing the language at runtime

2009-01-26 Thread Raja Nagendra Kumar
Diannel thank you, Deep thank you for the complete source spippet.. On Jan 27, 1:23 am, deepdr...@googlemail.com deepdr...@googlemail.com wrote: ya, great, thanks, this works for me ! :                 Resources res = getResources();                 DisplayMetrics dm =

[android-developers] Specific Design significance of Attribute Name Spaces in AndroidManifest Files.

2009-01-26 Thread Raja Nagendra Kumar
We see in most of the Android examples attributes are given namespace as android: like in.. activity android:name=.dial.activities.DialRelationActivity android:label=@string/dial_relation_title /activity With most of the java server technlogies like jsp etc.. only tag name

[android-developers] Can the manfifest name be different than AndroidManifest.xml

2009-01-26 Thread Raja Nagendra Kumar
Is it possible to name manfifest file different than AndroidManifest.xml.. like in jar -m to build jar files.. Would this have any impact on all other tools of andorid using manfiest files.. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com

[android-developers] Re: Specific Design significance of Attribute Name Spaces in AndroidManifest Files.

2009-01-26 Thread Raja Nagendra Kumar
When we remove android: in the activity defination aapt reports error [aapt] F:\tejasoft\work\products\dialer\mobile\android\build\temp \manifest\ AndroidManifest.xml:44: Tag activity missing required attribute name. The default name space should have been assumed to be same as tag name

[android-developers] Interesting problem

2009-01-26 Thread ipeg . student
Hi developers. Thanks for the replies. I have a problem from last few days. I want to delete sms from my inbox. I have used this code for deletion.

[android-developers] Getting 'OutOfMemoryException' while trying to download a 14mb mp3 file from webserver

2009-01-26 Thread Mahesh Vaghela
Hi Friends, I want to play an mp3 file as soon as my application starts. The mp3 file is really large in size(approx 14 mb). So I am trying to download it from a webserver and than I want to store it on sdcard. While doing so I am getting OutOfMemoryException. Can anybody please help me? My

[android-developers] Re: Getting 'OutOfMemoryException' while trying to download a 14mb mp3 file from webserver

2009-01-26 Thread Romain Guy
You cannot allocate a 14MB byte array in memory. Your application has only access to 16MB maximum. To download a large file from the Web, simply read it little bit by little bit. For instance, instead of reading 16MB at once, download 16 or 32kB, write them to the outputstream, and keep looping

[android-developers] Query regarding OutOfMemoryException

2009-01-26 Thread parth Chothani
I am downloading a audio file from server on sd card. It is showing me OutOfMemoryException. This is my code.. --- package com.android; import java.io.BufferedInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import

[android-developers] Re: Query regarding OutOfMemoryException

2009-01-26 Thread Romain Guy
I already answered this question twice today. On Mon, Jan 26, 2009 at 9:18 PM, parth Chothani parth.india...@gmail.com wrote: I am downloading a audio file from server on sd card. It is showing me OutOfMemoryException. This is my code.. --- package com.android;

[android-developers] Re: Getting 'OutOfMemoryException' while trying to download a 14mb mp3 file from webserver

2009-01-26 Thread Mahesh Vaghela
Romain, Thank you very much for replying very soon. I am trying your suggestion and do post my detail code as soon as it get done. Once again, Thanks a lot! On Tue, Jan 27, 2009 at 10:37 AM, Romain Guy romain...@google.com wrote: You cannot allocate a 14MB byte array in memory. Your

[android-developers] i18n - Extracting String-Resources to a Jar - Referencing problem

2009-01-26 Thread plusminus
Hi all, I'm just about to start externalizing all my String-resources to a new project and then bring them back by including the exported jar-file of this 'i18n'-project. Doing so i18n for different languages becomes easier (I could simply export just a handful of languages to the jar). I can

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

2009-01-26 Thread mnj
Hi, I did a simple test where I start a service from an activity after acquiring PARTIAL_WAKE_LOCK. Then a 100% charged phone will drain completely in 10 hours when CPU is always on. Regards, Manoj On Jan 24, 3:13 am, Dianne Hackborn hack...@android.com wrote: The alarm manager would probably

[android-developers] Just one line program that will make you crazy.

2009-01-26 Thread ipeg . student
Hi, I am stuck with a small problem for several days, I am unable to delete any SMS. The error is in just 1 line. Look at the code below and the associated XML . If I run the code, it shows the list of all SMS in my inbox. There is an SMS whose _ID is equal to 7 . If I

[android-developers] 1 line to correct! Only for the best Programmers

2009-01-26 Thread ipeg . student
Hi Developers, I am stuck with a small problem for several days, I am unable to delete any SMS. Look at the code below and the associated XML . If I run the code, it shows the list of all SMS in my inbox. There is an SMS whose _ID is equal to 7 . If I enable the line

[android-developers] Android Challenge!! Can you correct this 1 line ?????

2009-01-26 Thread ipeg . student
Please help Me!!! I am stuck with a small problem for several days, I am unable to delete any SMS. The error is in just 1 line. Look at the code below and the associated XML . If I run the code, it shows the list of all SMS in my inbox. There is an SMS whose _ID is equal

[android-developers] Re: Android Challenge!! Can you correct this 1 line ?????

2009-01-26 Thread hmmm
And what does it print in the DDMS logcat after the crash? Usually this output is helpful. - Original Message - From: ipeg.stud...@gmail.com To: Android Developers android-developers@googlegroups.com Sent: Tuesday, January 27, 2009 9:30 AM Subject: [android-developers] Android

[android-developers] Problem with FPS using Opengl es on G1

2009-01-26 Thread suhas
Hi Guys, I am working on developing a 3d game. I have loaded ms3d model in my project and all texture and everything is working fine. I m not loading any joints. But I am facing two major problems which indeed are related to one thing. 1: I have got FPS problem in my game Its too low even

[android-developers] using google maps api for renderings maps on ui

2009-01-26 Thread sankalp
hi group i am looking for a location based service application. just for example sake can anyone provide me with a startup sample so that i can look up into rendering maps on UI .a navigation sort of sample or anything close to rendering maps kindly provide me ASAP thnx

[android-developers] how to create Page turn effect

2009-01-26 Thread tahera rabadi
How can we give a Page turn animation? --~--~-~--~~~---~--~~ 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] Problem with FPS using Opengl es on G1

2009-01-26 Thread suhas
Hi Guys, I am working on developing a 3d game. I have loaded ms3d model in my project and all texture and everything is working fine. I m not loading any joints. But I am facing two major problems which indeed are related to one thing. 1: I have got FPS problem in my game Its too low even

[android-developers] Unable to install Google Notepad application

2009-01-26 Thread Ish
I got the code of Google Notepad Application from google example code, Everything is working fine to me on emulator. But I can't able to install it on my real android device I am following these steps * compile the code (with eclipse) * export unsigned apk (manifesto.xml) * create a key * sign

[android-developers] Messaging back button bug

2009-01-26 Thread Chris King
It seems hitting the back button while in the Messaging app walks through the history of every app I've ever used...? At least, right now it opens up the Browser... running on 1.0 TC4-RC30 --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] regarding OutOfMemoryException

2009-01-26 Thread sagar.indianic
Hello everyone, I am trying to downlaod a file from the net. It is an mp3 file and big in size. I m able to get connection but when trying to create a bufffer for file, I get out of memory exception please help its urgent... Code is: URL u = new URL(http://--;); URLConnection

[android-developers] Start an activity and return back to original activity

2009-01-26 Thread james
I have an application with contains multiple activities. The main activity will start the others ( use startActivity() ) depends on user event, when an activity close, it calls finish() and return back to main activity. It appears to behavior like that. However, the problem I see is main

  1   2   >