« first day (800 days earlier)      last day (2675 days later) » 
01:00 - 13:0013:00 - 23:00

1:14 AM
posted on January 16, 2015 by Tor Norbye

We've just released Android Studio 1.1 Preview 1 to the canary and dev channels. The focus for version 1.1 is bug fixes; we are working in parallel on version 1.2 where we are migrating to the IntelliJ 14 codebase, among other feature work.  However, in addition to the bug fixes there are some notable improvements: New projects now create launcher icons as @mipmap resources instead of @dr

 
 
3 hours later…
4:18 AM
Mrngs :)
 
@SweetWisherシ good morning
 
?
oks
 
Good Morning
 
@Pans good mng
worked on chatting app?
 
4:26 AM
Good Morning guys :)
 
5:14 AM
@MukeshRana good morning
@PiyushGupta my bro comes
 
mrng.. :)
 
welcome
 
Thanks
 
lol @devil
mrng @PiyushGupta
 
mrng
 
5:17 AM
@PiyushGupta worked on chatting app?
 
No bro...
 
oks
 
@PiyushGupta
 
@all good morning
 
@ChintanRathod vgm
 
5:32 AM
gm all..
 
morning all
 
Good Morning Guys
 
Morning
 
@navya @maveň @TheLittleNaruto GM :)
 
@ChintanRathod gm
 
5:43 AM
@PiyushGupta hi dude.. how are you..
 
@ChintanRathod fine. wt abt u?
 
hlo Mr. Rathod :) @ChintanRathod
@PiyushGupta PG hey
 
@maveň hey
 
how's you bro
 
fine bro thx. U??
 
5:49 AM
me good mate :)
 
@PiyushGupta me also fine..
 
@maveň any idea about
s there any intent through which i can detect that user is going to start app lets say google so i can detect through service the package name of google
@ChintanRathod its similar to what android app locker app does
 
@maveň yeah
 
@MunimJi u can ask here .. may someone help.
@user1668447 don't know see this may help stackoverflow.com/a/8625417
 
@ChintanRathod i m using same but my this code is only returning my package name while i m using other app means clicking on app icon but still my service is not returning clicked icon package name
 
ohk..
 
whenever user click on any app ssytems/installed apps then my service should detect clicked app package name
 
6:19 AM
ANYONE know about convert arraylist to cursor..??
 
cursor to array list .. i had done.. but reverse.. nope..
9
Q: Create a cursor from hardcoded array instead of DB

FaddishWormI am trying to make a drag-and-drop list for a little game app I am writing. There are 6 entries in the list. However the library I added required a Cursor object that talks to a DB. This is overkill for my situation. Is there a way to create a Cursor object that is based on a memory-based data...

 
@ChintanRathod yeah its simple but reverse is challenge.
@ChintanRathod its string array.. and i have object arraylist.
 
@DroneDev hlo frnd :)
 
@ChintanRathod any idea
about my issue
 
6:24 AM
@user1668447 no dear..
 
i just want to get packag name of other apps that is going to be launched
 
@user1668447 have u tried the link i have given
 
yes
this is only giving me my apps package name
 
@user1668447 can' t you get top activity name
 
i want package name that is going to be launch by user
yes top activity name is returning me my app name
 
6:26 AM
ok its your app name..
 
if i close my app and start another app then its not getting name of other app
 
@maveň hi friend.
 
@DroneDev how's you
 
0
Q: Convert object arraylist to cursor in android

MunimJiPOJO CLASS GridItem: public class GridItem { int id; String path; String name; String chr; int headerId; public GridItem(String path, String name, String chr){ this.path = path; this.name = name; this.chr = chr; } } In activity: ArrayList<...

 
@maveň i am fine, how about you?
 
6:29 AM
@DroneDev mee too
 
okay friend :)
 
hello @MunimJi
 
39
Q: Android, Detect when other apps are launched

