« first day (496 days earlier)      last day (2754 days later) » 

3:43 AM
Good morning mumbai !
 
@PiyushGupta good morning
have one Query cant we send complex data using Soap in android
 
guys help me plz
@RD , @PiyushGupta ??
 
4:15 AM
good morning @ArthTilva
 
Good Morning...@PiyushGupta @PankajSharma @Sanjeev @AnshulTyagi
 
can u help me in android
?
 
Please share your issue here, some one will surely help you
 
m unable to parse image in listview
i got i image url but unable to show in list
@Override
protected void onPostExecute(Void result) {
super.onPostExecute(result);
// Dismiss the progress dialog
if (pDialog.isShowing())
pDialog.dismiss();

ListAdapter adapter = new SimpleAdapter(
Home1.this, contactList,
R.layout.list_item1, new String[]{TAG_EMAIL, TAG_USERNAME, TAG_ADDRESS, TAG_POSTAL_CODE, TAG_CONTACT_NUMBER,
}, new int[]{
R.id.company, R.id.description, R.id.address, R.id.operating_hours, R.id.contact});


ImageLoader imageLoader = new ImageLoader(getApplicationContext());
this the code which i write
but it dsntt work
 
4:33 AM
@ArthTilva , @Sanjeev GM
@ArthTilva u used rest api ?
 
Yes
 
@ArthTilva Maro nano bhai GM
 
:D
Su kye .NET
?
 
Bas maja kare che atyare to
 
send here
 
4:51 AM
@Prabhakar morning
 
can someone pls tell me how to search in all folders of src ? by passing keyword in AS @ArthTilva
 
122
Q: How to find string in project in Android Studio?

kramer65This may be a really stupid question, but I just can't figure it out. I've just started using Android Studio (IntelliJ), and I now look for the feature to find the occurrence of a string in any of the files in my project. For example: I want to find all the files that contain the string ".getUuid...

 
@ArthTilva rest api se jo data mlga kia wo mjhe loop k throuhg one by one apne model class me rkhna prega ?
 
Depends how you are getting...I was having a option for both XML and JSON in my API so I choosed JSON to make it Simple
I dont know detail about that I have done that before 6 months in my Final year project.
 
5:06 AM
Good morning All
 
@Shvet very GM
@ArthTilva The Json Parsing is very simple and fastest parsing compare to XML

Exp: http://www.tutorialspoint.com/android/android_json_parser.htm
you will try gson it's more faster for android default json parsing
 
Dev
Mornings people
 
localhost/myApp/api/UserNotification/page/3/limit/20 @ArthTilva any idea how will i pass argument to it
 
@Erum this is localhost url... :P
 
@Dev Morning bro
 
5:20 AM
yes i also have url for remote as well
@ArthTilva
but the issue is how to pass arguments i m getting error
@ArthTilva WebServer.getNotifications: Only one HTTP method is allowed. Found: GET and GET i m getting this error
 
5:36 AM
@Prabhakar yes your right but my problem is not the justification, i need to set span to justified textview and supporting RTL languages. I checked all the libraries but nothing ...
 
@maveň
 
Good morning friends
 
@PankajSharma
@PiyushGupta
need little bit help
 
0
Q: how to convert Soap envelope to given envelope using code in android

Research Development@Override protected Void doInBackground(Void... params) { // TODO Auto-generated method stub try { SoapObject objSaveVisitInfraDetails = new SoapObject(NAMESPACE, PostMETHOD_NAME); C = new InfraVisit(); SoapObject lstInf...

any one can help me in this issue plz
@Erum ,@PankajSharma,@HamidReza,@Dev
 
very good morning all :)
 
5:47 AM
I was having in JSon So I was passing Json object with key value in post.
 
i dnt have json objaect in parameters ......... can u pls tell me whatst the issue is :?
!@ArthTilva i m getting NPE
@DroidWormNarendra U THER ?
 
@Erum yes
whats the issue?
 
i m using rest api for getting data from service but i m continuously getting NPE
can u pls help me
 
@DroidWormNarendra @PankajSharma @Rahul @Kaushik hey friends need help
 
@Erum where r u getting NPE?
can you please show the code?
@Narendra yes bro
help in what?
 
5:54 AM
hmm muje track add krne scrollview dynamicall and scroll automatic
 
@Erum @ResearchDevelopment @Narendra Hi GM
ask?
 
@PankajSharma please check my Question
around 1 week spend in this issue but still not found solution
 
@PankajSharma hi
 
@Michel Hey miche
 
hey buddy do you have anyidea about parse
parse.com
anyone is there
 
6:10 AM
@Michel @Erum has
 
i am frustrated into date isue
 
Which one
 
@Michel i am also started working on it
say how can i help u?
@ResearchDevelopment can u plz make a demo and share for this issue which helps easy to check ur issue
 
date issue i am puting date into parse but it is storing 5:30 hr less into date column
 
did not deal with date but i have stored time in seconds in parse @Michel
 
6:18 AM
@Erum i am facing this issue last 1 month
 
@Priyanka Hello Mam
 
Good morning
 
@Michel i think there is server and client date issue.The db server is pointing to US and u are on different location
@Priyanka Helloooo Mam
 
@PankajSharma yes but php guy is able to sent exact date into parse
 
@PankajSharma OK
wait
 
6:22 AM
@Rahul
 
Dev
@Rahul hi
 
@PiyushGupta Hi
 
@Erum ?
 
@PankajSharma Hi
 
@Dev hi
 
6:23 AM
@Priyanka Hows you ??
 
@Michel i think he used date conversion to store and retrive date from db
@Priyanka Hello...aaho bhagya hamare jo aap yahan padhare...hehehe
 
Dev
@Rahul time hai? send kru
 
yes but he used simple date format
 
@PiyushGupta I am good .. as usual ;) ... Hows You ?
 
