Re: [android-developers] Hide bottom status bar in Android 3.2 Honeycomb!

2011-11-01 Thread Sebastian Tomaszewski
SIGHT... THank you  [?]...

On Tue, Nov 1, 2011 at 9:59 AM, Mark Murphy  wrote:

> On Tue, Nov 1, 2011 at 12:24 PM, Sebastian Tomaszewski
>  wrote:
> > As we know that the Bottom Status Bar in the Android Honeycomb takes
> lots of
> > real-estate on the Tablet screen, since this is the case and one of my
> > applications that I am creating needs that space, is there someway to
> hide
> > it without ROOTING the device?
>
> No.
>
> > I research a lot on this subject and I haven't found any solutions that
> I am
> > looking for and at the same time I don't understand why there isn't way
> to
> > do that now (hide it, shrink it, move it, whatever) ...
>
> Because users need to be able to control their devices, and the
> control buttons on tablets are in the system bar.
>
> > What I understand
> > is that if some people will remove that completely, the users will be
> stuck
> > in that program and the only way to get out is to restart the device...At
> > the same time I would like to argue that the developer should know
> > better...
>
> Malware authors say the same thing.
>
> > Does anyone know if this will be an
> > option in the near future without ROOTING the device?
>
> I will be stunned if it is ever an option for developers to attack
> users this way. Users might have options for getting rid of the bar,
> and the OS (on its own or via modded ROMs) might switch to some other
> model where the bar is only sporadically visible.
>
> > If so, does anyone
> > know how of the near future that is going to be, because I am really on a
> > tight deadline here?
>
> Even if Android 4.1/5.0/whatever the J release is were to add this
> feature, it will be late 2013 before a preponderance of devices runs
> that version of Android or higher. That would not seem to fit with any
> likely definition of "tight deadline".
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.6 Available!
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en<<328.png>>

[android-developers] Hide bottom status bar in Android 3.2 Honeycomb!

2011-11-01 Thread Sebastian Tomaszewski
Hello guys,

If this subject was already discussed somewhere in the forums with the
solution without ROOTing the device, I would like to apologize ahead of
time...

As we know that the Bottom Status Bar in the Android Honeycomb takes lots
of real-estate on the Tablet screen, since this is the case and one of my
applications that I am creating needs that space, is there someway to hide
it without ROOTING the device?

I research a lot on this subject and I haven't found any solutions that I
am looking for and at the same time I don't understand why there isn't way
to do that now (hide it, shrink it, move it, whatever) ...  What I
understand is that if some people will remove that completely, the users
will be stuck in that program and the only way to get out is to restart the
device...At the same time I would like to argue that the developer should
know better...

As fun ROOTING the system sounds, I again would like stay away from that

The following link contains some in depth discussion on this subject, since
March 10th, 2011... In fact some people did an in depth analysis on this
subject with the potential solutions... Does anyone know if this will be an
option in the near future without ROOTING the device?  If so, does anyone
know how of the near future that is going to be, because I am really on a
tight deadline here?
http://code.google.com/p/android/issues/detail?id=15408

Please let me know if have any answers to my questions and I would like to
thank you ahead of time..

Thank you and Best Regards,



Sebo

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Setting Screen Orientation in Service!!

2011-10-06 Thread Sebastian Tomaszewski
Thank u...
On Oct 6, 2011 4:11 PM, "Kristopher Micinski" 
wrote:
> I don't think anyone has any advice because this is just a bad idea...
>
> A service shouldn't directly touch the UI, it just doesn't make sense...
>
> The point of a service is to *not* touch the UI...
>
> Somebody already told you this, yet you brushed off their comment and
> asked again.
>
> If you want to change the UI, and need to do it from a service, send a
> message to some UI code that tells it to make the necessary changes.
>
> Kris
>
> On Thu, Oct 6, 2011 at 12:17 PM, Sebastian Tomaszewski
>  wrote:
>> Anyone?
>>
>> On Wed, Oct 5, 2011 at 11:50 AM, Sebastian Tomaszewski
>>  wrote:
>>>
>>> BTW, where can I find that APP, I can't find it
>>>
>>> On Wed, Oct 5, 2011 at 11:45 AM, Sebastian Tomaszewski
>>>  wrote:
>>>>
>>>> Thank you for your reply... I will look on this
>>>>
>>>> On Tue, Oct 4, 2011 at 11:27 PM, Vishal Keshav 
>>>> wrote:
>>>>>
>>>>> you need to install an application called sbj screen
>>>>>
>>>>> --
>>>>> 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+unsubscr...@googlegroups.com
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>> --
>> 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+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Setting Screen Orientation in Service!!

