last day (352 days later) » 

10:32
hello priya...
user2134412
hi..
user2134412
hey @PratikButani i have one issue regarding sqlite..java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0
do you have any idea?
check first get value is zero or not... @priya
i think you are using ArrayList for storing data?? @priya
user2134412
@PratikButani yes....actually i am getting this error while onclick the notification message
what are you doing on click??
user2134412
10:40
intent function redirect to the page
put your code of onclick..
user2134412
its notification intent
user2134412
yes..i debug the app 06-08 16:13:08.429: E/System(5512): java.lang.IllegalStateException: Don't have database lock! i thinks this is the root of the error
user2134412
@PratikButani have u came across this issue
no its first time @priya
are you doing db.close() at time of onPause() or onStop()
@priya
user2134412
10:47
ohh..k
user2134412
no..
then try like
@Override
public void onDestroy() {
// TODO Auto-generated method stub
super.onDestroy();
if(dbHelper != null)
dbHelper.close();
}
for onStop() also..
@priya jst try it,,
user2134412
ok...thanks @PratikButani
No thanks No Sorry,,
:)
user2134412
:)
user2134412
11:00
@PratikButani its again showing error pastie.org/8022661 is the error code code: pastie.org/private/cvb2gzlbhglqdkwlriofq
can you put your code here...
@priya
user2134412
ok..
user2134412
try contactlist.removeAll()
@priya contactList is ArrayList ??
user2134412
yes..
user2134412
11:07
ArrayList<ContactListItems> contactList ;
then try to removeAll()
befor adding.
its just a problem with your index only...
user2134412
k..let me try
user2134412
11:20
same ...no change
user2134412
@PratikButani can i remove the async task...
yes you can..
but i think prob is not there..
have you seen database... is there display inserted data..???
user2134412
yes...
user2134412
in logcat
user2134412
while getting from database i think the problem is coming
11:27
yes...
have u used DatabaseHelper class
@priya
user2134412
yes..
open db again in async task.. may its work... or remove all lines, step by step see output..
user2134412
ok...
user2134412
11:47
same while pull the listview the same error is displaying
oh...
can you send me your proj. if you dont have any prob.
@priya
?
user2134412
but.here mail is not allowed
oh..
have you checked step by step??
first remove or comment all code and check step by step..
I am sorry, i can help you.. :( @priya
user2134412
ok.let me try again
12:11
@priya what happend
user2134412
still ..it shows error
ohh...shit..
you dont have any example
actually what you want to do??
@priya
user2134412
i just want to get the data from server,
means SQLite??
or else
user2134412
i am getting the data from webservice and storing in sqilte and displaying in listview ..pull to refresh
12:19
ohh.. then your used JSON??
user2134412
yes..
then you how to parse?
user2134412
i have used json for parsing..
have you print json array in logcat
user2134412
public boolean onTouchEvent(MotionEvent event){
if(lockScrollWhileRefreshing
&& (state == State.REFRESHING || getAnimation() != null && !getAnimation().hasEnded())){
return true;
}

switch(event.getAction()){
case MotionEvent.ACTION_DOWN:
if(getFirstVisiblePosition() == 0) previousY = event.getY();
else previousY = -1;
break;

case MotionEvent.ACTION_UP:
if(previousY != -1 && (state == State.RELEASE_TO_REFRESH || getFirstVisiblePosition() == 0)){
switch(state){
case RELEASE_TO_REFRESH:
setState(State.REFRESHING);
user2134412
12:23
is it correct
user2134412
?
user2134412
yes i am getting reponse from json..
yesss..
i think that clear...
i think prob in parsing..
user2134412
no..i am getting the data ad inserting to sqlite its working fine.i think its not added to listview
want tutorial for how to fillup json data in listview
hello..
print cursor size in logcat
user2134412
12:37
ok..i will check
?? @priya
user2134412
13:03
nope
i m sorry..
@priya what can i do??
user2134412
no probs ...
user2134412
i think i have to review the code from beginning
user2134412
anyway wer r u from?
rajkot
and you @priya
and what are you doing??
job??
user2134412
13:15
yeah..me from chennai
user2134412
how many years of exp in android? @PratikButani
just from 6month...
i am trainee now and my job is going to start after few days..
user2134412
ohh..k.
and your??
are you employee??
user2134412
yeah..5 month..
user2134412
13:19
have you worked with sqlite before?
user2134412
@PratikButani
i am currently working..
i think we both are working on same concept..
what you have studied??
user2134412
yeah..getting the data from..webservice is easy...but in sqlite i am little weak..
user2134412
do u know wat is the basic use of AsyncTask
user2134412
?
13:25
yes
its generally used for processing in behind which is not shown to user and we can display some progressbar while processing
user2134412
run in background right..
yes
i m little slow in english so sorry
if you cant understand
then tell me any time
@priya
wht's the domain ?
user2134412
No,you r good in eng........domain..android
no no I'm asking your job domain ?
Dev / Tester / Analyst ?
Thanks
user2134412
ok..sorry ..dev
user2134412
13:32
u must be dev
yes
@priya Cool ! Great
wishing to see you on peak of mountain, Best luck dear
Keep giving best & Please feel free to ping me if i can help u some what
Keep sharing you experience, it may helpful for me
user2134412
sure...same to u...thanks for ur wish...
Thank you so much :) ..
I m at starting position so i can learn from you lot's
nice to talk wid u
@priya
user2134412
glad to talk to you..i am only learning from u...
user2134412
how many senior dev are there in ur company
13:40
no one....
i am senior and i am junior... one man army.. :D
user2134412
woh great ...
its just a small company... and i have completed my M.C.A. so for training and experience purpose i m here
user2134412
nice..master degree haa...superb
user2134412
:)
yess...
r u master?
or bachelor
?
user2134412
13:43
bachelor " CSE"
oh.. good...
can i send you my first android logical game...
its interesting.. :D
user2134412
sure...u have created application already
yes
@priya
user2134412
yes..
user2134412
send me the link
user2134412
13:52
@PratikButani
sorry
i have not uploaded...
user2134412
ok...
can you give me your email..
user2134412
i send u on email..
user2134412
13:53
ok...
user2134412
wat is the concept
user2134412
of the game
have you time then we play here
user2134412
how..?
just think you have 20 balls in basket
user2134412
13:56
k..
you can take from basket minimum 1 and maximum 5
user2134412
k.
one time your turn and one time mine
user2134412
k..
we have to take and minus from basket
user2134412
13:57
k.
won the game who will reach at zero first
user2134412
nice concept
user2134412
i will play and tell u on monday
sure
catch you monday...
user2134412
ok..
13:59
good night... sweet dreamzzz
Jay Jinendra..
Remember in Blessing...
@priya
user2134412
bye gud nit swt drmz
are you in fb??
of cource
user2134412
yes..
you can send me req if you want....
user2134412
sure i will send
14:06
okay thanks..
bye...
user2134412
bye
are you in working hours..??
user2134412
nope..
then??
at home??
user2134412
no..
14:21
then??
@priya
@priya hello...

  last day (352 days later) »