@Priyanka As usual I m too
 
6:25 AM
@PankajSharma Achchaaa ... Kitne aho huye Bhagya aapke ;)
 
@Priyanka hahaha
nice to see u here
@Michel might be he changed the Time Zone of their to US time zone
 
can u pls help me in code i mnot getting how r they populating tabs on screen @Rahul
 
@Erum ??
 
@PankajSharma Thanks :)
 
pls wait i m sharing code with u ?
@Priyanka i m waiting from previous 2 months to get help in parse from u and u came now
 
Dev
6:28 AM
@Rahul ?
 
@Priyanka WC
 
@Erum ohhh reallyy .. Sorry :( .. i was also busy with Parse ;)
 
Hi everyone
 
@Erum @Priyanka aa gai he
 
@Priyanka arre parse.com ka koi sample banaya hai kya signup and signin ka...share karna mujhe
 
6:30 AM
13
Q: ViewPager in a NestedScrollView

Kyso84I need to create an interface like Google Newsstand which is a sort of ViewPager (horizontal scroll) over a collapsing header (vertical scroll). One of my requirements is to use the new Design Support Library presented at the Google IO 2015. (http://android-developers.blogspot.ca/2015/05/android-...

@Dev
See ans this is build in lollipop
 
@PankajSharma i started directly work on already created db... didn't get time for creating any sample ... But it'll easily available
 
@Priyanka db wala hi to issue hai yaar.wo kaise banate hai aur usake liye code kaise start karte hai
 
@PankajSharma and what is your issue
i did all except this date issue
@Rahul 2015-08-04 10:40 suppose this is string and tell me how to convert this string into date with GMT +5:30 please help
 
hmm muje track add krne scrollview dynamicall and scroll automatic @PankajSharma
 
@PankajSharma Have you checked this link parse.com/tutorials#android
 
6:35 AM
@Priyanka Abhi to tumne parse complete kar diya na?
 
@Michel settimezone to India
 
@PiyushGupta Naaa.. Still working on it
 
@Priyanka Oh Ok.. !!!
 
@Narendra use handler to scroll scrollview at particular position when needed
 
@All Any one work on Feed like Instagram ..
I have to create List of playing videos like Instagram
 
6:37 AM
@Priyanka hi
 
Firebase is also good for db storage
 
@Priyanka haan check kiya yaar par db side ke bare mai esamai kuchh nahi diya hai
 
dropzonejs.com @PankajSharma
look this code
 
getSupportFragmentManager().beginTransaction().replace(R.id.mainContainer, profile).addToBackStack("Profile").commit(); @Rahul ye line container me sirf tabs add kregi kia ?? but yahan pe image tu hum ne pass nhi kia
mere pass tab me image bhi arhaih ae
?
wo kese arahi hae
 
@Erum vo Fragment add karega
 
6:43 AM
@ResearchDevelopment where is code?
 
Dev
@Rahul ye sb listview k liye hai bhai , mere case mein list and layous dono hain
 
Ha to layout ko scroll view ke andher rakhana
 
Dev
internal scroll fragment mein?
 
Ha
Otherwise list me convert kar do
 
its zip code @PankajSharma
 
Dev
6:49 AM
mesaage wali screen hai jisme creen k bottom pr msg bar hai ike whatsapp for chat
 
@Rahul tujhe twoway view pe work kiya hai kya
 
@Tufan nahi
 
ye dekh na bata isse possible hai kya github.com/lucasr/twoway-view
 
@ResearchDevelopment now got it
 
7:01 AM
@Rahul how to bring more data from server on scrolling of listview
 
@Erum u can try onScrollStateChanged
 
@PankajSharma please check where issue
 
checking
 
@Erum add scrolllistener
 
Dev
@Rahul it work only when all the list having same nomber of items
kisi mei b kum ho to blank he hot hai niche ka space
 
7:19 AM
Ok
 
@Erum yes onScrollListener is one of the solution
you can also use loadmore library
and handle it using pagination, ie. passing page no to server, so that load next data accordingly using the updated page no
@Erum
first time ....page no 1
and then first scroll page no 2
 
Dev
@Rahul koi or workaround bta yr, ye serious issue hai, kaafi time se koi solution ni mil raha
 
second scroll: page no 3 and so on @Erum
 
@Priyanka you there?
 
7:57 AM
but how will i hadle page no ?? @DroidWormNarendra
 
@PankajSharma ohk let me try & buddy track ki height 30000dp
 
8:19 AM
@Dev tumhe viewpager chahiye kya ?
G+ me viewpager nahi h
 
@Rahul GM
 
@ArthTilva Good afternoon
 
@AnshulTyagi @LalitPoptani Gn
 
@Erum you must have to initialize it with 1, and increase it 1 by 1, when load more or onscrollfinished is getting called
and pass it to server
 
@DroidWormNarendra Yo yo
 
8:32 AM
@PiyushGupta 🙏
 
@PiyushGupta gn
 
server will give you desired no of result as per page @Erum
@PiyushGupta Yo man
 
are you free @PiyushGupta
 
@AnshulTyagi NO Man..
 
8:34 AM
@AnshulTyagi @Rahul @DroidWormNarendra Mere listView k inside suppose 5 data he or unki row item ko mene alternate bg color diya he.. Ab jo 5 data k niche jo space hogi usme b muje wo row k alternate color set karne he. To kese hoga ?
 
you mean a view/line below each listview item?
 
that is divider, if I am not wrong
 
Dev
@Rahul haan i know, g+ me pager nhi hai
 
@PiyushGupta alternate color for listview divider?
 
8:36 AM
please tell me which one is better for android coding : "Android Studio" Or "Eclipse"
 
@DroidWormNarendra Wait i m showing u screenshot
 
@Sajad +1 for Android Studio
@PiyushGupta k
 
toh problem kya hai....ek view lo custom leayout me...jaise background ka color change kiya waise hi uska @PiyushGupta
 
@DroidWormNarendra ok tnx, just what is +1
?
 
@Sajad +1 = upvote
 
8:38 AM
@DroidWormNarendra aha :)
 