IanHi I'm trying to develop an app that prevents a user from getting to a specified app without a password. The scenario is... user clicks on "Email" app (for example) my app detects launch of an app my app confirms it is the "Email" app my app opens a view over the top, asking for a password user...

 
6:51 AM
@devil yea
 
@MunimJi connected device to xmpp server?
 
@devil dnt knw about it
 
ok
 
7:11 AM
how to use slide menu in android ?
 
@devil any idea about any broadcase reciever that can detect any app that is gong to be start
 
don't know
 
7:54 AM
anyone worked on chat app?
anyone's friend or colleague might have surely work
@MunimJi busy?
 
8:54 AM
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...

 
@devil tell
 
@MunimJi can you help in solving exception java.net.UnknownHostException. ?
 
@devil have u add internet permission?
 
yes bro i have added
@MunimJi I am using this code to connect, but not able to establish connection
logcat I got
 
Yelloww @ChintanRathod
 
9:09 AM
@SweetWisherシ oho.. sweet whisher ji..
 
@ChintanRathod bro
how are u
please look my issue
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...

 
@ChintanRathod hehhehe.. i came to knw dat u dint have holiday yesterday :p
 
@Edge absolutely fine dear..
@SweetWisherシ please.. i don't wanna remember my yesterday.. i m jealous of you ..
:D
 
Hhahahahahahahhahaha
 
@Edge why don't you use base adapter or something else which do customization upon your list item
 
9:12 AM
i will use base adapter but i just want how to apply 3 3 item
 
then you just need to use commons ware's github.com/commonsguy/cwac-endless
 
@ChintanRathod i need expandable listview with checkbox working sample, do you have any link?
 
nope.. not working example. @DroneDev
@SweetWisherシ this is not fair..
 
@ChintanRathod hey
bro
 
