Thursday, December 29, 2011

Delete alfresco footer and share footer (with community-3.4-share.png)

When using alfresco community your application send request to www.alfresco.com to get community-3.4-share.png file. And if your project works on local domain as our (www.istinadm.loc) then u'll want delete alfresco footer and share footer.
Open your favourite IDE (eclipse:) ) and create alfresco project. In build.xml write jar file name (jar name must begin with "aa" or "aaa" - when tomcat sorts jar files your file must come first). Create class as following:

Wednesday, December 7, 2011

Android ImageView: Zoom in Zoom out And Drag

Short description about ImageView:
Android supports 3 common image formats PNG, JPG, GIF, along with 9 patch PNG images. Images are stored in the directory res/layout/drawable. 
As of version 1.6 of the Android SDK multiple drawable directories exist for different screen resolutions. There are low, medium, and high DPI specific directories, drawable-ldpi, drawable-mdpi, drawable-hdpi respectively. This allows you to create images at different DPI to enhance the appearance of your application. 
All image filenames should be lowercase and only contain letters, numbers, and underscores.