I just installed Android Studio. how to import projects of eclipse in it? @DroidWormNarendra
 
@Rahul @AnshulTyagi @DroidWormNarendra Check this
isme jo white space he niche list item k usme b muje row jesa bg chahie
 
28
A: How do you import an Eclipse project into Android Studio now?

Scott BartaIn newer versions of Android Studio, the best way to bring in an Eclipse/ADT project is to import it directly into Android Studio; we used to recommend you export it from Eclipse to Gradle first, but we haven't been updating ADT often enough to keep pace with Android Studio. In any event, if you...

 
toh problem kya hai ? mera answer padho bhaai @PiyushGupta
 
@PiyushGupta you mean space below listview?
 
8:40 AM
Yes
 
@DroidWormNarendra didnt work
 
@AnshulTyagi Bhai code me wahi kiya he
 
@PiyushGupta okay, for eg, last item ka bg white h, then you want the remaining color to be gray, is it so?
 
Muje niche jo space rehti he usme b chahie @DroidWormNarendra
 
show code
 
8:41 AM
@DroidWormNarendra Yes same alternate color
if (position % 2 == 0) {
convertView.setBackgroundColor(Color.parseColor("#f7f7f7"));

} else {
convertView.setBackgroundColor(Color.WHITE);
}
@DroidWormNarendra got my point ?
 