we have only 7 holidays now.. :(
@SweetWisherシ
@Edge yes please
 
9:16 AM
@ChintanRathod any helping link?
 
@Edge
 
@ChintanRathod hihahahaha
we have 12 :P
lolzz
 
@SweetWisherシ u have worked on pull to refresh listview
 
@Edge she (@SweetWisherシ) is all rounder..
 
@ChintanRathod lol true
 
9:28 AM
you can ask her anything and she will def have something to answer.. :P @SweetWisherシ @Edge
@TheLittleNaruto ha ha
 
@TheLittleNaruto he dear
 
look my issue
 
looked :P
 
@ChintanRathod can you help in solving a problm
0
Q: java.net.UnknownHostException while connecting openfire xmpp server

Arshvir KaushikI am a beginner for chat app. I started studing regarding chat app I am trying to connect android virtual device to openfire xmpp server, but am unable to connect, I am getting java.net.UnknownHostException can anyone help me in connecting my android device top xmpp server The code I am using is...

 
9:30 AM
you can use ip address instead of domain
 
@SweetWisherシ u have any Solution
for that
 
@ChintanRathod system's ip?
 
@Edge no idea. ask naruto. he is an expert :/
 
@devil server's ip.. where you have hosted that service
 
@ChintanRathod she is failed to give Solution
now tell me solution u
 
9:33 AM
hahaha
 
@Edge @SweetWisherシ this is not fair..
even @Edge i don't have any answer.. i asked @SweetWisherシ
 
O_o
1 min ago, by SweetWisher シ
@Edge no idea. ask naruto. he is an expert :/
ask @TheLittleNaruto :P
 
@Edge there arew alot of libraries for this on github
 
yar
@devil am able to display pull tor efresh and add one item but i want display 3 item
and then pull refresh then load another 3 item liek this way
@devil i am not able to appy logic for display 3 item and on pull refresh laod another 3 item
 
are you scrolling bottom or upward?
 
9:37 AM
no its downword
 
i was having webservice
and i have to perform the same task
 
ok but u store data in list
na
 
that on scrolling down listview
10 more values get added
for this i have to request the webservices
n each webservice was returning 10 results n i was adding those to litview
i used listview.onscrolllistener for this
hope you are getting?
 
ok can u give me code for that plz
 
@ChintanRathod chintan i tried with server ip also 127.0.0.1:9090, but still its same
 
10:10 AM
@Edge Have you solveD ?
and What's up folks ?
@devil ?
@Edge and @devil hope i can solve your issue . catch me soon! i'll busy later!
 
@MDroid thnkx not yet solved
please help
@MDroid
 
@Edge you wanna use pull to refresh right ? tell me your req. and issue
 
i want to display 3 3 item loading
in listview
 
i ve also implement pull to refresh like in gmail also
 
@MDroid have you worked on chatting app?
 
10:21 AM
ohk so every time 3 new items will be loaded in list view @Edge
@devil no
 
you said that you gonna solve my issue
@Edge i told you the solution
 
@devil is your issue related adding value to list view ?
 
yes @MDroid
 
i thought you have that issue so i told you!
 
no mine is with chat
 
10:23 AM
intially 3 item will display then again if i will pull tor efersh then it should display 3 more now 6 item will in listview and soo on
@MDroid
 
@ChintanRathod worked on chatting app?
 
@devil which technology u are working on chationg
 
android
 
@Edge get you! i ve use this in EndlessList view. but you can do it in Pulltorefresh also
 
can i give my this example code
u givem me example of enless
i will do that way
 
10:25 AM
@Edge wil you get idea from by Adapter class ?
 
yes
 
i ve to make example for you it ll take time
 
u give me
or if u have any simple example please give me
 
and when you add data to array after that use this method below it. adapterList.addItems(aryListSub);
aryList.addAll(aryListSub);
you have to use two array!
 
ok wait
u dont have any example simple example so that i can implemnt it
i am using pull tor efresh lisview
not enless
 
10:33 AM
no.. i ve direct implement this in my project
doesn't matter whatever you have used
can u send me code
 
yes
 
both adapter and class
 
u come on skype
i will send
 
send me hope i can edit it
 
wait
2 min
can u send me
@MDroid
@maveň
 
10:50 AM
Guys, can we install application as the device boots. I want to show registration screen for one application as device starts. Its a requirement.
can we do it??
 
You can launch your application on restart of your device
 
Not on restart, just directly as my phone start itself my application starts
@TheLittleNaruto
 
Yes that's what I meant
But before that your app is needed to be installed already on your device :P
 
oh okay. how could we can do this. @TheLittleNaruto
 
Just make your own Receiver which will listen for boot system event of the device
And inside onRecieve you'll call the Intent
and start the desired Activity, That's all.
 
10:56 AM
okay thanks a lot @TheLittleNaruto
 
11:11 AM
@TheLittleNaruto hi
 
captures @berserk using water prison jutsu
 
@devil not much
 
@ChintanRathod ok
 
@devil when u implement let know us
 
what bro?
 
11:15 AM
@Shw Hey
 
@devil chat app implement
 
@Droid You might want to change your prof pic, previous one was way better, Just a suggestion
 
sure bhai
 
i'll give you the complete source code
:P
 
11:17 AM
Thx....
 
but it'll be of not your standard
 
Oh. nothing like that may be i will start soon
now a days
 
Sun
0
Q: SharedPreferences not showing text

SunStoring String in a SharedPreferences, and then showing in EditText but when i do re-launch my app, getting EditText blank... strCompanyName = jsonObject.getString("company_name"); SharedPreferences sharedPrefdd= getSharedPreferences("myprefss", 0); SharedPreferences.Editor editor= sharedPrefd...

 
@TheLittleNaruto umm...I don't like reverting back to old one, but I'll look for a new one instead, if you say so :)
 
Hey everyone
 
11:33 AM
@DroidDev uses katon: gokyaku no jutsu
all water evaporates
and u are burnt
 
