[android-developers] getWritableDatabase optilization

2013-09-23 Thread arnouf
Hello guys ! Looking for different database implementation, I saw 2 method to open SQLIte database : 1. calling etwritabledatabase in a constructeur or onCreate method 2. calling getwritabledatabase in each public method provided by the developer to manipulate data I think the first is better

[android-developers] OnHoverListener

2012-09-27 Thread arnouf
Hello, I'm trying to use the new event onHover. I look the sample, the documentation...and nothing works. The onHover event should be done by a mouse pointer. I create a simple xml file containing 1 LinearLayout and 2 buttons inside. My java code is following

[android-developers] Re: Android virtual device NFC emulation

2012-06-01 Thread arnouf
hi, I'm not completly sure but I think that isn't possible for now. Le vendredi 1 juin 2012 06:04:45 UTC+2, Shady a écrit : Hi, Recently I am developing an NFC application which interacting with contactless ISO 7816 smartcard. Instead of deploying to the real android devices for testing,

[android-developers] CursorAdapter not works on Android 4

2012-05-31 Thread arnouf
Hi all, My application using a class extending CursorAdapter. It works correctly on Android 2. But application is running on Android 4 I get a NoClassDefFound on cursoradapter class. I tried to use compatibility package 4 but same thing. Do you have an idea to create an app compatible with

[android-developers] PreferenceActivity, configuration screen and back button

2012-01-31 Thread arnouf
hello all, i've got widget using a Preference activity (Honeycomb). When I try to add the widget on my home, the configure screen is display. I implement the new mechanism for Honeycomb described at : http://developer.android.com/guide/topics/appwidgets/index.html#Configuring I found some

[android-developers] Re: WebView using Assets

2012-01-31 Thread arnouf
You have to use loadData applied on webview and you can retrieve your assets using getAssetManager -- 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

Re: [android-developers] Selecting picasa photos in gallery

2012-01-04 Thread arnouf
I would like to know if you found a solution to load image from Picasa when user select an image in the gallery ? Let me know -- 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: Back key handling with ActivityGroup in TabView

2011-11-02 Thread arnouf
You must set a tag to know which view / tab is displayed. You could use onBackPressed() method and check which tags is active and display or not your popView. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Showing notification dialog over a incoming call

2011-11-02 Thread arnouf
When you say that you're unable to produce the results...what happens exactly. Did you set good permission and action to catch in your AndroidManifest xml file ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Get the URI of audio files(.mp3) stored in raw folder

2011-11-02 Thread arnouf
I don't know why you add in /res/raw, but maybe it could more interesting to put these files in assets. Maybe you can set a specific name building your shareintent. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Install apk file

2011-11-02 Thread arnouf
When you generate the file the FB ressources files will be added in your apk. -- 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, send

[android-developers] Re: how to install my apk file into android mobile with eclipses?

2011-11-02 Thread arnouf
first, check your phone in Application parameters if you accept : debug connectio (in developers section) and if you set your phone to accepte unknown source. If your device is known by eclipse you can see it in DDMS perspective, you must install drivers (windows) or change your udev file

[android-developers] Re: Emulator ICS : add account

2011-11-01 Thread arnouf
Thanks... But without talking the new calendar API. If you want add a contact or see calendar application you must create an account. Ok, so i'm going to create an AVD using Google API. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Emulator ICS : add account

2011-10-31 Thread arnouf
Hello, Now, in the emulator, to see calendar or add event I have to set an Exchange account. Does it exist a solution avoiding this ? I don't have an Exchange server ! Thanks for your help -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: 4 tabs view?

2011-10-31 Thread arnouf
hello, Use simply a TabHost / TabWidget -- 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, send email to

[android-developers] Re: RelativeLayout not working in ADT 14

2011-10-31 Thread arnouf
The editor seems to have a bug. You create RL with 2 buttons inside, one below the other. The second is over the first. But after a compilation I have the correct view on device. Only the graphical editor seems bugged. -- You received this message because you are subscribed to the Google Groups

[android-developers] Best conception with new API ICS ?

