[android-developers] Re: Update all the contacts belonging to one group

2009-09-29 Thread 6real
Dear Mark, your solution sounds really great but I discovered that it is just ... impossible to make some bulk operation on contacts (at least until release r3). I then optimized my code to update just what has to be updated. Thanks you by the way for your answer. C. On 28 sep, 14:19, Mark

[android-developers] Re: Can't see my USB connected Galaxy in the adb devices command

2009-09-07 Thread 6real
. I think we can compile that on the platform source code.. I will try that and send to you~ But, it will take someday... On Aug 29, 3:50 am, 6real xirgon...@gmail.com wrote: Dear all, I am under Mac OS X 5.8 I have a SamsungGalaxywith the G8 update I configuremyphone

[android-developers] Can't see my USB connected Galaxy in the adb devices command

2009-08-29 Thread 6real
Dear all, I am under Mac OS X 5.8 I have a Samsung Galaxy with the G8 update I configure my phone with the following parameters: Settings Application Unknown sources (checked) Settings Application Development USB Debug checked Settings About this phone Advanced Parameters Mass storage

[android-developers] Launching a service from a TabActivity

2009-08-04 Thread 6real
Dear all, I'd like to start a service from a tabactivity (I first tried in the activity launched for a tab but it seems taht there is a technical limitation). So inside my TabActivity I defined a method named startService() which is quite simple : instanciate a new Intent call the method

[android-developers] Re: Launching a service from a TabActivity

2009-08-04 Thread 6real
I apologize but I solved my issue : 1 - I made a mistake in my manifest.xml since I changed my packages 2 - the same code in another activity make the same error. Sorry for polluting the group. Rgds, C. On 4 août, 12:27, 6real xirgon...@gmail.com wrote: Dear all, I'd like to start

[android-developers] Re: App not visible in Android Market of Samsung Galaxy

2009-07-25 Thread 6real
Dear Dan (and others), I exaclty have the same issue with my application 'veloid' I can't see it in my Galaxy/Bouygues Telecom. i can't neither see Wonderstock. My app is copy-protected and seems correctly published. here are the properties of my phone Galaxy Samsung Android 1.5 Kernel :

[android-developers] TabHost :: Changing tab content with intents dynamically

2009-07-21 Thread 6real
Dear all, I have a tabactivity with several tabs. They are all defined with intents. On one tab, I have an action that needs to bring me to another tab and with a specific data. I worked with Intents and I broadcast them to change the tab. For that I have no problem. But I am facing an issue

[android-developers] Re: How to implement a button in a widget

2009-05-09 Thread 6real
people click on yourbutton.  You could also use any View, not justButton. Here's how the Musicwidgetis connecting up its buttons: http://android.git.kernel.org/?p=platform/packages/apps/Music.git;a=b... j On Wed, May 6, 2009 at 7:38 AM, 6real xirgon...@gmail.com wrote: Dear all, I

[android-developers] How to implement a button in a widget

2009-05-06 Thread 6real
Dear all, I try to create a widget and I am now wondering how to be able to put a button on my widget and set its onClickListener. It seems that we are limited to the RemoteViews... OK I can deal with that (but this is a limitat to me) but I'd like to add a button where the user can request an

[android-developers] AbsoluteLayout deprecated ... a simple example to be complaint with 1.5 SDK ?

2009-05-04 Thread 6real
Hello, could someone give a simple example to replace an AbsoluteLayout with Frame and Relative Layout ? Example : I have to put a view on my screen with the position x, y and with a width/height of w and h... How do I do that without AbsoluteLayout ? Actually I will change it on my app but I

[android-developers] Re: How get current layout object?

2009-05-04 Thread 6real
Hi, did you try to : give an ID to your layout find it with the findViewById method then you can add your view. Rgds,, C. On May 4, 11:28 am, rjy...@gmail.com rjy...@gmail.com wrote: Hi    I create a application and the main activity reference by the main.xml. The main.xml has a

[android-developers] Can't upload my app in the market ! Market requires the minSdkVersion to be set in AndroidManifest.xml.

2009-04-24 Thread 6real
Dear all, since today I have the following clear message : Market requires the minSdkVersion to be set in AndroidManifest.xml. but my manifest has the line : uses-sdk minSdkVersion=2 / and I also tried even uses-sdk minsdkversion=2 /... I try to put this line : as the first child of