lol
 
548
A: Is there a unique Android device ID?

Anthony ForloneySettings.Secure#ANDROID_ID returns the Android ID as an unique 64-bit hex string. import android.provider.Settings.Secure; private String android_id = Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID);

can it be change, do anyone knows regarding this?
 
11:59 AM
4
Q: shouldoverrideurlloading not called Webview Android

GOLDEEFirst of all , this post may ,look like a Possible Duplicate of other question, but I have go through many questions but found them not helpful. Now My problem is that I am loading an URL in my Webview and then I want to Trace URL on each event on webview so I have set up WebviewClient for Webvie...

 
12:37 PM
evng guys :)
 
yo
 
united
 
@berserk yo
@maveň yup
 
need some coffee :D
 
@berserk @DroidDev @maveň @TheLittleNaruto Have you seen any custom pull to refresh loaders with good user interface :P
lol @berserk you need SP
 
12:39 PM
umm.. well.. my head is spinning like that atm :P
 
@MukeshRana lol No
 
@MukeshRana The one that I use has custom layout for pull to refresh
 
@berserk lol I think you should go home now
 
I can put anything in it
 
@TheLittleNaruto :(
 
12:40 PM
@MukeshRana lol now it is something meaningful :P
 
@berserk @MukeshRana I like how you two use network to chat with each other rather then directly speaking :P
 
@DroidDev not custom sorry for that but something that really attracts user
@DroidDev lol
actually he's in another room :P
 
@DroidDev I am in research room atm :P
 
@MukeshRana you can design that
 
@berserk you still have the option to go for makeup app :P
 
12:41 PM
@berserk go to research room @MukeshRana :P
 
nah
I will do it!
 
@DroidDev but i don't have the idea how will my pull to refresh loaders will look alike i need some references
@berserk lol okay :P
 
@MukeshRana lol, you should have said that earlier :P
and to answer that, sorry... :P
 
learnt itachi's theme on guitar @baby
 
@DroidDev I have seen many but they all are simple
I need something attractive
 
12:43 PM
 
Is there any site where i can get different pull to refresh patterns to choose from :P
 
@MukeshRana lol, get a girlfriend. Girls are usually attractive :P
@MukeshRana www.google.com :P
ROFL
 
I don't know how I am writing so awesome replies today
 
@DroidDev lol yeah i need a GF now :P
 
12:45 PM
@DroidDev Maybe u had some sake :P
@MukeshRana me too!
 
@MukeshRana I need a girlfriend and another one, in case first one leaves me and 500 million dollars, in case both leave me. LMAO!
@berserk sake?
 
THANKS N BYE ALL
 
wine in japanese
bye @devil :)
 
@berserk @DroidDev lol
 
oh!
 
12:46 PM
@berserk what's the plan for the nyt??
 
sleep
 
nvm :P
 
lol either we can go in search of GF or else you know :P
 
well...both are not more than half hour job. Do them both
 
lmao
 
12:48 PM
lol @DroidDev it looks but not actually is
 
@DroidDev u like anime themes? :3
 
time to leave earth :P
 
opening and closing musics?
 
@berserk anime themes?
 
cmon
 
12:51 PM
umm...hints?
link?
 
@MukeshRana have a safe journey :P
@berserk my CTO is sitting behind me and there are no audio drivers on my system
 
@DroidDev R.I.P.
 
@berserk lol, so, what is anime theme?
 
i meant to say anime songs and stuff lol
 
12:53 PM
lol, never heard an anime song other then naruto starting and ending song
and never seen stuff :/
 
R.I.P.
u must listen pain's theme atleast
 
@berserk I think I need to visit you again
 
lol
 
so, you shifted to 29 yet?
 
i linked u above to the theme
yes
 
12:55 PM
oh! that means a long drive
 
yea
 
01:00 - 13:0013:00 - 23:00

« first day (800 days earlier)      last day (2675 days later) »