-5

Basically my Imageview contains a Image on which i write text dynamically,the problem is i'am able to save only the image, but not the image with text.I tried the following solutions in the questions but it dint work.
Save image view as a jpeg image in sdcard
How can I save the content of an ImageView to a Bitmap in Android? The saved image should look something like this
http://media.npr.org/assets/img/2012/07/01/dos-equis-meme_custom-1b9aee77416a2ac82498c4358db1d22a65abe441-s6-c30.jpg

Community
  • 1
  • 1
Karthik Rk
  • 707
  • 1
  • 10
  • 19
  • 5
    Please read the pertinent section of the Java spec _fully_ before posting questions like this that can be easily answered. – Jim Garrison May 07 '13 at 16:22

3 Answers3

2

The answer is in the same section, it will have a default access too:

In a class type, if the class is declared public, then the default constructor is implicitly given the access modifier public (§6.6); if the class is declared protected, then the default constructor is implicitly given the access modifier protected (§6.6); if the class is declared private, then the default constructor is implicitly given the access modifier private (§6.6); otherwise, the default constructor has the default access implied by no access modifier.

assylias
  • 321,522
  • 82
  • 660
  • 783
1

It's explained on the page you linked (bold mine):

In a class type, if the class is declared public, then the default constructor is implicitly given the access modifier public (§6.6); if the class is declared protected, then the default constructor is implicitly given the access modifier protected (§6.6); if the class is declared private, then the default constructor is implicitly given the access modifier private (§6.6); otherwise, the default constructor has the default access implied by no access modifier.

Wayne
  • 59,728
  • 15
  • 131
  • 126
0

It does not matter. If you do not define explicit constructor the empty public default constructor exist. If you class has fields these fields will remain not initialized when you are creating instance using the default constructor.

AlexR
  • 114,158
  • 16
  • 130
  • 208