[android-developers] Re: Can't upload my app in the market ! Market requires the minSdkVersion to be set in AndroidManifest.xml.

2009-04-24 Thread 6real
Yes it works : uses-sdk android:minSdkVersion=2 / as first manifest child. THX !!! On 25 avr, 04:22, clark clarkd...@gmail.com wrote: Mark, You're right, I was very unclear there.  I apologize as well. So it seems the solution so far is to put uses-sdk android:minSdkVersion=1 /, or

[android-developers] How to change the canvas of a clickable view (LinearLayout) for few milliseconds when clicked?

2009-03-31 Thread 6real
Dear all, I have a custom view that draw a rounded rectangle. This view is clickable. I would like to change the color of the inner rectangle when the view is clicked (to act like a button) So I created a swapColor() method inside my custom view : public void swapColor() {

[android-developers] Get a GPS location :: Need to open Maps to get the getLastKnownLocation return a correct value.

2009-03-27 Thread 6real
Dear all, I am facing a strange issue and I'm certainly doing something wrong ... Here is the scenario : I open my emulator I send a geo fix via telnet I open my app and try to be geolocated... getLastKnownLocation return null (the first time, or the last position after opening Map), my code is

[android-developers] Re: MapView and Zoom Control in 0.9 SDK

2008-08-25 Thread 6real
Guys you are lucky, I even can't display zoom control :-) and I can't drag my map ... --~--~-~--~~~---~--~~ 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: MapView and Zoom Control in 0.9 SDK

2008-08-25 Thread 6real
:10 am, 6real [EMAIL PROTECTED] wrote: Guys you are lucky, I even can't display zoom control :-) and I can'tdragmymap... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: MapView and Zoom Control in 0.9 SDK

2008-08-25 Thread 6real
My issues : - Can't display the zoom control dialog after a long click. I called the longclickable method and implemented an onlongclicklistener. The onlongclick method is never called. - Can't drag the map. It open the map and i am unable to move it as in the standard map application. I try

[android-developers] Re: Destroying a view

2008-08-25 Thread 6real
Yes the method removeView is there for that purpose. The garbage collector manage the memory. Rgds, On Aug 25, 9:42 am, Teo [EMAIL PROTECTED] wrote: Is it possible to destroy a view and recreate it? I'm looking into this as a workaround for TabHost's inability to delete tabs (properly).

[android-developers] Unable to display maps in API Demo

2008-08-25 Thread 6real
Hi guys, I can't play with the MapView in API Demo. I just have a blue sky screen and LogCat returns the folowing : 08-25 13:19:32.578: INFO/ActivityManager(45): Starting activity: Intent { comp={com.android.samples/ com.android.samples.view.MapViewDemo} } 08-25 13:19:32.618:

[android-developers] Re: MapView and Zoom Control in 0.9 SDK

2008-08-25 Thread 6real
Thanks for your code ! I miss setClickable and I also found setEnabled. My code ran on the previous SDK ... I don't know if it is usefull to indicate this on the migration tips... On 25 août, 19:24, marcel-182 [EMAIL PROTECTED] wrote: Thanks for the code. I have just one remark:

[android-developers] Overlay never displayed in MapView

2008-08-23 Thread 6real
Dear all, I am facing an issue with an overlay display (again while migrating to 0.9). I add an verlay this way Log.d(MAP, add overlay); myMapOverlay = new MyStationsOverlay(this, nearestFullStations); mapViewFromXML.getOverlays().add(myMapOverlay); mapViewFromXML.postInvalidate(); But the

[android-developers] Re: 0.9 and simple database management issue ?

2008-08-21 Thread 6real
Thanks! I am gonna watch. I didn't know that. Rgds C. On Aug 20, 11:43 pm, Megha Joshi [EMAIL PROTECTED] wrote: Can you compare your code against the NotePad tutorial and see , NotePad tutorial uses SQliteOpenHelper... On Wed, Aug 20, 2008 at 11:10 AM, 6real [EMAIL PROTECTED] wrote

[android-developers] Re: 0.9 and simple database management issue ? [SOLVED]

2008-08-21 Thread 6real
! 6real wrote: Still not work :-( I have changes the method to copy the tutorial. Actually it seems the onCreate method is never called, even when I call getWritable or getReadable ! I saw this behaviour thanks to breakpoints in debug mode. Nobody as such issues ? On Aug 21, 9:17�am, 6real

[android-developers] Re: how can i save a class instance in the android application context

2008-07-25 Thread 6real
I don't know exactly what will be your final choice but you maybe should think to implements a Singleton pattern : http://radio.weblogs.com/0122027/stories/2003/10/20/implementingTheSingletonPatternInJava.html Personnaly I have a class named ConfigurationContext with only static variables that

[android-developers] Re: how can i save a class instance in the android application context

2008-07-25 Thread 6real
 and 6real for your response; I've a question : can i acess to an object A stored in a Application object from a simple class java? because me i need to store an instance of a class A on starting of my android application,later this instance A must be accessed by other simple classes java included

[android-developers] Title bar color and style

2008-07-22 Thread 6real
Hello, I have an issue with the definition of a style for my app. I'd like to change the background color of the titles bar. I found that the only way to do is to use styles and it's fine but ... I can't succed in defining my styles.xml file from the documentation. I read the doc on classes

[android-developers] Re: Show a (progress) dialog in the onClick event of an alert dialog

2008-07-01 Thread 6real
processes in your main UI thread then UI events (like open ProgressDialog) will not work. I wrote a small tutorial which may help:http://www.helloandroid.com/node/243 -- Zach Hobbs HelloAndroid.com Android OS news, tutorials, downloads On Monday 30 June 2008 11:55:31 6real wrote: Dear all

[android-developers] Location providers :: Default provided by phones ?

2008-06-04 Thread 6real
Dear all, I have developped an application that needs a location provider (LP in the rest of my post). Everything works fine but regarding the real life of my application I have the following questions : 1/ What will be the default LPs provided by phones (they can either own an internal GPS or

[android-developers] Re: Thread and onCreate ?

2008-05-06 Thread 6real
will not executed the code in the thread. On Mon, May 5, 2008 at 10:39 AM, Hielko [EMAIL PROTECTED] wrote: what happends when you put an infinite loop inside your thread? On 5 mei, 19:33, 6real [EMAIL PROTECTED] wrote: Dear all, I don't understand the behavior of the Activity and thread

[android-developers] Re: RadiogroupLinearLayoutRadioButton

2008-05-02 Thread 6real
Ok guys, thanks all for your answers. Actually this is a point of design so I will developp my app with this constraint and if one day it is possible to do what I expect then I will change my code. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Edit Text Max Limit charactars

2008-05-02 Thread 6real
You seem in a hurry (!) OK so actually I don't have the javadoc under my eyes but here are some clues : 1 - add a listener on you textview (on change listener or seomething like that) 2 - in the onChange() (or similar) check the lenth of the text of yourt text view. 3 - if it is greater than n

[android-developers] RadiogroupLinearLayoutRadioButton

2008-04-30 Thread 6real
Dear all, here is what I would like to have as structure (for personnal look and feel reasons) : Radiogroup `- LinearLayout `-RadioButton1 `- LinearLayout `-RadioButton2 `- LinearLayout `-RadioButton3 So I can build it but the point is that the

[android-developers] Re: Bug :: Spinner + arrays of numbers in array.xml

2008-04-30 Thread 6real
Thks for your answers ! It was really helpfull for me ! Rgds --~--~-~--~~~---~--~~ 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] Re: RadiogroupLinearLayoutRadioButton

2008-04-30 Thread 6real
-- The radiogroup where I add dynamically the radiobutton On Apr 30, 2:08 pm, Mark Murphy [EMAIL PROTECTED] wrote: 6real wrote: here is what I would like to have as structure (for personnal look and feel reasons) : Radiogroup `- LinearLayout `-RadioButton1

[android-developers] Bug :: Spinner + arrays of numbers in array.xml

2008-04-28 Thread 6real
Here is the content of the file /res/values/array.xml : ?xml version=1.0 encoding=UTF-8? resources array name=filter_values item1/item item2/item item3/item item4/item item5/item item6/item