« first day (630 days earlier)      last day (2620 days later) » 
03:00 - 07:0007:00 - 14:00

03:32
Good Morning...
03:59
Good morning
04:10
good morning
@Rahul heyy
aao hot shot
04:30
mornings people
@AnshulTyagi hi
bhaai ab thak gaya bounty laga di
good morning
bhai bahut sare option h @AnshulTyagi
04:36
tum fragment me bhi menu inflate kar sakte ho
wahi kiya hai
code dikhana kaha kiya h
it filter. But as I select first Tab(ADVISORY), then it filters the child of this Tab. And after selecting next Tab(TOP ADVISORY), it filters all listview of the child of this tab but it stops filtering in previous Tab (ADVISORY). And at last I move to the EXPERTVIEW it works only for it not for others. I hope you got my point.
question me dekho code hai
achha ye batyo jo child ke char fragment h usame menu inflate kiya h
unme hi kiya hai
advisory me nahi kiyamaine
child waalo me hi kiya
04:39
to activity me kyu listener h fir
activity ka listener hi toh use kar raha hoon main
setHasOptionsMenu(true) karke
vo mat use karna
har fragment me query listner use karna
fir toolbar waale me kaise hoga?
har fragment me hi lagaaya maine querylistener
yaar thoda clear kar do lunch tak ka hi time hai
pahale jo menu activity inflate kiya h
vo comment karna
kahaan main activity me?
04:42
ha
ok wait
agar kuchh nahi hota to event bus use kar le
usake liye @AndeloperDev h
tere ui ka simple logic h
event bus?
bas bhaai fir toh ho gaya
@Shvet bata
event bus
kya hota h
wo busy hai kaise bataaye
04:46
gm @all
wo library hai @AnshulTyagi jo tuje activity me communication karne deti hai (In Short)
@Rahul comment karne se fragments me issue start
wahaan usko hi use kiya hua tha na toh null pointer
@Shvet fragments me?
@AnshulTyagi SearchView sv = new SearchView(((MainActivity) getActivity()).getSupportActionBar().getThemedContext()); esaki vajag se h
Npe
04:51
haan
toh kaise kare?
@AnshulTyagi let me one thing,every tab has its own child tab? likeadvisory has 4 tabs it is shwoing and top advisory has its own independently?
activity se bhi chala gaya SearchView
ek minute
@Shvet yupp bro
and you implemented searchview in every tab independently ?
04:52
child tab me haan main activity me implement karke usko inflate karaya
use searchview in main fragment independently for each tab
jaise child me kiya same wahi?
kaha kiya hai child me?
@AnshulTyagi: kya solution hua..
@AnshulTyagi have some image with text now i want to display that image i have set android:scaleType="centerCrop" and have given margin top and left but now image ka text center se crop horha ahe @Shvet
04:56
and naming thik se kiya kar
question me hai code
third developer ko kuchh samaj nai ayega isme
@NehaTyagi current fragment nikal rha hai bas
@AnshulTyagi: to tumhe ye hi chaiye tha na
@Shvet currencyFragment2 se samjh nahi aayega ki ye is name ka second fragment hai
@NehaTyagi but searchview me setHasOptionsMenu(true) problem kar rha hai
04:59
searchview to toolbar m bhi kabhi try nahi kiya..
hmm...ok
@AnshulTyagi tuje child fragment ke listview ko filter karna hai na?
Good morning All
i have one problem in camera video recording
haan bhaai comments padho wo hote hai but next tab k selection se band ho jaata hai @Shvet
recorded video get in low quallity
05:02
@RaviVGHL hats?
yes
i get
(Y)
this my code
plz help me
@Shvet
@AnshulTyagi
sorry i can't see anything right now
i havent worked on video recording till now so sorry too
05:05
look at my code
add this mediaRecorder.setProfile(CamcorderProfile.get(CamcorderProfile.QUALITY_720P)); @RaviVGHL
@NehaTyagi i have added but my app crash when i add to profile
any another way for that?
what is the error
i m using this and its working fine
@RaviVGHL: see this pastie.org/10635322
ohk @NehaTyagi i wll try after came back
SearchView sv = new SearchView(((MainActivity) getActivity()).getSupportActionBar().getThemedContext());
that code ye wrong h fragment
@AnshulTyagi
05:10
toh right kya hoga
@Rahul mai nullo k liye nhi hu yha
but it works bro
nulla kisko bola
inflater.inflate(R.menu.menu_search, menu);

