« first day (999 days earlier)      last day (1246 days later) » 

4:22 AM
GM all
 
morning morning
 
5:07 AM
Hello @SilentKiller @Mishi
Good Morning Friends
 
@Strider Hey
Where are you in these days ?
 
@RoshanJha life is going very fast..
 
@Strider Doing Job or not ?
 
Yes
you ?
 
Yes :P
 
5:12 AM
in same company ?
 
Yup
You ?
 
-3
Q: How To Add Color While Swipe In Android?

Rahul Gupta Please see the following image attached. I want this to happen when i swipe through an item in my ListView I have implemented swipe Successfully and when i set :- view.setBackgroundResource(R.drawable.BLUE); The whole item background changes to blue even when i just touch the item I want th...

how to implement this ?
i m looking for change
@RoshanJha
@SilentKiller .. how to change list view row color while swipe
any idea over that ?
 
@Strider I will let you know if there is any vacancy in my company
 
ok
 
5:29 AM
@SilentKiller Asslamualaikum v.v
 
5:45 AM
@SilentKiller SK the real power House
 
@EthicsDev Walaykumassalam
 
@SilentKiller How r u dr?
 
@SilentKiller Ghare ave che k pachi tya j sui jay che bhai?
 
@PiyushGupta Hello
 
@PiyushGupta want to sleep right now. :P
@EthicsDev Alhamdulillah fine and you ?
 
5:57 AM
@SilentKiller In a company?
@Strider hi
 
0
A: Changing listview row background color while swiping

manavoWhen you open the activity, instead of doing startActivity, do it with startActivityForResult. That means you'll be able to detect when the other activity finishes and the user has come back to this one. Then you can set the color back to white. Have a look here for how this works: http://www.vo...

@PiyushGupta anywhere just want sleep. :/
 
@SilentKiller hahaha
 
@SilentKiller But right now r u in office na?
 
0
A: Change background color of item of list view follow my finger

Hosseinfinally I found a good solution for this issue: I use there layout(0 - 1 - 2) that layout 1 is default and when swipe left layout 2 shown and when swipe right layout 0 shown first we need a viewflipper like this: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android...

@PiyushGupta in jail :P
0
A: How to change background color while swiping on an view?

Patrick Chanuse a selector xml like this <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/button_background_normal"/> <item android:drawable="@drawable/button_background_touched" android:state_hovered="true"/>

 
@SilentKiller Alhamdulillah
 
5:58 AM
@SilentKiller Oh.. Okay
 
@SilentKiller ok i m checking
@SilentKiller safe place in world .. @PiyushGupta
 
@SilentKiller Though u never frustrated
 
What happened guys ?
 
Work Load
 
i don't have work load
 
6:05 AM
Then you'r lucky
 
@PiyushGupta frustration makes man Un-workable
i dont have issue with work i have problem with time. :P
 
@SilentKiller yes buddy
we can't show our max output...
 
@SilentKiller I know thats y my first comment was "SK the Power House"
@SilentKiller Right now i designing for tablets and other things for my app so that issue is in side now. But in a quick time i need to solve
 
@PiyushGupta different design for mobile and tablets ??
 
@SilentKiller Yes bro
@SilentKiller TOday come to my home will take dinner together at my home
 
6:11 AM
@PiyushGupta me ?
Join
 
@Strider ya you can join but @PiyushGupta currently sleep having more priority. ;)
 
ok brother
 
@Strider Yes you can too sure
@SilentKiller Avi ja ne bhai ghare maja avse sleeping tya karje
 
Ok thanks for invite me ..
 
:P
@SilentKiller Okay tell me one thing. list item ma j buttons che. Ema ek row mathi i can click on button and dialog will open . so if i clicked twice then two times dialog open. And for that i have have make enable false but this will also disable to other buttons of other rows. So how can overcome?
 
6:20 AM
@PiyushGupta while opening dialog check whether dialog is open or not. if dialog.isShowing() return false then only show dialog.
 
But it will affect to other button click bro.. and dialog will open will API call means API call and data display with custom dialog
 
@PiyushGupta no it will not affect to other button
 
@PiyushGupta then mailtain using temp variable
dialog is open for that button click or not
 
as dialog is already open you will not be able to click on other button. so one clicke one dialog
 
Yeah i know yar but first time when user click on button 3 times then it will open 3 times
so please tell solution i have checked with enable false and also with one boolean flag but its not working
 
6:24 AM
@PiyushGupta have you kept the condition whether dialog isShowing or not ?
 
if it is showing then need to enable false for button?
 
no need to keep enable and disable.
keep this condition and check
 
So like this way?
if (result != null) {

try {
if (alertDialog.isShowing()) {
return;
} else {
ChildGurdianList(holder, result, gurdianList);
}

} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

} else {
Functions.displayMessage(mContext, "No data found");
}
 
punches for you
 
Good morning all :)
 
6:28 AM
if (!customdialog.isShowing())
    customdialog.show();
 
Ha ha I know....
for punches
 
hello @PiyushGupta
hru bro?
 
Hello i m fine
Thanks
 
@greenhorn access approved.
 
Hi all good day, how to store an string value in one jsp and acccess it in al other JSP
 
6:47 AM
@Shadow sorning morning
 
@PiyushGupta used map in fragment?
 
@nawabsaab Yes once
 
