« first day (806 days earlier)      last day (2669 days later) » 
04:00 - 17:0017:00 - 22:00

4:15 AM
GM
 
4:35 AM
@devil gm
 
@Edge how are you?
 
fine
 
4:50 AM
any one here who work with youtube api??
 
no i haven't
 
5:09 AM
@RobinHood good morning
 
Morning
 
i need one Help
am facing Problem in that
0
Q: how to display 3 ,3 item in listview when we pull to refresh in android

Edgepublic class MainActivity extends ActionBarActivity { private List<String> mListItems; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); ((PullToRefreshListView)findViewBy...

@RobinHood look this issue please
 
any idea locker app ... i have made till yet ... i have blockeed some apps and now when trying to access those apps now my app locker screen is in front but after entering locker code my app should open that accessed app (those app that is being accessed by user)
but now how will i do means i m confused in logic
my app should show accessed app and will i stop my service if yes then when will i start my service again
@RobinHood
can u pls tell me
 
Asked on main site
 
i cant ask question
i have no permission to ask questions
 
5:16 AM
Hi everyone! I have a webview comprising of text and image. I am using webservice to show the text and image on the screen. But the width of the image is so large that I have to scroll horizontally to view it. Can anyone help me so that I need not to scroll the content of the webview horizontally to view it? I am using the following code for webview: webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setLoadWithOverviewMode(true);
webView.getSettings().setBuiltInZoomControls(false);
 
ok sorry i have permission asking questions
 
@RobinHood u telling me
 
5:33 AM
0
Q: Issues Regarding "App Locker" Android App

nidaI am working in app locker code i have made services that will check locked apps and will show "LOCK APP SCREEN " so that user can enter password code.My code is working fine till this stage.When user successfully enter password code now my app is opening "locked app" but just after that what sh...

@RobinHood can u pls see question
 
5:49 AM
Hi Kaushik. Welcome back :)
 
hi all
 
in my android application after login my password is set into password field and username field by default when ill going to login again how can i avoid in android ?
 
Hi
 
@kaushik hi can you help me?
 
Good Morning Guys
 
5:51 AM
Yo Naruto - baby kun
good morning
 
Yo Kaushik
 
@TheLittleNaruto very good morning
 
@Android_coder tell the problem
 
@KetanAhir vgm :D
 
@DroidDev gud morning
 
6:02 AM
@maveň morning
 
@kaushik you have any idea about this stackoverflow.com/questions/28082036/…
 
@Android_coder you can't place actionbar at the bottom of activity.
 
if i close my activity then will it also stop the alarm ? @maveň
i want to run my service continuously in background
 
@nida no...but if you reboot your device then all alarm will be lost.
 
6:16 AM
ok
and if i start service then will it call onCreate directly? i m going to set alarm inside onCreate of service class
@KetanAhir
 
onCreate()
The system calls this method when the service is first created, to perform one-time setup procedures (before it calls either onStartCommand() or onBind()). If the service is already running, this method is not called.
 
@kaushik i can placed action bar in bottom but i need to place action bar tab in bottom
:21102350
 
if i reboot device then i m going to start service will ssytem call this method @onCreate
@KetanAhir
 
Hi everyone...
 
@nida yes...because when you turn off device your service will stop. but you have to start service using boot completed receiver.
 
6:26 AM
yes when i start service will it call onCreate() right ?
 
can we edit the xml configuration file during run time?
 
@nida yes.
 
ok fine
 
@Android_coder u have to think differently that is not possible
 
xml config file within the war file only..
 
6:27 AM
but i m not getting notification after every code
every hour i have set alarm for every hour inside onCreate
 
good morning @PiyushGupta
 
in service class @KetanAhir
 
Good morning All mates
@kaushik vgm
 
can we edit the any xml configuration within the war file during runtime?
 
@kaushik i can place normal tab in bottom how to main all screens inside tab
 
6:37 AM
hi @KetanAhir good morning r u busy now a days?
how are u ?
 
@Edge hi...not busy
 
@Android_coder don't get u how to main all screens inside tab means ?
 
