Re: [android-developers] Re: How to improve image quality in Android Webkit (comparing with iOS)

2012-11-03 Thread huberte
Hi, Le jeudi 1 novembre 2012 16:00:52 UTC-4, Anthony Prieur a écrit : Sorry I've no example myself, you would find on the net. Nope didn( find any. Anyone to explain why the result is so poor on Android comparing with iOS dealing with image on CSS/html ? -- You received this message

[android-developers] Re: How to improve image quality in Android Webkit (comparing with iOS)

2012-11-01 Thread huberte
thanks Anthony, may I have a code example please ? Le mercredi 31 octobre 2012 06:39:24 UTC-4, Anthony Prieur a écrit : You might get better results trying to use the Javascript 'viewport'. Le mardi 30 octobre 2012 16:24:26 UTC+1, huberte a écrit : Trying to load http://www.sciences

[android-developers] How to improve image quality in Android Webkit (comparing with iOS)

2012-10-30 Thread huberte
Trying to load http://www.sciences-physiques.eu/appli/oneimage/ both in iOS and Android (SGS2). Image is 1600*2262 The result is a better image on iOS. I know android can do better, because I had an application with such big image downsized, and the text was clearer. I red a lot about

[android-developers] Re: How to improve image quality in Android Webkit (comparing with iOS)

2012-10-30 Thread huberte
thanks a lot bob, for your answer Le mardi 30 octobre 2012 12:04:29 UTC-4, bob a écrit : Please see the following method in this class: *android.graphics.Bitmap* I did not need this, when programming in eclipse : ImageView image = (ImageView) findViewById(R.id.imageview); And voilà,

[android-developers] How can i program a tree of multiplechoices that ends on an image depending of the choices

2012-05-17 Thread huberte
I have 3 buttons at start. when u press on one of those buttons, it put layout properties on gone or viewable. I end up with a tree of 3 columns, with approximatively 40 to 50 buttons. First, i think this isnt good. wich tools can i use to manage so many choices ? Second, the final buttons

[android-developers] Re: java.lang.OutOfMemoryError on 4.0.3 APV and phone not in 2.1 2.3

2012-05-17 Thread huberte
I dont understand what you mean, could you be more specific or post a code example ? thks Le jeudi 17 mai 2012 04:06:36 UTC-4, Solution 9420 a écrit : hi, Just want to share with U that I also experienced the same scenario when I did the compatibility test of my app (9420 Tablet Keyboard)

[android-developers] java.lang.OutOfMemoryError on 4.0.3 APV and phone not in 2.1 2.3

2012-05-16 Thread huberte
I used the method from Renaud here http://stackoverflow.com/questions/7524725/android-passing-variable-from-intent-extra-to-imageview/10604079#10604079 This works fine on 2.1 2.3 phone and AVD when I tunr the phone from landscpae to portrait and vice versa Not in 4.03 phone and AVD, I get a

Re: [android-developers] Image scaled, scroll, zoom, without margin

2012-05-14 Thread huberte
I did android:adjustViewBounds=true android:scaleType=fitXY great on portrait mode, but landscape does not fit, why ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Image scaled, scroll, zoom, without margin

2012-05-14 Thread huberte
In scrollview width=fill_parent works, but the image is ugly Le lundi 14 mai 2012 02:47:50 UTC-4, huberte a écrit : I did android:adjustViewBounds=true android:scaleType=fitXY great on portrait mode, but landscape does not fit, why ? -- You received this message because you

Re: [android-developers] Re: Add application licencing to apk

2012-05-14 Thread huberte
You were right Jteagle, I switched and it's a;looot easier ! Le lundi 7 mai 2012 13:57:17 UTC-4, JTeagle a écrit : Take a look at the instructions here: http://developer.android.com/guide/market/licensing/setting-up.html#add-library Particularly, look a few lines down where it starts If

Re: [android-developers] Image scaled, scroll, zoom, without margin

2012-05-14 Thread huberte
here the code, it's working : ?xml version=1.0 encoding=utf-8? ScrollView android:id=@+id/scrollView1 android:layout_width=wrap_content android:layout_height=wrap_content xmlns:android=http://schemas.android.com/apk/res/android; ImageView android:id=@+id/exp1_image

[android-developers] Image scaled, scroll, zoom, without margin

2012-05-13 Thread huberte
Hi, A very easy thing, I thought. Have an image : exp1.png, which I want to fit the screen in landscape or portrait, and wish that the user can scroll this image. Tell me please, if I do that correctly : 1. I did copy different resolution in xhdpi (1024x) hdpi(640x) and

[android-developers] Re: Equally verticaly spaced button

2012-05-12 Thread huberte
android:layout_width=fill_parent android:layout_height=wrap_content android:text=button 3/ View android:layout_width=fill_parent android:layout_height=0dp android:layout_weight=1/ /LinearLayout Le jeudi 10 mai 2012 23:04:34 UTC-4, huberte a écrit : I tried this with no luck : ?xml version=1.0

[android-developers] Menu : Handling click events : DialogBox

2012-05-12 Thread huberte
I did red http://developer.android.com/guide/topics/ui/menus.html http://developer.android.com/guide/topics/resources/menu-resource.html I wrote this in main activity @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater();

