[android-developers] How to change the state of Button inside the fragment ?

2013-01-06 Thread Ashish Tiwari
Hi friends, I've user's list fragment with Follow/unfollow button.Button is only one , I'm changing the state of buttons according to the status of follow/unfollow(server) All the functions are working perfectly except from the state of button. When I'm clicking on the Follow button i want to

Re: [android-developers] How to change the state of Button inside the fragment ?

2013-01-06 Thread Ashish Tiwari
Yeah ! The above code is working in activity but not in the fragment . Strange !! :( -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

Re: [android-developers] How to change the state of Button inside the fragment ?

2013-01-06 Thread Ashish Tiwari
Please checkout the whole code http://pastebin.com/6sAGYWqC On Sunday, January 6, 2013 3:01:22 PM UTC+5:30, Ashish Tiwari wrote: Yeah ! The above code is working in activity but not in the fragment . Strange !! :( -- You received this message because you are subscribed to the Google

Re: [android-developers] How to change the state of Button inside the fragment ?

2013-01-06 Thread Ashish Tiwari
problem is solved. On Sunday, January 6, 2013 3:58:20 PM UTC+5:30, Ashish Tiwari wrote: Please checkout the whole code http://pastebin.com/6sAGYWqC On Sunday, January 6, 2013 3:01:22 PM UTC+5:30, Ashish Tiwari wrote: Yeah ! The above code is working in activity

[android-developers] Custom Header of ListView like Instagram app in android not working for ListView(child) inside ListView(parent) .

2012-04-26 Thread Ashish Tiwari
Hi friends , I'm implementing custom Header of ListView like Instagram app in android . http://prsarahevans.com/wp-content/uploads/2011/06/photo.PNG I've implemented it successfully only for one ListView . I've created one more ListView(child) inside the Parent ListView .when I'm scrolling

[android-developers] ( ListItem ) : onButton click , post particular objects objectID to the server

2012-01-04 Thread Ashish Tiwari
Hi guys , I'm building a demo app , where Logged-in user can voteup the Post and see that post in a VotedUp List( list of votedup Posts) For making List of user's and their post , I used ListView and CustomListAdapter . When logged-in user click on the voteup button , I want to make a Post

[android-developers] Display complex object in ListView .

2011-12-19 Thread Ashish Tiwari
Hi friends, I'm stuck showing data [from json] in custom ListView. I created a custom-rowlayout to display the object Student. However i am unable to display the objects Movie Game in the ListView. I tried it using array adapter( sample code ) - http://pastebin.com/HsTmQSbz I'm only able to

[android-developers] Need help to customize optimize ListView item rendering .

2011-12-17 Thread Ashish Tiwari
Hi , wanted little help with customizing optimizing list view item rendering. When a user clicks on Item 1, Item 1 should expand such that the content is readable clickable (Touch button). Now the trick here is that the expanded state of item 1 has to be swapped with new style layout. Is

[android-developers] After adding JAR file , getting error Conversion to Dalvik format failed with error 1

2011-11-16 Thread Ashish Tiwari
When I'm adding JAR( include 3 java files ) into my project it throws following error . *[2011-11-16 08:51:42 - crumbin-app-prototype] Conversion to Dalvik format failed with error 1* How can i fix this problem ? [2011-11-16 06:34:18 - JSONtest] Unable to resolve target 'Google Inc.:Google

[android-developers] Re: After adding JAR file , getting error Conversion to Dalvik format failed with error 1

2011-11-16 Thread Ashish Tiwari
Hey I'm sorry, I was using all those file in packages. Problem solved .. ;-) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: After adding JAR file , getting error Conversion to Dalvik format failed with error 1

2011-11-16 Thread Ashish Tiwari
Hey sorry , I was using all those java files in package also , rather that using JAR . Problem solved ... ;-) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Android CustomizableTab with intent not working .

2011-11-04 Thread Ashish Tiwari
Hi friends, I'm making Customizable android Tab's,and it works fine without adding Intent but when I set the intent it I didn't understand where I'm making mistake .. Here is codes , or check this pastebin link http://pastebin.com/yeEP0rwH public class CustomTabActivity extends

[android-developers] Re: Android CustomizableTab with intent not working .

2011-11-04 Thread Ashish Tiwari
Hey sorry, Actually I was forget to extend TabActivity. Now problem is solved . :) public class CustomTabActivity extends Activity { /* codes */ } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Android CustomizableTab with intent not working .

2011-11-04 Thread Ashish Tiwari
public class CustomTabActivity extends TabActivity { /* codes */ } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Parsing JSON data using JSONTokener shows nothing ...

2011-11-02 Thread Ashish Tiwari
Tried JSONObject object = new JSONObject(json); but result is same ... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Parsing JSON data using JSONTokener shows nothing ...

2011-11-02 Thread Ashish Tiwari
I fixed that problem, by using this, String json = {+ name:\ashish\, + message:\hey see this\, + place:\gurgaon\, + date:\aaj ka date hai \ + }; Thanks for your suggestion. -- You

[android-developers] Parsing JSON data using JSONTokener shows nothing ...

2011-10-31 Thread Ashish Tiwari
package com.json.main; import org.json.JSONException; import org.json.JSONObject; import org.json.JSONTokener; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class JSONtestActivity extends Activity { /** Called when the activity is first

Re: [android-developers] Android UI designing .

2011-10-21 Thread Ashish Tiwari
Thank you guys. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] Android UI designing .

2011-10-20 Thread Ashish Tiwari
https://lh5.googleusercontent.com/-gKWMCY-YrOQ/TqASpqk2NKI/Al0/yMglyHAFkac/android_listview.jpeg hi friends, I'm new to android development , I'm designing an UI something like the above, There is a friend list and their two tweets(List), What will be the best solution to design this

[android-developers] Want to extends Activity and TabActivity in Main.java file ?

2011-09-30 Thread Ashish Tiwari
Hi friends, I'm new to Android development(Android-2.3) and developing a sample application, I want to extends TabActivity and Activity class in my main class..to use their properties at one place.. Thanks in advance ... -- You received this message because you are subscribed to the Google