« first day (1055 days earlier)      last day (1190 days later) » 
03:00 - 12:0012:00 - 17:00

3:53 AM
Good morning to All
 
GM
@PiyushGupta
 
Aa gaye aap
I was waiting yesterday
@Erum U don't know how to add in circle and send message?
 
thats why i text u here
i never use circle haan my friend send me request there
 
Do one thing tell me ur name. I will send you message
 
but i dnt do chat there
we chat in SO
erum
same name in circle as well
 
4:02 AM
I know. Occassionally when we need to chat so
@Erum same name? Is it real name?
 
yes ok
yes this is real name
 
Only Erum or sirname?
 
only Erum
i m avialble on circle with same name
 
I can't find. because there are name with Sirname. You need to give me a link here
 
right now dnt have link but will send u link once i reached home
ok ?
or i will add u
 
4:06 AM
Ha ha . Nice u always forgot. Leave not no need to add
@SilentKiller come here
 
4:24 AM
GM all
 
GM
is it better to use sqliteassethelper jar file to read db from assets inandroid ?
 
@all gm
@SweetWisherツ hi gm
 
4:50 AM
@MayankMandava @devendra @arun access granted
 
@SweetWisherツ u sued sqliteassethelper jar file in android @PiyushGupta @SilentKiller
 
@Erum yes
 
is it easy to use ??
i m going to use first time i put files in asets/databases/myfile.sqlite
right ?
now then i made class that extends from SQLiteAssetHelper
now how will i do open database or closedatabase then query database ?
 
yes very easy
are you following any link ?
 
yes
next time if i do any changes in database file then put in assets again then may i need to change db name as well ???
@SweetWisherツ
 
4:56 AM
good morning all
 
@Erum LOL how many rooms for your issues ? 1 issue 1 new room ?
 
no actually to avoid creating problemsfor others i made new room so that others can discuss their issue here
 
@Erum no one having problem while discussing issue except to use local languages.
 
ok @SilentKiller
 
6 mins ago, by SweetWisher ツ
are you following any link ?
 
then it has all the answers to your questions
 
getting issues in opening and closing of db may i need to use old method or any new one ?
 
show wht u tried so far
 
ok
@SweetWisherツ
 
put files in assets/databases/myfile.sqlite
wrong
 
5:08 AM
why ?
 
it should be in put files in assets/databases/myfile.sqlite.zip/myfile.db
 
SQLiteAssetHelper relies upon asset file and folder naming conventions. Your assets folder will either be under your project root, or under src/main if you are using the default gradle project structure. At minimum, you must provide the following:

A databases folder inside assets
A SQLite database inside the databases folder whose file name matches the database name you provide in code (including the file extension, if any)
/myfile.sqlite.zip is this folder ??
 
also i m using sqlitebrowser to create db files now i m saving my file with this name : myfile.sqlite is it ok ?? bcoz everywhere i m looking myfile.db ??
@SweetWisherツ
 
I used .db only
in sqlitebrowser only
use write changes instead of saving whole project
 
5:13 AM
yes
i already have saved with mydb.sqlite is it ok ? or need to change with mydb.db ??
@SweetWisherツ
 
5:28 AM
@SilentKiller canu give me answer pls
 
@Erum whats the question ?
 
@Erum .db
 
5:44 AM
but once i m saving with .db now my overall filename is mydb.db.sqbpro
?
 
32 mins ago, by SweetWisher ツ
use write changes instead of saving whole project
 
.sqlite is also fine i have done with this one more isue is once i made any changes to my database file in browser then i copied in assets file then may i need to change my databasefilename or
same as previous
 
05-27 10:46:39.941: I/SQLiteAssetHelper(23368): successfully opened database mydb.sqlite
ok
 
hi @SweetWisherツ
did something like sliding fragment from bottom to top on selecting tab from fragmenttabhost?
 
5:58 AM
androidhive.info/2011/11/android-sqlite-database-tutorial overhere getAllContacts() they are not closing cursor may i need to close the cursor? @SweetWisherツ
 
6:11 AM
0
Q: Signed APK Crash when Downloaded from Google Play Store