then you must have access of the parent layout of the listview, there in your getview
@PiyushGupta yes, got the point
 
@PiyushGupta why don't you use like this?
if (position % 2 == 0) {
holder.layout.setBackgroundColor(Color.parseColor("#e9e9e9"));
} else {
holder.layout.setBackgroundColor(Color.parseColor("#fafafa"));
}
 
@DroidWormNarendra Look, honestly I did not work with android studio (but I work with eclips), so I want to know, android studio is user friendly ? (like eclips) ?
 
where layout is the linearlayout
 
@PiyushGupta and set the background color of the parent, based on the color of the last item of the list
 
8:45 AM
@DroidWormNarendra how to read json data i m reciving in rest api ?
@Rahul
 
@Sajad hmmm....it will take a bit time to be used to with AS, but after getting used to it.....no trouble afterwards
@Erum you mean json parsing?
 
yes
 
show your JSON Data
 
@DroidWormNarendra alright !
 
@AnshulTyagi @DroidWormNarendra nahi hua bhai
 
8:47 AM
@PiyushGupta what tried?
 
where is the code?
 
ListView jis layout me tha usko adapter me access karke usko bhi same alternate kar diya
 
@PiyushGupta can you show your getView, plz?
 
if (position % 2 == 0) {
convertView.setBackgroundColor(Color.parseColor("#f7f7f7"));
viewHolder.linearName.setBackgroundColor(Color.parseColor("#e9e9e9"));
} else {
convertView.setBackgroundColor(Color.WHITE);
viewHolder.linearName.setBackgroundColor(Color.WHITE);
}
 
@DroidWormNarendra sorry for asking again, I'm novice a bit, can you tell me what is ADT ?
 
8:48 AM
@PiyushGupta nope, aise nhi
 
to ?
 
@PiyushGupta the remaining color must be for the root linearlayout, not for the listitem
 
sabka same color hai na view ka
 
ha to root layout ke lie hi tha bhai
@DroidWormNarendra
 
mainActivity, jisme listview h, uska root layout chahiye
 
8:50 AM
Usi ka hi tha bhai
 
you can pass that to your adapter
 
Its a public static
 
or you can check for the last position
jab bhi position last hogi, toh last item ka alternate color set krna h
not the same
 
pastie.org/10328973 @AnshulTyagi @DroidWormNarendra this is json i m getting from rest api
 
@DroidWormNarendra not working dude
if (position == getCount() - 1) {
if (position % 2 == 0) {
TakeAttendanceActivity.bgLayout.setBackgroundColor(Color.parseColor("#f7f7f7"));
} else {
TakeAttendanceActivity.bgLayout.setBackgroundColor(Color.WHITE);
}
}
 
8:55 AM
@DroidWormNarendra I see, tnx
 
@Erum what are you doing? show your code
 
@PiyushGupta and now try to interchange the colors
 