@PiyushGupta, Sorry! The link that u provided me with only disables the horizontal scrolling in a webview but I don't want to do that. Rather, I want to fit the entire webview content in my mobile screen, so as to stop scrolling it horizontally.
 
tried to contact u but not able to contact @KetanAhir
 
display all child activities inside a tab activity
 
6:41 AM
Have anyone used HorizontalListView or ViewPager in Widget?
 
Hi guys all
 
instead of TabActivity you can use Activity and instead of Tab use Buttons @Android_coder
or you can use fragments
 
@Harish (AndroidUtil.sessionManager.getUserCurrentPackageName() == null)
its value is null but still its coming inside block why ?
@KetanAhir
 
@nida it's value is null..so (null==null) will be true
 
nops i m putting
if(!(AndroidUtil.sessionManager.getUserCurrentPackageName().equals(null)))
@KetanAhir
 
6:47 AM
try this way (AndroidUtil.sessionManager.getUserCurrentPackageName() != null)
 
how to use my different size images and i want to use in grid view or list view how can i do this in android?
 
i tried this way and it works
if(!(AndroidUtil.sessionManager.getUserCurrentPackageName() == null))
 
if(!(AndroidUtil.sessionManager.getUserCurrentPackageName() == null))
and
if (AndroidUtil.sessionManager.getUserCurrentPackageName() != null)
both will give same result
 
@nida can you print that in log
@KetanAhir the above both are different
 
yes i have log i m getting null in AndroidUtil.sessionManager.getUserCurrentPackageName()
@Harish any idea how app locker works
?
 
6:54 AM
@Harish I have edited last line
 
@KetanAhir ok
 
@Harish
any idea how app locker works
 
@nida do not to ping other users randomly and have some patience
2
@MukeshRana @berserk @TheLittleNaruto good noon guy's
 
@nida no idea..
 
oh ok @maveň
 
7:16 AM
GA ALL
 
@SweetWisherヅ VGA
 
hi, is there any in app video player libraries for android?
I want to play 2 small video files inside the app,. actually from assets folder
 
@maveň good noon
@AbyMathew Isn't VideoView good for that ?
 
@TheLittleNaruto now u have learned how to use otto :P
 
Yes ^^
 
7:31 AM
after implementing it guide me too
 
7:45 AM
Sure No Problem
 
@kaushik what is otto?
 
8:32 AM
@kaushik I need to learn AA implementation with Otto as well. I think that'll happen tomorrow only. So, by tomorrow may be. :)
 
Is today some vacation or what ? Very few users are online
 
:O
 
8:50 AM
@TheLittleNaruto its raining, internet is washed away :P
 
hehe Story of Mohali.. hmmm ?
 
lol, eggzaktly
 
@DroidDev @TheLittleNaruto Yesterday here too heavy rain
 
@PiyushGupta here==?? :P
I wonder if its Ahmedabad...
 
@DroidDev At my location?
yeah
 
8:54 AM
@TheLittleNaruto, No vacation bt i need a soln
 
@ParthaChakraborty hihihihi xD What is your query ?
 
on the other hand...I live for simpler things than solutions
I just need money
only about $500 M
 
in Smart Developers' Lab, 2 days ago, by DroidDev
wait...is it only me or is this room made by neighbours in Ahmedabad?
:P
you were there :P
 
I have a webview comprising of text and image. I am using webservice to show the text and image on the screen. But the width of the image is so large that I have to scroll horizontally to view it. Can anyone help me so that I need not to scroll the content of the webview horizontally to view it? @TheLittleNaruto
 
8:57 AM
@DroidDev Believe me not this room :)
 
@TheLittleNaruto thank god
 
in Smart Developers' Lab, 2 days ago, by DroidDev
@FlamePrincessϡ thank god. They have not monopolized me... :P
 
lol
@ParthaChakraborty Did you even try googling ?
13
A: How to disable horizontal scrolling in Android webview

SBerg413This is a hack, but one that has worked for me successfully in the past. Surround your WebView in a vertically oriented ScrollView: <ScrollView android:layout_width="fill_parent" android:layout_height="fill_parent" android:scrollbars="vertical" > <WebView android:id="@+id/mywebview" ...