2011-10-06 Thread Sebastian Tomaszewski
Anyone?

On Wed, Oct 5, 2011 at 11:50 AM, Sebastian Tomaszewski <
stomasze101...@gmail.com> wrote:

> BTW, where can I find that APP, I can't find it
>
>
> On Wed, Oct 5, 2011 at 11:45 AM, Sebastian Tomaszewski <
> stomasze101...@gmail.com> wrote:
>
>> Thank you for your reply... I will look on this
>>
>>
>> On Tue, Oct 4, 2011 at 11:27 PM, Vishal Keshav wrote:
>>
>>> you need to install an application called sbj screen
>>>
>>> --
>>> 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+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Setting Screen Orientation in Service!!

2011-10-05 Thread Sebastian Tomaszewski
BTW, where can I find that APP, I can't find it

On Wed, Oct 5, 2011 at 11:45 AM, Sebastian Tomaszewski <
stomasze101...@gmail.com> wrote:

> Thank you for your reply... I will look on this
>
>
> On Tue, Oct 4, 2011 at 11:27 PM, Vishal Keshav wrote:
>
>> you need to install an application called sbj screen
>>
>> --
>> 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+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Setting Screen Orientation in Service!!

2011-10-05 Thread Sebastian Tomaszewski
Quick question, does it rquire rooting the phone?

On Tue, Oct 4, 2011 at 11:27 PM, Vishal Keshav wrote:

> you need to install an application called sbj screen
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Setting Screen Orientation in Service!!

2011-10-05 Thread Sebastian Tomaszewski
Thank you for your reply... I will look on this

On Tue, Oct 4, 2011 at 11:27 PM, Vishal Keshav wrote:

> you need to install an application called sbj screen
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Setting Screen Orientation in Service!!

2011-10-05 Thread Sebastian Tomaszewski
Marcin,
Point well taken, but this doesn't help me...   Just a side note, my APP
will not be published on the market.Again your comment doesn't help
me here, but thanks...


Sebo
On Wed, Oct 5, 2011 at 2:26 AM, Marcin Orlowski wrote:

> And why you want to enforce certain screen orientation for non UI element
> like service? It's makes no much sense. If you really need certain
> orientation for your *Activity*, enforce it there, either via code or
> manifest. Otherwise keep your hands off of this unless you love users to
> give you names.
>
> Regards,
> Marcin Orlowski
>
> *Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule
> handy...
> *Date In Tray* <http://bit.ly/dateintraypro> - current date at glance...
> WebnetMobile on *Facebook <http://webnetmobile.com/fb/>* and 
> *Twitter<http://webnetmobile.com/twitter/>
> *
>
>
>
>   On 4 October 2011 19:05, Sebastian Tomaszewski  > wrote:
>
>>   Guys,
>> Would you by any chance know if there is a way to set a Screen Orientation
>> in Service?   What I want is to set my android device to a specific
>> Orientation at all times.   The orientation that I am setting it too is not
>> available currently on my device, but I can set it programmatically   My
>> thought was to set the Service in the background at all times which will
>> keep that orientation.   I don't want to root my device... Unless you guys
>> think that there are some other ways to do this...
>>
>> Any suggestions?  Please let me know.
>>
>>
>> Thank you and Best Regards,
>>
>>
>> Sebo
>>
>> --
>> 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+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Setting Screen Orientation in Service!!

2011-10-04 Thread Sebastian Tomaszewski
Guys,
Would you by any chance know if there is a way to set a Screen Orientation
in Service?   What I want is to set my android device to a specific
Orientation at all times.   The orientation that I am setting it too is not
available currently on my device, but I can set it programmatically   My
thought was to set the Service in the background at all times which will
keep that orientation.   I don't want to root my device... Unless you guys
think that there are some other ways to do this...

Any suggestions?  Please let me know.


Thank you and Best Regards,


Sebo

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Sony S1 adb driver

