[android-developers] Re: Is ProgressBar correctly handling padding-values?

2009-03-04 Thread Sundog
> Sorry for being terse, sent from my phone :) Yeah, isn't that keyboard a drag? ;) --~--~-~--~~~---~--~~ 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@

[android-developers] Activity dispatchKeyEvent(KeyEvent event) method always return false?

2009-03-04 Thread Meryl Silverburgh
Hi, Can you please tell me why Activity dispatchKeyEvent(KeyEvent event) method always return false? I press UP/DOWN key (on keyboard), and I see the focus of each button moves from one to another. So I think the Activity has handled the UP/DOWN key. My question is why dispatchKeyEvent() always

[android-developers] Re: Dialog Survival Over Configuration Change

2009-03-04 Thread Nmix
On Mar 4, 12:21 pm, Marco Nelissen wrote: > On Wed, Mar 4, 2009 at 9:13 AM, Nmix wrote: > > > Ugh. I already use onCreateDialog() and onPrepareDialog() since that > > is how I deal with making the content dynamic.  I figured dismissing > > it (ok, I agree that's not quite a best practice), would

[android-developers] Re: Proximity Alert and Battery life

2009-03-04 Thread Mark Murphy
loty wrote: > Just to clarify - I'm not interested in monitoring status of my > batteries. > I'm interested in finding a solution so that simple proximity alerts > don't destroy battery life and make my apps unusable to users. There are other apps that use proximity alerts -- for example, I would

[android-developers] Re: Dialog Survival Over Configuration Change

2009-03-04 Thread Marco Nelissen
On Wed, Mar 4, 2009 at 9:13 AM, Nmix wrote: > > Ugh. I already use onCreateDialog() and onPrepareDialog() since that > is how I deal with making the content dynamic.  I figured dismissing > it (ok, I agree that's not quite a best practice), would be simplest, > especially since in the context of

[android-developers] Webview's addjavascriptinterface question

2009-03-04 Thread j
Regarding Webview's addjavascriptinterface, is the java-javascript binding global or apply only to my webview? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] Re: Dialog Survival Over Configuration Change

2009-03-04 Thread Nmix
Ugh. I already use onCreateDialog() and onPrepareDialog() since that is how I deal with making the content dynamic. I figured dismissing it (ok, I agree that's not quite a best practice), would be simplest, especially since in the context of the app it is very unlikely that the user would change

[android-developers] Re: Proximity Alert and Battery life

2009-03-04 Thread loty
Just to clarify - I'm not interested in monitoring status of my batteries. I'm interested in finding a solution so that simple proximity alerts don't destroy battery life and make my apps unusable to users. Can you elaborate please how I can use Power Management utility to reduce power consumptio

[android-developers] Re: Is ProgressBar correctly handling padding-values?

2009-03-04 Thread Romain Guy
onkeydown: make sure your view is focusable and focused. Padding: known bug, fixed in cupcake. Sorry for being terse, sent from my phone :) On Mar 4, 2009 9:05 AM, "Cyril M" wrote: Here is a skeleton of the class I'm currently working on. Unfortunatly, i'm stuck on two problems and it's drivi

[android-developers] Re: Cupcake Release end March

2009-03-04 Thread Disconnect
Cupcake isn't a release. So I doubt he's right - does he mean the OTA that just happened, with market paid apps and such? On Wed, Mar 4, 2009 at 9:48 AM, Tee wrote: > > Hi. > > I have a so called reliable resource who works in the T-mobile store, > and so far he has been right about anything to

[android-developers] Re: Confused about 9-patch files

2009-03-04 Thread Marco Nelissen
Are you sure that b.9.png works correctly? It doesn't seem to stretch correctly either in the draw9patch tool. On Tue, Mar 3, 2009 at 6:36 PM, craiget wrote: > > Thank you for the replies. > > Maybe what's causing my confusion is a bug in aapt (or my > environment?) rather than misunderstanding

[android-developers] Is ProgressBar correctly handling padding-values?

2009-03-04 Thread Cyril M
Here is a skeleton of the class I'm currently working on. Unfortunatly, i'm stuck on two problems and it's driving me mad ! The first problem is about the onKeyDown(KeyEvent) : I don't understand why this method isn't called while I pressed a key on the emulator. The second problem deals with pad

[android-developers] Re: Can only hear sound when playing video

2009-03-04 Thread Marco Nelissen
On Wed, Mar 4, 2009 at 12:09 AM, zypsg wrote: > > Hi, A surprising problem occurs when I try to play Video, I can only > hear the sound part of the video. My code snippet is below: > > public class VideoDemo extends Activity { > >        public static final int MENU_PLAYER=Menu.FIRST; >        pu

[android-developers] Re: Proximity Alert and Battery life

2009-03-04 Thread Javier Segura
There is a utility called Power Management that fits your needs On Wed, Mar 4, 2009 at 5:33 PM, loty wrote: > > I wrote a simple app that uses proximity alerts and after installing > it on my G1 found that battery life have been halved at least. It's so > bad that phone needs to be recharged mid

[android-developers] Re: Dialog Survival Over Configuration Change

2009-03-04 Thread Romain Guy
If you want to call dismissDialog(int) you need to use managed dialogs. You will need to look at the javadoc for showDialog(int), onCreateDialog() and onPrepareDialog(). The API Demos also show how to use managed dialogs. If you are already using these APIs, onCreate() is not the right placae to

[android-developers] Re: What is wrong with this layout

2009-03-04 Thread Stoyan Damov
Not quite sure (haven't looked at the schema) but perhaps Button is an empty element, so in your layout it should look like this: > android:layout_width="wrap_content" > android:layout_height="52px" > android:background="@drawable/installBtn" /> That is, close the ele

[android-developers] Re: Android with RFID reader

2009-03-04 Thread Mark L. Chang
I don't think the G1 has any RFID hardware capabilities. --~--~-~--~~~---~--~~ 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 unsubscri

[android-developers] Dialog Survival Over Configuration Change

2009-03-04 Thread Nmix
Flipping between landscape and portrait is causing me a problem with dialogs that are active at the time of config change. The dialogs survive (which I think is good), but I have the problem that some of my dialogs contain dynamic content which would need to be refreshed in the dialog views. All

[android-developers] Proximity Alert and Battery life

2009-03-04 Thread loty
I wrote a simple app that uses proximity alerts and after installing it on my G1 found that battery life have been halved at least. It's so bad that phone needs to be recharged mid-day or it completely dies by 9pm. There is no polling of any kind - just proximity alerts (3 of them). I tried with G

[android-developers] Re: how to implement scrolling text?

2009-03-04 Thread Romain Guy
The marquee starts when a TextView gets focused/selected. It is used throughout the UI in 1.1, for instance in the list of all apps in Home. On Tue, Mar 3, 2009 at 11:00 PM, soniya wrote: > > I have downloaded the latest SDK i.e. Android 1.1 but I am not able to > run the API demo for Marquee. >

[android-developers] Re: Setting clickable on individual ListView's ChildViews

2009-03-04 Thread Romain Guy
That's not the way to do it. Simply use an OnItemClickListener on your ListView and modify your adapter to disable the items you don't want clickable. Do NOT attempt to change the properties of the children in this way. On Wed, Mar 4, 2009 at 3:06 AM, chiizuf...@googlemail.com wrote: > > Hi, >

[android-developers] Re: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-03-04 Thread John Lauricella
Is it possible to start a new discussion group for folks who promote their own products that compete with the Android Market, so we don't get this constant conflict-of-interest commentary on how bad the Google system is... > Date: Wed, 4 Mar 2009 13:38:49 + > From: a...@funkyandroid.com >

[android-developers] What are the Intents broadcast by the ConnectivityManager

2009-03-04 Thread Graeme
Hi The ConnectivityManager is described at http://developer.android.com/reference/android/net/ConnectivityManager.html The Class Overview states that The primary responsibilities of this class are to: 2. Send broadcast intents when network connectivity changes What is/are the ACTION(s

[android-developers] Re: Where can I find a app for my gps test?

2009-03-04 Thread Avraham Serour
isn't the google maps enough for what you want? On Wed, Mar 4, 2009 at 3:50 AM, www_...@yahoo.com.cn wrote: > > Hi all, > > I need a GPS application on android so I can test my gps function. > Can any one who knows and being so kind to tell me about? Thanks. > > --~--~-~--~~

[android-developers] Re: how to know the status of the MediaPlayer?

2009-03-04 Thread CKinniburgh
Correct. Sorry about that, It's been one of those mornings. On Mar 4, 10:08 am, Marco Nelissen wrote: > To be clear: you don't call onPrepared() yourself. If you set an > OnPreparedListener, its onPrepared() method will be called for you. > > On Wed, Mar 4, 2009 at 8:03 AM, CKinniburgh wrote:

[android-developers] Re: how to know the status of the MediaPlayer?

2009-03-04 Thread Marco Nelissen
To be clear: you don't call onPrepared() yourself. If you set an OnPreparedListener, its onPrepared() method will be called for you. On Wed, Mar 4, 2009 at 8:03 AM, CKinniburgh wrote: > > I would imagine onPrepared() would be one way to do this.  Simply call > onPrepared(), then take away the

[android-developers] Re: how to know the status of the MediaPlayer?

2009-03-04 Thread CKinniburgh
I would imagine onPrepared() would be one way to do this. Simply call onPrepared(), then take away the buffering message, then play. On Mar 3, 10:27 pm, manoj wrote: > Hi, > > I am developing a media player application which downloads from > internet and plays. > > so while downloading I want t

[android-developers] Re: how to know the status of the MediaPlayer?

2009-03-04 Thread dillirao malipeddi
If you download and play files from net you will get 1) OnPreparedListener() 2) OnBufferU[dateListener() you must start player after you get onPreparedListener otherwise you will get Mediaplayer exception On Wed, Mar 4, 2009 at 9:26 PM, Marco Nelissen wrote: > > On Tue, Mar 3, 2009 at 8:27

[android-developers] Re: how to know the status of the MediaPlayer?

2009-03-04 Thread Marco Nelissen
On Tue, Mar 3, 2009 at 8:27 PM, manoj wrote: > > Hi, > > I am developing a media player application which downloads from > internet and plays. Do you mean that it streams, e.g. you call MediaPlayer.setDataSource("http://yourhost.com/yourfile.mp3";), or are you really downloading the file first,

[android-developers] Re: how to implement scrolling text?

2009-03-04 Thread soniya
I have downloaded the latest SDK i.e. Android 1.1 but I am not able to run the API demo for Marquee. It does not work The text remain static. Do I need to do any setting or something to view that? On Jan 31, 1:51 am, Romain Guy wrote: > Note that cupcake will have themarqueefeature on TextVi

[android-developers] How to get a "vertical spinner" like used in TimePicker?

2009-03-04 Thread Eugene M
Hi everyone, The TimePicker widget includes two "vertical spinners" that let the user pick the hour and minute. How can I make my own "vertical spinner" to let the user pick an arbitrary number from a range of values? The available Spinner class is more like a drop-down list, while I want somethi

[android-developers] What is wrong with this layout

2009-03-04 Thread idev
http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/bkg" > I cannot understand what is wrong with this layout. I ke

[android-developers] Re: Text writing pad

2009-03-04 Thread Avraham Serour
you mean virtual keyboard? AFAIK they did code that for the new version of the htc, which comes without a keyboard On Wed, Mar 4, 2009 at 12:51 PM, Muthu Kumar K. wrote: > > Hi All, > Do we have text writing pad in android like iPhone? If any possible > idea please give me your thoughts. > > Tha

[android-developers] Getting options menu in a child preference screen

2009-03-04 Thread Ridhish
Hi, I've been trying to get it done for a while but havent been able to. The exact description of my problem is mentioned below. I have a preference screen embedded within another. So the inner one is part of the same activity. I am able to bring up the options menu in the parent preference

[android-developers] Where can I find a app for my gps test?

2009-03-04 Thread www_...@yahoo.com.cn
Hi all, I need a GPS application on android so I can test my gps function. Can any one who knows and being so kind to tell me about? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] Re: Problem in setting empty views in a list

2009-03-04 Thread Tomce
If you didn't find already api demos list_8 example is your solution. --~--~-~--~~~---~--~~ 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.co

[android-developers] Re: database not open error

2009-03-04 Thread shital k
Hello All, I just want a small help. How can we do Zoom In/Zoom out using gchart and gwt? Thanks, Shital --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Android with RFID reader

2009-03-04 Thread david05software
I want to develop an application on android which needs RFID technology, But I have little information about the RFID on android. Could some one konw some information about the RFID on android? Or dose the RFID reader on android have been developed now? Thanks very much. --~--~-~--~~-

[android-developers] Help using autocomplete in my database.....

2009-03-04 Thread aljo
i'm kinda new to this android application and still a newbei to programming so hope someone could help me i've created an SQLite database program.. but i don't know how to use the autocomplete function to access my database... here's my code: -

[android-developers] Re: Button On Map

2009-03-04 Thread geminlite
hi.. i have difficulty in adding buttton on map ? can help? thx in adv Geminlite On Feb 9, 10:29 pm, Cadge wrote: > Hi, > > Don't know if this will still be useful, but here goes. > > To bring up a map on the emulator I have 3 different parts: > > 1) A Class that extends MapActivity > > Somethi

[android-developers] Can only hear sound when playing video

2009-03-04 Thread zypsg
Hi, A surprising problem occurs when I try to play Video, I can only hear the sound part of the video. My code snippet is below: public class VideoDemo extends Activity { public static final int MENU_PLAYER=Menu.FIRST; public static final int MENU_VIDEO=MENU_PLAYER+1; pri

[android-developers] Setting clickable on individual ListView's ChildViews

2009-03-04 Thread chiizuf...@googlemail.com
Hi, I'm in a situation where I have a ListView in which I want some of the entries to be clickable and some not to be. Setting listView.setClickable(false) disables clicks on everything even if textView.setClickable(true) is set when the child view is being added in my customised ArrayAdapter. Co

[android-developers] Re: Request to device test the Android Application

2009-03-04 Thread www_...@yahoo.com.cn
HI, Please send me the application,and i can test it for you. On 2月26日, 上午12时05分, nitichandra ingle wrote: > Hi, > > We have been developing mobile applications for various mobile platforms > and have recently started Android development. We are facing a small problem > and looking for a vo

[android-developers] Re: KML Support in Maps Application

2009-03-04 Thread Frederic
Hi Chander, I tried your example and it works fine (thank you). Did you manage to use a kml file stored on the sdcard or on the local file system ? I tried to do this, without success. Regards, Frédéric On Feb 10, 3:00 pm, Chander Pechetty wrote: > Ok posting my own answer: > Sending an Intent

[android-developers] Re: developer.android.com breaks on G1 ?

2009-03-04 Thread CKinniburgh
I believe I have noticed this, or a similar issue on an iPhone today. The Dev guides were cut off at the bottom of the page. On Mar 3, 9:19 pm, Sen wrote: > Has anyone noticed that if you try to browse the Reference section of > developer.android.com, it doesn't let you scroll down to the bottom

[android-developers] Re: Spreadsheet-like Grid?

2009-03-04 Thread Advanceroot
I wonder the answer too... if we need implement it by app programer, where to start? 2009/3/3 Miguel Paraz > > Hi, > Is it possible to build a spreadsheet-like grid? I would like to > select single cells, or one row at a time,like a database viewer. > > Or would it need to be implemented at the

[android-developers] Adding frame to an image

2009-03-04 Thread balakrishna...@gmail.com
Hi, How to add an image to a frame with round corners. As Im new to android platform. So, could someone post the solutions. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: Question about Preference Screen

2009-03-04 Thread Ridhish
how do i create the options menu for the child preference screen ? On Feb 10, 8:33 am, robert wrote: > Dear Christoph >     I got the non-null return from inner screen, just like you said, > thanks a lot for your help! > > On Feb 10, 10:27 am, Christoph Studer wrote: > > > From the code > > he

[android-developers] Re: crash in com.android.camera after calling Images.Media.insertImage

2009-03-04 Thread tassie
I've been blocked on this problem as well. To recap, if you do this on a T-Mobile G1: String test = Images.Media.insertImage(getContentResolver(), bm, "title", "desciption"); And then launch the photo viewer, the photo viewer crashes reliably. You have to reset the phone to look at your images

[android-developers] One adapter for different adapter views - how to specify proper layout for the view?

2009-03-04 Thread (Mishail)
Greetings, I want to re-use 1 adapter (similar to well known ImageAdapter from samples) with 2 different views - Gallery and GridView. I need to specify LayoutParams for the each View returned by getView() method of my adapter. In case of Gallery it should be instance of Gallery.LayoutParams, an

[android-developers] Marquee Api demo

2009-03-04 Thread soniya
I downloaded the Android SDK 1.1 and tried to run the Marquee demo (API Demos -> Text ->Marquee). But the program is not working .The text is static and does not move :( Did any one try this demo? And is it working?? Please help! --~--~-~--~~~---~--~~ You recei

[android-developers] Porting to Different Hardware

2009-03-04 Thread sukku
Hi Androids, I am new to this group. I would like to testing out this open source OS, but I don't have google specific hardware(T1 or ADP). Is there any option to port this OS to some Nokia mobiles or china mobiles. If possible, please some one provide me the details. Thanks in advance. Regar

[android-developers] Re: Issue in openintents simulator, after running directly going to "Connection settings" page instead of my desired page

2009-03-04 Thread (Mishail)
It's OK since your activity starts OpenIntents by startActivity (intent); Your activity should resume after exiting from openintents. But please make sure that you granted "android.permission.INTERNET" for your application, see http://code.google.com/p/openintents/wiki/SensorSimulator, comments

[android-developers] OpenGL ES problem: Trouble loading a bitmap texture (comes out blue)

2009-03-04 Thread min...@gmail.com
Hello all, If I set the texture before hand, the texture loads correctly. For that I used the following code I found in one of the open gl es samples (TriangleRenderer). ... InputStream is = mContext.getResources().openRawResource(mTexture); Bitmap bitmap = BitmapFactory.decodeResource(mCo

[android-developers] ImageButton with different image for rollover/focus

2009-03-04 Thread idev
Hi Is it possible to change an image of an ImageButton or background image of a Button when the focus comes to that control (in XML or in code)? Or alternatively, is there a way to find out when the user has just pressed a button (but onClick not called. I am assuming onClickListener is called on

[android-developers] Accessibility features

2009-03-04 Thread Tiago de Freitas Pereira
Hi, Is there a way to get OS messages in Android? I'm looking for an API like MSAA. Is there an API that do this, or something similar, in Android? Thanks Tiago de Freitas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-03-04 Thread Paper Coder
"...but I don't think most people see these products as consumables in the same way you do" Perhaps not. But I think this is what will keep the Android Market from being as big as the iPhone App Store. For the most part, people don't go into Game Stop, buy the newest Xbox 360 game on Friday, pla

[android-developers] Re: Rotate PNG (Bitmap) around a set pivot

2009-03-04 Thread Kather Jailani
Draw a line from the pivot, do a XOR of the previously drawn line so that it will be undrawn/removed frm the screen then draw the new line, this how I did a small clock app in Windows On Mar 3, 2009 10:35 PM, "xspotlivin" wrote: I'm creating an application that includes a clock. I will only hav

[android-developers] Re: onTouchEvent in MapActivity

2009-03-04 Thread Šikus
I recomend use for tatching a display: @Override public boolean dispatchTouchEvent(MotionEvent ev) {//dotek prstem if(ev.getAction() == KeyEvent.ACTION_DOWN) { Log.w("Uri.onCreate", "a1"); } } } --~--~-~--~~-

[android-developers] Cupcake Release end March

2009-03-04 Thread Tee
Hi. I have a so called reliable resource who works in the T-mobile store, and so far he has been right about anything to do with G1. He predicted the OTA release, and that was right, but he has also said T- mobile will be releasing the cupcake to t-mobile customers in uk end of March. Of course

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Giorgio M.
Ok i will try to put the DNS within the init.rc. Is there an exact position within the init.rc for the setprop command? - Original Message - From: "David Turner" To: android-developers@googlegroups.com Subject: [android-developers] Re: Set the DNS from an activity Date: Wed, 4

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Al Sutton
Instructions for which are at the end of that link. Al. David Turner wrote: > > > On Wed, Mar 4, 2009 at 3:15 PM, Al Sutton > wrote: > > > If it's a fixed DNS server; > > > then a trivial fix is to modify the init.rc file to setup the property > on boot. > >

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread David Turner
On Wed, Mar 4, 2009 at 3:15 PM, Al Sutton wrote: > > If it's a fixed DNS server; > then a trivial fix is to modify the init.rc file to setup the property on boot. > > http://forum.koolu.org/viewtopic.php?f=10&t=61&p=432&hilit=DNS#p432 > > > Al. > > Giorgio M. wrote: > > I use the android p

[android-developers] Re: When to setResult for onActivityResult

2009-03-04 Thread Chronos
Thanks for your input ;) I'm also discussing this with my colleagues - and I consider this either a bug or a design flaw... onPause() should be guaranteed to run before onActivityResult() - in more detail: setResult() in onPause() should have an effect in onActivityResult(). On Mar 4, 3:03 pm,

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Al Sutton
dhcpd has "issues" in the current Koolu beta ; http://forum.koolu.org/viewtopic.php?f=10&t=61&p=371&hilit=DNS#p371 Al. David Turner wrote: > > > On Wed, Mar 4, 2009 at 2:50 PM, Giorgio M. > wrote: > > I use the android port on the freerunner and we have this p

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Al Sutton
If it's a fixed DNS server; http://forum.koolu.org/viewtopic.php?f=10&t=61&p=432&hilit=DNS#p432 Al. Giorgio M. wrote: > I use the android port on the freerunner and we have this problem. > > I have to set the DNS manually (setprop net.dns1 xxx.xxx.xxx.xxx) each > time from the shell, and it's

[android-developers] Re: developer.android.com breaks on G1 ?

2009-03-04 Thread Jean-Baptiste Queru
Yes, it's a known issue. From what I know the browser in android has issues with CSS overflow on divs. JBQ On Tue, Mar 3, 2009 at 7:19 PM, Sen wrote: > > Has anyone noticed that if you try to browse the Reference section of > developer.android.com, it doesn't let you scroll down to the bottom o

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread David Turner
On Wed, Mar 4, 2009 at 2:50 PM, Giorgio M. wrote: > I use the android port on the freerunner and we have this problem. > > I have to set the DNS manually (setprop net.dns1 xxx.xxx.xxx.xxx) each time > from the shell, and it's very annoying... > > I'm looking for a more easy way to do it. > This

[android-developers] Re: When to setResult for onActivityResult

2009-03-04 Thread Stoyan Damov
So you really don't want to *return*, hence the setResult() isn't appropriate in your case. You just want to communicate something back to the parent activity, is that right? In this case you want to use a broadcast receiver. Cheers On Wed, Mar 4, 2009 at 3:28 PM, Chronos wrote: > >> You should

[android-developers] Re: Sell applications on market

2009-03-04 Thread Stoyan Damov
"I love deadlines. I like the whooshing sound they make as they fly by." Douglas Adams Cheers ;) On Wed, Mar 4, 2009 at 3:37 PM, Al Sutton wrote: > > And ADC II was due by the end of last year. > > bouvetloz...@gmail.com wrote: >> "we will enable priced app support in Q1 for developers oper

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Cédric Berger
On Wed, Mar 4, 2009 at 14:50, Giorgio M. wrote: > I use the android port on the freerunner and we have this problem. > > I have to set the DNS manually (setprop net.dns1 xxx.xxx.xxx.xxx) each time > from the shell, and it's very annoying... > > I'm looking for a more easy way to do it. > > Hope y

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Giorgio M.
I use the android port on the freerunner and we have this problem. I have to set the DNS manually (setprop net.dns1 xxx.xxx.xxx.xxx) each time from the shell, and it's very annoying... I'm looking for a more easy way to do it. Hope you can help me. thanks - Original Message - From

[android-developers] Re: Antialias transformed bitmap ??

2009-03-04 Thread quakeboy
Thank you very much. I used the following code to get it filtered and looking nice even after rotating it with non 90 multiple degrees and scaling it. In constructor == PaintFlagsDrawFilter setfil = new PaintFlagsDrawFilter(0, Paint.FILTER_BITMAP_FLAG); PaintFlagsDrawFilt

[android-developers] Re: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-03-04 Thread Al Sutton
I'm getting more and more tempted to open up paid-for apps on AndAppStore where all payments go directly to the developers account so they can set the T&Cs. Would this be something people would be interested in? Al. Semprebon wrote: > It would be nice if some other pricing models were availab

[android-developers] Re: Sell applications on market

2009-03-04 Thread Al Sutton
And ADC II was due by the end of last year. bouvetloz...@gmail.com wrote: > "we will enable priced app support in Q1 for developers operating in > these countries in the following order: (1) United States and UK; (2) > Germany, Austria and Netherlands; (3) > France, Italy and Spain. By the en

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Al Sutton
Why would there be?, as I said before to allow it creates a security problem. Al. Giorgio M. wrote: > Are there other ways to do it from an application? (e.g. executing a > shell command) > > thanks > > - Original Message - > From: "Al Sutton" > To: android-developers@googl

[android-developers] Re: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-03-04 Thread Semprebon
It would be nice if some other pricing models were available (for example, subscriptions), but I just don't see a "no returns" or even a "no returns after 1 hour" model being very popular with users. I may be wrong, but I don't think most people see these products as consumables in the same way yo

[android-developers] Re: Sell applications on market

2009-03-04 Thread bouvetloz...@gmail.com
"we will enable priced app support in Q1 for developers operating in these countries in the following order: (1) United States and UK; (2) Germany, Austria and Netherlands; (3) France, Italy and Spain. By the end of Q1 2009, we will announce support for developers operating in additional countries

[android-developers] Re: When to setResult for onActivityResult

2009-03-04 Thread Chronos
> You should set the result when your child activity is about to exit - > for example I set the result from my child activity when a button is > clicked and just before exiting it, e.g.: > > // in a button click handler > setResult(...); > finish(); This is the way they do it in the samples, but

[android-developers] Re: When to setResult for onActivityResult

2009-03-04 Thread Stoyan Damov
On Wed, Mar 4, 2009 at 2:41 PM, Chronos wrote: > > Thanks for the idea - but this is not my problem: the result sent is > the result I set in the onCreate method (a default result); if I fail > to do this, I will get a java.lang.NullPointerException, which > underlines my point - setResult() in o

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Giorgio M.
Are there other ways to do it from an application? (e.g. executing a shell command) thanks - Original Message - From: "Al Sutton" To: android-developers@googlegroups.com Subject: [android-developers] Re: Set the DNS from an activity Date: Wed, 04 Mar 2009 11:52:58 + It

[android-developers] Re: Rotate PNG (Bitmap) around a set pivot

2009-03-04 Thread Mark Murphy
xspotlivin wrote: > I'm creating an application that includes a clock. I will only have an > hour hand, which will be a PNG file rotating around a pivot. I want to > update its angle every 4 mins (1 degree on a 24-hour clock). Does > anyone have an idea of how to rotate an image around a specific

[android-developers] Re: When to setResult for onActivityResult

2009-03-04 Thread Chronos
Thanks for the idea - but this is not my problem: the result sent is the result I set in the onCreate method (a default result); if I fail to do this, I will get a java.lang.NullPointerException, which underlines my point - setResult() in onPause() is too late; my activity is not cancelled either

[android-developers] Re: Sell applications on market

2009-03-04 Thread deepdr...@googlemail.com
depends on where you live .. -- http://www.deepdroid.com On 4 Mrz., 12:33, "bouvetloz...@gmail.com" wrote: > Unfortunately 'soon' realistically means this year. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Andr

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Al Sutton
It's not possible because it would create a security hole where applications could make users think they were going to www.mybankingsite.com whereas the DNS servers could be configured to send them anywhere. Al. Giorgio M. wrote: > Anyone knows how i can set the DNS address from an activity?

[android-developers] Re: When to setResult for onActivityResult

2009-03-04 Thread Stoyan Damov
Actually read carefully http://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent,%20int) On Wed, Mar 4, 2009 at 1:31 PM, Stoyan Damov wrote: > Re: > > - setResult() in client.onPause() is called TOO LATE; the result has > already been transmi

[android-developers] Re: HTML login form works in Android browser and fails with WebView ?

2009-03-04 Thread for android
webView = (WebView) findViewById(R.id.webView); String url = "http://www.flickr.com/";; webView.setWebViewClient(new AuthWebViewClient()); webView.getSettings().setJavaScriptEnabled(true); webView.getSettings().setLoadsImagesAutomatically(true); webView.loadU

[android-developers] Re: Sell applications on market

2009-03-04 Thread bouvetloz...@gmail.com
Unfortunately 'soon' realistically means this year. --~--~-~--~~~---~--~~ 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 fr

[android-developers] Re: When to setResult for onActivityResult

2009-03-04 Thread Stoyan Damov
Re: - setResult() in client.onPause() is called TOO LATE; the result has already been transmitted to the parent (although the method client.onPause() seems to be called in time). If the result has been already set, this means that the result value is CANCELLED immediately after your child activi

[android-developers] Set the DNS from an activity

2009-03-04 Thread Giorgio M.
Anyone knows how i can set the DNS address from an activity? thanks -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "An

[android-developers] Re: HTML login form works in Android browser and fails with WebView ?

2009-03-04 Thread Derek
Thanks but the problem is still here. However, If i remove: webview.setWebViewClient(new AuthWebViewClient()); then I notice that with setSupportMultipleWindows(true); it opens a new Android browser windows when I click to "Submit" button but the page displayed is not the correct one. I'm wonderin

[android-developers] When to setResult for onActivityResult

2009-03-04 Thread Chronos
Hello there ;) I have some - maybe simple - problem; unfortunately I cannot find a solution: I have two activities which communicate via: startActivityForResult(), setResult(), onActivityResult. I will call the first activity "parent" and the second one "client", although this may not be technic

[android-developers] Re: Sell applications on market

2009-03-04 Thread deepdr...@googlemail.com
Currently only people in US or UK can sell (and buy) apps on the market. I think that is why only these countries can be selected for setting up a merchant account. I expect more countries to become available there soon. I'm waiting for paid apps availability as well ... http://www.deepdroid.com

[android-developers] Text writing pad

2009-03-04 Thread Muthu Kumar K.
Hi All, Do we have text writing pad in android like iPhone? If any possible idea please give me your thoughts. Thanks in Advance, Muthu Kumar K. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Re: Whether Emulator supporting sensor Listener

2009-03-04 Thread nithin
Thanks David, i got it, what i need is motionevent only... thanks for your reply Nithin On Mar 4, 12:58 pm, David Turner wrote: > Fwiw, sensors are for accelerometer, compass, etc...the touch screen is not > related to sensor listeners. > > On Wed, Mar 4, 2009 at 5:20 AM, Nithin wrote: >

[android-developers] Re: Android application without UI

2009-03-04 Thread Javier Segura
Oh, it's a nice clue. I've used a transparent theme and it's ok :) Many thanks On Tue, Mar 3, 2009 at 6:39 PM, Peli wrote: > > Either use a broadcast intent, or set your Activity theme to > transparent. > > Peli > www.openintents.org > > On 1 Mrz., 17:58, Javier Segura wrote: >> Hello All,

[android-developers] Any way to get the global application object before activity is created?

2009-03-04 Thread Wang, Xin
Hi, I am trying to write some test instrumentation codes. I need to use the global application object. I know activity class provides an interface getApplication() to get the object, but I want to use it before the activity is created. Any way to get that object? Thanks, Wang Xin --~--~-

[android-developers] Re: Regarding ADB "offline" message

2009-03-04 Thread vrukesh
One more observation: when we type the command "setprop persist.service.adb.enable 1", target goes in "hang" state. -Vrukesh On Mar 4, 1:17 pm, Al Sutton wrote: > Yup, kill-servered, re-installed drivers, muttered secret incantation of > the frustrated smartphone user. > > Nothing worked. > > So

[android-developers] Sell applications on market

2009-03-04 Thread Manfred
Hi! Is it already possible for people outside US and GB to sell applications on the market? Because i want to set up a merchant account and on the form it is only possible to choose between US/GB for my location!? May this is only possible when we will receive the android update (market is then

[android-developers] Re: Will it work if I setListViewAdapter dynamically?

2009-03-04 Thread Eric Chan
just need refresh list Best Regards Eric Chan On Wed, Mar 4, 2009 at 4:45 PM, Romain Guy wrote: > > It will work :) > > On Wed, Mar 4, 2009 at 12:39 AM, olko wrote: > > > > I am trying to change ListView adapter on the fly like this (the > > AdapterMain* extends BaseAdapter): > > > >

<    1   2   3   >