« first day (187 days earlier)      last day (3288 days later) » 

02:56
@chintankhetiya @Rank Hello. Sorry, I had to leave abruptly.
@DevZer0 Heya! He isn't Tank, Rank. Lol...
 
2 hours later…
05:04
@Appu Good Morning.... :)
Good Morning All , have a good day
@chintankhetiya Good Morning :)
@chintankhetiya "add event to calender" is there any good link to implement it?
05:24
very good morning @chintan @appu
@Kumar sorry never work on calender , but you can find easily .
Ok.. I thought if u hav worked on it already.. It would be easy to me..
I think @Appu has worked on it
Good Morning guys....
@rekire hey welcome
@MahaveerMuttha mahadevhar , j.j
@chintankhetiya: JJ bro... :)
05:37
Morning @chintankhetiya @Appu
@MahaveerMuttha
@all hello
Anyone worked with jsp and servlets
not yet
funny htc put as example phonenumber their hq phonenumber
@chintankhetiya @rekire @Kumar @Rank @MahaveerMuttha @Rank @all Yo! Morning!
Ha! That's a very long list.
@Appu u in demand
;)
What?
05:45
Have you worked on "add event to calender"
?
@Appu Good Morning Bro
@Appu
@Kumar Have you seen this? I actually implemented custom calendar to just highlight particular dates. But didn't use this as it adds only one event it seems.
No, Haven't seen yet. I'll work on it. I have to make it user friendly like a user can add memo birthday reminder and all.
@Appu
@Appu: Morning Bro.
05:49
@rekire @Appu ohh shit , my consecutive days log in has broken yesterday , now again it will start from 1 day . :(
Yay! let's party lol... @chintankhetiya
oh that is bad. Lucky I have just now 121 days
@Er.NikhilAgrawal hey
@rekire OMG :) CONGO man
562 days, 121 consecutive
@Appu what lol , its bad news for me :(
05:50
I think I was just about 9 days not online
You know I have forgot to login yesterday. I suddenly recalled at 11.50 pm at home. So, just got up from bed and immediately logged in. So just missed.
I am lucky @chintankhetiya
@rekire You must have got the badge then for 100 consecutive days.
@Appu yeah , even l called to my cousin to login in SO , but don't know he was forgot that so might be that is issue ,:(
you should know that you have to do a second click e.g. clicking the frist question else it may not count
@Appu yeah I got it about 130 days ago
05:53
ohhh yeah , i just told to my cousin that stay in 5 min and log out, its my bad
curriently I'm trying to get Generalist and Steward for close votes
for the generalist I have 15 out of 20 tags now
@rekire Steward that is for review task
yep
05:56
that's good.
i am @ 44 in review :P lol
1153 for suggested edits
485 for close votes
you are genius , we are kid :P
@chintan how are you
I'm looking for a native looking way for a settings activity with a listview. does someone have a link?
06:09
@Er.NikhilAgrawal i am good , say about you
06:21
@appu @chintankhetiya pastie.org/7901454
when switching from SplashScreenactivity to another activity getting blackScreen ?could any one what is the problem?
@all
show your logcat
@String
@String MainActivity is your splash activity??
@Rank yes
I'm able to display splash screen then after that blackscreen ,finally forwarding to second Activity
@Rank @chintankhetiya
you have define second class xml
as setContentView(R.layout.secong_layout),??
what is error in your log?
@Rank yes,i defined
No error,i'm able to display second activity layout
but before Second Activity getting blackscreen
06:37
@String then you need to call asynchronous methods yaar..
@kumarsu Could you explaing what i need to change in my code
Splash activity doesn't know till how long to show the splash. that's why you r getting blank screen after splash..
and then 2 nd activity.
@kumarsu could you suggest ,what i need to do to remove thae blackscreen
getting black screen after splash and before the Activity Display
@kumarsu
I too dont know exactly try to use progress dialog before calling intent...
@String
I have the code ... try with that it may help you... @String
but not sure...
@kumarsu Could you give the code
06:44
yeah sure...
try to use this code mate..
call method before intent and let me know the result.
@String
@kumarsu thanks, i will try and let u know
@String Might be you are doing too much processing in the onCreate(). So, you can run heavy operations on another thread as kumarsu suggested.
@Appu @kumarsu @chintankhetiya pastie.org/7901507
Im using async task also getting black screen when switching from Activities
please check the code
I'm Parsing one xml file in background
28 mins ago, by chintan khetiya
show your logcat
in the Splash Activity
@chintankhetiya I will run and give you the logcat
06:54
Hello @Appu and @chintankhetiya
hey
@DevZer0
i finally figured out why the map fragment was crashing i was suppose to put SupportMapFragment instead of using MapFragment \
now i have my SupportMapFragment inside a LinearLayout so its only displaying the map to the size of a Horizontal row of the LinearLayout. How do i increase the size mainly the height of the MapFragment?
@String As I said did you move all your parsing code to another thread?
@DevZer0 Hey, So as to support 2.2 and up you have to use support library.
@Appu yes i did parsing in async task
5 mins ago, by String
@Appu @kumarsu @chintankhetiya http://pastie.org/7901507
@Appu
@Appu yeah i learnt that :) my question is about the height :)
How to increase the height of something that is on a Vertical LinearLayout
06:59
What is the parent for your map? and your map's layout params?
parent is LinearLayout i have bunch of stuff on the LinearLayout all the way to about the middle of the screen. Then i put the MapFragment let me show you the layout on pastebin
make height and width = fill_parent
@DevZer0
Is progress dialog is not loading...? @String
yes loading
@kumarsu
pastebin.com/AtpL9Ryb @Appu @chintankhetiya
fill parent for height only sets it at the average row size of the LinearLayout. it doesn't fill to the end.
07:02
@chintan I am also fine
Anyone with jsp and servlets
@Er.NikhilAgrawal what about your bounty question ? true caller , did you get any relevant answer ?
@Appu @chintankhetiya here is the screenshot dropbox.com/s/uhx4rery0i2wf5d/2013-05-13%2014.02.48.png
@chintan No not yet
I have lot of things with me but not the exact solution
ok i figured it out
putting it inside a RelativeLayout and set the height of RelativeLayout and then set the MapFragment height to match_parent
so is it okay as you want ?
@DevZer0
07:11
@DevZer0 Yes, right almost. But would you hardcode the relative layout height?
@Er.NikhilAgrawal okay , i am thought that decomplie that app , so we can get idea how they are actually doing that
then, Adjust the time untill the 2 nd activity loads..
@String
You can do that
hmm chintan
can you guide me in doing that
yes, i did try with the help if @Rank but failed in that , yet not done the whole process but will try when free
@Er.NikhilAgrawal
@all hii
07:16
@kumarsu please tell me what i need to change from my Code
@Pratik hey
hi chintan
@chintan hii
@Pratik hey intro your self to other developer , not compulsory :)
yeah i have been hardcoding heights and widths. i am guessing these should be dynamically calculated at runtime
@chintan lolz
07:21
what a sweet intro :P
:9374461
@chintan i m from baroda. I have just started career in android application development.
@Pratik good one ,
@chintan What about u?
@Pratik check out my profile :)
@chintan ok
07:24
then i will add some more about me
:9374509
@chintan nice profile
@Pratik that is nothing , i have to add more after number of year as good developer
i am MCA guy having 1 year experiences in android , bit knowledge of mysql and php , end :)
@Villan hey duffer :P
@Pratik he is a geek
@chintankhetiya hi duffer
:P
@Villan hii..
no as per you statement i am duffer :P
07:29
@chintankhetiya yes geek as duffer
@Pratik Hi
@Villan lolz
@chintan thanks]
prsentluy I am looking for some help in twitter4j jsp and servlets
@Er.NikhilAgrawal ohh, sorry in that i can't you help :(
no worries chintan
07:45
Hi @Pratik @Er.NikhilAgrawal @Villan @chintankhetiya @DevZer0 @duplicatedcode
0
Q: how to post message on wall on LinkedIn in android

