« first day (189 days earlier)      last day (3286 days later) » 

03:05
Hello Java/Android!
03:33
hey @appu
@Geetha Heya! An awesome profile pic.
thanks @Appu
hey i want to clear my doubt can i ask
@Geetha Ask. I will check if I can help.
@Appu in my app i have database in that i want clear the employee list except the admin persons(i have more than 2 admins) i can do this but my issue is whenever any admin(admin is accessing two database) is login in to app he can clear the database to check the other database but admin can clear all the admins except him
like dat if any admin want to see the other database that person has to clear all the other admins
03:51
@Geetha A bit confusing. Which platform you are working on?
android
Oh! Okay. Can you tell me your exact issue in one step. Or can you break up the above one into steps?
Hello All,
Sorry if i am disturbing you. Just need your help if it is possible to help me.
I am going to implement 10 Band equalizer in My andorid MUSIC APP.
I found sample example of Audio Fx. But is has only 10 band equalizer. Even Equalizer class of android sdk also gives only 5 band.
I have also found there are some apps available in Market which have 10 band equalizer (e.g: Poweramp app).
So, is there any library to implement such thing? or how to make it 10 band? Please help me if you can.
(see full text)
ya one sec
@iDroidExplorer Sorry, no idea.
03:56
@Appu humm ok
@Appu anyone you know which can answer for this ?
@appu I have a database, I need to delete all the employees except the emplyee who had clock in and it is like click in and clock out application.
@iDroidExplorer I don't think someone has worked on it around here or in other rooms who I know.
@Appu we are able to delete all the employees but We need to save the employee you had clock in because to access the application further.
@Appu OK Thanks
NP. I couldn't really help as such.
@Geetha Okay. When the employee logs in, you can get the id of that particular employee. Right?
Instead of deleting all records, keep this employee's record as exception for deletion with the help of the _id of his record.
04:03
yeah, but We are entering with the passcode, we are taking that emp with reference of passcode.
passcode will change frequently
I developed all the code in one java file I am not able to get that clockin employee to another java file where I build code to delete the records, Thats my issue..
@Geetha Is there no way to keep track of the passcode that keeps varying? when it varies, you also update the value to be used to keep his record alive. Because without any fixed identity to a particular employee record, I don't think it would be possible to make it as an exception from deletion.
@all:
Way to get to data/data/your_app/files/me.txt
without using context
Why do you want in such way?
@Appu i have file call config.json which is stored in that dir. How can i read it ? since context method (getApplicationContext()) is not working in my class.
@Appu i vl send the code check it once u vl understand
04:19
@Appu hii
@all hii
@Appu pastie.org/7909763 (this is one java file)
pastie.org/7909795 (this is settings file)
@DixitPatel I thought you were asking about database. Okay. If you want to access file, no need of context.
FileInputStream fIn =
openFileInput(“textfile.txt”);
InputStreamReader isr = new
InputStreamReader(fIn);
@Pratik Hello! Morning!
@Appu morning dude
Good Morning Guys... :)
04:29
@Pratik You free for some time again? :P
@Appu nope i have worked today...:)
@MahaveerMuttha gm
You pass the context somehow from the other class and then use it
@Pratik Okay. Fine. I thought to ask you look into geetha's problem.
@MahaveerMuttha Morning!
I am afk for some time.
04:44
@Appu IS there any other way to work with it without intent?
05:11
morning
05:30
hello guys :)
morning
@chintan
@villan
good morning guys
morning
villan anna
yerunnaru
yo yo , i am back
05:37
am I right
what is that
dont ccall me anna iamfine u?
its ela vunaru @Er.NikhilAgrawal
In telugu yerunnaru
sorry
ela vunaru means how are you
05:38
that is out of stack for me nikhik
ya for me also
@Appu come satai ?
But I lived for 14 months in vizag
and 2 months in hyderabad
Thats why I know
telugu
somewhat
gujrati I also know
Kem cho
chintan
@DixitPatel Afaik no. But it's easy to pass a context to other class through a constructor. If you don't pass a context, how come the system knows that file belongs to your app.
@rekire Morning!
05:41
@appu good morning
@chintankhetiya It's come stai. Morning.
@Appu good morning ;)
@rekire good morning
sto bene tu?
@Er.NikhilAgrawal Yo morning!
@Er.NikhilAgrawal good morning
05:42
@rekire I don't know. My code is really becoming weird day by day...
how are you all
today
Good. you?
same here appu
great.
@Appu what do you not know? I have also a wired problem stackoverflow.com/q/16544931/995926
05:46
All
Please look at my colleague's query
This question is not getting to much attention
she is facing problem
0
Q: on listview filtration is not working properly

SnehaI am facing problem while filtration of list .I am using onTextChange() method for it .It is working properly but problem is that as i type single character in edit Text the soft keyboard gets disappear and I have to tap edit text again to type complete string .I have also done code so that sof...