Himanshu AgarwalI am using Facebook SDK for Login with Facebook in my application, app works perfectly when I use unsigned APK or install signed APK in my real device. But when I upload same signed APK on Play Store and download and run it crash with below error log. I have already tried to add below code in my...

 
@nawabsaab Hi.. Ur issue solved?
 
@SweetWisherツ @PiyushGupta my databasefile has records in it but when trying to aceess usig query it comes inside cursor!= null block but did not come inside cursor.movetofirst()
why ?
 
6:30 AM
@Erum show your code.
@PiyushGupta yes SIR.
 
@SilentKiller Where are you man
Didn't pick up my call not giving answer on WP
are you really on earth or on some other planet??
 
Apr 1 at 6:06, by SilentKiller
i dont have issue with work i have problem with time. :P
+ not well
 
@SilentKiller OMG.. But Once when u free u can
 
@SilentKiller i resolved
 
@Erum congratulation
@PiyushGupta yes sure let me get free.
 
6:37 AM
Yes after then we can meet
 
insha'Allah sure.
 
is there any database group ?
 
Group ?
 
chat group ?
rooms @SilentKiller
 
6:38 AM
@SilentKiller Bye meet later
 
@Erum i don't think so.
 
have soem issues in db can ask here ?
 
i have a table called group , friends .... now a friend can be in more than one group and similar a group can contain more than one friends
now i want to fetch records from group table ... that how many groups then similarly each group has how many friends their friends_id is already saved in group table
now i need to fetch records from db and insert in model class
now may i need to take FriendModelClass[] in groupModelClass ??
@SilentKiller
 
@Erum can you show your database here sqlfiddle with some data ?
 
6:50 AM
wait its taking time to build schema
@SilentKiller
 
@Erum you need to insert data too.
 
ok adding
the schema i have added i think this is not correct
@SilentKiller
because they have foreign key of each other in both tables
what do u say ?
 
7:07 AM
@Erum you need to create another table which contain group_id and friend_id only
@Erum it should be like this. sqlfiddle.com/#!7/58671
 
7:18 AM
i m insertinf data in fiddle but data is not visible ?
 
you need to write select query
 
no ihave writen insert query
 
ya but to show it, fetch it using select
 
yes i done but still sqlfiddle.com/#!7/0dda51/4
 
7:35 AM
hello @PiyushGupta how are you man?
 
AsSalamOAlikum
 
@SweetWisherツ failed to insert records in table why ?
 
@SaadChaudhry walekumsalam janab
 
Kai Fal Haal
 
m good, wht abt u?
 
7:42 AM
ALhamadulilah e Ala kul e haal
 
haal be-haal faha-lu
 
8:02 AM
hello @RobinHood
 
@SilentKiller there
 
text values in fragments are getting saved on switching tabs in fragmenttabhost
have anyone faced this problem?
 
8:21 AM
@nawabsaab elo
 
8:34 AM
anyone can tell me in this group that a model class (Friend) in ios contains NSSet *group while Group is another model class same thing how can i define in android
@PiyushGupta
@SilentKiller
 
I think it may be LinkedHashSet<> Set<> , HashSet<> or it may be a simple String[] array
 
String[] nhi can i define array of a model class ?
 
Yes you can create arraylist for it
If you want to add Group class named data in to array
You can also use Groups[] group;
got it ?
@RobinHood Pandey where were you?
 
8:50 AM
yes got it thanks @PiyushGupta one thing yesterday i used WheelLibrary now i m facing isue to set user defined text or text from db into wheel item
how will i pass every index item
@PiyushGupta
 
@Erum There should be method which indicates about index. Indeed i was finding for my app but occasionally i found something for you github.com/ogaclejapan/ArcLayout
 
but this is not rotatable i think this just pop up on press of button right ?
my req is it should rotate like a wheel
 
Yeah may b e
Ok and u have already implemented that. isn't it ?
 
yes but still have some issues in it
 
You mean to say that for wheel items there are suppose five items. So you need to set one of text in one of wheel item
?
 
8:57 AM
lets say there are 5 items in my model class i want to set my model class value to my wheel lets say wheel 1 contain value : "value1" then wheel2 contains value2
etc
got ??
right now its appearing only 0 ,1 2 how r they setting thee values in it ?
 