@rekire VGM :D
 
still there is place is vacant if any one interested to relocate ndls i can forward them
 
9:02 AM
@TheLittleNaruto umm...2:32 pm :P
 
vgm @TheLittleNaruto I'm back
 
@DroidDev For him its morning :)
 
@DroidDev 10:02am here ;)
 
@rekire Cool! Is all well now ?
 
oh! in that case VGM @rek :)
 
9:03 AM
@TheLittleNaruto I hope so
@DroidDev vgm :D
 
lol Alright
 
@maveň random ping attack
3
 
@TheLittleNaruto, actually i don't want to disable horizontal scrolling. Rather I want to compress the webview so that the width of the webview exactly matches the width of the screen. The problem lies when the webview contains huge image
 
@rekire haha , Well! You're learning
@ParthaChakraborty Did you see the answer link ?
 
:D
 
9:06 AM
Ah! You're not listening, Are you ? @Partha
 
@TheLittleNaruto, All u r suggesting me is to disable horizontal scrolling in the webview, whereas i want to compress the contents of the webview. Both r different, don't u think??
 
9:24 AM
mmmm..... NO xD
@rekire Do you follow any design pattern ?
 
@TheLittleNaruto I try it ;)
 
I learnt the Otto basics today.
I want to know How can I implement AA with it ?
Can you guide me in existing Sample of Otto ?
This one @rekire
 
I did not use otto yet. It might slove some problems for my app but I hade no chance yet to use it
what is AA by the way?
 
Android Annotations ;)
 
about them I mixed them up... I use butterknife which is very similar. I thought you where orginally talking about android.support.annotation
 
9:38 AM
Yes, butterknife is pretty similar
 
I checked it after reviewing that link... I think that is a little overengeneered, it works sure, but I'm not sure if this makes sense in every case exspecally about the performance I'm not sure, but it is of cause helpful.
 
Many good devs are using it. Sure they have checked the performance
 
hello @TheLittleNaruto
 
i am having a app
it has two versions 1 is free, another is paid
in free i am giving link to user to purchase the app
i want the app to upgrade from there
means the things that are saved in free app
must be displayed in paid app
can any ideas you may give?
 
9:45 AM
So you're worried of data saved ?
 
yes
any option that we can upgrade from free to paid
 
You can do one thing, When prompt user for paid version, Just save all data in your app's db. And copy it somewhere in sd card. When the paid version will be installed, check for the db in the sdcard and store it into app.
 
hmm but the data is very large quantity
ok i'll try doing this way
thanks
 
In that case, saving it to sdcard will be fine, Won't it ?
Sure
 
the task is tough
but will be interesting
 
9:50 AM
lol
 
?
bro i am dealing with the worst code
 
Okay Good Luck
 
thanks
 
10:08 AM
@rekire heyaa man :)
 
@maveň hey how are you?
 
@rekire not bad :D
 
hehe, I'm currently updating the database schema, I just hope I don't do something wrong
 
this time maven will be silent ;)
 
pokes @maveň
pushes @berserk into a pond full of deadly snakes
runs away
 
10:17 AM
Yoo :P
 
comes back
takes her goggles off
runs again
 
5 mins ago, by maveň
this time maven will be silent ;)
 
HE SPOKE!!
 
@DroidDev hello
 
10:22 AM
@AndoMasahashi yallow! :)
 
@DroidDev can you tell me when onStop and on Destroy called and which method every time called ??
 
@maveň monvarat kis baat ka bhai?
 
To sum up
`onStop()` Called when the activity is no longer visible to the user, because another activity has been resumed and is covering this one. This may happen either because a new activity is being started, an existing one is being brought in front of this one, or this one is being destroyed.

Followed by either onRestart() if this activity is coming back to interact with the user, or onDestroy() if this activity is going away.
 
@DroidDev i know this but i just want to know which method called every time
 
@berserk r u there ?
 
10:33 AM
@KetanAhir hello
 
@AndoMasahashi hi
 