@rekire Oh! It didn't get solved? Might be that property doesn't work.
or it is unable to reach the settings path.
sorry @Er.NikhilAgrawal ping me other wise i am lazy to check SO chat ,
hu ek dam maja ma
@Appu :P
@Appu I found several references to this call so it has to work
Did you check in other devices, or only on one?
06:03
no worries chintan
at the moment I have just one 4.0+ device and on my 2.3.5 device is too old for that setting
I could just test another api 7 device lol
i have a question about Facebook app for Android config. It ask you for a class name and says it should be the main activity where facebook is launched from. I am launching from a Fragment so do i put the Fragment class or the MainActivity of the Fragment class?
@Appu Thanks Appu, I created constructor and got it working!
@DixitPatel hey , from gujarat ir else ?
I can understand gujrati
if someone talks in it
06:06
@appu @chintan could you both may test that view lines in one of your apps? Could you give me a feedback if the code works for you and which api version you are using I think this takes less than 3 minutes work.
I lived 3 months in varodra
@rekire okay let me check
@Er.NikhilAgrawal you are genius
Really
why you think so
ahrg I hate debugging if you step thrue a comment
@DevZer0 It asks a package name AFAIk.
@DixitPatel Yay! glad it worked.
06:11
package name and also Activity
@rekire Okay. On which device you want me to test. Actually I have 2.3, but my colleague has 4+?
i am going to try the Activity name first then try the Fragment name
That's better.
Make sure you give enough time after changes before testing.
better a 3.0+ device AFIK that was intetruced with 3.0
Okay.
06:13
On my own 2.3.5 device I get a funny nullpointer
@Er.NikhilAgrawal base on your language knowledge , how many language do you know ?
Hindi
English
Marwari
These language I can read write and speak
Telugu
Gujrati
Marathi
punjabi
I speak German, English, Java, C#,... :D
I can understand
and speak
somewhat
@rekire
can you make us learn german
See my future targets on my wall
@Er.NikhilAgrawal what does that M.P. mean?
I can only guess that it is hard to learn german
06:17
M.P. is an indian state
madhya pradesh
In english
Madhya means In center
pradesh means state
Mp is in the center of india
So it is called Madhya Pradesh
Ok....
Ya I know people used to say it
german is hard to learn
let's compair the work the in german are there three words for that: der, die, das
can you madhya pradesh
means the is der, die, das in german
ok
I am able to see where you live
it depends on if the word after is male, female or ehm "a thing"
I have to listen the pronounciation
because
I want to read it correctly
what is that!?
/** @hide */
public static void getConfigurationForUser(ContentResolver cr, Configuration outConfig,
int userHandle) {
outConfig.fontScale = Settings.System.getFloatForUser(
cr, FONT_SCALE, outConfig.fontScale, userHandle);
if (outConfig.fontScale < 0) {
outConfig.fontScale = 1;
}
}
I need to check getConfiguration brb
bingo found a workaround
06:30
@rekire i have copied your code and drop in my simple activity its giving me null pointer exception .
@chintan thank you I think I just found a solution
Did it work with this? I am getting NPE for 2.3 device and getting settingsNotfound exception for 4.1
@Appu exactly like for me...
:D Did this work around work?
0
A: Read font size from Settings