2011-09-27 Thread Sebastian Tomaszewski
Kostya, thank you for fowarding this...
Okay, I was able to find my problem thank you
On Tue, Sep 27, 2011 at 2:47 PM, Kostya Vasilyev  wrote:

> I certainly am, Eclipse 3.7 on Windows 7 / 64bit.
>
> Here is my tweaked android_winusb.inf:
>
> http://pastebin.com/nET9v1pr
>
> And here is my adb_usb.ini, goes into %USERPROFILE%\.android:
>
> http://pastebin.com/wBs0gaCR
>
> What I did was (just got the tablet this afternoon):
>
> - Tweaked the driver .inf file, tweaked adb_usb.ini
>
> - Brought up the Device Manager, manually associated the modified driver
> with the tablet's ADB device (it initially showed up as missing the
> drivers).
>
> - Restarted adb with "adb kill-server" / "adb start-server", then typed
> "adb devices" and the tablet was listed in the output.
>
> Hope this helps.
> -- Kostya
>
> 28.09.2011 1:36, Sebastian Tomaszewski пишет:
>
> Kostya,
> Another quick question, are you using Eclipse?  Please let me know.
>
> Thanks,
>
>
> Sebo
>
>
> --
> Kostya Vasilyev
>
>   --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Sony S1 adb driver

2011-09-27 Thread Sebastian Tomaszewski
Kostya,
Another quick question, are you using Eclipse?  Please let me know.

Thanks,


Sebo

On Tue, Sep 27, 2011 at 1:00 PM, Kostya Vasilyev  wrote:

> No, I couldn't find any drivers on Sony's site...
>
> Did you remember to enable debugging in the tablet's Settings, it's under
> Applications?
>
> 27.09.2011 23:48, Sebastian Tomaszewski пишет:
>
> Kostya,
>> Thank you for your response.  I greatly appreciate it.  I ddi everything
>> as you specified, but for some reason it still doesn't work for me.  Is
>> there any specific SONY driver that you loaded?  Please let me know.
>> Thank you again,
>>
>> Sebo
>>
>
>  --
> Kostya Vasilyev
>
> --
> 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+**unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Sony S1 adb driver

2011-09-27 Thread Sebastian Tomaszewski
yeah, I enabled it I am missing something and it is prbably something
simple that I will hit my head over the wall once I find it... :) Thank
you again.



On Tue, Sep 27, 2011 at 1:00 PM, Kostya Vasilyev  wrote:

> No, I couldn't find any drivers on Sony's site...
>
> Did you remember to enable debugging in the tablet's Settings, it's under
> Applications?
>
> 27.09.2011 23:48, Sebastian Tomaszewski пишет:
>
> Kostya,
>> Thank you for your response.  I greatly appreciate it.  I ddi everything
>> as you specified, but for some reason it still doesn't work for me.  Is
>> there any specific SONY driver that you loaded?  Please let me know.
>> Thank you again,
>>
>> Sebo
>>
>
>  --
> Kostya Vasilyev
>
> --
> 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+**unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Sony S1 adb driver

2011-09-27 Thread Sebastian Tomaszewski
Kostya,
Thank you for your response.  I greatly appreciate it.  I ddi everything as
you specified, but for some reason it still doesn't work for me.  Is there
any specific SONY driver that you loaded?  Please let me know.

Thank you again,


Sebo

On Tue, Sep 27, 2011 at 10:45 AM, Kostya Vasilyev wrote:

> I added 0x054C on a line by itself to adb_usb.ini (located in
> %USERPROFILE%\.android).
>
> And added the other snippet to android_winusb.inf in the "standard" Google
> USB driver (under [Google.NTamd64], since my system is 64-bit, use
> [Google.NTx86] for 32-bit, or add in both places at once).
>
> After configuring the driver, I also had to do adb kill / adb start before
> it showed up in adb devices.
>
> -- Kostya
>
> 27.09.2011 21:11, Sebastian Tomaszewski пишет:
>
> Question, How did you use those two files in order to get this for you to
> work?  Please let me know.
>
> Thanks
>
> On Tue, Sep 27, 2011 at 5:21 AM, Kostya Vasilyev wrote:
>
>> This worked for me:
>>
>> https://gist.github.com/1233900
>>
>> 26.09.2011 19:19, Coolblue2000 пишет:
>>
>> I need a driver for my Sony S1 tablet. I have enabled USB Debugging
>>> but my computer can only see the tablet as USB storage device and AVD
>>> manager can't see the tablet as a device.
>>>
>>> I also have a desire HD and simply downloaded the htc adb driver,
>>> installed it and everything works fine. I however can not find a
>>> driver on the sony site and their tech support simply told me I needed
>>> the google usb driver which I already have installed..
>>>
>>> Does anyone have any idea how I get this working?
>>>
>>>
>> --
>> Kostya Vasilyev
>>
>>
>> --
>> 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+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
>
> --
> Kostya Vasilyev
>
>   --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Sony S1 adb driver

