[android-developers] Re: ImageView.setColorFilter and/or LightingColorFilter- how to use them?

2009-02-10 Thread Mike Reed
If you want to set a component (e.g. RED) to zero, use these mul: 0xFF00 add: 0 If you want to force a component to be full-on (e.g. BLUE), use these mul: 0x add: 0x00FF If you want to slightly darken RED and GREEN, use mul: 0xFFFF add: 0 On Tue, Feb 10, 2009 at 3:41 PM,

[android-developers] advice for implementing my application?

2009-02-10 Thread automerc
I trying to create a application that allows users to create and use questionaire forms. I want my application to be able to allow a user to input a series of multiple choice questions and answers. Then be able to save that those questions and display them onto the android to be answered. can

[android-developers] Spinner with Editable Text

2009-02-10 Thread Inderjeet Singh
I would like to create a spinner where a user can edit the text for each drop-down entry. For example, I have a spinner for users, with pre-populated names: User 1, User 2, and User 3. I want the user to be able to edit these names to their liking. Any tips on how to go about it? Thanks Inder

[android-developers] How to clear a notification when using a PendingIntent?

2009-02-10 Thread Mariano Kamp
Hi, I am wondering how you would cancel a notification when you are not the party executing the associated Intent. For example, think about an Intent like ACTION_VIEW and a data/url like http://google.com. This intent is then wrapped into a PendingNotification and used by a notification. So

[android-developers] Re: How to clear a notification when using a PendingIntent?

2009-02-10 Thread Christoph Studer
You need to specify the FLAG_AUTO_CANCEL in the Notification.flags field: http://code.google.com/android/reference/android/app/Notification.html#FLAG_AUTO_CANCEL Christoph On Tue, Feb 10, 2009 at 10:22 PM, Mariano Kamp mariano.k...@gmail.com wrote: Hi, I am wondering how you would cancel

[android-developers] Re: How does the TabActivity successfully switch activities?

2009-02-10 Thread Dianne Hackborn
Well it doesn't use a ViewFlipper. :} I suggest looking at the code. On Tue, Feb 10, 2009 at 11:43 AM, kingkung kingkun...@gmail.com wrote: I'm trying to implement my own ActivityGroup to mimic TabActivity (without tabs) but I'm having trouble closing activities. My ActivityGroup has a

[android-developers] Re: Automatic upgrade

2009-02-10 Thread plusminus
Hi, any ideas if Veecheck will interfere with the Android-Market-Updater? Best Regards, plusminus On Feb 3, 12:13 pm, Al Sutton a...@funkyandroid.com wrote: http://www.tomgibara.com/android/veecheck/ Al. mat wrote: Anybody knows how to resolve this issue ?? Hi All, Can you provide

[android-developers] Re: Will there be a Dev 2 phone?

2009-02-10 Thread Dianne Hackborn
The name should be a hint that someday there will probably be another one, shouldn't it? On Tue, Feb 10, 2009 at 6:54 AM, Troglodad troglo...@gmail.com wrote: If there's going to be a G2 phone released, ca nwe expect to see a Dev 2? I'm ordering my Dev 1 tomorrow, but if there's been any ruor

[android-developers] Re: Replacement for android.settings.SYSTEM_UPDATE_SETTINGS ?

2009-02-10 Thread Dianne Hackborn
Why in the world are you wanting to do this? There is no way you can possibly provide a replacement for the update mechanism that ships on any phone your app happens to be running on. On Tue, Feb 10, 2009 at 8:28 AM, Sergi Velez sergi.ve...@gmail.com wrote: Hi, I'm trying to write an

[android-developers] Re: How to lock down device?

2009-02-10 Thread Dianne Hackborn
Sorry you can't do that without making your own build of the platform. On Tue, Feb 10, 2009 at 8:13 AM, marchinram marchin...@gmail.com wrote: Hello, I am developing for an event marketing company that wishes to have event staff use the device with android at events and capture data from

[android-developers] Re: Replacement for android.settings.SYSTEM_UPDATE_SETTINGS ?

2009-02-10 Thread Sergi Velez
Well, the idea is to use it with the modified images posted here: http://forum.xda-developers.com/showthread.php?t=475381 The update app should work fine if it's launched from the apps menu. --- sergi.ve...@gmail.com [In theory, theory and practice are the same. In practice, they are not.] On