rekireI just found in the sourcecode of Settings this call: /** @hide */ public static void getConfigurationForUser(ContentResolver cr, Configuration outConfig, int userHandle) { outConfig.fontScale = Settings.System.getFloatForUser( cr, FONT_SCALE, o...

06:36
who say this is only 3 min task :D
Quotes of day : Don't count bug in mins By - Chintan Khetiya
2
:P
just for pasting the code and press on play
@rekire error is obvious thing ,float scale = -66.6f; is never read in code
it is read in the toast line
@chintankhetiya Quotes of day : Don't count bug in mins - good 1
I stared it :D
be happy :P you may get a badge for that
yeah , bug is a silly mistake which is done by us and we don't know because we are not magician :P
tq tq ,
:)
@all how r u all?
@Pratik (!bad)
@chintankhetiya thanks
06:46
need some guidance
talk
float scale = getResources().getConfiguration().fontScale;
Is this what solved your problem?
yep
o_O
just a compleate other way to get the same value
06:50
assume that this is ring and i have some stone (diamond) now i have to fix inside circle base on user selection
@rekire
that are in real all perfect circles?
no that is the issue
minimum is 5 and max is 10 , that is base on user
But should that be perfect circles?
otherwise i thought that make that circle size of image and fix it but that all are not same so
@rekire great +1 for your self answer.
@chintankhetiya It's a ring that you are gonna use for your wedding?
06:54
:D
:P
basically I would grep the center of the circles and compair it
@Appu may be ,
:P
@Appu lolz
@all i have 1 question..
i hv 2
07:05
Hi everyone
hello
is it appropriate here to ask to answer a simple java code style poll?
I posted a link in this question: WhitespaceAfter conflict with GenericWhitespace
who has used the shrelockActionBar?
i mean swipe tabs+viewPager..
I have used it just for actionbar purpose.
@Appu so my question is - have you noticed the smoothness in play store tabs?
07:08
@jlordo Yes. I prefer.
Because I got used to English writing skills.
a space after a comma.
@Pratik What?
@Appu i mean when you swipe page and if you are at middle of it..the tab also move half of the next tab
Yeah.
@Appu i m talking about animation
@Appu in our case when we swipe from 1 page to another Tabs simple move.
Okay. But I haven's used it for this kind of swiping. I just used it for a simple action bar with menu
@Appu ok..do you know how to achieve this type of animation.?
07:12
Sorry no.
@Appu even in sherlockActionBar samples they didn't provide this effect .
@Appu it's ok...I have implemented custom tabs with viewpager...but if i achieve this and it will lokk good.
@Appu have you made any game in android?
Better post it as a question with image showing you want that kind, I believe you would definitely get answer.
Testers r 4 those who dnt knw coding
@Appu you are right.
Lol..
07:15
@Appu in future i want to make career in gaming development that's why i am asking.
@blue For android, there would be no need. But for large applications, it's necessary
Because of the integration of different codes from different people.
@Pratik I have developed one weird game in cocos2d.
@Appu Agreed
@Appu wow..good yaar.
I myself got scared to play that. It looks that much terrible and inefficient.
@Appu haa haa lolz..
07:17
@Appu what game is that?
Tom and jerry.
:D
@Appu i want to play
@Appu :)
me 2
No. Don't dare.
07:17
its my fav
whatis that functionality
?
But it lacks animation as I don't know how to design graphics.
do you have that apk @Appu?
if you have mail to me
@Appu at least you have tried.it is good for u.
Different jerry's just move from right to left periodically. Then a Tom standing at left center position would fire balloons on to it depending on the location that we touch. If the balloon clashes the jerry, then jerry would vanish.
If 10 jerries are missed and moved from right to left, then the game ends and the player loses.
If he crashes more than 40, he gets his score increased gradually and he wins.
07:21
@Appu cool
@Villan Okay. Will check it and send. Have to search.
@Appu nice 1
wow
@Appu my ladders game stoped due to other games traffic
:(
Thanks guys. But I want to try more sophisticated one.
Will be back. Lunch time.
07:22
hello, i have simple java applet inserted to IE browser with the <object element. how to remove/close this applet correctly? because after $('object').remove(); java applet stop working
if it is about IE, i quit
chrome no longer works too
ohh
i mean applets in chrome stop working
any help
?
@Villan where r u from?because when i went to your profile it saw me Location:on the top ur attitude.so can you tell me where is this place...:)
07:28
depends on how u treat me @Pratik
@Villan hehe :)
ANY HELP?
no? :D
@Emis how about ff?
ff too.
07:33
maybe an too old java installation?
commonly disables the browser too old plugins
No
I have this applet       <object type="application/x-java-applet" height="300" width="550" >
        <param name="code" value="PDFSignerApplet" />
        <param name="archive" value="PDFSigner.jar" />
        <param name="java_arguments" value="-Djnlp.packEnabled=true"/>
        Applet failed to run.  No Java plug-in was found.
      </object>
are not applets more used with the embed tag?
function closeModal() {
            $('#sw-0 object').remove();
        }
after function call applets in browsersw stop working
07:55
any idea?
no idea
what a conversion on my ring :P
how to destroy java applet with jscript correctly?
sure you mean jscript not javascript?
javaScript
08:08
@rekire javascript applet
I would hide it with document.getElementById("idOfApplet").style.display="none"; and than delete it in some way
appletscript
java apples
08:23
i have windows 7 32 bit m but in that list there are 3 row which have 32 bit witther different char
that char is a version
@chintan I would use openssl-0.9.8k_WIN32.zip
first one ?
yes but in general I would just use the version I have installed on my linux box :D
just wired that I'm sure that version 1.0.# is out
because somewhere i read that open ssl may be cause to generate key
Chintan the popup problem is coming with jelly bean only
08:30
for what do you need that? for the signing problem with your apk?
Hi, I am trying to run the servlet program on eclipse but I am not able to run it, can any one please help me?
@rekire yeah
I cannot remember to problem right... the problem was that you cannot start the app on a device?
@chintankhetiya Do you want to generate a key for you app?
there is command tool which generates the certificates for android that comes with the JDK
jdk... I should check it for updates...
08:45
hi @all
hi
uh full outdated I have just JDK7u7
@Appu yes , i have created and that is worked for me in Facebook but when it not working now, i have already done that module using this
@rekire
@rekire yeah , kkkkkeeey problem ? remember my image ?
yeah...
You may need to enter there your debug key
@Harish @Emis Hey!
@chintankhetiya I have generated it code wise.
08:49
@chintan try keytool -list -alias androiddebugkey -keystore debug.keystore -storepass android -keypass android
Nothing :P
I used this for the purpose of fb.
that is a java way not openssl
Oh! Okay.
@rekire wait testing @Appu
@Appu how you are app work is going..

« first day (189 days earlier)      last day (3286 days later) »