SearchManager searchManager = (SearchManager) getActivity().getSystemService(Context.SEARCH_SERVICE);

MenuItem menuItem = menu.findItem(R.id.searchbar);
SearchView searchView = (SearchView) MenuItemCompat.getActionView(menuItem);
searchView.setSearchableInfo(searchManager.getSearchableInfo(getActivity().getComponentName()));

searchView.setQueryHint("MCI Number or Name");
@AnshulTyagi
ye kidhar lagega?
on createoptionmenu me
05:13
Child fragment me
ha
ok
aur main activity ka comment rakhu
@maveň vgm
kaha busy aaj kal
@Shvet that what i'm talking about
05:14
@AnshulTyagi @AndeloperDev @Narendra @nawaabsaab @Kaushik @kiturk3 kaise ho sab
@maveň i am well and yourself !
@AndeloperDev bc apprtc ho gya :D
Any one work on RealTime Line chart
@maveň shi hai
@Rahul i have to open my old project to get these code :D so just taking my time
05:15
@AndeloperDev thanks
@maveň bhai tu cheeta hai
@Erum gm :)
@maveň thik hu tum bolo
@Kaushik wha pe aao
05:16
Any one work on RealTime Line chart @All
@maveň ae kaha bula ra be
@Narendra :D
@AnshulTyagi @AndeloperDev @Narendra @nawaabsaab @Kaushik @kiturk3 @NehaTyagi hows my hat ? :P
@Narendra tum bhi chal sakte ho
@Shvet hmm
@Kaushik no
ok
3:
05:18
@Kaushik :P
@maveň cute ;p
kaha pe
@Kaushik ;p
@AnshulTyagi kuchh hua usase
naa
mera dimaag ghuma diya bhaai
code dikha
05:20
activity aur fragment ka
@AnshulTyagi buddy thoda break le
@maveň: can i be frank....mujhe ye hat ka funda samajh nahi a raha :(
muchhe bhi nahi
dp hats aa jayi bas
not interested
05:23
@NehaTyagi
app crash
 @Override
public boolean onCreateOptionsMenu(Menu menu) {
    getMenuInflater().inflate(R.menu.menu_main, menu);
    final SearchView searchView = (SearchView) MenuItemCompat.getActionView(menu.findItem(R.id.action_search));
    SearchManager searchManager = (SearchManager) getSystemService(SEARCH_SERVICE);
    searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName()));
    changeSearchViewTextColor(searchView);
    return true;
}
@AnshulTyagi ye code comment kar
@Kaushik: thank you
@Rahul kara
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
    inflater.inflate(R.menu.main, menu); // removed to not double the menu items
    MenuItem item = menu.findItem(R.id.action_search);
}
ye code fragment me likhana
05:27
sirf searchView hona chahiye
onActivityCreated aur onActivityCreated
@RaviVGHL: show me the code and the line where it is throwing the error
 me ye code likhana
            setHasOptionsMenu(true);