Nandui'm using Selvin's code in my apps..but not getting how to post a message on wall.. here is my code.. i have refer this link for Integration Here Posting LinkedIn message from Android application package pl.osadkowski.LITest; import android.app.Activity; import android.content.Intent; import...

plz see this
Question
and if u have any idea about this plz help me out..
@Nandu what about the answer link ? what is your issue ?;
@chintankhetiya i did not get single comment on this link ..
plz tell me u have any idea
@chintankhetiya i just wanted to post a message on wall
3
Q: Posting LinkedIn message from Android application

Nirav DangiI want to integrate my Android application with LinkedIn and post a message. Can anyone provide an example for how to do this?

i am talking about this
@chintankhetiya this is all about integration only...and it is displaying only the current user name.. i want to post something on wall
plz guide me how to do this..
1
Q: Ant Build Failed

NomanI am trying to build an Android Project using Apache Ant through Command Line but it is giving me Build Failed with the following error statements: Java.io.IOException: Cannot run Program. "..\android_sdk\platform-tools\aapt.exe" D:\MediaSync\build.xml:429: Execute failed: java.io.IOExcept...

ok @chintankhetiya i'm seeing this ..Thanks a lot
@Nandu get me back
ok @chintankhetiya
08:32
@Neil Hello mighty black cat ;)
Hi everybody!!
I have a quick question: is it possible to change the tab underline in ABS with one color per tab?
@Ivan I guess it isn't possible. Have you seen this. If you want to change the tab selector color and the whole underline, see this
@Appu that´s what I thought and I´ve seen the same webs, thanks @Appu
NP.
08:48
Hi @Appu @chintankhetiya and @ ALL
@Appu Hey!
Look at what I did this weekend
Please see it once
0
Q: Twitter4j: java.lang.IllegalStateException: Access token already available

