[android-developers] How can I download Android Sdk platform-tools without the pain?

2015-12-16 Thread seb mitchell
Hi just wondering if there is a better way to download the Android/Sdk/platform-tools files. Just having a play with http://flutter.io/ via https://atom.io/packages/dartlang editor and got an error about adb, on my debian jessie, being out of date. Also the other android tools are required to

[android-developers] Re: Android custom ImageView fade animation

2011-12-29 Thread Seb
wrote: On 28 дек, 00:56, Seb stsiop...@googlemail.com wrote: Hmm I kind of understand... are you able to provide any code or psuedo code though to show how it would fit together? On Dec 25, 5:08 pm, AlexBonel bonela...@gmail.com wrote: For example: public class MyActivity extends Activity

[android-developers] Re: Android custom ImageView fade animation

2011-12-29 Thread Seb
, R.anim.rotate)); Then the animation plays, but for the whole view, which isn't what I want On Dec 29, 7:24 pm, Seb stsiop...@googlemail.com wrote: Hi, I tried it but it doesn't seem to work :( Here's my code in the view that triggers the thread code in the activity: case MotionEvent.ACTION_DOWN

[android-developers] Re: Android custom ImageView fade animation

2011-12-27 Thread Seb
Hmm I kind of understand... are you able to provide any code or psuedo code though to show how it would fit together? On Dec 25, 5:08 pm, AlexBonel bonela...@gmail.com wrote: On 25 дек, 15:31, Seb stsiop...@googlemail.com wrote: But can I still define my animations in XML using your suggested

[android-developers] Re: Android custom ImageView fade animation

2011-12-25 Thread Seb
But can I still define my animations in XML using your suggested method? On Dec 24, 6:27 pm, AlexBonel bonela...@gmail.com wrote: On 23 дек, 07:49, Seb stsiop...@googlemail.com wrote: Brilliant, that's useful, will give that a go. Any advice for the original issue? Well, I have got only

[android-developers] Re: Android custom ImageView fade animation

2011-12-23 Thread Seb
Brilliant, that's useful, will give that a go. Any advice for the original issue? On Dec 23, 6:51 am, AlexBonel bonela...@gmail.com wrote: Has looked through your code and saw one big perfomance issue: protected void onDraw(Canvas canvas) {     Paint foreground = new

[android-developers] Re: Android custom ImageView fade animation

2011-12-22 Thread Seb
Bump: Can anyone help? If I define an imageview in my activity and then set an animation for it, then it plays fine. But if I define an image view as a member in my custom view and then try to play its animation, it does not play. Any help is appreciated... On Dec 18, 4:59 pm, Seb stsiop

[android-developers] Android custom ImageView fade animation

2011-12-18 Thread Seb
I am creating a game. Most of the computation is done in a custom View class which contains a grid of custom Squares which extend imageview. Here's some code to describe what's happening: public class GameView extends View { public Square squares[] = null; public GameView(Context context,

[android-developers] HTTP post request with HTTP Auth

2011-11-25 Thread Seb
As the topic indicates I'm trying to perform a http post request to a page secured with basic http authentication. It works from the command line with curl as following: curl http://snot%40snot.dk:supersnot_at_teletracker.herokuapp.com/devices -d device[name]=snot -d device[device_id]=1234 But

[android-developers] Sending/Receiving data with Socket

2011-04-20 Thread seb
for inital data... --- when the button is pressed 04-19 11:29:53.591: INFO/AsyncTask(6978): SendDataToNetwork: Writing received message to socket I however never get anything back from the server or if I do, I am not capturing it... Any help welcome. Seb -- You received this message because you

[android-developers] Re: http proxy

2010-12-08 Thread Seb
On Dec 6, 5:59 pm, Satya Prasad ksprasa...@gmail.com wrote: Try in the following way. setprop net.gprs.http-proxyhttp://10.201.51.54:8080 Thanks, I'll try that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: http proxy

2010-12-08 Thread Seb
On Dec 6, 8:18 pm, Danny Schimke danny.schi...@googlemail.com wrote: Hi, like many others I have had the same issue and got no internet access through proxy. I figured out the following solution: Try out comment#39 fromhttp://code.google.com/p/android/issues/detail?id=5508

[android-developers] http proxy

2010-12-04 Thread Seb
(getContentResolver(), Settings.System.HTTP_PROXY, localhost:8080); which also seems to be ignored. (No exceptions was thrown) Can anyone tell me how to do this? best regards, Seb -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] https X509 webview

2010-11-23 Thread Seb
with the webview in case someone wants to use js to read cookies. Best regards, Seb -- 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] https webview

2010-10-21 Thread Seb
the httpclient within the webview class? or a totally different way? best regards, Seb -- 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

[android-developers] Get GpsStatus notification in a Service

2010-09-21 Thread Seb
. Also ACCESS_FINE_LOCATION permission is set. I read in some forums and website that the addGpsStatusListener may doesn't work well on Eclair or Froyo. If you have a working solution to this issue, it can help me a lot. Regards, seb -- You received this message because you are subscribed

RE : Re: RE : [android-developers] Re: Droid 2.1-update1 EGL10.eglCreateWindowSurface() deadlocks intermittently

2010-04-08 Thread seb boyart
Try tonight. Le 7 avr. 2010 23:46, seb boyart unix...@gmail.com a écrit : forget it, your code is fine, it call the surfacechanged right, passing good values for width and height. for obvious reasons, my sphere isn't restreched after a rotation (it does approx 5% of the time only), but all

RE : [android-developers] Re: Droid 2.1-update1 EGL10.eglCreateWindowSurface() deadlocks intermittently

2010-04-07 Thread seb boyart
I use helixlauncher2 to rotate the desktop on n1. Le 7 avr. 2010 23:01, Robert Green rbgrn@gmail.com a écrit : That's strange.. First of all, how are you getting orientation changes on an N1? I never found a way to get it to do that. I tested my latest code on www.rbgrn.net on both the N1

Re: RE : [android-developers] Re: Droid 2.1-update1 EGL10.eglCreateWindowSurface() deadlocks intermittently

2010-04-07 Thread seb boyart
fine before, but not anymore. anyway the code on the blog look fine, i just had to declare the instanceId var and cast a return value to Runnable to compile it. i'm gonna publish a commentary with a link to your blog in the code, do you want something special in it ? 2010/4/7 seb boyart unix

[android-developers] Re: DatePicker: years before 2000

2009-12-17 Thread Seb
Hi, I've got users with the same problem with the same Samsung Moment Phone. The date can only be set from 2000 to 2090. If the user sets manually 1984, then when he'll go back in the DatePickerDialog, the date is 2098. After a little search, it appears that the DatePicker widget have 2

[android-developers] WidgetLayout inside PreferenceActivity displays new then old bitmap...

2009-10-23 Thread Seb
reappear. Then, the old bitmap is displayed (@drawable/test) - KO, it should still display the new bitmap. I tried to add: getListView().destroyDrawingCache(); img.invalidate(); But nothing changed... Can someone help me please ? Thanks, Seb

[android-developers] Re: launching m3u playlist with intent

2009-08-17 Thread Seb
Hi Marco, Thank you very much for the response. You give me the key to find the solution. I had to study the code of PlaylistBrowserActivity to find the solution. I give it here if someone else search the solution: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setComponent(new

[android-developers] launching m3u playlist with intent

2009-08-16 Thread Seb
Hi, Is there a way to launch a playlist whith intent? I can retrieve the path of the m3u playlist with: Cursor cursor = context.getContentResolver().query (MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, null, null, null, null); cursor.getString(cursor.getColumnIndex

[android-developers] Memory leak - heap size (again)

2009-08-10 Thread Seb
) Just for information, this is the BaseAdapter I use for my gallery: /** * Gallerie * * @author seb */ public class ImageAdapter extends BaseAdapter { static int mGalleryItemBackground = 0; private Context mContext; private Cursor mCursor; public PContext pContext

[android-developers] Re: Memory leak - heap size (again)

2009-08-10 Thread Seb
I think I found a side effect in the native free resources liberation wich could explain some unexpected java.lang.OutOfMemoryError: bitmap size exceeds VM budget when we work with large bitmap. In my application, I work with a lot of big bitmap, a lot of icones, thumbnail and drawable