ye hone ke bad bata
SetmenuVisibility se remove kar deta hoon
ha
@Override
public void setMenuVisibility(boolean menuVisible) {
    super.setMenuVisibility(menuVisible);
    if (menuVisible && getActivity() != null) {
        SharedPreferences pref = getActivity().getPreferences(0);
        int id = pref.getInt("viewpager_id", 0);
        if (id == 2)
            setHasOptionsMenu(true);
 }
ye bhi cooment kar
05:29
queryTextListener kaise karega kaam?
vo hoga gaya
bina call kiye?\
ha
ha searchview dikh raha h na
??
05:32
@RaviVGHL: set audio source to this mediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
run karana hoga sabhi jagah change kar deta hoon pehle
nahi ek hi fragment kar na bhai
@NehaTyagi send me code for video recording stop
@Rahul ok
now app not crash
05:34
u jus need to release the media recorder on stop
but when i m using to relise that time get problems
@maveň jordar bhai...
:D
@maveň bki hat bekar hai :p
@RaviVGHL: mediRecorder.stop();
if (mediaRecorder != null) {
mediaRecorder.reset(); // clear recorder configuration
mediaRecorder.release(); // release the recorder object
mediaRecorder = null;
mCamera.lock(); // lock camera for later use
}
@AnshulTyagi app:actionViewClass="android.support.v7.widget.SearchView" yahi seachview h na
xml me
yes
ditto
05:38
ok
run hua app
haan
but no effect
searchView dikh raha h na
haan dikh rha
but no filtering
final SearchView searchView = (SearchView) MenuItemCompat.getActionView(menu.findItem(R.id.action_search));
ye code likaha
fragment me kuch bhi nahi hai abhi
05:40
aur searchView.setOnQueryTextListener ye
likh deta hoon ab
code ?
dikhaaun?
@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
    super.onCreateOptionsMenu(menu, inflater);
    inflater.inflate(R.menu.main, menu); // removed to not double the menu items
    MenuItem item = menu.findItem(R.id.action_search);
    final SearchView searchView = (SearchView) MenuItemCompat.getActionView(menu.findItem(R.id.action_search));
}
searchView.setOnQueryTextListener(new SearchView.OnQuery)
ye
likh diya
05:42
v7 vala searchview rahana chahiye
    searchView.setOnQueryTextListener(this);
Log.print karna
@NehaTyagi all work now no crash
thnkx
import android.support.v7.widget.SearchView;
ha
05:42
but video output file get 0kb
yahi hai
code ek bar dikhana
isme koi video nahi aa ta
i send you code
plz check out
@NehaTyagi
@RaviVGHL: ???
05:44
Hi guys. .. Isit possible to snatch all keyword typed in to a bg app
code dekh do uska
    @Override
    public boolean onQueryTextChange(String newText) {
        if (adapter != null) {
            adapter.filter1(newText);
        }
        return true;
    }
@NehaTyagi for recording code
ye call ho rha h
@AnshulTyagi
wait debug karta hoon
05:45
pastie.org/10635363 for stop recording
@NehaTyagi
@RaviVGHL: front camera or back??
back camera
@AnshulTyagi bata bhai jaldi
ok
wait
@Rahul haan
05:48
usinf surfacview right??
searchview pe click hote bhi hua
@AnshulTyagi so sab fragment vaisha hi rahega
@Rahul I think you got
thanks bro :D
aur onPageSelected
05:49
wahaan pe kya?
supoortInvalidateOptionmenu call karna
aur?
page scrolled par bhi?
((AppCompactActivity)getActivity()).supportInvalidateOptionMenu
nahi
bhaai first time ka issue toh nahi hoga na?
kaun
05:49
supoortInvalidateOptionmenu ?
sa
@NehaTyagi any idea?
mujhe pehle first auto selected child tab me tha mai nahi kar paata tha
menu ke behavior ko handle karta h
change karne se usko context milta tha tabhi ho rha tha
ok isko karke dekhu?
05:51
confuse
jaane do
ab dekhta hoon pehle
pastie.org/10635373 this is android sdk folder
ohh ok
ab kya kehte ho
main sab jagah same implement karun?
nahi upper abhi jo kiya h vo karna
ye next time ke liye h
haan wahi bol rha hoon
ok. bookmarked
05:54
bahi sdk ke example folder me h
LoderCursorSupport.java
file ka nam
ok I'll remember it.
@RaviVGHL: wait.. i need to recreate the whole scene to figure out the problem...
hmm thnx
@RaviVGHL crash log dikhana
@kiturk3 ab nahi ho raha crash
video file get in 0kb
05:58
okk
that in no any video
@AnshulTyagi if (android.os.Build.VERSION.SDK_INT > 9) {
            StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
            StrictMode.setThreadPolicy(policy);
        }