tried. But shows only one color
 
pastie.org/10328980 @AnshulTyagi see here
 
@PiyushGupta which one....white?
 
8:57 AM
now how will i fill my model class will it automatically fill from the response ?
@AnshulTyagi
 
@DroidWormNarendra Yes
 
@PiyushGupta try to minimize the conditions first
and then check
I mean remove this condition
if (position % 2 == 0) {
for now
just put - convertView.setBackgroundColor(Color.parseColor("#f7f7f7"));
sry put only this -
TakeAttendanceActivity.bgLayout.setBackgroundColor(Color.parseColor("#f7f7f7"));
@PiyushGupta
 
@Erum Create one setter in your model class and pass NotificationResponse as the argument , and then in this success method .. call that setter with your response i.e. arg0
 
@DroidWormNarendra bhai only grey hi dikhata he
 
@PiyushGupta great
bas conditions hi correct krni h
color change ho jaayega accordingly
 
9:03 AM
ha to batao quick ab muje dusre issues b dekhne bhai
 
@SaurabhVijay did not get u
 
@PiyushGupta can you get the color of last item here in
if (position == getCount() - 1) {
 
then, what trouble
just set the other color for the layout
 
But nahi ho raha bhai
 
9:06 AM
okay again plz give me ur getview
I try doing it
 
page is unavailable
try paste somewhere else
 
Pastie is working ?
 
9:11 AM
isn't this working
@PiyushGupta
 
No to wo white hi dikhta he
 
@PankajSharma have look code
?
 
@PiyushGupta hmm.....matlab ye condition hi true hoti h always
if (position % 2 == 0) {
item odd ya even ho toh, any case
ryt?
 
@PiyushGupta Hmm, have you tried debugging for the last position?
 
9:16 AM
It always shows 4 because there is 5 items
 
try changing to 6 items
us case me Gray dikhega, I guess
waise bhi 5 items ke case me toh white hi dikhna chahiye na
because last item gray hoga, ryt? @PiyushGupta
 
@DroidWormNarendra yeah right
 
so, is it working or not?
 
9:21 AM
@PiyushGupta whats the trouble.....kya 6 or 4 items ke case me bhi white dikh rha h ?
 
ha bhai isi lie to
 
anyone know how to configure the VPN progrmatically at server side and in android application?
 
@PiyushGupta us case me fail kyun ho rhi h condition.....debug kiya?
 
doing
 
k
@Erum solve hua?
 
9:33 AM
which site is used for sharing code?
 
@PiyushGupta thats problem didn't solve
 
na bhai
 
Now i'm going to implement it in each activity
i'm talking about my issue
 
9:35 AM
:/
 
@LalitPoptani github
 
@LalitPoptani dropbox can also be used
 
@PiyushGupta ??
 
@Rahul bhai issue he ek yar.. img dekhi ?
 
Nahi
 
9:48 AM
@PiyushGupta nhi fix hua kya wo
 
Isuue kya h
 
nahi
first pls ye img dekho
 
@PiyushGupta wait m trying the same
 
android is related with java? for learning android, I need to know java ?
 
@Sajad yes
 
9:50 AM
@PiyushGupta ho gaya
let me share the code with you
 
@Rahul chkd?
@DroidWormNarendra ok pls
 
@Rahul ok well, just java? or android needs to more dynamic language ?
 
@Sajad just java
 
@DroidWormNarendra ok let me check
 
9:52 AM
If you want write a code in other langauge you go for the cross platform
 
@PiyushGupta k
 
@PiyushGupta open nahi ho raha
 
@Rahul
image of @PiyushGupta
 
Kk
Now whats isuue with that
 
he needs alternate colors for the list items
 
9:56 AM
@DroidWormNarendra na bhai mere me white hi aa rha he
 
as well as the screen background
@PiyushGupta have you executed the code?
you can also increase and decrease string array items to check
 
@PiyushGupta for alternate color use model classes
 
@Rahul Wait i m sharing another image with you
 
@Rahul alright, tnx
 

« first day (496 days earlier)      last day (2754 days later) »