[android-developers] Re: Image scaling on Sony Ericsson Xperia phone

2018-02-19 Thread anon ymous
Hi Mr Johan, 

I am developing a chat app for my final year project.
So what I am doing is that the image on the sender's phone is being scaled 
down to 20 by 20 sp.
When it reaches the destination i want that image to be scaled up to 100 by 
100 sp.
I had downloaded the code provided 
from 
https://developer.sonymobile.com/2011/06/27/how-to-scale-images-for-your-android-application/
But unfortunately the scaling doesn't work. The images I am saving to the 
database are very very blurry. 
I am using the fit method, not crop.
I am not sure what I am doing wrong. I have been trying to fix my problem 
for the past 3 weeks but its not working.
Please help me. Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/77ebb554-c761-4a75-a53c-2b186cbb190f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Image scaling on Sony Ericsson Xperia phone

2011-07-07 Thread Johan Abramsson
Hi,
I am glad you liked the article, Andreas has done a really great job.

I will forward your thoughts into the customer service organisation.
Thanks for letting us know.
Kind regards
  /Johan

On Jul 6, 8:37 pm, Martin Sall maris.seiman...@gmail.com wrote:
 Really nice article. It is great to see development related tutorials
 fromSonyEricssonlately.

 But I would like to ask about font scaling. I myself am visually
 impaired since birth (but still a software developer) and I know many
 people who wish to use Android devices but cannot do that comfortably
 because there is no font scaling built into the core of Android. This
 is also bad for people over 50 who do not have a perfect vision
 anymore.

 There is a 2 years old feature request on Android issue tracker, but
 it seems abandoned by 
 developers:http://code.google.com/p/android/issues/detail?id=4547

 Of course, each developer can make the fonts scalable, but they do so
 not often. The worst is that the basic phone functions (menu,
 contacts, SMS, mail) have too tiny texts.
 I myself am looking forward to buy SonyEricsson Neo, but I am afraid I
 won't be able to use it comfortably, I need a little bit bigger fonts
 everywhere and I would like avoid rooting the device just to do some
 hacky font replacement which would look ugly anyway.

 So if someone could bringSonyEricsson'sattention and ask them to
 develop more accessible software (just a basic home screen, contacts,
 SMS, menus), I guess,SonyEricssonwould get buyers from all the 50
 old people range + some bunch of people with impaired vision.

 I promise you,SonyEricsson: on the day you develop and release some
 software update which allows to scale fonts bigger on aSonyEricsson
 Neo phone, I'll buy it. For now I'll just read articles about Android
 development and use SDK/VirtualBox Android emulators.

 Please,SonyEricsson(and other developers, too), give a helping hand
 to visually impaired and not-so-young people.

 Good luck to all developers,
 Martin
 and some other visually impaired people.

 On 27 Jūn., 12:13, Johan Abramsson johan.abrams...@sonyericsson.com
 wrote:







  Hi,
  This article does, of course, apply to any android phone.
  Since we updated the blog post with a link to tis article the link to
  the blog post has changed. The new link is here,

 http://blogs.sonyericsson.com/wp/2011/06/27/how-to-scale-images-for-y...

  We apologize for any inconviniance.
  Kind regards
    /Johan

  On Jun 22, 10:07 am, Johan Abramsson

  johan.abrams...@sonyericsson.com wrote:
   Hi,

   Hard to get images scaled correctly for your application? Are your
   images too large and causing memory problems? Or are they scaled
   incorrectly with a poor user experience as a result?
   To find a good solution for this, we asked Andreas Agvard from the
  SonyEricssonsoftware department to help shed some light on this
   topic.

   More data and a good sample project are found 
   here:http://blogs.sonyericsson.com/wp/2011/06/13/how-to-scale-images-for-y...

   Comments and question ? Please direct them to this news thread.
   Kind regards
     /Johan

-- 
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: Image scaling on Sony Ericsson Xperia phone

2011-07-06 Thread Martin Sall
Really nice article. It is great to see development related tutorials
from Sony Ericsson lately.

But I would like to ask about font scaling. I myself am visually
impaired since birth (but still a software developer) and I know many
people who wish to use Android devices but cannot do that comfortably
because there is no font scaling built into the core of Android. This
is also bad for people over 50 who do not have a perfect vision
anymore.

There is a 2 years old feature request on Android issue tracker, but
it seems abandoned by developers:
http://code.google.com/p/android/issues/detail?id=4547

Of course, each developer can make the fonts scalable, but they do so
not often. The worst is that the basic phone functions (menu,
contacts, SMS, mail) have too tiny texts.
I myself am looking forward to buy SonyEricsson Neo, but I am afraid I
won't be able to use it comfortably, I need a little bit bigger fonts
everywhere and I would like avoid rooting the device just to do some
hacky font replacement which would look ugly anyway.

So if someone could bring Sony Ericsson's attention and ask them to
develop more accessible software (just a basic home screen, contacts,
SMS, menus), I guess, Sony Ericsson would get buyers from all the 50
old people range + some bunch of people with impaired vision.

I promise you, Sony Ericsson: on the day you develop and release some
software update which allows to scale fonts bigger on a Sony Ericsson
Neo phone, I'll buy it. For now I'll just read articles about Android
development and use SDK/VirtualBox Android emulators.

Please, Sony Ericsson (and other developers, too), give a helping hand
to visually impaired and not-so-young people.

Good luck to all developers,
Martin
and some other visually impaired people.

On 27 Jūn., 12:13, Johan Abramsson johan.abrams...@sonyericsson.com
wrote:
 Hi,
 This article does, of course, apply to any android phone.
 Since we updated the blog post with a link to tis article the link to
 the blog post has changed. The new link is here,

 http://blogs.sonyericsson.com/wp/2011/06/27/how-to-scale-images-for-y...

 We apologize for any inconviniance.
 Kind regards
   /Johan

 On Jun 22, 10:07 am, Johan Abramsson



 johan.abrams...@sonyericsson.com wrote:
  Hi,

  Hard to get images scaled correctly for your application? Are your
  images too large and causing memory problems? Or are they scaled
  incorrectly with a poor user experience as a result?
  To find a good solution for this, we asked Andreas Agvard from the
 SonyEricssonsoftware department to help shed some light on this
  topic.

  More data and a good sample project are found 
  here:http://blogs.sonyericsson.com/wp/2011/06/13/how-to-scale-images-for-y...

  Comments and question ? Please direct them to this news thread.
  Kind regards
    /Johan

-- 
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: Image scaling on Sony Ericsson Xperia phone

2011-06-27 Thread Johan Abramsson
Hi,
This article does, of course, apply to any android phone.
Since we updated the blog post with a link to tis article the link to
the blog post has changed. The new link is here,

http://blogs.sonyericsson.com/wp/2011/06/27/how-to-scale-images-for-your-android%E2%84%A2-application/

We apologize for any inconviniance.
Kind regards
  /Johan


On Jun 22, 10:07 am, Johan Abramsson
johan.abrams...@sonyericsson.com wrote:
 Hi,

 Hard to get images scaled correctly for your application? Are your
 images too large and causing memory problems? Or are they scaled
 incorrectly with a poor user experience as a result?
 To find a good solution for this, we asked Andreas Agvard from the
 Sony Ericsson software department to help shed some light on this
 topic.

 More data and a good sample project are found 
 here:http://blogs.sonyericsson.com/wp/2011/06/13/how-to-scale-images-for-y...

 Comments and question ? Please direct them to this news thread.
 Kind regards
   /Johan

-- 
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