Er. Nikhil AgrawalI am using Twitter4j for creating twitter client with jsp and servets. So when I am requesting for access token I am getting the following exception. java.lang.IllegalStateException: Access token already available. Then I searched on stackoverflow. I got this post Twitter4J Access token alread...

@Harish Yo!
@Neil Awesome.
How did you do that. I am confused with that 3d even when I operate, but you have made it.
@Appu Well I had to look at a lot of examples and I pieced it together from that
I don't quite know it well enough to write a program from scratch
09:03
@Neil That's nice. You could add the pieces that are gotten from examples. BTW @Ihsan has also done this 3d thingy. It's very awesome, he did it on his own from scratch it seems.
15
Q: How to check if Facebook is installed Android

easycheeseI am modifying my app to be able to catch if a user tries to publish without having the facebook app installed (required for SSO). Here is the code I am using: try{ ApplicationInfo info = getPackageManager(). getApplicationInfo("com.facebook.android", 0 ); return true; } cat...

@Appu help help help help !!!!!
@rekire
OMG! I can't help that many times :P
What is that you want?
just want to check app is installed or not ?
@Appu
then check with packagemanager.
how's that ?
same task should be check for g+ and twitter
:9376018
09:09
For google+ we have predefined check which makes it easy.
For fb I think we don't have predefined check except with packageInfo
Check this.
uriwhat should be this ?
package name
boolean installed = appInstalledOrNot("com.Ch.Example.pack"); but how can i get com.Ch.Example.pack
@Appu
@DevZer0
09:13
arn't you checking if Facebook installed? isn't facebook Package is some what static string?
what is the FaceBook package name ? how can i get it
@Appu how you are doing....?
com.facebook.katana
@DevZer0 yeah , i have login with FB and other social media , so before to go further process i have to check that is the app is install or not.
i have already tried with that , but let me check once again
@chintankhetiya Check this column. You will have your answer according to developers guide.
And it's pretty easy too.
@Harish I am good. you?
@chintankhetiya How do you redirect user to the already installed fb? Show me your intent where you do this?
09:18
@Appu up to know i never check that state , so no condition , if app is not in device then it will crash , as you faced in G+
@chintankhetiya Yeah. But I resolved this issue a long back itself. If you are unable to get still, show me your intent.
@Appu fine.Thankyou.
@Appu don't scared after see this it's just login_with_fb click event
com.facebook.katana
Is this the facebook package name?
09:29
now its not working
i have tried with same link but its move in catch
catch (PackageManager.NameNotFoundException e)
{
app_installed = false;
}
here
@Appu
@chintan do you fixed your problem?
no man
@rekire
:(
okay so you want to check if the facebook app is installed?
yeah , i want to check that is fb exist or not ? if yes the move to further process else show message to install first over
okay basically I would do the same like in your linked question but it could be that the user does not use the official fb app
09:32
then
wait guys
I can only guess how the packages are called. I would interate thrue all apps and check if in their package name is the string facebook
I don't think this is the facebook package com.facebook.katana you have to test with. It sounds pretty awful to me
what **** is this ? there is no FB in my device so i just install it and get some strange screen with error , like
@chintankhetiya because its you :p
@Appu
@rekire
@Villan 0_o :P
09:48
:@
Does anyone know if/how it is possible to have a dialog that can rotate orientation when the dialog's parent is set to not rotate in the project manifest file?
@chintankhetiya nice bug lol
what the bug is this . lol
I have no idea I never started the fb app on my device proberbly that is normal, but I guess it is not^^
09:57
now going to solve , someone please say good to me guys :P
@chintan good
better?^^
I have to manage about 300 new text variables... :(
Ugh.. I have been getting staleDataException.
lol
why? @rekire
Don't know what on earth causes it. I didn't even close the cursor anywhere except in the onDestroy().
I just saw the settings activity and there are sooooo many new text variables I have to implement them
by the way I have them in 6 languages
10:06
OMG, its grate
I figured it out.
I am reusing the cursor. So when I used for first time, it is being closed I guess after usage. When I want to get data for second time. isClosed() gives me true.
Has anyone idea on how to reuse the cursor?
@Raghunandan Hey, there?
mDatabase.open() before using the cursor again
Think twice about closing the cursor if it is not necessary too.
Otherwise create a new cursor.
I am not closing it.
It automatically gets closed.
Moreover I am not even closing database.
Reinitialise the cursor each time you use it then.
It would be inefficient I guess if I have to requery the database again for the same data.
10:20
A cursor is only valid until the end of its current data set. For example, once "while(cursor.moveToNext())" becomes false, the cursor has no data left. You should reinitialise it with a new dataset to use it.
Then you should rethink the logic.
Why do you need to query it twice?
Alas!
Because I am using it in activity and at the same time I am passing the cursor to custom simple cursor adapter.
Would it be feasible to pass some collection to the adapter rather than a cursor?
i.e. Do you need a CursorAdapter or could you use a BaseAdapter?
Personally, I use BaseAdapter for everything.
No. Right now I have coded for simple cursor adapter.
Ok
Can you clone the cursor?
and pass that?
But how could we reflect changes that have been done to sqlite database in the baseadapter
? I guess it would be lengthy to code.
@Anthaas Great idea of cloning.
Lemme check it, thanks.
10:23
No problem.
1 min ago, by Appu
But how could we reflect changes that have been done to sqlite database in the baseadapter
You would update the collection that is passed to it.
Is your cursor adapter dynamic, or just to show the current contents of the cursor?
@Appu I did not use a cursor the last 6 years in android
o_O
I havent used it in a while either - I have a framework that I have developed which handles tasks like that for me. I just use a few select methods
10:29
@Anthaas Unfortunately the clone is not included to be done with cursor.
@rekire you haven't used sqlite database you mean to say?
yes I curriently store everything to json files something like coutch db style
maybe not the best way but it works...
that's great, but it's a time consuming.
I will maybe change that later but now that works for me
hello
how r u all?
Why not use collections, and handle updating them in a DataSetObserver?
10:38
@Anthaas hello
@RahulPatel hello
@Anthaas free?
Responses might be slow as Im working, but I will try to reply.
I want to implement the day view horizontal scroll calender.
Like this androidhub4you.com/2012/10/custom-calendar-in-android.html, but want to display day instead of the month
I work with a similar calendar.
10:41
and when press next and prev button change the date
Have an OnClickListener on each of the day items, and pull out the data necessary from a database or collection, and display the DayView beneath the Month View
is there any toturial or link for that?
This is a much better UX.
No need for a tutorial, its all simple programming.
I am unaware of datasetobserver and how the things should go with baseadapter along with the contents of sqlite. I always prefer baseadapter except for sqlite contents. Moreover user can delete and add information on the fly to the database.
Yes, which is where the DataSetObserver comes into play. This has callbacks for when the dataset is updated.
One sec
I may have the wrong class name
10:50
Okay.
Hmm
I know ArrayAdapter has the method "notifyDataSetChanged()"
Could you use that?
Read into it.
I know that notifyDataSetChanged(). But the direct linking of cursor wouldn't be possible for the other adapters as we do with simplecursoradapter :/
Oh! I guess it's possible with ArrayAdapter . Because Once I used to pass custom objects to the endless adapter using array adapter.
The problem seems to be that you are unwilling to change the way you have done things. I would think that this is because you are using files from GitHub or something as your adapter.
Git only provides solutions that match your problem. In this instance, you do need to program your own adapter to handle and behave with your data as you need.
11:06
I have coded my own custom cursor adapter. But the thing is I am somewhat reluctant to change the entire code. Better to say that I am thinking it would take much time if I have to re code everything and design now according to other adapters.
Moreover I have done the same thing in the other module. But didn't reuse the cursor over there and so that was pretty much fine.
see this link
for adding event to the defaut calender a code is there
I used it
but its not adding any event
and in some devices its showing FC
@Kumar I have never tried setting events to default. But I have only created custom calendar. Anyways it's venkat's question. @Venkat will help you for sure I believe. Wait until he sees this notification.
or @Laux also has done as far as I remember.
Already asked him. He too not able to. :(
asked who?
@Venkat
He has given me the link
11:23
Then how come he accepted that answer?
its working for him
but for me its not...
@Anthaas I had done a requery. Actually the problem was in super(cursor,....) in the simplecursoradapter.. It started managing my cursor automatically. So, requeried again in the constructor and using it. Of course sounds inefficient.
12:14
Anyone here
@DevZer0 rekire is there for sure.
No I am not :P
12:33
ok cool.
yes @DevZer0
12:47
i have a SupportMapFragment inside a Tab. When the tab is first initialized all is good but if i switch tabs and comes back to it. It crashes. i can't find the cause. I Found this guy also having the same problem. stackoverflow.com/questions/15725581/… Anyone here know why?
ok i found the answer looks like you can't create the Map Fragment in XML
have to do it programatically
13:03
hi all can u pls help me out with fb integration
invalid application issue
13:48
@Mahesh Did you create an authenticated app with the developer account?
14:33
Good Night Guys... see you tomarrow... :)
14:47
@MahaveerMuttha Night.
 
1 hour later…
15:52
@Neil there?
@Appu Yep
Just checking :P I am home.
@Appu Ah, welcome home :)
Speaking of which, about time for me to leave
haha ;)
No. I don't mean that.

« first day (187 days earlier)      last day (3288 days later) »