[android-developers] Re: Equally verticaly spaced button

2012-05-12 Thread huberte
Oh and thanks Kostya, just one thing, why does Eclipse telling me a warning ? nested weights is bad for performance ? thks -- 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] Menu : Handling click events : DialogBox

2012-05-12 Thread huberte
Hi, I did red http://developer.android.com/guide/topics/ui/menus.html http://developer.android.com/guide/topics/resources/menu-resource.html I wrote this in main activity @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater();

[android-developers] Re: Menu : Handling click events : DialogBox

2012-05-12 Thread huberte
Le samedi 12 mai 2012 07:20:46 UTC-4, Tolriq a écrit : You just forgot to show the created dialog :) o| Sorry Thanks Tolric :) Just 3 other questions if I may. The text in question could be very long, 1. Would the scrollbar auto appears ? 2. Should I use the sample code from API

[android-developers] Re: Menu : Handling click events : DialogBox

2012-05-12 Thread huberte
choice. Le samedi 12 mai 2012 14:49:44 UTC+2, huberte a écrit : Le samedi 12 mai 2012 07:20:46 UTC-4, Tolriq a écrit : You just forgot to show the created dialog :) o| Sorry Thanks Tolric :) Just 3 other questions if I may. The text in question could be very long, 1. Would

[android-developers] Re: Menu : Handling click events : DialogBox

2012-05-12 Thread huberte
Tolriq, I have this main.xml : ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical ScrollView android:id=@+id/scrollView1

Re: [android-developers] Re: Menu : Handling click events : DialogBox

2012-05-12 Thread huberte
Le samedi 12 mai 2012 18:17:55 UTC-4, Kostya Vasilyev a écrit : ... you will now need to catch UnsupportedEncodingException, as a formality. Didn't understood... 2) Check the encoding of your asset text file in Eclipse: right click, properties, see bottom of the right pane. Done,

Re: [android-developers] Equally verticaly spaced button

2012-05-11 Thread huberte
Exactly. Look closely at the title. I thought it was clear enoug. Sorry Jason. Space, e.g having the same space between them, not resizing them. For example : top-20dp-button-20dp-button-20dp I I was clear enough -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Equally verticaly spaced button

2012-05-11 Thread huberte
/ Button height=wrap_content/ View width=fill_parent, height=0dp, weight=1/ Button height=wrap_content/ /LinearLayout The View items act as spacers, and will be dynamically resized by LinearLayout due to having weight attribute. -- K 11.05.2012 15:25, huberte написал

Re: [android-developers] Equally verticaly spaced button

2012-05-11 Thread huberte
Le vendredi 11 mai 2012 19:03:39 UTC-4, Kostya Vasilyev a écrit : View? No, View is definitely not documented. It might not even exist. /LameJoke :) Of course it's documented, but not the way your wrote it. Because your code as you wrote is: - not referenced in

Re: [android-developers] Equally verticaly spaced button

2012-05-11 Thread huberte
Le vendredi 11 mai 2012 19:03:39 UTC-4, Kostya Vasilyev a écrit : /LameJoke By the way your blog is terrific and your apps great ! congrats ! -- 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] Menu cannot be resolved to a type

2012-05-10 Thread huberte
And MenuInflater cannot be resolved to a type I have made a clean example from http://developer.android.com/guide/topics/ui/menus.html have import android.app.Activity; import android.os.Bundle; dont see anything about on google Thks -- You received this message because you are subscribed

[android-developers] Re: Menu cannot be resolved to a type

2012-05-10 Thread huberte
Le jeudi 10 mai 2012 21:06:44 UTC-4, huberte a écrit : And MenuInflater cannot be resolved to a type I have made a clean example from http://developer.android.com/guide/topics/ui/menus.html I must import import android.view.MenuInflater; import android.view.Menu; never written

[android-developers] Equally verticaly spaced button

2012-05-10 Thread huberte
I tried this with no luck : ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=wrap_content android:layout_height=fill_parent android:orientation=vertical android:visibility=visible android:weightSum=3

[android-developers] Add application licencing to apk

2012-05-07 Thread huberte
Hi, I already have an apk. i did red http://developer.android.com/guide/market/licensing/setting-up.html But can I start from my apk to add the licence ? thks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Add application licencing to apk

2012-05-07 Thread huberte
I do not use Eclipse. Le lundi 7 mai 2012 13:38:54 UTC-4, huberte a écrit : Hi, I already have an apk. i did red http://developer.android.com/guide/market/licensing/setting-up.html But can I start from my apk to add the licence ? thks -- You received this message because you

[android-developers] Re: Add application licencing to apk

2012-05-07 Thread huberte
-4, huberte a écrit : Hi, I already have an apk. i did red http://developer.android.com/guide/market/licensing/setting-up.html But can I start from my apk to add the licence ? thks -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] OpenDocument

2012-05-03 Thread huberte
Would like to use the native OpenDocument to open a jpg file that's in my app. Is there a way to open this file with the native app (zooming resizing, etc) but that it cant be copied to the phone ? It may be a noob question. thks -- You received this message because you are subscribed to