[android-developers] Re: How does the TabActivity successfully switch activities?

2009-02-10 Thread Justin (Google Employee)
The answer is that its complicated. You need to switch not only the View, but the entity that the system considers to be active. As Dianne suggests android.app.LocalActivityManager is where I'd start,

[android-developers] Wall Street Journal Says Paid Apps in the Android Market THIS WEEK

2009-02-10 Thread Michael Martin
The WSJ printed that paid apps should be in the Android Market this week - http://www.googleandblog.com/wall-street-journal-outs-google-paid-apps-android-market-plans/3738/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Unable to stop activity - NPE

2009-02-10 Thread julius
Hi, I have an Activity which gives me the following stack trace error and it looks to be out of my control (I could be wrong though as I'm a newb to Android): 02-11 00:00:44.316: ERROR/AndroidRuntime(28912): Uncaught handler: thread main exiting due to uncaught exception 02-11 00:00:44.346:

[android-developers] viewable area

2009-02-10 Thread cycleme...@gmail.com
I've read many posts on the topic of screen width and height, but none that answer the big question that seems to come up again and again. I have an AbsoluteLayout. I want to place a button in the bottom right corner of the screen. How do I get the size of the viewable area so that I know

[android-developers] Re: object serialization ???

2009-02-10 Thread dlawogus...@gmail.com
Hello darolla, I have not tested your code to be certain about this but I would say u would actually need to instantiate your object like so instead of passing the static reference because the object u create in your code contains states (your instance vars) but the static reference does not.

[android-developers] Re: Sensor readings on demand

2009-02-10 Thread Jack
Well if you haven't figured out a way, you can always have a timer set so that only when the timer expires can onSensorChanged send any values On Jan 5, 2:03 pm, clark clarkd...@gmail.com wrote: To elaborate a bit more, I'm actually going to integrate the accelerometer data to get velocity,

[android-developers] Re: viewable area

2009-02-10 Thread Dianne Hackborn
The answer is you don't use AbsoluteLayout. Seriously. It is trivial to place a button at the bottom right corner of the screen with various other layout managers, and those will take care of doing the right thing for the actual screen space. On Tue, Feb 10, 2009 at 1:03 PM,

[android-developers] Re: How does the TabActivity successfully switch activities?

2009-02-10 Thread kingkung
I have been looking at the source code. I'm looking in particular at TabActivity/TabHost/TabWidget and how it works. I'm looking at setCurrentTab() in TabHost, which from my experience is sufficient in closing an activity, and trying to understand everything that's going on. Notes below. I

[android-developers] Re: Voice Recognition like in Voice Search? (STT)

2009-02-10 Thread Markus Junginger
On Feb 10, 5:53 am, sscalp...@gmail.com sscalp...@gmail.com wrote: The package android.speech.srec is in the master SDK.  It's documented as a simple, synchronous SREC speech recognition API. Where do I find information on the master SDK? There's no JavaDoc in the SDK 1.1 of this package.

[android-developers] Re: Parse an XML

2009-02-10 Thread Ludwig
put it under res/xml/myfile.xml (in Eclipse you will have to create that directory). You can then load the file as context.getResources(R.xml.myfile) HTH Ludwig 2009/2/10 cool.manish mannishga...@gmail.com Hi, I am trying to make a simple application to parse the XML using SAXParser but it is

[android-developers] Re: Voice Recognition like in Voice Search? (STT)

2009-02-10 Thread devileper
You simply need to checkout the source tree. Please follow the instructions at http://source.android.com to checkout framework/base. The android.speech.srec.RecognizerIntent can then be found under the core module. If you can't check the source out yourself I have added the intent documentation

[android-developers] Re: Android Emulator

2009-02-10 Thread David Turner
the emulator is a native application. If would take considerable work to make it into an Active X component (which would only work on IE), or a NSPlugin. It uses signals in a very special way which might be really hostile to a browser environment. Furthermore, it needs about 192 MB of disk images

[android-developers] Re: Parse an XML

2009-02-10 Thread Ludwig
sorry that should have been context.getResources().getXml(R.xml.myxml) Ludwig 2009/2/10 Ludwig ludwigbrinckm...@gmail.com put it under res/xml/myfile.xml (in Eclipse you will have to create that directory). You can then load the file as context.getResources(R.xml.myfile) HTH Ludwig

[android-developers] Re: Voice Recognition like in Voice Search? (STT)

2009-02-10 Thread Dianne Hackborn
Of course this is not in the SDK because it is not supported, so of no use to the topic of this list. :) On Tue, Feb 10, 2009 at 2:27 PM, devileper devile...@gmail.com wrote: You simply need to checkout the source tree. Please follow the instructions at http://source.android.com to checkout