Ok got it
 
@PiyushGupta on the earth below the sky
 
how to achive this ?
@PiyushGupta
 
@Erum You need to pass your array or arrayList of your model class to adpater
@RobinHood Yeah but you'r lier. You once told me that u pinged me on skype but actually u didn't
 
@PiyushGupta haha, then I pinged to some PiyushGupta
 
9:00 AM
@Erum Understood?
@RobinHood Lol. my id is gupiyushkumarv
just add now
 
@PiyushGupta or koi id nahi mili thi kya? :P skype facing difficulties in finding you
 
ha ha lol. Added ???
 
check your skype, already request sent a decade ago
 
ok let me check
No i can't get
 
you add me.
 
9:06 AM
Ok only name with Robin?
sent
Done dona done
@Erum What happen?
 
9:47 AM
@PiyushGupta see this pastie.org/10209730
 
No i will no. How many times i pinged you
 
i was on lunch
just came after prayers and lunch
@PiyushGupta
 
@nawabsaab aao bhai
 
@PiyushGupta yr 1 probs face krr rha hu
 
Kisme bhai?
 
9:56 AM
text values in fragments are automatically getting saved on switching tabs in fragmenttabhost
 
Means when you switch your tabs fragments not destroying properly
 
yep
 
@PiyushGupta see ??
 
I think you need to use onSavedInstance() for that
@nawabsaab
@Erum ha
@nawabsaab For every fragment you need to check
 
kese krun any idea
@PiyushGupta
 
10:02 AM
@Erum You need to same different color background items?
 
@PiyushGupta what to do n how?
 
@SaadChaudhry yes
 
@Erum means it is not mandatory. isn't it ?
 
we need different color background items
 
@SilentKiller E mota
 
10:03 AM
either any 4 clors or 5 colors then repeat again these4 or 5 colors
@PiyushGupta
 
@Erum Ok
 
text kese pass kronn
@SilentKiller @PiyushGupta any sugeestion for my issue
 
CHeck are you able to use wheelItemCount dynamically using WhellView object?
 
yes
 
Just try to set any integer value in it and check if it is displaying in wheel or not?
 
10:09 AM
integer value for display ??
 
like String.valueOf(5) somthing like that
 
may i need to pass this in adapter ???
or setWheelItemCount (String.valueof(3))
 
Just try with this
setWheelItemCount (String.valueof(3))
 
yes its working
i already did this
@PiyushGupta isue is how to pass item to adapter from model class
 
For that i m telling you. Be patience. Because i haven't tried this before though trying to solve ur issue
 
10:13 AM
@SilentKiller working on open cv?
 
ok fine sorry @PiyushGupta
 
@Erum Check in that how many Adapter for wheel View. Means only WheelArray Adapter only available or any more?
 