2011-10-21 Thread arnouf
Hello all, My question is about the compatibility and the best way to create our apps. For some months, we have the compatibility package allowing us to create app, using Fragment (dedicated to tablets) inside a smartphone app. ICS introduces new components like switcher or Gridlayout for

[android-developers] Re: Best conception with new API ICS ?

2011-10-21 Thread arnouf
99% ??? I suppose that compatibility package targets Android 2.2 (2.3 ?) and later...so it should be less, shouldn't. Thanks Mark. -- 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] Proguard configuration and Paypal

2011-07-27 Thread arnouf
Hello, Using proguard the paypal classes are not found ERROR/AndroidRuntime(3200): Caused by: java.lang.NoClassDefFoundError: com.paypal.android.MEP.PayPal I tried to add -libraryjars PATH_PAYPAL_LIB_JAR but it seems to change nothing, same error. I tried to add -keepclass

Re : Re: [android-developers] Proguard configuration and Paypal

2011-07-27 Thread arnouf
Yes it works without proguard. I use proguard in command line with : java -jar $PROGUARD_HOME/lib/proguard.jar -injars $PROJECT_FOLDER/bin/classes -outjar $PROJECT_FOLDER/bin/obfuscated.jar -libraryjars $ANDROID_JAR:$PROJECT_FOLDER/thirds/PayPal_MPL_1.5.jar @$PROJECT_FOLDER/proguard.cfg My

Re : Re: [android-developers] Proguard configuration and Paypal

2011-07-27 Thread arnouf
Ok, so after a long pair of test, I think that the problem is not due to proguard, but to dx :( If somebody knows this issue, let me know. The goal is to build my app in command line only (not eclipse or ant) -- You received this message because you are subscribed to the Google Groups Android

Re : Re: [android-developers] Proguard configuration and Paypal

2011-07-27 Thread arnouf
Ok so I found the solution : it was no proguard but two issues in dx and apkbuilder ! -- 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] Postdelayed don't work for more than 1 hour

2011-07-17 Thread arnouf
Hello, I implemented a Live Wallpaper displaying a picture. This pic can be changed automatically from 5 minutes to 24 hours. The change is applied for 5, 15, 30 minutes...but for a value higher than 1 hour, the call is not called. I use a simple postdelayed calling an internal method loading

[android-developers] Re: How many threads android os can execute at a time in a application?

2011-07-17 Thread arnouf
Using AsyncTask you can have some problem with 25 simultaneous task. After this, you can try to implement your own threadpool and make some tests. -- 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] Postdelayed don't work for more than 1 hour

2011-07-17 Thread arnouf
Yes I thought this, but I didn't know if in a wallpaper it was a good idea (working in a service)... So if you confirm that my strategy was bad, I change this soon. Thanks for your help. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Postdelayed don't work for more than 1 hour

2011-07-17 Thread arnouf
But is it possible to send an information to a wallpaperservice from broadcastreceiver ? -- 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

[android-developers] How to retrieve a Wallpaperservice.Engine from broadcastreceiver

2011-07-17 Thread arnouf
I would like to know how can I do to retrieve my WallpaperService.Engine running from a BroadcastReceiver... Thanks by advance -- 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: How to retrieve a Wallpaperservice.Engine from broadcastreceiver

2011-07-17 Thread arnouf
Ok I found a solution using an internal Broadcastreceiver class -- 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, send email to

[android-developers] Re: AppWidget on receive method and documentation

2010-10-11 Thread arnouf
I think the issue was the debug mode :) When phone is not connected apparently the phone is lot loaded by my widget. best. On Oct 9, 11:03 pm, Kostya Vasilyev kmans...@gmail.com wrote:   2Mark: Ummm. AppWidgetProvider is a subclass of BroadcastReceiver, not Service. As such, it has no

[android-developers] AppWidget on receive method and documentation

2010-10-09 Thread arnouf
Hi, I use an AlarmManager to refresh my widget view (the view not the data displayed which are managed by the standard updatePeriodMillis). The AlarmManager is configured to work with RTC. The documentation indicates : Set the alarm type to either ELAPSED_REALTIME or RTC, which will only deliver