i have a fragment in this i am having a listview n mapview
in starting i am setting mapview visibility gone
on click on map button in action bar
i am toggling visibility
but in map loading
screen blinks for around 200 ms
and when i open another fragment from navigation drawer when the map is displaying
it blinks for around 700 ms
have you faced this kind of issue?
 
No.. I have never faced this things. But to overcome i think you should initialize your mapview in onResume() method using mapview.onResume()
 
@PiyushGupta i did
 
6:54 AM
Oh. Though? I think it will take a time to load may be. For this you can use handler for particular seconds
 
Hi, How to disable internet in Android (Wifi and Mobile Data)
 
and when i open another fragment from navigation drawer when the map is displaying
it blinks for around 700 ms
?
 
@RoshanJha goto flight mode. much faster. ;)
 
@SilentKiller Do I have access for this ?
I am talking programatically
 
@RoshanJha ya u have.
 
6:58 AM
@SilentKiller >< its saying no
Let me check though :D
The field Settings.System.AIRPLANE_MODE_ON is deprecated
 
@NisheethShah access approved.
 
hey somebody please help,,
ive a viewpager
viewpager holds fragment1 and fragment2
ive a listview(fetching data from database) in fragment1.
when i update database data in fragment2 and go back to fragment one,
the listview items are not getting updated.
I used Logcat and found out, the onCreateView() in fragment1 is not getting called.
 
103
A: How to programmatically turn off WiFi on Android device?

J. MaesYou need the following permissions in your manifest file: <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission> <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"></uses-permission> Then you can use the following in your activity class: Wifi...

0
A: How to disable mobile data programmatically for my app only

DugguBelow code for disable or enable moblie data :- java code private void setMobileDataEnabled(Context context, boolean enabled) { final ConnectivityManager conman = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); final Class conmanClass = Class.forName(conman...

 
Yup, but its about Wifi
Exactly, I need to do these 2 things
I was searching common method
 
@NisheethShah you have to use fetch data from database again at onResume() and also pass that new data to your listview/
 
7:03 AM
how to use onResume()?
 
77
A: Android: How to Enable/Disable Wifi or Internet Connection Programmatically

vivI know of enabling or disabling wifi: WifiManager wifiManager = (WifiManager)this.context.getSystemService(Context.WIFI_SERVICE); wifiManager.setWifiEnabled(status); where status may be true or false as per requirement.

no common method. for common you have to set device to Airplane mode.
 
@Mishi can i get access there
 
I use following in fragment2
((HomeActivity) getActivity()).nonSwipeHomeViewPager.setCurrentItem(0, true);

By this i get in to fragment1. But onCreateView() is not getting called where Ive called an adapter for listview
 
@yushi Why ?
you can ask here
 
ok
 
7:11 AM
@NisheethShah because your fragments view is not flushed or null. so it will not call again till it get flushed.
 
7:34 AM
tried a lot finding on how to flush/remove/destroy previous fragment but no luck.
I'm not able to do it. @SilentKiller, could you please help.
 
hey @DroidDev :P
@NisheethShah what u want ?
 
ive a viewpager
viewpager holds fragment1 and fragment2
ive a listview(fetching data from database) in fragment1.
when i update database data in fragment2 and go back to fragment one,
the listview items are not getting updated.
I used Logcat and found out, the onCreateView() in fragment1 is not getting called.
I use following in fragment2
((HomeActivity) getActivity()).nonSwipeHomeViewPager.setCurrentItem(0, true);

By this i get in to fragment1. But onCreateView() is not getting called where Ive called an adapter for listview
 
@NisheethShah tried mViewPager.setOffscreenPageLimit(1); ?
 
should i use it in homeactivity class or in fragment1 or fragment2?
 
@Mishi hey
 
7:43 AM
@NisheethShah wherever u init viewpager nd pupulate adapter i.e in ur homeactivity
@DroidDev Hws yaa
 
@Mishi m fine, hws ya?
 
yeah thats what i did, but still the problem hasnt gone.
I wrote it below where ive initialized the viewpager:
nonSwipeHomeViewPager = (ViewPager) findViewById(R.id.home_layout_non_swipe_viewpager);
nonSwipeHomeViewPager.setOffscreenPageLimit(1);
 
2
A: ViewPager re-instantiates items out of order after screen rotation

Oleg VaskevichAfter meticulously debugging the app and looking through the ViewPager source, I found the problem. The first time the app starts and mViewPager.setAdapter(mPagerAdapter) is called, the pages are instantly initiated and the app works as it should. However, when the phone is rotated, calling setA...

brb Lunch time
 
@Mishi ok.. lunch time here too :)
 
 
1 hour later…
8:47 AM
@mish
@Mishi you there?
 
Yes
 
did you understand my problem?
i even tried nonSwipeHomeViewPager.setOffscreenPageLimit(1); but stilld its not working..
and when i click on an image, the oncreateview() is called (inside where I have written code for image.setonClickListener()..
 
 
2 hours later…
11:07 AM
how can i connect android with parse ?
 
11:58 AM
bye all :)
 
12:48 PM
anyone worked on calander
 
which calander ???
 
CalendarView in android
 
Has anyone worked with Scorm Packages ?
 
bye guys @ALL
 

« first day (999 days earlier)      last day (1246 days later) »