2011-09-27 Thread Sebastian Tomaszewski
Question, How did you use those two files in order to get this for you to
work?  Please let me know.

Thanks

On Tue, Sep 27, 2011 at 5:21 AM, Kostya Vasilyev  wrote:

> This worked for me:
>
> https://gist.github.com/**1233900 
>
> 26.09.2011 19:19, Coolblue2000 пишет:
>
> I need a driver for my Sony S1 tablet. I have enabled USB Debugging
>> but my computer can only see the tablet as USB storage device and AVD
>> manager can't see the tablet as a device.
>>
>> I also have a desire HD and simply downloaded the htc adb driver,
>> installed it and everything works fine. I however can not find a
>> driver on the sony site and their tech support simply told me I needed
>> the google usb driver which I already have installed..
>>
>> Does anyone have any idea how I get this working?
>>
>>
> --
> Kostya Vasilyev
>
>
> --
> 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+**unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/**group/android-developers?hl=en
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Screen Shot Capture Timing!!!

2011-08-08 Thread Sebastian Tomaszewski
Bring this to the TOP again... See if someone has the potential answers...
Thank you ahead of time


Sebo

On Thu, Aug 4, 2011 at 4:01 PM, Sebastian Tomaszewski <
stomasze101...@gmail.com> wrote:

> Hello All,
> I have a little dilema with the Timing on one of my Screen Capture
> applications:
>
> 1. Currenlty I am using the following code in oroder to capture the SCREEN
> SHOT of the device:
> "
> v1 = linView.getRootView();
> v1.setDrawingCacheEnabled(*true*);
> bmp = v1.getDrawingCache();
>  "
> Which gives the following timing when I try to capture every second:
>TIME Time to Get Data 1  111MS  2  28MS  3  1MS  4  1MS  5  4MS  6  1MS
>   7  1MS  8  1MS  RESTARTED WHILE APP RUNNING- 9  2MS  10  31MS
> 11  3MS  12  1MS  13  1MS  RESTARTED WHILE APP RUNNING- 14  1MS
> 15  28MS  16  2MS  17  1MS  18  1MS
>
> As you can see that the very 1st time it takes forever, comparing to the
> other times.  Also, always at the second capture it takes more as well.
> Would anyone know why?  Is there some way that I coudl improve this?
>
> 2. The above code is a lot better from the timing perspective then the
> following code:
>
> bmp = Bitmap.*createBitmap*(width , height, Bitmap.Config.*ARGB_*);
>
> canvas = *new* Canvas(bmp);
> 3. Finally could anyone tell me if there is another/better way to capture
> the Screen Shot of the device, which could improve my timing?
>
>
>
> Please let me know.
>
> Thank you and Best Regards,
>
>
>
> Sebo
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Screen Shot Capture Timing!!!

2011-08-04 Thread Sebastian Tomaszewski
Hello All,
I have a little dilema with the Timing on one of my Screen Capture
applications:

1. Currenlty I am using the following code in oroder to capture the SCREEN
SHOT of the device:
"
v1 = linView.getRootView();
v1.setDrawingCacheEnabled(*true*);
bmp = v1.getDrawingCache();
 "
Which gives the following timing when I try to capture every second:
   TIME Time to Get Data 1  111MS  2  28MS  3  1MS  4  1MS  5  4MS  6  1MS
7  1MS  8  1MS  RESTARTED WHILE APP RUNNING- 9  2MS  10  31MS  11
3MS  12  1MS  13  1MS  RESTARTED WHILE APP RUNNING- 14  1MS  15
28MS  16  2MS  17  1MS  18  1MS

As you can see that the very 1st time it takes forever, comparing to the
other times.  Also, always at the second capture it takes more as well.
Would anyone know why?  Is there some way that I coudl improve this?

2. The above code is a lot better from the timing perspective then the
following code:

bmp = Bitmap.*createBitmap*(width , height, Bitmap.Config.*ARGB_*);

canvas = *new* Canvas(bmp);
3. Finally could anyone tell me if there is another/better way to capture
the Screen Shot of the device, which could improve my timing?



Please let me know.

Thank you and Best Regards,



Sebo

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Most Efficient (TIMING) way to save the images onto the Tablet!!!!

2011-07-28 Thread Sebastian Tomaszewski
Thank u guys, I will give it a shot later ...  thank you again
On Jul 28, 2011 11:42 AM, "Miguel Morales"  wrote:
> When writing to the sdcard directly did you wrap your file stream
> around a buffered stream with a 8k buffer?
>
>
> On Thu, Jul 28, 2011 at 11:37 AM, Kostya Vasilyev 
wrote:
>> Your timings don't seem that bad - 180 ms for approximately 3 MB image
(you
>> didn't write anything about compression) is about 16 MB / sec.
>>
>> I'd recommend you run some kind of compression on the image data. It
doesn't
>> have to be anything fancy that gets you the minimum possible image size,
but
>> rather the opposite - something that can reduce the file size, while
taking
>> less time than it will save on I/O.
>>
>> -- Kostya
>>
>> 28.07.2011 22:20, Sebastian Tomaszewski пишет:
>>
>> Putting this to the top to see if someone has an answer...  thank you
>>
>> On Jul 25, 2011 11:20 AM, "Sebastian Tomaszewski" <
stomasze101...@gmail.com>
>> wrote:
>>> Do any of you guys know an answer to this.. Just wondering...
>>>
>>> On Fri, Jul 22, 2011 at 5:24 PM, Sebo  wrote:
>>>
>>>> Hello All,
>>>>
>>>> Here is my Problem, I am trying to safe an image (1280x800) into the
>>>> memory and I am running into some timing issues Meaning I want to
>>>> get it done As fast as possible wihtout losing the image sizing and
>>>> crispness I had been trying to resolve this problem for last
>>>> couple of days and I am running always to gotchias (The final
>>>> destination of the Image I want it to be in the SDCARD)
>>>>
>>>> 1. I tried writing directly an image to the SD-CARD and it took about
>>>> about 180 msec
>>>> 2. I tried writing to internal cache memory first (160msec) and then
>>>> copying using the FileChannel the image to SDCARD (4msec)
>>>>
>>>> Does anyone know what would be even faster?
>>>> If there is no faster way to do this, that is fine, but I just want to
>>>> make sure that I visited all of the possible ways.
>>>>
>>>> Thank you all for your help ahead of time.
>>>>
>>>> Thank you and Best Regards,
>>>>
>>>>
>>>> Sebo
>>>> --- I eat droids for Breakfast
>> --
>> 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+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> Kostya Vasilyev
>>
>> --
>> 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+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> ~ Jeremiah:9:23-24
> Android 2D MMORPG: http://solrpg.com/,
http://www.youtube.com/user/revoltingx
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Most Efficient (TIMING) way to save the images onto the Tablet!!!!

2011-07-28 Thread Sebastian Tomaszewski
Putting this to the top to see if someone has an answer...  thank you
 On Jul 25, 2011 11:20 AM, "Sebastian Tomaszewski" 
wrote:
> Do any of you guys know an answer to this.. Just wondering...
>
> On Fri, Jul 22, 2011 at 5:24 PM, Sebo  wrote:
>
>> Hello All,
>>
>> Here is my Problem, I am trying to safe an image (1280x800) into the
>> memory and I am running into some timing issues Meaning I want to
>> get it done As fast as possible wihtout losing the image sizing and
>> crispness I had been trying to resolve this problem for last
>> couple of days and I am running always to gotchias (The final
>> destination of the Image I want it to be in the SDCARD)
>>
>> 1. I tried writing directly an image to the SD-CARD and it took about
>> about 180 msec
>> 2. I tried writing to internal cache memory first (160msec) and then
>> copying using the FileChannel the image to SDCARD (4msec)
>>
>> Does anyone know what would be even faster?
>> If there is no faster way to do this, that is fine, but I just want to
>> make sure that I visited all of the possible ways.
>>
>> Thank you all for your help ahead of time.
>>
>> Thank you and Best Regards,
>>
>>
>> Sebo
>> --- I eat droids for Breakfast

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Sebastian Tomaszewski
Mr. Mark,
Thank you, I greatly appreciate your help and clarifications.  Sorry about
the typo...

Regards,


Sebo

On Tue, Jul 26, 2011 at 1:24 PM, Mark Murphy wrote:

> On Tue, Jul 26, 2011 at 3:01 PM, Sebastian Tomaszewski
>  wrote:
> > processes running in the background.  I am currently writing an APP,
> which
> > won't be ever on the MARKET for the ANDROID community to
> > use.  Instead this APP will be used for my company purposes.  The reason
> why
> > I was asking to do that is because I wanted to make sure that nothing
> else
> > interrupts me while I am running  (it is very time critical application
> that
> > I am writing)...
>
> Don't allow other applications on the device. This may involve your
> firm purchasing its own devices from a device manufacturer or taking
> other steps to get rid of other applications.
>
> > Previously in this thread it was mentioned that "The foreground process
> is
> > already "the highest prioiryt [sic] in the whole system".", does anyone
> know
> > what that means?
>
> The "[sic]" is referring to your typo. The "foreground process" is
> whatever application is on the screen.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training in NYC: http://marakana.com/training/android/
>
> --
>  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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Sebastian Tomaszewski
Dianne,
Thank you for the explenation.  I greatly appreciate it.

Sebo

On Tue, Jul 26, 2011 at 11:47 AM, Dianne Hackborn wrote:

> android:priority is for IntentFilter matching, it has nothing to do with
> thread priority.  Also third party apps can't get an android:priority > 0.
>
>   On Tue, Jul 26, 2011 at 10:37 AM, Sebastian Tomaszewski <
> stomasze101...@gmail.com> wrote:
>
>>   Hello Mark,
>> Thank you for your reply, I greatly appreciate it.
>> "Fortunately"...come on...  :)... I guess there is a reason behinid it
>> is there?
>> So does that mean that "android:priority=*"2147483647*" didn't do
>> anything for me in my Manifest.   I read somewhere that this could have
>> helped?... A little bit confused here, but maybe I might have misread
>> this...
>>
>> http://developer.android.com/guide/topics/manifest/intent-filter-element.html#priority
>>
>> Nevertheless, would the application that is running be considred as
>> Foreground Process?  Please let me know.
>>
>> Thank you and Best Regards,
>>
>>
>> Sebo
>>
>>On Tue, Jul 26, 2011 at 4:20 AM, Mark Murphy 
>> wrote:
>>
>>> On Fri, Jul 22, 2011 at 8:31 PM, Sebo  wrote:
>>> > Quick question, do you know if there is a way to turn off any APPS
>>> > that run in the background (e-mail/GPS...), so my application while it
>>> > is running won't be interrupted at all(Except for the OS of
>>> > course)?
>>>
>>> Fortunately, this is not possible.
>>>
>>> > OR is there a way to tell when my application starts that my APP is
>>> > the highest prioiryt in the whole system?
>>>
>>> The foreground process is already "the highest prioiryt [sic] in the
>>> whole system".
>>>
>>> >   I tried setting my
>>> > Acitivity prioity (In the Manifest) to the highest possible and that
>>> > didn't work that well.
>>>
>>> There is no "Acitivity prioity (In the Manifest)".
>>>
>>> --
>>> Mark Murphy (a Commons Guy)
>>> http://commonsware.com | http://github.com/commonsguy
>>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>>
>>> Android Training in NYC: http://marakana.com/training/android/
>>>
>>> --
>>> 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+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>> --
>> 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+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
> --
>  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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Sebastian Tomaszewski
Nathan,
Sorry I haven't read your e-mail prior to sending my last response, but one
more thing, again I understand the criticality of reason why we don't want
to do it Just to clarify, I don't want to maliciously  KILL the
processes running in the background.  I am currently writing an APP, which
won't be ever on the MARKET for the ANDROID community to
use.  Instead this APP will be used for my company purposes.  The reason why
I was asking to do that is because I wanted to make sure that nothing else
interrupts me while I am running  (it is very time critical application that
I am writing)...

Is there someway that I could learn how to do this?   If there are ways, I
understand why you won't be able to give me the examples for that on this
post, but is there someway that I could contact someone in ANDROID DEV group
that will be able to provide me with this information

Previously in this thread it was mentioned that "The foreground process is
already "the highest prioiryt [sic] in the whole system".", does anyone know
what that means?

Thank you,


Sebo



On Tue, Jul 26, 2011 at 11:43 AM, Sebastian Tomaszewski <
stomasze101...@gmail.com> wrote:

> CHEERS... :)... That is completely understandable... Thanks...
>
>   On Tue, Jul 26, 2011 at 10:49 AM, Streets Of Boston <
> flyingdutc...@gmail.com> wrote:
>
>> Yes, it's fortunately. :-)
>>
>> It's 'fortunately' for the developers of the e-mail/GPS/etc apps. If your
>> app could take (almost) all CPU cycles, their apps will no longer run for
>> some period of time and who knows what detrimental effects that could have
>> on their apps. Then they would come to the android-developers group asking
>> how they can avoid other apps from taking all the processing cycles or how
>> they can set the priority even higher.
>>
>>
>> --
>>  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+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Sebastian Tomaszewski
CHEERS... :)... That is completely understandable... Thanks...

On Tue, Jul 26, 2011 at 10:49 AM, Streets Of Boston  wrote:

> Yes, it's fortunately. :-)
>
> It's 'fortunately' for the developers of the e-mail/GPS/etc apps. If your
> app could take (almost) all CPU cycles, their apps will no longer run for
> some period of time and who knows what detrimental effects that could have
> on their apps. Then they would come to the android-developers group asking
> how they can avoid other apps from taking all the processing cycles or how
> they can set the priority even higher.
>
>
> --
>  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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Sebastian Tomaszewski
Hello Mark,
Thank you for your reply, I greatly appreciate it.
"Fortunately"...come on...  :)... I guess there is a reason behinid it
is there?
So does that mean that "android:priority=*"2147483647*" didn't do anything
for me in my Manifest.   I read somewhere that this could have helped?... A
little bit confused here, but maybe I might have misread this...
http://developer.android.com/guide/topics/manifest/intent-filter-element.html#priority

Nevertheless, would the application that is running be considred as
Foreground Process?  Please let me know.

Thank you and Best Regards,


Sebo

On Tue, Jul 26, 2011 at 4:20 AM, Mark Murphy wrote:

> On Fri, Jul 22, 2011 at 8:31 PM, Sebo  wrote:
> > Quick question, do you know if there is a way to turn off any APPS
> > that run in the background (e-mail/GPS...), so my application while it
> > is running won't be interrupted at all(Except for the OS of
> > course)?
>
> Fortunately, this is not possible.
>
> > OR is there a way to tell when my application starts that my APP is
> > the highest prioiryt in the whole system?
>
> The foreground process is already "the highest prioiryt [sic] in the
> whole system".
>
> >   I tried setting my
> > Acitivity prioity (In the Manifest) to the highest possible and that
> > didn't work that well.
>
> There is no "Acitivity prioity (In the Manifest)".
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training in NYC: http://marakana.com/training/android/
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-25 Thread Sebastian Tomaszewski
Do any of you guys know an answer to this.. Just wondering...


On Fri, Jul 22, 2011 at 5:31 PM, Sebo  wrote:

> Hello All,
> Quick question, do you know if there is a way to turn off any APPS
> that run in the background (e-mail/GPS...), so my application while it
> is running won't be interrupted at all(Except for the OS of
> course)?.   BOTTOM line the following is what I would like to do:
> 1. As soon as my APP Enters, it would turn off the other background
> APPS/Services/Tasks (Except for OS) from running.
> 2. Perform operations without being interrupted
> 3. On the exit, the APP would re-enable all of those apps to run?
>
> OR is there a way to tell when my application starts that my APP is
> the highest prioiryt in the whole system?  I tried setting my
> Acitivity prioity (In the Manifest) to the highest possible and that
> didn't work that well.
>
> Please let me know if you have any suggestions..
>
> I greatly appreciate it.
>
>
>
> Sebo
> -- DROIDS for LUNCH... ANyone?

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: CountDownTimer too slow ???

2011-07-25 Thread Sebastian Tomaszewski
Hello all,
Nikolay, thank you for posting this problem that you are seeing. I get the
same problem when I use this timer in my code and I have no idea what could
be the issue...  If anyone know the reason why or how to improve it, I would
greatly appreciate the answer as well.
The followinig are some questions that come into my mind:
1. Is there some more occurate timer out there?
2. Could this potentially be because there are many other applications
runnign in the background?
3. Is there someway to turn off those applications?
NOTE: I posted questions 2 and 3 in my earlier post and didn't get a
responses...

Thank you again for all of your help and I greatly appreciate your response.


Sebo

On Mon, Jul 25, 2011 at 11:25 AM, Christophe <
christophe.lebesner...@gmail.com> wrote:

> hello Nikolay,
>
> I have updated my code, following your suggestion :
>
> public List times = new ArrayList();
> CountDownTimer countDown = new CountDownTimer(Integer.MAX_VALUE, 1000)
> {
>@Override
>public void onTick(long millisUntilFinished) {
>times.add(System.currentTimeMillis());
>}
>
> };
>
> and after a while I display the time between two call to "onTick" with
> a loop over my list :
>
> for (int i = 1; i < times.size(); i++) {
>System.out.println(times.get(i) - times.get(i - 1));
> }
>
> And I have something like this :
>
> 07-25 18:18:37.281: INFO/System.out(408): 1034
> 07-25 18:18:37.281: INFO/System.out(408): 1031
> 07-25 18:18:37.281: INFO/System.out(408): 1017
> 07-25 18:18:37.281: INFO/System.out(408): 1018
> 07-25 18:18:37.291: INFO/System.out(408): 1011
> 07-25 18:18:37.291: INFO/System.out(408): 1019
> ...
>
> I'm not expecting the precision of an atomic clock, but the error
> margin here is huge !
>
> On Jul 25, 8:06 pm, Nikolay Elenkov  wrote:
> > On Jul 26, 2011 3:00 AM, "Christophe" 
>  > wrote:
> >
> >
> >
> > > "Log can be expensive" => I have tried to run the same code with a
> > > good old "System.out.println" and the problem is still there.
> >
> > That goes to the same log buffer, so no change is to be expected. Make a
> > list of Long and push currentTimeMillis on each call. Then dump the list
> to
> > log and see what this gives you.
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Most Efficient (TIMING) way to save the images onto the Tablet!!!!

2011-07-25 Thread Sebastian Tomaszewski
Do any of you guys know an answer to this.. Just wondering...

On Fri, Jul 22, 2011 at 5:24 PM, Sebo  wrote:

> Hello All,
>
> Here is my Problem, I am trying to safe an image (1280x800) into the
> memory and I am running into some timing issues Meaning I want to
> get it done As fast as possible wihtout losing the image sizing and
> crispness I had been trying to resolve this problem for last
> couple of days and I am running always to gotchias (The final
> destination of the Image I want it to be in the SDCARD)
>
> 1.  I tried writing directly an image to the SD-CARD and it took about
> about 180 msec
> 2. I tried writing to internal cache memory first (160msec) and then
> copying using the FileChannel the image to SDCARD (4msec)
>
> Does anyone know what would be even faster?
> If there is no faster way to do this, that is fine, but I just want to
> make sure that I visited all of the possible ways.
>
> Thank you all for your help ahead of time.
>
> Thank you and Best Regards,
>
>
> Sebo
> --- I eat droids for Breakfast

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: CountDownTimer too slow ???

2011-07-25 Thread Sebastian Tomaszewski
You are right that works alot better...   I am only 1 msec off what
expect  before it was about 10 sec off what I expected...  thank you for
clarifying this...  I greatly appreciate it   sebo
 On Jul 25, 2011 4:46 PM, "Nick Risaro"  wrote:
> If you run your app on eclipse, i.e. without making an apk and installing
it
> on the phone, you always run with the debug flag in true.
>
> If you want to run 100% in normal mode you have to make an APK file and
> install it on a real phone.
>
> On Mon, Jul 25, 2011 at 4:54 PM, Christophe <
> christophe.lebesner...@gmail.com> wrote:
>
>> I'm using eclipse but I run the app using the normal mode, not the
>> debug mode.
>>
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en