[android-developers] Maps API and legacy

2010-09-29 Thread arnouf
Hi all, I found this post This posting http://stackoverflow.com/questions/2023669/j2me-android-blackberry-driving-directions-route-between-two-locations suggests that you must not use the Map Service with any applications for route guidance, including but not limited to turn-by-turn route

[android-developers] Re: Maps API and legacy

2010-09-29 Thread arnouf
I found a solution calling Intent. Is it legal ? startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(http:// maps.google.com/maps? f=dhl=ensaddr=43.593051,43.593051daddr=43.593052,7.004667ie=UTF80om=0)); On Sep 29, 5:27 pm, arnouf arnaud.far...@gmail.com wrote: Hi all, I found this post

[android-developers] Animation loop

2010-09-16 Thread arnouf
Hi all, I created an animation in an xml file. I apply it on a textview like this : Animation anim = AnimationUtils.loadAnimation(this, R.anim.exit_about); anim.setRepeatMode(Animation.RESTART); anim.setRepeatCount(Animation.INFINITE); v.findViewById(R.id.global_about).startAnimation(anim); // v

[android-developers] Pragma: no-cache not supported ?

2010-09-03 Thread arnouf
Hi all, I work on an application to display a remote page in a webview. The page contains a simple input form and an image. The image is updated automatically by server using specific header. The page is never displayed. Searching on the web to find a way to resolve this issue, I read this :

[android-developers] Re: Android lock screen

2010-07-19 Thread arnouf
Hi, I don't agree with you mark, because there are some differents apps on market replacing lock screen without change the installed firmware or change root access. On Jul 7, 9:03 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 5, 2010 at 2:15 PM, Sy simonaplat...@googlemail.com

[android-developers] Stop mobile modem

2010-06-04 Thread arnouf
Hi all, I search for a long time to stop the mobile modem (to restart it later). In this group, I watch some thread indicating a reference to APNdroid. Apparently it works changing the APN (name or other information) to cut the connection. Is there only this way? WifiManager has its own method

[android-developers] Re: PopupWindow can't be dismissed when press back key

2010-06-04 Thread arnouf
- Use a Dialog component or - Catch the event on back button to finish your PopupWindow. Best On Jun 4, 1:42 pm, ionel ionelt2...@gmail.com wrote: Hi, I've created a custom PopupWindow but when I press back button, the window doesn't dissapear. If somebody found a solution please response.

[android-developers] Where is ACCESS_COARSE_UPDATES permission ?

2010-06-03 Thread arnouf
Hi all, I want to use the following method from TelephonyManager : public ListNeighboringCellInfo getNeighboringCellInfo () Documentation says : Since: API Level 3 Returns the neighboring cell information of the device. Returns List of NeighboringCellInfo or null if info unavailable. Requires

[android-developers] Re: Do scheduled alarms persist between app upgrades?

2010-06-03 Thread arnouf
Hi, The alarm is registered in system. So, it isn't removed. BR On Jun 3, 4:53 pm, Mark Wyszomierski mar...@gmail.com wrote: Hi, My app schedules an alarm, like:   AlarmManager mgr = (AlarmManager)context.getSystemService(       Context.ALARM_SERVICE);   mgr.setRepeating(...); with the

[android-developers] Re: How to create kind of admob banner or scrolling text?

2010-06-03 Thread arnouf
Use a RelativeLayout for your app and a specific layout aligned on bottom of your main layout. So you're banner is based at the bottom :) Now to scrolling a text inside this banner : use animation, it's the simplest. Best On Jun 3, 4:36 pm, dillipk codersnet2...@gmail.com wrote: Hello,   Is

[android-developers] Re: how to change the background of the menuitem

2010-06-03 Thread arnouf
Hi, OptionMenu can't be personnalized :( You must implement your own menu if you want a specific background for example. Regards On Jun 3, 3:54 pm, grace grace.a...@wipro.com wrote: Hi, I want  to change the background of the optionmenuitem and have my custom theme for the menu items is it

[android-developers] Re: How to create kind of admob banner or scrolling text?

2010-06-03 Thread arnouf
right ! the marquee ! I forgot it ! :) (it's just avoiding to use animation, not to place your component at bottom) On Jun 3, 6:42 pm, Romain Guy romain...@android.com wrote: There's even easier, just use the marquee feature of TextView. On Thu, Jun 3, 2010 at 9:40 AM, arnouf arnaud.far

[android-developers] Call AT command / RIL / ATResponseParser

2010-06-02 Thread arnouf
Hi all, I would like to send some AT commands, from my Android application, to the RIL available on a phone. I read a lot of things about this : - it's not possible - it's possible - There are some API not documented about telephony which allow this How does it it work exactly? There is a RIL

[android-developers] Re: PackageStats : how to get application size ?

2010-04-07 Thread arnouf
Oki thanks for your confirmation. BR On Apr 7, 9:31 am, Kumar Bibek coomar@gmail.com wrote: As Dianne had mentioned in that post, as of now, you cannot do it. No public API is available Thanks and Regards, Kumar Bibek On Apr 6, 2:30 pm,arnoufarnaud.far...@gmail.com wrote: Hi

[android-developers] AsyncTask : java.util.concurrent.RejectedExecutionException

2010-04-07 Thread arnouf
Hello, I'm trying to launch a lot of remote connection retrieve picture on a server. To do this, I use AsyncTask. This pics are displayed in a listview using adapter. If I implement this in my adapter, images are retrieved but the display is bad (problem with index or something like that). If I

[android-developers] Re: AsyncTask : java.util.concurrent.RejectedExecutionException

2010-04-07 Thread arnouf
Ok thanks Mark. When you have a lot of Image to load this is a big limitation. Strangely, we don't have this situation If I call the same number of element inside a listview...But another issue appears : images are not placed on good lines :( On Apr 7, 3:57 pm, Mark Murphy

[android-developers] Re: AsyncTask : java.util.concurrent.RejectedExecutionException

2010-04-07 Thread arnouf
I'm not sure that it will resolve my first problem related to the image loaded from remote and display in my listview I can use Asynctask in my adapter to load each image. But when I do a bog scroll, displayed image are not to the good place (ex. : the image number 4 is displayed at the line 15

[android-developers] PackageStats : how to get application size ?

2010-04-06 Thread arnouf
Hi all, I'm trying to know the application size (only the code size). I found some topics related, but nothing is working. The last class provided by Android, PackageStats seems to give information about size : code size, cache size... But I get always a 0. Some guys talked about this issue here

[android-developers] Create a custom component using inflate

2010-03-29 Thread arnouf
Hi all, I'm trying to create a component using an xml layout file. I defined a layout with some custom attributes. This layout is inflated when user add it inside another layout. My problem is I don't know the parent, so I pass null for the parent viewgroup when I call inflate method. I think

[android-developers] Re: Create a custom component using inflate

2010-03-29 Thread arnouf
You're right using http://android-developers.blogspot.com/2009/03/android-layout-tricks-3-optimize-by.html ! On Mar 29, 4:14 pm, Mark Murphy mmur...@commonsware.com wrote: arnouf wrote: Hi all, I'm trying to create a component using an xml layout file. I defined a layout with some custom

[android-developers] Re: Create a custom component using inflate

2010-03-29 Thread arnouf
I shout success so fast...because it's not really simple...My previous have to be called by others xml I'll push a result I I get something correct. On Mar 29, 4:21 pm, arnouf arnaud.far...@gmail.com wrote: You're right usinghttp://android-developers.blogspot.com/2009/03/android-layout

[android-developers] Gallery android:unselectedAlpha works strangely

2010-03-27 Thread arnouf
Hi all, I work with a gallery and a BaseAdapter. In my XML file I specified, on my gallery, android:unselectedAlpha. When I select an item (using click or pad) image are moved but they take the alpha defined for (normally) the unselected image. Do you have any idea ? -- You received this

[android-developers] Re: Webview / Container problem

2010-03-01 Thread arnouf
I know Mark, but for my needs it's required :-/ On Feb 28, 7:38 pm, Mark Murphy mmur...@commonsware.com wrote: arnouf wrote: Hi all, My program doesn't work correctly with Android 1.6 (running on Acer), it works correctly with others devices. Apparently, my xml view is not correctly

[android-developers] Webview / Container problem

2010-02-28 Thread arnouf
Hi all, My program doesn't work correctly with Android 1.6 (running on Acer), it works correctly with others devices. Apparently, my xml view is not correctly understood with this device (or Android version). I've something like that inside a tabhost, containing a ViewFlipper ScrollView

[android-developers] Re: ImageView can't be clicked... help!

2010-02-28 Thread arnouf
Try View.OnClickListener and not DialogInterface.OnClickListener which must be used for a dialogbox On Feb 28, 6:41 pm, Kofa elk...@gmail.com wrote: I tried several times to make it work... i tried searching on google but works for everyone but not for me Can anyone tell me how to make an

[android-developers] WebView in ListView

2010-01-20 Thread arnouf
Hi all, I would like to put a webview for each line of my ListView. I've two issues : - how can I a transparent background for the webview (by default white) - I can't select an item of the list (the webview seems to keep the focus and selection for her) Thanks by advance for your help.

[android-developers] Playing video and which is not supported by the GL

2010-01-20 Thread arnouf
Hi all, I used a small component to play video from remote content. My code works correctly with Android 1.5 and 1.6. I'm testing with 2.0.1 and 2.1, and I get the following error... Why I get this error now for these new versions ? Thanks for your help 01-20 13:52:33.320: ERROR/SW_DEC(31): PV

[android-developers] Nexus One : where is this resources ?

2010-01-20 Thread arnouf
Hi all, My program works correctly on 1.5 and 1.6 (emulator + device) it works too with Android 2.0.1 and 2.1 on emulator. But on Nexus One, I get the following error : Caused by: java.io.FileNotFoundException: res/drawable-hdpi/ title_bar_shadow.9.png Any idea ? -- You received this message

[android-developers] MediaPlayer : detect buffering event

2010-01-10 Thread arnouf
Hello, I don't find a solution to detect that a video is blocked when is buffering content. I try to add listener on MediaPlayer object but only onBufferingUpdate is called. It's always called when a video is playing (normal is streaming). But I don't find an event or a method indicating that the

[android-developers] TabActivity access

2010-01-07 Thread arnouf
Hi all, I've a tabactivity containing 4 activity. can I call method or attributes present in TabActivity from an activity displayed ? Thanks -- 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: com.android.camera replaced by com.motorola.camera

2010-01-04 Thread arnouf
Thanks to all for this discussion :) And happy new year ! On 1 jan, 20:23, jotobjects jotobje...@gmail.com wrote: Thanks very much.  This best practice outline is worthy of an official Android blog. Otherwise developers are going to come up with their own misunderstandings (like assuming

[android-developers] Re: com.android.camera replaced by com.motorola.camera

2009-12-31 Thread arnouf
Thanks Romain and Mark. My fault...yes you're right Romain, but what is the percentage of private API in Android ? Globally, in future, we can be sure that some application can't work correctly if each manufacturer do everything in their private API. Android can become the next J2ME ? My vision

[android-developers] Re: inflate layout crashes after animation

2009-12-31 Thread arnouf
Yes I know... I use this same file earlier to load my view (before launching animation). How can I help you to give you more information ? Best and thanks again ! On Dec 30, 7:28 pm, Romain Guy romain...@android.com wrote: Your stack trace does not contain the root cause. At the bottom of your

[android-developers] Re: com.android.camera replaced by com.motorola.camera

2009-12-31 Thread arnouf
Hi Mark, I did it before, but my client want use the default Video player... On Dec 30, 6:24 pm, Mark Murphy mmur...@commonsware.com wrote: arnoufwrote: Thanks Mark. Now it's working but the default browser is opened before to launch the camera viewer...Not terrible :( If the videoLink

[android-developers] inflate layout crashes after animation

2009-12-30 Thread arnouf
Hello, I do an animation moving a webview outside the screen. on Animation end event, I'm trying to recreate a view containing a webview (using layoutinflater) but I've always the following error and I don't understand why. This method is called to display the content before the animation. It's

[android-developers] com.android.camera replaced by com.motorola.camera

2009-12-30 Thread arnouf
Hi all, My app use camera function. I implemented it using the small code below Intent intentVideo = new Intent(); intentVideo.setType(video/*); intentVideo.setAction(Intent.ACTION_VIEW); intentVideo.setComponent(new ComponentName(com.android.camera, com.android.camera.MovieView));

[android-developers] Re: com.android.camera replaced by com.motorola.camera

2009-12-30 Thread arnouf
Thanks Mark. Now it's working but the default browser is opened before to launch the camera viewer...Not terrible :( Thanks for this help and this experience gives me some doubt about android futur :( On Dec 30, 5:37 pm, Mark Murphy mmur...@commonsware.com wrote: arnouf wrote: Hi all, My

[android-developers] Inflating error after animation run

2009-12-29 Thread arnouf
Hi all, I apply an animation on my current displayed layout. I set an animation listener. When animation is ended, I'm trying to load a layout, using inflater, inside the current layout. But I've always the following error : ERROR/AndroidRuntime(2315): android.view.InflateException: Binary XML

[android-developers] Detect top position of a view

2009-12-24 Thread arnouf
Hi all, In my program, I'm adding different views using a loop inside a linearlayout. I need to find the top position of each added view. I tried to retrieve this position using method top but I find always 0. Do you know how can I do this (if it's possible of course !). Regards and thank you

[android-developers] OptionMenu and themes/styles

2009-12-23 Thread arnouf
Hi all, Merry christmas :) Do you know if it's possible to apply a theme or a style on a OptionMenu ? I don't find tag in R.style or R.styleable to customize it and apply a theme. Thanks by advance for your help. Arnaud -- You received this message because you are subscribed to the Google

[android-developers] Re: OptionMenu and themes/styles

2009-12-23 Thread arnouf
Hi Mark, I kept a hope...But now it's clear :) Thx On 23 déc, 14:48, Mark Murphy mmur...@commonsware.com wrote: arnouf wrote: Do you know if it's possible to apply a theme or a style on a OptionMenu ? Not that I am aware of. The look of an option menu is determined by the system

[android-developers] Strange behaviour with animation in tabhost

2009-12-09 Thread arnouf
Hi all, I've a strange issue related an animation loaded automatically building the content of a Tabhost : start is called correctly bu there is no animation ! The goal is to load an animation when user is on the first tab of a list of 4 different tabs. I created an xml file describing my

[android-developers] Android bug : impossible to load animationdrawable with tabhost

2009-12-09 Thread arnouf
yesterday I post this : http://groups.google.fr/group/android-developers/browse_thread/thread/4195681dc59d1c46?hl=fr but today this problem is not resolved and I think that the problem is an issue between TanHost component and Animationdrawable. I tried a lot of thing, but the start() method

[android-developers] Re: Android bug : impossible to load animationdrawable with tabhost

2009-12-09 Thread arnouf
Apparently this is a bug. It should be fixed with Android 2.0.1. On 9 déc, 20:42, arnouf arnaud.far...@gmail.com wrote: yesterday I post this :http://groups.google.fr/group/android-developers/browse_thread/thread... but today this problem is not resolved and I think that the problem

[android-developers] Re: Encoding for MP4 progressive download

2009-12-07 Thread arnouf
Hi Mark, Just for your info, the link http://android-unleashed.com/tag/convert-video-to-android-g1 is not available anymore. BR On Dec 6, 12:09 pm, Mark Murphy mmur...@commonsware.com wrote: Yesterday I found a problem to load a remote MP4 file (video). Apparently, the file must have a

[android-developers] Re: Emulator on Linux 10 times slower than on Windows

2009-12-07 Thread arnouf
I had this problem with Ubuntu 8.10, two things : - check that you're using the good environment x86 / 64 - use preferly the SUN JDK 1.6 to compile Android development (you can use the JDK 1.5 to work with sources). Today I'm using a bipro intel, 4Gb, Ubuntu 9.10 and SUN JDK 1.5.0.20 and

[android-developers] strategy to keep a scale after an animation

2009-12-07 Thread arnouf
hi all, I'm trying to keep on screen the last view after an animation. An animation is started to scale a view and I want to keep the scale after the animation (by default, an animation replace the view as it starts). if you have idea or quick solution, let me know. Thanks by advance. Arnaud

[android-developers] Encoding for MP4 progressive download

2009-12-06 Thread arnouf
Hi all, Yesterday I found a problem to load a remote MP4 file (video). Apparently, the file must have a specific format to be read from a remote server (using http). This post :

[android-developers] Re: Encoding for MP4 progressive download

2009-12-06 Thread arnouf
Thanks Mark. I'm going to read information about different progressive streaming. BR Arnaud On Dec 6, 12:09 pm, Mark Murphy mmur...@commonsware.com wrote: Yesterday I found a problem to load a remote MP4 file (video). Apparently, the file must have a specific format to be read from a

[android-developers] Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread arnouf
Hi all, I'm trying to display a remote video (mp4 format). When I launch prepare (or prepareSync), Android is crashing (see log view after my piece of code). I tried with emulator, ADP1 and Hero... Thanks by advance for your help mPlayer = new MediaPlayer();

[android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread arnouf
Hi Mark, My SurfaceView is present in my layout (with height, width...). And it loaded before to this piece of code. What do you means by Is your SurfaceView prepared by the time? BR On Dec 5, 6:00 pm, Mark Murphy mmur...@commonsware.com wrote: I'm trying to display a remote video (mp4

[android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread arnouf
I already had this issue ... but ... I don't remember how I fixed it :-/ I'm going to follow your advice and post it when all is ok. Thanks mark NB : you're book is available in France sinc Dec-4, its name L'art du développement Android ! On Dec 5, 6:15 pm, Mark Murphy mmur...@commonsware.com

[android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread arnouf
ok I can display a remote video, but the problem is that the video is completly loaded before starting :-/ I use the following example : http://davanum.wordpress.com/2009/12/04/android-%E2%80%93-videomusic-player-sample-take-2/ and I'm not sure that your example reads MP4 in streaming...Can you

[android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread arnouf
Ok I understood the problem...The file format. Reading this thread http://groups.google.com/group/android-challenge/msg/114f11e31351840d I learned that a file containing a header with mdat can't be readed in streaming. The file that I'm trying to read contains this famous mdat blocking the

[android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread arnouf
The problem (initially explain in this thread) should be related to a bad parameter in my surfaceview). Like I change a lot of time my code I didn't notice exactly...Sorry. But I think that is was the callback feature. Yes I check your file and the moov atom is in first. My file no :( I'm

[android-developers] Re: what happened to my application's statistics?

2009-11-19 Thread arnouf
Apparently all download statistics have been reinitialized ??!!! On 19 nov, 11:21, Éva Lovrencsics lovi...@gmail.com wrote: I don't understand it... Yesterday I had 860 downloads and today I have 400. Why? How can the number of downloads decrease? How can I find the real numbers? Evi --

[android-developers] Pls help required ! : setPreviewCallBack - Bitmap

2009-11-18 Thread arnouf
hi all, How can I convert the camera preview to a bitmap without use Takepicture ? The goal is to analyze the colors present inside the current preview. When I try to create bitmap (50x50 pixels of the current view) the result view is green with black lines. Apparently the preview uses the YUV

[android-developers] Work with a part of CameraPreview

2009-11-17 Thread arnouf
Hi all, I would like to retrieve the content display on a small part of a camera preview, but I don't know how :-/ I create my surfaceview displaying the camera but after that, how can I retrieve the data displayed inside this without taking a picture ? Thanks by advance for your help. Regards

[android-developers] Bitmap and setPreviewCallBack

2009-11-17 Thread arnouf
Hi all, I'm trying to generate a bitmap when camera is in preview mode (setpreviewCallback). When I try to convert the current view to bitmap,the bitmap is always null. Apparently it's a problem to convert YUV format to bitmap. I found a method to convert a byte[] YUV to int[]RGB (here:

[android-developers] Re: Is your Android app on Archos Market ?

2009-11-13 Thread arnouf
Just a small update We're translated our article at frandroid for english readers : http://www.frandroid.com/6782/the-archos-5-it-for-1e-what-it%e2%80%99s-all-about-english/ The official announcement should be happened today at appslib.com website. regards On 9 nov, 13:27, Al Sutton

[android-developers] DDMS Screenshot and Archos 5 IT

2009-11-12 Thread arnouf
Hi all, I'm trying to make a screenshot of an Archos 5 IT using DDMS (SDK 1.5 and 2.0) without success. The screenshot is awful with a lot of yellow. Do you have the same issue ? I would like to know if possible if this issue is due ti an SDK problem or an Archos problem. Best -- You received

[android-developers] Re: Archos gives away Android W VGA 4.8 Tablets for 1€ to developers in France

2009-11-11 Thread arnouf
Hi all, This operation will be announced on appslib.com website before the end of the week. I post new information related to this operation http://www.frandroid.com/6646/archos-5-it-a-1-euro-toute-la-lumiere-sur-loperation/ and I'll put the english version normally tomorrow (thursday, 12th

[android-developers] Re: Archos gives away Android W VGA 4.8 Tablets for 1€ to developers in France

2009-11-11 Thread arnouf
. Regards On 11 Nov, 10:40, arnouf arnaud.far...@gmail.com wrote: Hi all, This operation will be announced on appslib.com website before the end of the week. I post new information related to this operationhttp://www.frandroid.com/6646/archos-5-it-a-1-euro-toute-la-lumiere-s... and I'll put

[android-developers] Re: Is your Android app on Archos Market ?

2009-11-08 Thread arnouf
Hi, I launch this topic and apparently there is animation :) First I'm a simple developer. My goal is to publish my apps everywhere to have a lot of users and fans. I don't care if Archos takes my apps from slideme or another website. If a specific website, sharing apps, doesn't agree with the

[android-developers] Re: Is your Android app on Archos Market ?

2009-10-22 Thread arnouf
the andAppStore developers. At least that is the current allegation. -niko On Oct 20, 3:55 am, arnouf arnaud.far...@gmail.com wrote: If you  have developed or if you are developing applications, and they are on the Android Market - Great! - But these apps are only available

[android-developers] Is your Android app on Archos Market ?

2009-10-20 Thread arnouf
If you have developed or if you are developing applications, and they are on the Android Market - Great! - But these apps are only available for devices that have contracts with Google. Archos, a major PMP manufacturer, launched its first device on 25th of September: the Archos 5 IT. Archos has

[android-developers] NullPointer using default ArrayAdapter

2009-09-13 Thread arnouf
Hello, My following code does an exception when I'm trying to display the dropdownview. I uses the default standard object ArrayAdapter displaying string...but there is an issue that I can't resolve. I tried a lot of thing...So maybe i'm tired or i don't understand something somewhere! Thanks

[android-developers] Re: NullPointer using default ArrayAdapter

2009-09-13 Thread arnouf
Ok I found ! The problem is using a String[]. i replace String[] by an ArrayListString, now it works. If somebody can explain the issue, i'll read it with interest. Regards On Sep 13, 5:26 pm, arnouf arnaud.far...@gmail.com wrote: Hello, My following code does an exception when I'm trying

[android-developers] Survey for french Android developers

2009-08-24 Thread arnouf
Hi everyone, This message concerns especially french guys (not necessary living in France). I'm making a study about french Android developers and contests (ADC2, Samsung Mob!le). Less than 3 minutes are sufficient to answer.

[android-developers] Proxy SDK 1.5r1

2009-08-10 Thread arnouf
Hi all, With this SDK version I can use my emulator using a proxy server. There is three solutions: - add values in system table - configure -http-proxy in eclipse run menu - configure APN on emulator to set the proxy When I use Android browser, it's really slow but it's working...If I try to

  1   2   >