wheelView.setAdapter(new MaterialColorAdapter(entries));
while
static class MaterialColorAdapter extends
WheelArrayAdapter<Map.Entry<String, Integer>> {
 
Is it ur demo project ?
or implementing in live
?
@Erum Try to extends your adapter class with AbstractWheelTextAdapter
 
@PiyushGupta
 
10:22 AM
Yes..
Have you tried what i have said
 
right now working for demo
ye my net was disconnect trying now
 
Ok Np
@Erum let me know something what you did
 
ok
AbstractWheelTextAdapter
/
?? WHERE IS this clas ?
@PiyushGupta
 
@Erum yahi to keh raha hu ki is it available?
 
no no
 
10:28 AM
ok
 
thi is not available
 
working demo means u r doing another demo
?
 
yes
see we have to change this method Drawable getDrawable(int position); to , Drawable getDrawable(int position,String text)
@PiyushGupta here they are setting value
@PiyushGupta
 
hello... frnds...
is this the right room for android developers....?
I am new to this.... so please guide me....
 
10:45 AM
what you want from this room, If you have any doubt's then ask regarding android?
@user3431980
 
thanks...
I am invoking SOAP web service...
and getting - : Exception SoapFault - faultcode: 'ns1:unexpected-error' faultstraining: 'Fault occur while processing.' faultactor: 'null' detail
:null
 
Post full code
 
here...?
 
@PiyushGupta yr koi soln btado
 
@C
@Codester : I had paste the code in above link
 
10:55 AM
@nawabsaab Sorry power cut ....Oh uska.. Na hua?
 
means?
 
@nawabsaab values wala issue?
 
ha bhai
chk this
 
@Codester please check the code...
 
11:08 AM
yr purane views delete ni ho rhe
 
@nawabsaab Do one thing for diff tabs diff fragments are calling na?
 
yep
 
For every fragment in which your layout inflated give a some background color to parent layout of your xml file
 
?
didn't get you
 
Jitne bhi fragments he na un sabki alag alag xml hogi to un sabke jo layout he unke parent layout ko bg color deke try karo
 
11:13 AM
bg color du fragments ko
?
bass
 
ha wo try karo
 
ok i try
 
@PiyushGupta mera issue ??
 
vaise hav you faced this kind of issue ever?
 
No i haven't
 
11:16 AM
@PiyushGupta
 
@nawabsaab You have only one container to all fragments?
 
0
Q: Clear views data in fragment on switching tabs in fragmenttabhost

abhishek suriI am facing a issue and I have tried so many ways but none of the way worked for me. I am using fragmenttabhost for tabs. In one tab i.e SearchFragment tab there is edittext with the search button and bottom to it listview is shown. Let's say I perform search, now the list is shown to me, now if...

see this pg how am adding tabs
 
@nawabsaab When you back or when you change your tab at that time you need to clear your views from container
 
yep
so that its more clear
 
Yes you can sure
 
11:21 AM
?
 
Please check my SO profile
 
@PiyushGupta any luck
with my issue
?
 
No checked
 
i m doing but no error and no item displayed
@PiyushGupta
 
Show code
 
11:34 AM
ok
@PiyushGupta
@PiyushGupta ??
 
Checking
Are you able to getting values here Log.d(TAG, "getItem(position).getValue():"+getItem(position).getId());
Log.d(TAG,"getItem(position).getValue().text:"+getItem(position).getGroupTitle());?
 
no this method is not called
getDrawable is not called
@PiyushGupta
 
@PiyushGupta ????
 
Hi to all
please check this question once
 
11:47 AM
@Erum Wait please.. I just check
 
1
Q: How to share Title and description from android to facebook using facebook sdk 4.1.2

RameesI am using Facebook sdk 4.1.2 to share contents to Facebook . https://developers.facebook.com/docs/sharing/android This is the link i reffered for doing this task And was successfull in sharing a link content in facebook. shareDialog = new ShareDialog(ShareActivity.this); ShareLink...

 
ok
 
any username and password for temporary @nawabsaab
 
q@mulana.com
123456
 
Ok for your search tab when i typed something and back to that fragment the word still remaining
 
11:54 AM
yep
@PiyushGupta
 
@PiyushGupta hogiya but ek aur single issue hae
wo tu krod gae na aap ??
 
erum you do very much hardwork
thoda break bhi leliya kro
 
Do one thing. When your fragment call at that time first onStart() method will be called. So check that if ur editText.getText().length > 0 then set Text to empty
@nawabsaab
 
no i dnt do hardowrk subha se kuch bhi nhi hua hae
@nawabsaab
office waale bahar nkal dain gae
 
@Erum Which one?
 
11:57 AM
bhai onActivityCreated ka mera code dekho toh sahi
sbb kiya toh hua hai
 
me onStart() me bol raha hu
 
@Erum fir mera ofc join krrlena
@PiyushGupta will create any diff?
 
Yes it will because first onStart() will call
Try it with
 
ok
still same
 
actually right now they are setting text inside circle now i want text outside circle how to achive this circle will be blank @PiyushGupta
 
11:59 AM
bhai second time isme ni ja rha
if (rootView == null)
rootView = inflater.inflate(R.layout.fragment_search, container, false);
isme kaise jayega
rootview null ani chaiye tabb kaam bnega
 
03:00 - 12:0012:00 - 17:00

« first day (1055 days earlier)      last day (1190 days later) »