last day (152 days later) » 

8:09 AM
hii
 
8:27 AM
hello
 
 
1 hour later…
9:42 AM
hi all
open panitya
 
10:22 AM
ama ji ama ji @Kalai.G Welcome
Daily Tips : Reusable code for Simple animation :

Expand And Collapse a view.

public static Animation expand(final View v, final boolean expand) {
try {
Method m = v.getClass().getDeclaredMethod("onMeasure", int.class, int.class);
m.setAccessible(true);
m.invoke(
v,
MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED),
MeasureSpec.makeMeasureSpec(((View)v.getParent()).getMeasuredWidth(), MeasureSpec.AT_MOST)
);
} catch (Exception e) {
e.printStackTrace();
}

final int initialHeight = v.getMeasuredHeight();
 
10:58 AM
Hi machi
I'm at home.. :P off today
 
@leme welcome
paruda. hm enjoy
 
So what's the scene?
 
enathu da?
 
Enna nadakuthu?
 
ethumae nadakka matuthu.. athan ethavathu nadathalam nu pakurom...
 
11:04 AM
Yarume illatha kadaila yaruku tea aatha pora?
 
kadai ipathana thoranthurukku. hm first day ae Namo aganumnu yarum kadai podurathilaila.. apade than... Kadamayai sei Palanai Ethir Parkathae....
 
;-) nadathiruvom
 
:-)
welcome @MuthukumarM
@Kalai.G any idea about this developers.google.com/app-indexing ?
 
11:20 AM
hi@all
 
Hello @Jigs
 
need suggestion brother
 
want to use sliding menu from bottom to top and it should be slide like animation and it ends at the middle of the screen
 
11:27 AM
hi all
 
@Kalai.G hello ji.
 
is there any way to protect my tablet from internet connection
 
@Kalai.G protect?
 
internet access use pana kudathu da
like it shud not connect to wifi or thy shud download anything
 
@Kalai.G airplane mode use pnunga ji
 
11:30 AM
yup exactly ,but slightly different . i have an image in back screen ,when i slide up ,this image should be resize and and fit in to the remaining ( half )portion of the screen . so when i slide up ,sliding menu is open up to the middle of the screen in remaining screen there is an image
 
adhu avan eduthuruvan da
 
flight mode
 
@TamilselvanKalimuthu
 
avanuku theriya kudathu
any app to do
 
hi
 
11:33 AM
@Kalai.G: hi
 
@Jigs use the same animation with the value changed for that image
 
ok i try it
thnks bro
 
need to ask one thing in android. when clicking photo from camera and saving in card, orientation changes from portrait to landscape. any help ?
 
fix the orientation in menifest
@not try by my self :-/
 
used this - android:screenOrientation="portrait"
but din't worked
 
11:40 AM
u should get the image property and u have to rotate acc to that.
 
@TamilselvanKalimuthu ok checking. thanks.
@TamilselvanKalimuthu my img is saved in card .. the orientation is coming 0
 
@Sajal it may occurs in some devices or because of code. i hope this s having the complete solution stackoverflow.com/a/8864367/1937802
@Kalai.G no ji
@Kalai.G i hope not possible. that is os level let me search again.
 
Cursor mediaCursor = content.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, ......
what is content here ?
 
@TamilselvanKalimuthu atleat i need to block google play
 
11:56 AM
@Kalai.G have to block google play to use internet?
 
s
edho onu
 
@Kalai.G i have one idea but dont know whether it will work or not.
@Kalai.G we can set receiver for connectivity change
in that receiver we can use this to change the state stackoverflow.com/a/11555457/1937802
so it wil get disconnected whenever it is connected i hope
but for specific app without rooting , not possible from my search.
 
 
1 hour later…
1:07 PM
bye @all Happy WeekEnd
 

  last day (152 days later) »