[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 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 (like > alerts), s

[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 wrote: > On Sun, Jan 25, 2009 at 10:20 PM, Dianne Hackborn 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 di

[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 prov

[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 usin

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

2009-01-26 Thread arnouf
It's done :) On 19 jan, 13:56, arnouf 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 > pagehttp://getablogger.blogspot.com/2008/01/android-how-to-post-file-to-p... > > It doesn't

[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: How to get Available Device RAM

2009-01-26 Thread android_soft
I found this, thought it might be useful to others: ActivityManager.MemoryInfo.availMem. Also, I see there is a threshold value. So I see a use case where one can use these values to clean up the garbage/cache/something else so as to accommodate other Apps instead of allowing the system to kick us

[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 onPa

[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 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 who are not > the

[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 t

[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 t

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

2009-01-26 Thread Stoyan Damov
On Mon, Jan 26, 2009 at 11:39 AM, android_soft wrote: > > 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

[android-developers] how to execute application in background

2009-01-26 Thread Honest
HI, How can i execute my application in background and how can i start application when phone starts ? --~--~-~--~~~---~--~~ 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] Re: FloatBuffer.put() bug...

2009-01-26 Thread Woerf
When you move that loop behind mVertexBuffer.position(0) you'll pass the buffer with position at the end in the draw method. You have to reset the position after you put values into the buffer. If you do that the demo doesn't show the errors anymore. If this should actually even work the way you

[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 wrote: > > Unpublish current app, and post your new app...pe

[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: > http://code.google.com/android/intro/develop-and-d

[android-developers] Re: How to get Available Device RAM

2009-01-26 Thread Jean-Baptiste Queru
The system does clean the garbage and cache before kicking anything out of RAM. JBQ On Mon, Jan 26, 2009 at 1:48 AM, android_soft wrote: > > I found this, thought it might be useful to others: > ActivityManager.MemoryInfo.availMem. Also, I see there is a threshold > value. So I see a use case w

[android-developers] Re: JMI and android

2009-01-26 Thread Jean-Baptiste Queru
It is possible to make it work on a given system image for a given device model. However, that is not supported, which means that neither the Android team nor the device manufacturer offer any assistance in making it work and debugging it, and that if/when your code doesn't work on a different sy

[android-developers] Root Acess on developer phone

2009-01-26 Thread sudheer
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. Best Regards, Sudheer --~--~-~--~~~---~--~~ You received this messag

[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- http://groups.google.com/group/android-developers/browse_thread/thread/112

[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 wrote: > Dear All > > I just procured a developer phone recently. I am not able to acc

[android-developers] What kind of device should Linux udev set up for G1 linked via USB

2009-01-26 Thread Graeme
Hi I am trying to get adb to see my Android G1 Dev Phone when I attach it to a Fedora 10 x86 Linux PC. I have followed recommendations about adding a 50- android.rules file in /etc/udev/rules.d directory. I have also enabled the applications debug mode under the G1's Settings/Applications menu.

[android-developers] Re: What kind of device should Linux udev set up for G1 linked via USB

2009-01-26 Thread Faber Fedor
Because misery loves company...I was never able to get my CentOS box or my Ubuntu VM to see my Dev phone as anything other than a SCSI storage device either. :-( What I ended up doing is developing on my CentOS desktop and then transferring everything over to my Macbook to get my app on my Dev pho

[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 wrote: > Hi HISONA, > > It works, th

[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? Thank

[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 : > > 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 SIM card may not be

[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 java

[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 wrote: > Nitichandra- > > Congratulations on releasing your application, but unless you're > planning to releas

[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

[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 pos

[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 wrote: > Thanks, I actually meant an agreement example as most examples out > them deal with companies (not single developers) > > On Dec 4, 9:54 pm, "Xavier Mat

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

2009-01-26 Thread martin d.
Hi, On Jan 26, 3:46 pm, Rafael Fernandes 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 does not survive a

[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 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 : http://andappstore.

[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. http://schemas.android.com/apk/res/android"; android:orientation="horizontal" android:gravity="center"

[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 PM,

[android-developers] Measuring Views

2009-01-26 Thread Alexey
Hi all , i have a custom View with layout http://schemas.android.com/apk/res/android"; android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="5px" android:layout_marginRight="5px">

[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 wrote: > > Hi all , i have a custom View with layout > android:id="@+id/story_image_layout" >

[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 t

[android-developers] Raising Exceptions from Java to Javascript with addJavascriptInterface

2009-01-26 Thread Detro
Hello. Anyone knows if there is any possibility to raise a Javascript Exception when a call is executed to "Java method" exposed using "addJavascriptInterface"? Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

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

2009-01-26 Thread Dianne Hackborn
Yeah that sounds reasonable. Fwiw, this is good material to be familiar with: http://code.google.com/android/intro/appmodel.html http://code.google.com/android/intro/lifecycle.html On Mon, Jan 26, 2009 at 8:15 AM, Brad Gies wrote: > Ah…. Thank you. That clears up a lot !!! > > > > I was think

[android-developers] Can not get the Eclipse Plug in, get a 404

2009-01-26 Thread alorenzo
I can not get the eclipse plug in using either URL: https://dl-ssl.google.com/android/eclipse http://dl-ssl.google.com/android/eclipse Could somebody advise me in how to get it? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Get a 404 when trying to install eclipse plug in

2009-01-26 Thread alorenzo
Get 404 with either one: https://dl-ssl.google.com/android/eclipse/site.xml http://dl-ssl.google.com/android/eclipse/site.xml Thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] Add more options to WifiManager settings.

2009-01-26 Thread Nando
Hi, Is it possible to add more options to the Wifi Manager settings area? I mean for example when we long press a discovered wireless network it popup a box where i can choose to connect, and i wanted to add more options in there. Can this be done? Thanks. --~--~-~--~~~--

[android-developers] Re: how to remove the image displayed in ImageView

2009-01-26 Thread cindy
I displayed a image in Imageview. Then I click my delete button. I am going to delete the file. At the same time I need to delete the image shown in imageview. On Jan 23, 3:23 pm, jeffro wrote: > Not sure what you're trying to accomplish, but you can use > View.setVisibility(View.GONE or View.IN

[android-developers] Re: What kind of device should Linux udev set up for G1 linked via USB

2009-01-26 Thread Adrien Guichard
For me it is working using a Mandriva 2009.0 X86. But without adding any udev rules. I do not know if this can help, here are the messages when plugin the device, launch an adb shell, close it, and unplug the device: [. . .] kernel: usb 1-2: new high speed USB device using ehci_hcd and address 7

[android-developers] Re: Marketplace Sponsorship

2009-01-26 Thread Michael MacDonald
Perhaps some registered developer will offer to put it on the market for you... Peter wrote: > I have been working on an Application that displays in-game time > information for a popular MMO Final Fantasy XI. Its finally complete > and I wanted to release it to the market but I noticed you have

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

2009-01-26 Thread deepdr...@googlemail.com
I tried : Resources res = getResources(); res.getConfiguration().locale = Locale.GERMANY; firstline= res.getString(R.string.firstline); in my onCreate() . But, although I do have res/values-de/strings.xml this still gives me the english string for

[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 http://rehearsalassist.svn.sourceforge.net/viewvc/rehearsalassist/android/trunk/src/urbanstew/RehearsalAssistant/RehearsalRecord.java?view=ma

[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; res.updateConfiguration(

[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 wrote: > It's probably not really streaming audio. Some people are working > around the issue by "tailing" the file as it is being written. > > On De

[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 wrote: > The emulator doesn't provide you with the YouTube application (I don't > know about the developer phone), so th

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

2009-01-26 Thread AlexeyMot
Move " " declaration under On Jan 26, 9:20 am, Honest wrote: > On Jan 24, 4:11 am, AlexeyB wrote: > > > Try to move your service declaration in the manifest under application > > tag. Regards. > > > On Jan 23, 2:00 pm, Honest wrote: > > > > I hope some one will reply me as early as possible.

[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 ou

[android-developers] Re: Get a 404 when trying to install eclipse plug in

2009-01-26 Thread alorenzo
Well, I don' t know what happened but suddenly I got the server to respond OK. I am all set! Was the server/service down? Thanks! On Jan 26, 11:37 am, alorenzo wrote: > Get 404 with either > one:https://dl-ssl.google.com/android/eclipse/site.xmlhttp://dl-ssl.google.com/android/eclipse/site.xml

[android-developers] Re: Measuring Views

2009-01-26 Thread Alexey
i've tried to settext to my textView in the OnPreDrawListener() for the ViewTreeObserver - it works but now everything is painfully slow. On Jan 26, 11:44 am, Alexey wrote: > 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

[android-developers] Re: NetworkInterface.getNetworkInterfaces()

2009-01-26 Thread adrians
Your are right - solved - needed to add INTERNET permissions Thanks for your help Adrian On 25 Jan, 21:36, Mark Murphy wrote: > adrians wrote: > > I am getting a "unknown error" SocketException when calling > > NetworkInterface.getNetworkInterfaces(). I notice from an old post > > that this me

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

2009-01-26 Thread blindfold
I'm similarly getting more and more confused with the orientation sensor readings. With my dev phone 1 running in landscape mode, and the phone standing on its left side, values[1] = 0 and values[2] = -90. So far so good. Then when I lift the right side of the phone such that the screen rotates co

[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 Romain Guy
Did you remove your OnPreDrawListener? If you did not, then you are creating an infinite loop :) On Mon, Jan 26, 2009 at 12:44 PM, Alexey wrote: > > i've tried to settext to my textView in the OnPreDrawListener() for > the ViewTreeObserver - it works but now everything is painfully slow. > > On

[android-developers] Rotation Redux (resolved?)

2009-01-26 Thread Ward Willats
Okay, I think I know the answer as to what can cause an activity not to rotate. Every activity I wanted to rotate was started with startActivityForResult() (i.e. it was a sub-activity). It appears sub-activities "inherit" the "android:screenOrientation" of their parent in the manifest. In my

[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 wrote: > Did you remove your OnPreDrawListen

[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 appl

[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, bli

[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 wrote: > I am facing the same issue > > On Jan 24, 6:55 am, Oxygen wrote: > > > I build the SDK and ADT under li

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

2009-01-26 Thread laubea...@googlemail.com
Hello, When running Cupcake release in my SDK I noticed that the secure table in settings db does not contain what is defined in [platform/ frameworks/base.git] / core / java / android / provider / Settings.java. Here is the ADB output: sqlite3 /data/data/com.android.providers.settings/databases

[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 wrote: > > OK, thank yo

[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 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 wrote: > > > I am facing the sa

[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 wrote: > Check first, and think a bit. > > On Jan 25, 2:49 pm, blindfold wrote: > > > How can this possibly help you? You are trying to allocate 61 MB > > (3200*4800*4 bytes), which lies well above the 16 M

[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 wrote: > Thanks for the reply, I appreciate any help on this.  I do understand > that the emulator doesn't use the machine

[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 shou

[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 and

[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... http://schemas.android.com/apk/res/android";

[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 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 the "..." added as I ex

[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 wrote: > > Perhaps some registered developer will offer to put it on the market f

[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 settin

[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 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 dialog or menu is being

[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 G

[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 e

[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 t

[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 th

[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, sen

[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 wrote: > Hi > > When you get GPS location using getLastKnownLocation, is there a way

[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 wrote: > Try changing the TextView's width from wrap_content to 0dip. > > On Mon, Jan 26, 2009 at 4:13 PM, Mark Nuetzmann > > > > wrote: > > > I am using the following to creat

[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 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 . onLayout ? > Is using a

[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 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 > fromhttp://rehearsalassist.svn.sourceforge.net

[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 development

  1   2   >