@KetanAhir done i have one que but found ans.
 
@AndoMasahashi ok
 
10:52 AM
@AndoMasahashi everytime means?
 
@DroidDev every time means when i leave or resume on i pressed back button in phone
 
@AndoMasahashi when you leave, onPause() is always called if activity is not finished. If finished, then first onStop() and then onDestroy(). When you come back, at that time, onResume() is called, but, beware, it is also called when the activity is created
 
@DroidDev onStop is called very time
 
@AndoMasahashi why don't you override each method, put a breakpoint in each of them and test it?
 
11:43 AM
@maveň evng.. :)
Good Evening Guys :)
 
@berserk there
 
@MukeshRana gud eve
 
@maveň can u help me in arraylist
 
@nida say
 
i have sort arraylist with alphabetical order , date wise now stuck
at i want to sort custom array list with only true values (of method )
there is a property isStatus
that contains true and false
values
now i want to sort list using only true value
i have done for alphabetical order here pastie.org/9850920
@maveň
 
11:54 AM
@nida pastie won't work here
 
checking wait
 
whecking cait
@nida you already have the code for sorting the list. I don't think it should be much difficult to just change the field, according to which you want it sorted. What have you tried?
 
i have tried static final Comparator<HomeBean> bySystemApp = new Comparator<HomeBean>() {

public int compare(HomeBean o1, HomeBean o2) {
boolean b1 = (Boolean)o1.isAppType();
boolean b2 = (Boolean)o2.isAppType();
return ;
}
};
in last line b1.compreTob2 is giving me error
 
@nida how can you sort something according to boolean values?
 
12:02 PM
using 1 or 0
 
@nida OMG, seriously?
 
what ?
it can be sorted with true or false values
 
You understand how int compare(T t1, T t2) works, right? Have you even at least read the docs?
A return value of 1 indicates reflexive inequality, you're designing it in a way that is not reflexive. This breaks the contract. You'll get undefined behaviour.
 
did not get u
pls explain
 
@nida My explanation was clear enough to understand for even a person with no programming knowledge. What exactly do you not understand?
 
12:08 PM
u r trying to say that
if both values are unequal then compare will return 1 right ?
 
No, that is not what I said, in fact quite the blatant opposite.
 
sorry when both are equal it will return 0
 
Everything is not PHP
 
@TheLittleNaruto What about PHP itself?
 
12:28 PM
 
12:46 PM
This is crazy ^
 
@TheLittleNaruto the one above it seems crazier
 
lol true
 
1:03 PM
eh... :(
@TheLittleNaruto that one is great :D
 
hahaha Yes :P
 
1:20 PM
BYE ALL
 
1:36 PM
@TheLittleNaruto have you worked on image uploading on aws server?
 
No, never worked on aws
 
ok
 
2:00 PM
yo guys
@nida Now I am.
@KetanAhir Now I am.
@DroidDev eats snakes
 
gusss
 
@maveň Evening :)
@RobinHood u need image uploading on aws?
 
com.amazonaws.AmazonServiceException: Not authorized to perform sts:AssumeRoleWithWebIdentity (Service: AWSSecurityTokenService; Status Code: 403; Error Code: AccessDenied; Request ID: dde427d7-a239-11e4-a964-bd2a3d078910)
Some key issue maybe.
 
all keys are correct
 
2:07 PM
Well, I never got issue like that.
 
2:22 PM
@berserk :O
 
2:50 PM
0
Q: Customize RadioButton

smail2133I have problem with RadioButton in RadioGroup. I want replace text to spinner. If I can try solve it with layout in radio group then radioButton is not checking with other radio buttons. So need put spinner to one line with last radioButton and stay be comunicate with other radiobuttons. Thanks.

 
 
2 hours later…
4:48 PM
@TheLittleNaruto YO
@berserk @MukeshRana YO
 
Lol night boy ;) @Flash
 
:)@TheLittleNaruto
I found the demo on github that already made by someone..:)
 
Can you share the link ?
 
Thanks
 
04:00 - 17:0017:00 - 22:00

« first day (806 days earlier)      last day (2669 days later) »