why this
@Rahul bhaai issue gaya nahi
wahi ho gaya
previous waale k childs ko nahi kar rha agar next chale jaate hai toh
@Rahul ye maine slow listview k liye ANR remove karne k liye liya tha ab remove kar dunga
listview fast ho gayi
06:06
@RaviVGHL: where r u releasing ur medirecorder??
for stop video
this code use from your pastie
Hi All,
Good Morning
Is there anyone Worked with direction along with google map V2, Currently I'm working in a product in that I want to fetch moving object direction showed on the map can any one help me with it?
@Rahul look at the above mentions when you come back
gm all
06:25
@NehaTyagi geting any solution?
1
Q: How to make real-time multiple line graph?

moooreI want to make real-time multiple linechart using MPAndroidChart. It is no problem to make real-time graph using only one data. (following code) private void addEntry(int count) { LineData data = mChart.getData(); if (data != null) { LineDataSet set = data.getDataSetByIndex(0);...

@AnshulTyagi @ArthTilva @maveň @Rahul
@NehaTyagi itni frank mat ho mere se, :D
very good morning all :)
@Narendra
http://www.ssaurel.com/blog/create-a-real-time-line-graph-in-android-with-graphview/
https://github.com/ddanny/achartengine
https://rakhi577.wordpress.com/2012/10/11/bar-chart-in-android-with-out-any-built-in-jars/
https://code.google.com/p/flot-android-chart/
:P
@ArthTilva thanks
but muje realtime me multiple line chahiye
06:38
@AnshulTyagi kaun se tab me nahi chal raha
kisi bhi
ek me hua tha na
agar aagey waale parent tab me chale jaao toh
ek me toh pehle bhi hua tha
bhaai
issue yahi hai ek parent se next parent par jaaye toh issue aata hai
previous waale k childs me koi seacrh nhi hota
fir filter kam nahi karna ?
nahi karta
06:40
parent viewpager me supportInvalidateOptionMenu dalna
querytextlistber call hi nahi karta previous waale k
mTabLayout.setOnTabSelectedListener(new TabLayout.OnTabSelectedListener() {
@Override
public void onTabSelected(TabLayout.Tab tab) {
pager.setCurrentItem(mTabLayout.getSelectedTabPosition());
((MainActivity)getActivity()).supportInvalidateOptionsMenu();
}

@Override
public void onTabUnselected(TabLayout.Tab tab) {

}

@Override
public void onTabReselected(TabLayout.Tab tab) {

}
});
ek setPageOffsetLimit 4 karna
@maveň: itna to chalta hain re ;)
    pager.setOffscreenPageLimit(5);
ye bhi hai
is se hi fast hue tabs
@NarendrasinhDodiya: Any idea how we pass data on tab change while using TabLayout feature?
If anyone else also has implemented this, may ping me. Thank you in advance. Have a successful coding day
06:43
@RaviVGHL: this code is working fone at my end...let me give u a tutorial
what?
@RaviVGHL: examples.javacodegeeks.com/android/core/… try this as it is...remove the code for front facing camera ...if its working then u can modify the path where video is saved
@NehaTyagi i am using backround service for recording video
and i have all ready shown this tutorial
then there must be some problem while using service...due to which u r not able to save ur video...
@RaviVGHL, what is the issue ? , are you facing any crash, or not able to save video ?
06:49
@NarendrasinhDodiya wheni using to code with profile at time get crash but soving problem,
now i need to solution for record video in high quality
this example use in my project
that in i have to solution for record video in high quallity
@NarendrasinhDodiya
this file in i have to make change
but i cant understand what have to done for that
@NarendrasinhDodiya
so plz give me solutoin for that
:(
did you try setting camera profile to high quality ?
using recyclerview header if i m passing list length of 4 t recyclverview adapter then it is showing only 3 items and header whats the issue ? @Rahul
@RaviVGHL: tumhari video profile set karne se pehle record ho rahi thi??
@Erum, are you returning proper getItemCount , should be listsize +1, i guess
ha ho rahi thi
06:56
@Erum, getItemCount(), return list size + 1
mere code se video record ho raha hai, when i am using your code at time not save any video just create file with 0kb
@NehaTyagi
see this java file
same code implemented in my project
@RaviVGHL, i guess you have , audio record permission as well. and write external storage as well
yes all permision implimented
@NarendrasinhDodiya
see
03:00 - 07:0007:00 - 14:00

« first day (630 days earlier)      last day (2620 days later) »