[android-developers] WebView and ResponseCache

2011-12-15 Thread ydm
Hello, all! The ResponseCache class is a great tool for performance improvement and bandwidth consumption optimization. Anyway, I'm using it in a slightly different way -- to create something like Resource API (which will be most probably open-sourced soon) to serve app content when device is

[android-developers] df

2011-11-28 Thread ydm
Hello, everyone! I'm wondering if there is a Java way to check the storage capacity and percentage free. What I'm up to is to spawn a pipe and read the output of df unix command. Sadly I was unable to find a better way and that's why I'm asking for a such here. -- You received this message

[android-developers] Re: df

2011-11-28 Thread ydm
Thank you! :) On Nov 28, 3:28 pm, Mark Murphy mmur...@commonsware.com wrote: http://developer.android.com/reference/android/os/StatFs.html On Mon, Nov 28, 2011 at 5:38 AM, ydm jordanmiladi...@gmail.com wrote: Hello, everyone! I'm wondering if there is a Java way to check

[android-developers] Can the WebView contains another view?

2011-03-31 Thread ydm
Hello, all! Is there a way to add another view inside a WebView? -- 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] SQLite insert optimization

2011-03-23 Thread ydm
Hello! I have to insert around 100 rows in a sqlite db at once (trough content provider). Is there any way to make it process all the queries at once, instead of querying the provider for each row separately. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: SQLite insert optimization

2011-03-23 Thread ydm
Thank you both! It's really faster now! On Mar 23, 1:04 pm, DanH danhi...@ieee.org wrote: You need to use start/end transaction, to speed up things. On Mar 23, 2:59 am, ydm jordanmiladi...@gmail.com wrote: Hello! I have to insert around 100 rows in a sqlite db at once (trough content

[android-developers] SQLite db shared between activities

2011-02-22 Thread ydm
Hello! I'm curious why the SQLite db requires a Context object, and what I should do to share the same instance of a db object between many activities? Should I initialize it in the first activity and use it across the application, or may be any activity should reinitialize the db with itself as

[android-developers] Re: SQLite db shared between activities

2011-02-22 Thread ydm
wrote: 22.02.2011 13:32, ydm пишет: I'm curious why the SQLite db requires a Context object, The database class doesn't - SQLiteOpenHelper (subclass) does, to get the location of the database file. and what I should do to share the same instance of a db object between many activities

[android-developers] Developing on Debian 6?

2011-02-19 Thread ydm
Hello! I'm wondering does someone here already uses Debian for Android developing. I'm experimenting with 3 devices (galaxy tab/htc hero/ xperia) and only one of them (hero) works fine. Galaxy tab and xperia, regardless of any udev rules, can't be identified by the adb. The output of adb devices

[android-developers] Re: Developing on Debian 6?

2011-02-19 Thread ydm
...@gmail.com wrote: On Sat, Feb 19, 2011 at 1:03 PM, ydm jordanmiladi...@gmail.com wrote: Hello! I'm wondering does someone here already uses Debian for Android developing. I'm experimenting with 3 devices (galaxy tab/htc hero/ xperia) and only one of them (hero) works fine. Galaxy tab

[android-developers] Re: Developing on Debian 6?

2011-02-19 Thread ydm
You're great! Thank you! Now it works! On Feb 19, 4:55 pm, Alessandro Pellizzari a...@amiran.it wrote: On Sat, 19 Feb 2011 05:03:00 -0800, ydm wrote: $ ./adb devices * daemon not running. starting it now on port 5037 * * daemon started successfully * List of devices attached

[android-developers] Re: Share some of my work - DragDrop framework

2011-02-15 Thread ydm
Make it LGPL, so every one, who improves your code, will be obligated to share the improvements back (and then it's going to be up to you to accept these changes or not). LGPL allows the use of your code in proprietary projects too. -- You received this message because you are subscribed to the