[android-developers] Re: Voice Recognition like in Voice Search? (STT)

2009-02-10 Thread Markus Junginger
Thanks alot. I will look into 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,

[android-developers] show me the bluetooth??

2009-02-10 Thread Jeff
Where is bluetooth support? are we ever going to get it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] How Toggle Button paints the toggle indicator?

2009-02-10 Thread ying lcs
Hi, Can you please tell me how does Toggle Button paint the toggle indicator? I think the code related to toggle indicator is private void updateReferenceToIndicatorDrawable(Drawable backgroundDrawable) { if (backgroundDrawable instanceof LayerDrawable) { LayerDrawable

[android-developers] Graphics Support

2009-02-10 Thread Vee
Hi Everyone, Just wanted to know if anybody knows if Google is planning to provide support for animated GIFs. I've read tons of posts about how it is currently not supported. Has anybody from Google said that they will be supporting it in the near future? Thanks for your time ! Vee.

[android-developers] Re: viewable area

2009-02-10 Thread Sundog
Believe me, I see your point, but there are applications this simply won't work for. Mine, for instance, requires up to 144 precisely positioned, size-changing, overlapping-but-not-colocated buttons on the screen (not in a grid), and there simply isn't any other way to do it. I certainly

[android-developers] Re: How to lock down device?

2009-02-10 Thread Michael MacDonald
Won't removing the SIM lock it down with respect to text messages and incoming calls? marchinram wrote: Hello, I am developing for an event marketing company that wishes to have event staff use the device with android at events and capture data from people with an app I'm gonna write. What

[android-developers] Re: Market statistics for apps targeting The Netherlands are not correct

2009-02-10 Thread Justin (Google Employee)
Ronald, We're still looking into this, so I don't have any additional information at this time. Cheers, Justin Android Team @ Google On Feb 10, 12:30 pm, Ronald van der Lingen lin...@jsource.nl wrote: Justin, Today, I started to see download numbers for my 'PimPam' app. In the afternoon it

[android-developers] Re: How does the TabActivity successfully switch activities?

2009-02-10 Thread kingkung
Got it working. All the functionality of a tab activity, without the tabs. If anyone else needs to do this, let me know. James --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: viewable area

2009-02-10 Thread Dianne Hackborn
Then just write your own layout manager that does your own special positioning algorithm. This is likely to be faster than using AbsoluteLayout, anyway, especially if the screen dimensions change on you and you need to do a relayout. On Tue, Feb 10, 2009 at 3:15 PM, Sundog sunns...@gmail.com

[android-developers] Re: How ACTION_CHOOSER picks choices for ACTION_SET_WALLPAPER

2009-02-10 Thread Rohit
Aah - I see what you're saying. The Intent is what you originally set it to (in this case ACTION_SET_WALLPAPER). What I really meant what action/activity was launched, but that is an obvious answer - whoever writes an activity that has an intent filter for the given intent. In this case - its the

[android-developers] Re: How ACTION_CHOOSER picks choices for ACTION_SET_WALLPAPER

2009-02-10 Thread Rohit
ACTION_SET_WALLPAPER can be found in the manifest file for the Launcher Rohit On Feb 2, 3:23 pm, Layeeq nlah...@gmail.com wrote: In Launcher application,  ACTION_CHOOSER intent is used to show possible choices for setting wallpaper from.  I could not find ACTION_SET_WALLPAPER in any

[android-developers] Re: How does the TabActivity successfully switch activities?

2009-02-10 Thread Justin (Google Employee)
Contributing your source back to the Android project would be great. Cheers, Justin Android Team @ Google On Feb 10, 3:38 pm, kingkung kingkun...@gmail.com wrote: Got it working. All the functionality of a tab activity, without the tabs. If anyone else needs to do this, let me know.

[android-developers] Re: 3gpp files

2009-02-10 Thread K. Chen
Thanks; it works.. A somewhat related question. In addition to 3GPP video file, does Android support MP4 as well? Any plan for MP4 video (if it's not doing it), in light of the trend that more and more codec chip vendors are supporting it. -KC On Tue, Feb 10, 2009 at 9:56 AM, Dave Sparks

[android-developers] Getting user's confirmation in OnPreferenceChangeListener

2009-02-10 Thread Spiros
Hi, I have a checkbox preference which, when set for the first time, may trigger a long-running operation. I want to get the user's explicit consent before starting this operation. However, if the user hits cancel, then the preference should remain unchecked. I'm using a preference activity

[android-developers] Should cursors used in autocomplete adapters be managed or not?

2009-02-10 Thread Spiros
Hi, I'm using an autocomplete box, with suggestions provided by a SimpleQueryAdapter, almost identical to the code in this thread: http://groups.google.com/group/android-developers/browse_thread/thread/8e9738ec79042f9e Not sure if relevant, but only difference I see is that, both in the

[android-developers] Re: Should cursors used in autocomplete adapters be managed or not?

2009-02-10 Thread Romain Guy
It's up to you. If you don't use managed cursors, you will have to close/query them yourself when the activity is destroyed/created/stopped, etc. On Tue, Feb 10, 2009 at 4:14 PM, Spiros spapa...@gmail.com wrote: Hi, I'm using an autocomplete box, with suggestions provided by a

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-10 Thread dlawl...@gmail.com
Maybe I'm alone on this but I think there is a problem with the Windows SDK 1.1_rc1 zip file. When trying to unpack with Vista, it throws an error stating: There is already a file with the same name as the folder you specified. Specify a new name. Upon further inspection, there are empty files

[android-developers] Re: Android SDK v1.1 due soon?

2009-02-10 Thread clark
Thanks for the replies everyone. I'm downloading the 1.1 version of the SDK now and will see what they have given us to work with. ~clark On Feb 9, 11:05 pm, Romain Guy romain...@google.com wrote: Cupcake is not RC33, it's a future version of Android. RC33 is something between 1.0 and

[android-developers] Re: How to get current page content of WebView

2009-02-10 Thread Tony
Any idea? On Feb 11, 1:01 am, Guolong liuguolong...@gmail.com wrote: hello, It's easy to get current page's url and title of webkit.WebView. But I could not find way to get page content of WebView. Anybody could help me with this problem?

[android-developers] Re: How to get current page content of WebView

2009-02-10 Thread Mark Murphy
Tony wrote: Any idea? On Feb 11, 1:01 am, Guolong liuguolong...@gmail.com wrote: hello, It's easy to get current page's url and title of webkit.WebView. But I could not find way to get page content of WebView. Anybody could help me with this problem? I do not believe it is possible for

[android-developers] Question about Bottom left/right strip in the TabWidget

2009-02-10 Thread Meryl Silverburgh
Hi, In the TabWidget source code, it has a mBottomLeftStrip and mBottomRightStrip attribute. Can you please tell me what are they for? I have an android example with Tab. When I run that in the emulator, I click the left/right of the tab widget, I don't see anything happened. Thank you for any

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-10 Thread Craig
I noticed something similar, but used 7-zip to extract and all went fine. I don't believe the Windows inbuilt zip program is a real zip program. You might want to try Winzip or 7-zip. On Feb 11, 11:19 am, dlawl...@gmail.com dlawl...@gmail.com wrote: Maybe I'm alone on this but I think there is

[android-developers] Re: android-developers - 84 new messages in 56 topics - abridged

2009-02-10 Thread fadden
On Feb 9, 11:26 pm, rajesh bhasin rajesh...@gmail.com wrote: I tried to use a instance of one class ( from the utility package ) in the code of a class in another package (main package). I tried statements like import utility.* and even changed the code by making methods static (so tht i did

[android-developers] Re: viewable area

2009-02-10 Thread Matthew LeMieux
This seems to be a very hot topic. It turns out, if I only had that single button in the app, I would not have a problem. :) I have an app with several overlapping views. That button, (or actually a custom view) needs to sit on top of something else that can move behind it. Is there a layout

[android-developers] Re: in-memory live object histogram

2009-02-10 Thread fadden
On Feb 10, 4:41 am, GiladH gila...@gmail.com wrote: 1. hprof only works on emulator (unless i'm missing something). i would much prefer to analize mem usage     on the device itself. Is there a tool that does it? As implemented in 1.0 it requires root access (you need to chmod 777 /

[android-developers] Re: How to lock down device?

2009-02-10 Thread marchinram
Yes, but the app synchronizes the data it collects with a server periodically via a service. The specs called for preferring wifi but using the network connection as a backup. That is a good point you make though, if I can't figure something out I can just remove the sim and require them to use

[android-developers] Re: object serialization ???

2009-02-10 Thread Mattaku Betsujin
The problem is you're trying to serialize an inner class of SerialisiereAndroidActivity, which is not Serializable. To fix this, you can declar the inner class as public static class Serialisiere implements ^^^ - Mattaku On Tue, Feb 10, 2009 at 11:56 AM, dlawogus...@gmail.com

[android-developers] Re: Custom dialog in PreferenceActivity loaded from addPreferencesFromResource()?

2009-02-10 Thread g1bb
Anyone have any ideas on this? Thanks again! On Feb 5, 7:23 am, g1bb corymgibb...@gmail.com wrote: Gotcha. I'm trying to do this in onSharedPreferenceChanged(), but I can't seem to get it to hit. public class Settings extends PreferenceActivity implements OnSharedPreferenceChangeListener  

[android-developers] Self-signed app on Market

2009-02-10 Thread Mattaku Betsujin
Hi, If I go cheap and don't pay the $xx or so for a real VerifySign certificate, and just use a self-signed certificate to sign my app, will it appear as a second-class citizen on the Android Market? Specially, will the user get a prompt like this app is signed by a possibly untrustyworthy

[android-developers] How to use initramfs for root filesystem?

2009-02-10 Thread ebmajor
Dear all, I'm trying to understand how initramfs, especially 'init' program is used as a root filesystem. Usually I've used 'root=/dev/mtdblock0 rootfstype=jffs2' in kernel command line for root filesystem and my 'init' program is laid in mtdblock0 so kernel can find where the 'init' program

[android-developers] Re: viewable area

2009-02-10 Thread Sundog
Great suggestion, thanks. On Feb 10, 4:47 pm, Dianne Hackborn hack...@android.com wrote: Then just write your own layout manager that does your own special positioning algorithm.  This is likely to be faster than using AbsoluteLayout, anyway, especially if the screen dimensions change on you

[android-developers] Re: viewable area

2009-02-10 Thread Sundog
Could somebody on the thread perhaps explain why this is so rigid? So many people are asking for such a very simple thing. I'd really like to understand. It's a Java thing. ;) You VILL fit ze paradigm! Resistance is futile! --~--~-~--~~~---~--~~ You received

[android-developers] Re: Unable to stop activity - NPE

2009-02-10 Thread julius
This happens on entering any Activity except the first. I have a really simple ListActivity which has very little to it. Oh by the way, if I have left anything out or got the wrong list, can someone point me in the right direction? Thanks, Julius.

[android-developers] Re: How does the TabActivity successfully switch activities?

2009-02-10 Thread kingkung
Gladly, how do I do that? On Feb 10, 3:42 pm, Justin (Google Employee) j...@google.com wrote: Contributing your source back to the Android project would be great. Cheers, Justin Android Team @ Google On Feb 10, 3:38 pm, kingkung kingkun...@gmail.com wrote: Got it working. All the

[android-developers] Re: viewable area

2009-02-10 Thread Dianne Hackborn
It's not that, it's that making assumptions about you having all of the available space on the screen and that it will never change after you start will make your application very rigid. For example, in the future when there is a soft keyboard that gets shown, wouldn't you like your application

[android-developers] Wallpaper

2009-02-10 Thread Rohit
When a wallpaper is set (either from the Wallpaper Gallery or from Pictures) where is the wallpaper that is selected saved? Is there a directory where this is saved? Is there a Database where this information is saved? who handles this? Is it the wallpaper service? What if I wanted to have

[android-developers] Re: Self-signed app on Market

2009-02-10 Thread Dianne Hackborn
Android doesn't use CAs at all, period. It makes no difference whether you self-sign or use a CA, the system and user will never know the difference. On Tue, Feb 10, 2009 at 4:53 PM, Mattaku Betsujin mattaku.betsu...@gmail.com wrote: Hi, If I go cheap and don't pay the $xx or so for a real

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-10 Thread gjs
Hi, Thanks for the new 1.1_r1 SDK, the documentation format changes are excellent, well done ! A developer wiki with code sample linked via the documentation class methods would be appreciated sometime in the future, see discussion here -

[android-developers] Re: Getting user's confirmation in OnPreferenceChangeListener

2009-02-10 Thread Spiros
Ugh, nevermind -- a quick look at the Android sources solved this easily. For the record, this seems to be the right way to change a setting in a preference screen: CheckBoxPreference p = (CheckBoxPreference)findPreference (foo_enable); p.setChecked(false);

[android-developers] Re: What's in raw data from PictureCallback of camera?

2009-02-10 Thread gjs
Hi, I'm hoping that Android will supported this in future for RGB888 and (at least) 8mp images. I know this is a big ask, probably requiring much larger process heap size ( 16MB high speed bus/memory ) but there already is 8mp camera phones available on other platforms. And yes I know these

[android-developers] Re: After install ADT0.9,failed to launch APP as no VM compatible with android 1.5

2009-02-10 Thread tony
Anybody can use ADT 0.9 run application now? On 2月7日, 下午6时17分, tony shangyun...@gmail.com wrote: The error info is: [2009-02-07 18:11:06 - CameraTest] -- [2009-02-07 18:11:06 - CameraTest] Android Launch! [2009-02-07 18:11:06 - CameraTest] adb is running normally.

[android-developers] Re: Reusing the +/- number spinner from TimePickerDialog?

2009-02-10 Thread Beshoy
Then how else can this be accomplished? On Feb 7, 10:06 pm, Dianne Hackborn hack...@android.com wrote: DO NOT DO THIS. See the word internal in there?  That means internal.  Do not touch.  Your code will break in the future.  In fact some platform engineer just may go rename that class

[android-developers] Re: Reusing the +/- number spinner from TimePickerDialog?

2009-02-10 Thread Mark Murphy
Beshoy wrote: Then how else can this be accomplished? As I wrote earlier in this thread: The source to it is probably available on source.android.com. Clone your own until they open that one up in the SDK. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the

[android-developers] Re: Sampling

2009-02-10 Thread clark
How about SDK 1.1? Or 1.2? Any idea where on the roadmap this feature stands? On Feb 6, 10:18 am, Dave Sparks davidspa...@android.com wrote: No, this is not supported in SDK 1.0. On Feb 6, 8:34 am, Sundog sunns...@gmail.com wrote: Is it possible to piggyback the audio stream or

[android-developers] Re: Reusing the +/- number spinner from TimePickerDialog?

2009-02-10 Thread clark
Can the google developers please start bringing these widgets out to the public API? Something like a number picker widget seems too common for GUIs that it be kept internal. I believe there was also the slider widget that was being kept internal. Of course I'm probably ignorant as to why this

[android-developers] Re: HELP! Lost all my stats on Android Market!

2009-02-10 Thread weaselgrater
The same thing happened to me twice. AND this is the second time im writing my post. Google Chrome is a nightmare. Nothing ever posts! not this message not my APK. not anything. Ive lost two packages and Ive just spent my entire savings and life into my application and now I've lost my userbase

[android-developers] Using the Accelerometer

2009-02-10 Thread naxtek
Hi everyone, I'm a software engineering student and I've just bought a T-Mobile G1 to have a play with :) I'm wanting to write an app that will untilise the Accelerometer but I only seem to be able to read orientation values from it. Heres my code: package naxtek.app2; import

[android-developers] (fix?) We're on the simulator; assuming data is connected ???

2009-02-10 Thread eric_mellon
dear all: i have try to build android for eee_701, with follow make command: make TARGET_ARCH=x86 TARGET_PRODUCT=eee_701 DISABLE_DEXPREOPT=true -j2 installer_img TARGET_SIMULATOR=false TARGET_BUILD_TYPE=release and then install it to eeepc, and then i got the follow log: ... ... I/RIL (

[android-developers] Re: HELP! Lost all my stats on Android Market!

2009-02-10 Thread weaselgrater
The same thing happened to me twice! I lost my first version, and now I lost the version that was gaining momentum and had a good rating and I was hoping to eventually sell. This is outrageous and I've never been so upset by anything in my life. How dare they have something so broken. Why would

[android-developers] Re: Sdcard issue

2009-02-10 Thread Rizvan S
Hi, Which formate you use for sdcard partition? Did you formate card with ext2 etc ? which device node you use to formate ? i.e fdisk /dev/mmcblk0 (on linux PC ) When you mount sdcard in linux ( on your hardware ), which device node you use and which file type you specify ? i.e mount -t ext2

[android-developers] Re: SD card not detected in Android

2009-02-10 Thread Rizvan S
Hi Rajesh, I think you must have mmc/sd driver for your hardware and it would create device node i.e /dev/mmcblk0 etc. Did you check before android porting , sd card driver was working on your linux ( target kernel )? I am using sd card to put android file system on it for android porting/bring

[android-developers] Building internal code into SDK

2009-02-10 Thread NFSpeedypur
I am developing code for a new android project, on custom hardware, and I want to build a testing SDK. I have been able to build an SDK rather easily but I am wondering how I can include other internal java libraries into the jar file. I am trying to rebuild a version of Launcher, and it will

[android-developers] Deleting Folders in Android

2009-02-10 Thread Tommy
Ok. I know how to create folders and rename them, but how do you delete folders from the android desktop? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Deleting Folders in Android

2009-02-10 Thread Romain Guy
Long press it, drop it on the trash can at the bottom. On Tue, Feb 10, 2009 at 4:09 PM, Tommy lucky...@gmail.com wrote: Ok. I know how to create folders and rename them, but how do you delete folders from the android desktop? Thanks -- Romain Guy Android framework engineer

[android-developers] Re: is there a way to read the screen text

2009-02-10 Thread redmapleleaf
well I was asking how one can pick up the text at any point on the screen as the user move his finger about the screen, not the speech generation. Once I could read the text into a buffer then the speech generation can come next. However at this point I am not quite sure if there is a way for me

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-10 Thread Yuan Kwok
Hi, I'm wondering when will be an update of 1.1_r1 SDK on the http://code.google.com/p/android?Because the domain *.android.com can not be accessed due to certain internet censorship policies(in China Mainland). Thanks! On Tue, Feb 10, 2009 at 06:31, Justin (Google Employee)

[android-developers] Re: Solved Preferences Reset Problem

2009-02-10 Thread JP
Thanks - great find! I've had this lingering around for weeks (I haven't released yet, but getting close) There's still a bug here. If android:persistent=value is not set, the value defaults to false and the SharedPreferences are not cleared in three out of one case. On Feb 7, 3:03 pm, Eric B

[android-developers] Geting rutime erros for Service permission and AndroidManifest.xml

2009-02-10 Thread Android
Hi, I am getting few Runtime errors during running my .apk. I have created two .apk as client and server. My client Acticity wants to invoke the Service of my Server .apk. I used the AIDL and IPC mechanism to communicate betwwen the Client and server. My Client code was compiled fine but during

[android-developers] Re: Sampling

2009-02-10 Thread Dave Sparks
It's on the roadmap for Cupcake. On Feb 10, 6:44 pm, clark clarkd...@gmail.com wrote: How about SDK 1.1? Or 1.2? Any idea where on the roadmap this feature stands? On Feb 6, 10:18 am, Dave Sparks davidspa...@android.com wrote: No, this is not supported in SDK 1.0. On Feb 6, 8:34 am,

[android-developers] Re: What's in raw data from PictureCallback of camera?

2009-02-10 Thread Dave Sparks
Highly unlikely. Applications are restricted to a heap of 16MB. An 8MP image in RG888 will use 32MB. I am inclined to deprecate that API entirely and replace it with hooks for native signal processing. On Feb 10, 6:17 pm, gjs garyjamessi...@gmail.com wrote: Hi, I'm hoping that Android will

[android-developers] Re: 3gpp files

2009-02-10 Thread Dave Sparks
You'll find a complete list of codecs and file formats here: http://developer.android.com/guide/appendix/media-formats.html On Feb 10, 3:59 pm, K. Chen grssmount...@gmail.com wrote: Thanks; it works.. A somewhat related question. In addition to 3GPP video file, does Android support MP4 as

[android-developers] Media file formats and codecs supported by Android

2009-02-10 Thread Dave Sparks
A list of media file formats and codecs supported by Android can be found here: http://developer.android.com/guide/appendix/media-formats.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: SD card not detected in Android

2009-02-10 Thread Rajesh N
HI Rizavan, Yup, there is a issue with MMC driver in my kernel tree provided by freescale, I have excalated this issue, I will keep u in posted with my latest updates, Thanks for u r suggestion, Best Regards, Rajesh N On Wed, Feb 11, 2009 at 6:31 AM, Rizvan S porting.begin...@gmail.comwrote:

[android-developers] I am getting NullPointer exception for my app when switching from potrait mode to landscape mode and vice versa

2009-02-10 Thread manoj
Hi friends, I have written a small example which displays the photos from the server. Its working fine when the device is in one of the mode (landscape of potrait ). But if I switch to landscape to potrait or potrait to landscape while downloading the photos from the server, I am getting

[android-developers] Re: I am getting NullPointer exception for my app when switching from potrait mode to landscape mode and vice versa

2009-02-10 Thread clark
You may want to try adding android:configChanges=orientation to AndroidManifest.xml and overriding onConfigurationChanged(). If a configuration change is not specified in android:configChanges then Android will take care of it for you, which means restarting your app. Without seeing code it is

[android-developers] Help: Getting java.io.IOException: Couldn't open exception

2009-02-10 Thread cool.manish
Hi, I have created a simple application on android platform. Application is parsing an XML. SAXParser sp = spf.newSAXParser(); //parse the file and also register this class for call backs sp.parse(./sdcard/employees.xml, this); I am getting java.io.IOException: Couldn't open ./sdcard/

[android-developers] Re: Parse an XML

2009-02-10 Thread cool.manish
What is the context? I am getting error at that point. Actually I am trying to parse the xml file SAXParser sp = spf.newSAXParser(); sp.parse(context.getResources().getXml(R.xml.employees), this) On Feb 11, 3:32 am, Ludwig ludwigbrinckm...@gmail.com wrote: sorry that should have been

[android-developers] Question about layout and main.xml

2009-02-10 Thread automerc
while I was reading tutorials about android programming I saw that all UI objects such as radio buttons and layouts were declared in the main.xml file and just refer to using their ids in the java source code. I was wondering if this always has to been the case? I am trying to write a application

[android-developers] Re: Parse an XML

2009-02-10 Thread for android
Context is the super -class of the Activity..so basically u need to use the activity... On Wed, Feb 11, 2009 at 10:56 AM, cool.manish mannishga...@gmail.comwrote: What is the context? I am getting error at that point. Actually I am trying to parse the xml file SAXParser sp =

[android-developers] Re: Parse an XML

2009-02-10 Thread Dianne Hackborn
This code doesn't make any sense. Resources.getXml() returns an XmlPullParser; you don't need to wrap that in another XML parser. Just use the returned XmlPullParser to read the XML directly. On Tue, Feb 10, 2009 at 9:26 PM, cool.manish mannishga...@gmail.com wrote: What is the context? I

[android-developers] Re: Question about layout and main.xml

2009-02-10 Thread for android
http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/ http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/RadioGroup1.html On Wed, Feb 11, 2009 at 10:57 AM, automerc bigautosur...@gmail.com wrote: while I was reading tutorials

[android-developers] Failed sending reply to debugger: Broken pipe error

2009-02-10 Thread Android
Hi, I am getting the below two errors, can someone help me, why these errors i am getting. 02-11 10:56:12.120: ERROR/dalvikvm(334): pthread_setspecific failed, err=22 02-11 10:56:13.210: ERROR/jdwp(345): Failed sending reply to debugger: Broken pipe -Kumar

[android-developers] Re: Simulate a KeyEvent

2009-02-10 Thread Luke w
I want the solution too BR, Luke Wang Doug Larson - Instead of giving a politician the keys to the city, it might be better to change the locks. On Wed, Jan 28, 2009 at 8:32 PM, wsgfz...@gmail.com wsgfz...@gmail.comwrote: Hi~ I just met a problem about how to reject an incoming call. At

[android-developers] Re: What's in raw data from PictureCallback of camera?

2009-02-10 Thread gjs
Hi David, Thanks for quick reply, I think access via native signal processing hooks is fine provided this includes access to the -full- 'snapshot' buffer as well as the 'preview' buffer, RGB format would be nice as well. And yes 16MB heap limit is luxury for a phone application right now, but I

[android-developers] Re: Graphics question: bilinear interpolation

2009-02-10 Thread j
Yes I am doing an arbitrary distortion. I looked into the cupcake branch platform source code and it seems the binary interpolations are performed natively under JNI. Is that correct? On Feb 9, 6:17 am, Mike Reed r...@google.com wrote: You may be right. The filter_flag kicks in when drawing a

<    1   2   3   >