Re: [android-developers] how to get item from grid view at specific postion
I apologize if I insulted I was just frustrated please forgive me On Dec 28, 2013 6:56 AM, TreKing treking...@gmail.com wrote: On Fri, Dec 27, 2013 at 9:49 AM, Amit Mangal forum.amit.man...@gmail.comwrote: Hi trek in I am dwawing overlay on the button which is clicked if u need code I can send but I m sure now you should leave programming as u told u r developing last 4 years u r just wasting programming resources I think you just insulted me, but it's hard to tell through your horrible grammar and spelling. I'll assume what you meant was you're right and I'm sorry. In which case, I thank you and accept your apology. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] how to get item from grid view at specific postion
Hi trek in I am dwawing overlay on the button which is clicked if u need code I can send but I m sure now you should leave programming as u told u r developing last 4 years u r just wasting programming resources On Dec 13, 2013 9:18 AM, TreKing treking...@gmail.com wrote: On Thu, Dec 12, 2013 at 11:01 AM, Amit Mangal forum.amit.man...@gmail.com wrote: Trekin i dont know the solution but one hundered percent sure that u r wrong Let me get this straight. You came here asking for help with this issue. You admit you don't know the answer. Yet you are somehow 100% sure that what I've told you is wrong? Would you mind letting me know how, precisely, you came to this conclusion given your admission that you don't have a solution? I'd really love to know since, if I am incorrect, then I've been coding my apps all wrong for the last 4 years I've been working with Android, Adapters, and the getView method. I'd appreciate your vast insight to correct my massive mistakes! - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] how to get item from grid view at specific postion
Trekin i dont know the solution but one hundered percent sure that u r wrong On 12-Dec-2013 7:40 AM, TreKing treking...@gmail.com wrote: On Wed, Dec 11, 2013 at 5:14 PM, Amit Mangal forum.amit.man...@gmail.comwrote: i am trying to add saveForLaterOverlay on button pressed number item in grid view but nothing happing this method just executing when i click the button on image but doing nothing. Your main problem is calling getView() on the adapter. This is not how you use this method. When you click your button, instead of trying to add the layout, modify your object / data model and invalidate the adapter. Then, in your adapter's getView() method, you create or update the view based on the object / data model's state. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] how to get item from grid view at specific postion
Here is the code of my getview on button click where i am trying to add relative layout but nothing happing Holder holder; if (convertView == null) { convertView = inflater.inflate(R.layout.grid_image_row, null); holder = new Holder(); holder.iv_product_image = (ImageView) convertView.findViewById(R.id.id_iv_product_image) ; RelativeLayout.LayoutParams iv_product_image_params = new RelativeLayout.LayoutParams(imageWidth,imageHeight) ; holder.iv_product_image.setLayoutParams(iv_product_image_params) ; holder.bt_expand_save_overlay = (Button) convertView.findViewById(R.id.id_bt_expand_save_overlay) ; convertView.setTag(holder); } else { holder = (Holder) convertView.getTag(); } @Override public void onClick(View v) { // TODO Auto-generated method stub int selectedImage = (Integer) v.getTag() ; ViewGroup gridChild = (ViewGroup) mAdapter.getView(selectedImage, null, gvSeach) ; RelativeLayout saveForLaterOverlay = new RelativeLayout(ProductListActivity.this) ; RelativeLayout.LayoutParams saveForLaterOverlayParams = new RelativeLayout.LayoutParams(100,100); saveForLaterOverlay.setLayoutParams(saveForLaterOverlayParams) ; gridChild.addView(saveForLaterOverlay) ; TextView tv=new TextView(ProductListActivity.this); tv.setTextSize(15); tv.setText(Hello); saveForLaterOverlay.addView(tv) ; } }) ; i am trying to add saveForLaterOverlay on button pressed number item in grid view but nothing happing this method just executing when i click the button on image but doing nothing. thanks On Wed, Dec 11, 2013 at 11:49 PM, Justin Anderson magouyaw...@gmail.comwrote: GridView uses an adapter... all of the changes you are talking about doing should be done in your adapter's getView() method. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Dec 11, 2013 at 10:09 AM, TreKing treking...@gmail.com wrote: On Tue, Dec 10, 2013 at 11:50 PM, Amit Mangal forum.amit.man...@gmail.com wrote: i get position of button pressed using get tag but i am unable to get the relative layout on whihc image and button is displaying. any idea how to get that layout view Your question is not really clear. What does your hierarchy look like? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https
[android-developers] how to get item from grid view at specific postion
Hi team, i m having grid view which is displaying 2 images per row and having 2 columns. each image is having one image button at its bottom right corner. i need to get relative layout view in which image is displaying on grid view so that i could add some overlay item on the selected button image. i get position of button pressed using get tag but i am unable to get the relative layout on whihc image and button is displaying. any idea how to get that layout view thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] how to add popup window on other popup window
Hi there, I am having a popupwindow on activity. this popup window having one button, onclicking button i have to open one other popup window which is having a list view for selecting item. when i am trying to add another popupwindow whihc is having list view app is crashing with error ? FATAL EXCEPTION: main java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. at android.view.ViewGroup.addViewInner(ViewGroup.java:1976) at android.view.ViewGroup.addView(ViewGroup.java:1871) at android.view.ViewGroup.addView(ViewGroup.java:1851) any body knows how to add a popup window on other popupwindow thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] implement onscroll change for horizontal scrollview ?
i need to implement onscrollchanged method in my class so that when scroll is changing i will update seek bar position as per scroll value. i implemented a customhorizontalview class with extends HorizontalScrollView. also created customhorizontalview in xml . but my problem is that how to override onscrollchange method in my class so that as scroll is changing i could update seek bar corresponding to horizontal scroll. here is my customhorizontalview class import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.widget.HorizontalScrollView; public class CustomHorizontalScroll extends HorizontalScrollView { public interface onScrollChangedListener{ public abstract void onScrollChanged(int l, int t, int oldl, intoldt); } onScrollChangedListener mMyScrollViewListener; public void setMyScrollViewListener(onScrollChangedListener listener ){ mMyScrollViewListener = listener; } @Override protected void onScrollChanged(int l, int t, int oldl, int oldt) { super.onScrollChanged(l, t, oldl, oldt); Log.v(Positions,l+,+t) ; } public CustomHorizontalScroll(Context context, AttributeSet attrs) { super(context, attrs); // TODO Auto-generated constructor stub } } i am using this in my java file hs_scroll_view = (CustomHorizontalScroll) findViewById(R.id. id_hs_scroll_view) ; i want to override onscrollchanged in my java file so that i could update seek bar as per scroll but i don't know how to do that . please suggest me any idea ? thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] onscrollchanged in horizontal scroll view
Hi there, i need to implement onscrollchanged method in my class so that when scroll is changing i will update seek bar position as per scroll value. i implemented a customhorizontalview class with extends HorizontalScrollView. also created customhorizontalview in xml . but my problem is that how to override onscrollchange method in my class so that as scroll is changing i could update seek bar corresponding to horizontal scroll. here is my customhorizontalview class import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.widget.HorizontalScrollView; public class CustomHorizontalScroll extends HorizontalScrollView { public interface onScrollChangedListener{ public abstract void onScrollChanged(int l, int t, int oldl, intoldt); } onScrollChangedListener mMyScrollViewListener; public void setMyScrollViewListener(onScrollChangedListener listener ){ mMyScrollViewListener = listener; } @Override protected void onScrollChanged(int l, int t, int oldl, int oldt) { super.onScrollChanged(l, t, oldl, oldt); Log.v(Positions,l+,+t) ; } public CustomHorizontalScroll(Context context, AttributeSet attrs) { super(context, attrs); // TODO Auto-generated constructor stub } } i am using this in my java file hs_scroll_view = (CustomHorizontalScroll) findViewById(R.id. id_hs_scroll_view) ; i want to override onscrollchanged in my java file so that i could update seek bar as per scroll but i don't know how to do that . please suggest me any idea ? thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] do i need to clear arraylist hashmap in ondestry method
Hi there, I am using ArrayListHashMapString,String to store my data . do i need to use call clear method of array list on on destroy method of activity or it will automatically clear when my activity is destroying. i want to avaoid memory leaks in my app. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] 2 different text size in a text view
is it possible to give 2 different text size in a single text view? thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] animation on image view on grid view
Hi team i am having a grid view with 2 coloums and each item in grid view having one image and 2 textview below the image. i have added one button over each image and after clicking on button i want that image should scale and move down to bottom tab. like it should appear image drop down from its position in side one button of tabview. i am able to add animation on image using this code AnimationSet set = new AnimationSet(true); Animation trAnimation = new TranslateAnimation(0, 160,0, 100); trAnimation.setDuration(500); set.addAnimation(trAnimation); Animation scaleAnimation = AnimationUtils.loadAnimation(this, R.anim. anim_scale); set.addAnimation(scaleAnimation); set.setFillEnabled(true) ; set.setFillAfter(true); view.setAlpha(100) ; view.startAnimation(set); but problem is that image is not coming to bottom of screen it is going inside of grid item where it is placed . any body knows how to move this image to bottom. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] hide tab host in tab group activity
Hi there, i want to hide tab host in tab group activity but i dont know how to do that any idea ? thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Post text and image on twitter
you sent wrong link by mistake please check the link you sent. thanks On Mon, Oct 14, 2013 at 9:53 AM, TreKing treking...@gmail.com wrote: On Sat, Oct 12, 2013 at 3:57 PM, Amit Mangal forum.amit.man...@gmail.comwrote: How to post text and image on twitter? Any body knows any working link? Here's a great working link: http://www.google.com - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Post text and image on twitter
Hi there How to post text and image on twitter? Any body knows any working link? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] how to attach image from url and email from app
hi there, i am having url of image i need to share that image by email . my query is how to attach image from url to email . thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] how to create button with one image background and one image inside and text
Hi i am able to add image on button using drawable right property . now i want to set text on this drawable right image dynamically. i searched lot but didnt find how to set text on drawable right image on button. thanks On Thu, Oct 3, 2013 at 2:10 PM, Jadranko Bodiroga jadrankobodiroga1...@gmail.com wrote: Piren.True=Visible ; :) On Thu, Oct 3, 2013 at 9:15 AM, Piren gpi...@gmail.com wrote: are you kidding me? well excuse me, i didnt know that you're such a serious developer that you must never ever learn something new, obviously, you've finished the learning phase. Who the hell would hire you when you can't even make a button? and not only you can't make a simple button, instead of trying to learn how to do it, you're trying to make other people do the work for you? Even developers with 20 years of experience would still need to read the damn manual and do tutorials when they study a new language\framework.. do your due diligence and then you wouldn't have to publicly show how little you know. Anyhow, you being such an awesome developer who is no longer a student and now only develops (without studying of course), is more than qualified to handle this very complex problem of making a button with text on it on your own. On Wednesday, October 2, 2013 8:01:53 PM UTC+3, Amit Mangal wrote: U r not understanding problem again. I m not a student i am a developer if i will study company will hire some one else to work. I have to work i completed my study long before now i do development. Thanks On 02-Oct-2013 12:31 PM, Piren gpi...@gmail.com wrote: i'm saying that you should read the documentation and actually do the plethora of tutorials available on Android Developers before you go on a forum and ask other people for help. On Tuesday, October 1, 2013 9:45:43 PM UTC+3, Amit Mangal wrote: what are you saying i am unable to understand ? can you please explain ? thanks On Tue, Oct 1, 2013 at 2:36 PM, Piren gpi...@gmail.com wrote: it's actually a wee bit more complex (and by complex i mean - still in the realm of a developer that started android development 3 days ago), if you want a proper red background for the number... but this question is so basic he should try to figure it out on his own. On Tuesday, October 1, 2013 12:47:54 AM UTC+3, TreKing wrote: On Sun, Sep 29, 2013 at 3:19 PM, Amit Mangal forum.am...@gmail.comwrote: i have attached the sample picture any idea how to create that . i want to add text inside button image dynamically . That's just a TextView with a custom, stretchable background. Look up PNG9. --**--** --**--- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@**googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscribe**@googlegroups.com For more options, visit this group at http://groups.google.com/**group**/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+**unsubscribe**@googlegroups.com. For more options, visit https://groups.google.com/**grou**ps/opt_outhttps://groups.google.com/groups/opt_out . -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@**googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+**unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send
Re: [android-developers] how to create button with one image background and one image inside and text
U r not understanding problem again. I m not a student i am a developer if i will study company will hire some one else to work. I have to work i completed my study long before now i do development. Thanks On 02-Oct-2013 12:31 PM, Piren gpi...@gmail.com wrote: i'm saying that you should read the documentation and actually do the plethora of tutorials available on Android Developers before you go on a forum and ask other people for help. On Tuesday, October 1, 2013 9:45:43 PM UTC+3, Amit Mangal wrote: what are you saying i am unable to understand ? can you please explain ? thanks On Tue, Oct 1, 2013 at 2:36 PM, Piren gpi...@gmail.com wrote: it's actually a wee bit more complex (and by complex i mean - still in the realm of a developer that started android development 3 days ago), if you want a proper red background for the number... but this question is so basic he should try to figure it out on his own. On Tuesday, October 1, 2013 12:47:54 AM UTC+3, TreKing wrote: On Sun, Sep 29, 2013 at 3:19 PM, Amit Mangal forum.am...@gmail.comwrote: i have attached the sample picture any idea how to create that . i want to add text inside button image dynamically . That's just a TextView with a custom, stretchable background. Look up PNG9. ---- ----- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@**googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+**unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] how to create button with one image background and one image inside and text
what are you saying i am unable to understand ? can you please explain ? thanks On Tue, Oct 1, 2013 at 2:36 PM, Piren gpi...@gmail.com wrote: it's actually a wee bit more complex (and by complex i mean - still in the realm of a developer that started android development 3 days ago), if you want a proper red background for the number... but this question is so basic he should try to figure it out on his own. On Tuesday, October 1, 2013 12:47:54 AM UTC+3, TreKing wrote: On Sun, Sep 29, 2013 at 3:19 PM, Amit Mangal forum.am...@gmail.comwrote: i have attached the sample picture any idea how to create that . i want to add text inside button image dynamically . That's just a TextView with a custom, stretchable background. Look up PNG9. --**--** --**--- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] how to create button with one image background and one image inside and text
I didnt understand i m talking about button and ur talking about textview here is the confusion On 02-Oct-2013 9:20 AM, TreKing treking...@gmail.com wrote: On Tue, Oct 1, 2013 at 1:45 PM, Amit Mangal forum.amit.man...@gmail.comwrote: i am unable to understand ? What don't you understand? Did you look up what I told you? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] how to create button with one image background and one image inside and text
Hi Team, hope you all are doing good. i want to create a button with one image in background and one inside button and want to write small text on that. i have attached the sample picture any idea how to create that . i want to add text inside button image dynamically . thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. attachment: 1.png
Re: [android-developers] Re: Open popup window on the upper part of list view
Hi developers, thanks for reply but this is not what i was asking. i want to hide the selected row with a popup window and i will place 3 buttons on that popup window. the examples you provided is showing up or down of the selected popup window. i want to cover selected row with popup window. On Tue, Sep 24, 2013 at 11:58 AM, VenomVendor™ yoganandh2...@gmail.comwrote: Visit http://stackoverflow.com/a/3619450/1008278 You are trying to use quickaction On Tuesday, 24 September 2013 00:48:39 UTC+5:30, Amit Mangal wrote: Hi there I am having a list view inside my activity. Each row in list view having one button. I want to open a popup window when button clicked on the row. I can open popup window but i dont know how to open that popup window on the same row where button is pressed. Popup window width and height shouldbe same as row width and height Any idea ? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Open popup window on the upper part of list view
Hi Steve thanks this worked On 25-Sep-2013 12:55 AM, Steve Gabrilowitz steveg1...@gmail.com wrote: This won't exactly be a popup window like you asked for but the effect should be the same: Add a layout describing the popup window to the layout file for the list items and enclose the existing layout in another new sub layout. Set the visibility for the popup content to gone and the other to visible, now when you want to show the popup just reverse the logic! On Sep 24, 2013 3:12 PM, Amit Mangal forum.amit.man...@gmail.com wrote: Hi developers, thanks for reply but this is not what i was asking. i want to hide the selected row with a popup window and i will place 3 buttons on that popup window. the examples you provided is showing up or down of the selected popup window. i want to cover selected row with popup window. On Tue, Sep 24, 2013 at 11:58 AM, VenomVendor™ yoganandh2...@gmail.comwrote: Visit http://stackoverflow.com/a/3619450/1008278 You are trying to use quickaction On Tuesday, 24 September 2013 00:48:39 UTC+5:30, Amit Mangal wrote: Hi there I am having a list view inside my activity. Each row in list view having one button. I want to open a popup window when button clicked on the row. I can open popup window but i dont know how to open that popup window on the same row where button is pressed. Popup window width and height shouldbe same as row width and height Any idea ? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Open popup window on the upper part of list view
Hi there I am having a list view inside my activity. Each row in list view having one button. I want to open a popup window when button clicked on the row. I can open popup window but i dont know how to open that popup window on the same row where button is pressed. Popup window width and height shouldbe same as row width and height Any idea ? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] how to write a button action in my activity of a class
Hi there, i have written a class of popupwindow which i call to display popup. this popupwindow is having spinner and and a button . i call the class and display popup. how to write done button action of that class in my activity from where i am calling the class so that i will get value selected in the spinner in my activity. any idea ? thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] how to write a button action in my activity of a class
thanks for your reply do you have any example code or link ? On Thu, Sep 19, 2013 at 1:24 AM, TreKing treking...@gmail.com wrote: On Wed, Sep 18, 2013 at 10:10 AM, Amit Mangal forum.amit.man...@gmail.com wrote: how to write done button action of that class in my activity from where i am calling the class so that i will get value selected in the spinner in my activity. any idea ? Give your class a onDoneButtonClickedListener or something that your activity can set. When you click the done button on the popup, grab the value from the spinner and pass it through the listener (which you will set to be your Activity). - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] List reach at start when i come back to activity
Hi developers I have a list view which is having 1000 entries i scroll to down and click on some item new activity opens. When i come back my scroll view points to start again . How can i make it on last position when i opened the activity? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] problem in dynamically adding images on relative layout
Hi Developers, I am trying to add dynamically 4 images on relative layout one after another in a row. my code is below my problem is first image comes on correct place but after that other 3 images come in a row but they start from left side . means i dont know how other three images are left align where as first image draw on correct place. ArrayListObject sliderImageViewArray = new ArrayListObject() ; for (int i=0; i4;i++) { ImageView iv = new ImageView(DetailProductActivity.this); iv.setImageResource(R.drawable.enable_slider); sliderImageViewArray.add(iv) ; RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams( RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT); lp.addRule(RelativeLayout.BELOW,R.id.id_rl_view_pager_container) ; lp.setMargins(0, 18, 0, 0); iv.setId(i) ; if (i==0) { lp.addRule(RelativeLayout.ALIGN_LEFT,R.id.id_tv_available_color) ; } else { ImageView tempImageView = (ImageView) sliderImageViewArray.get(i-1) ; lp.addRule(RelativeLayout.RIGHT_OF,tempImageView.getId()) ; } rl_main_layout.addView(iv, lp); } thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: how to develope a popup window class ?
What do u mean by ui thread ? Where is ui thread i didnt implemented any ui thread On 14-Sep-2013 8:54 PM, Dmitry prehistoric2...@gmail.com wrote: I believe you should try to dismiss your popup in UI thread. On Thursday, September 12, 2013 5:44:25 AM UTC+4, Amit Mangal wrote: Any idea developers how to remove this crash ? On Thursday, September 12, 2013, Amit Mangal forum.am...@gmail.com wrote: Problem is my popup window class shows message correct. i am having a 3 sec timer to dismiss popup. this dismiss popup is crashing my app here is my popup window class public class PopupMessage { private Context context ; SetCustomFonts customFonts ; private TextView tv_message_popup ; private ImageView iv_imageview ; Timer dismissPopupTimer ; View popupView ; PopupWindow message_Popup ; Timer timer; PopupMessage ( Context context ) { this.context = context ; } public void DisplayPopupMessage (String messageString, int resourceID, RelativeLayout relativeLayout, int alphaValue) { LayoutInflater inflater = (LayoutInflater)context.** getSystemService(Context.**LAYOUT_INFLATER_SERVICE) ; popupView = inflater.inflate(R.layout.**message_popup, null); customFonts = new SetCustomFonts(context) ; tv_message_popup = (TextView) popupView.findViewById(R.id.**id_tv_message_popup) ; tv_message_popup.setText(**messageString) ; customFonts.SetBookFont(tv_**message_popup) ; iv_imageview = (ImageView) popupView.findViewById(R.id.**id_iv_imageview) ; iv_imageview.**setBackgroundResource(**resourceID) ; popupView.getBackground().**setAlpha(alphaValue) ; message_Popup = new PopupWindow( popupView, LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); //message_Popup.**showAtLocation(relativeLayout, Gravity.CENTER,0,0); message_Popup.showAsDropDown(**relativeLayout); dismissPopupTimer = new Timer(); dismissPopupTimer.schedule(new TimerTask() { @Override public void run() { DismissPopupWindow(); } }, 3000, 1); } public void DismissPopupWindow () { dismissPopupTimer.cancel() ; if (message_Popup.isShowing()) { message_Popup.dismiss() ; /// At this line app is crashing getting error message_Popup = null ; } } here is the error it is coming due to relative layout which i am passing for displaying popup. i want to display popup as a drop down thats why this relative layout i am passing popup is displaying correct but while dismissing app get crashed 09-12 00:42:03.599: E/WindowManager(15187): Activity com.app.fashion.TabbbActivity has leaked window android.widget.RelativeLayout{**41e1cb28 V.E. ..I. 0,0-720,78 #7f0a0141 app:id/id_rl_layout} that was originally added here 09-12 00:42:03.599: E/WindowManager(15187): android.view.WindowLeaked: Activity com.app.fashion.TabbbActivity has leaked window android.widget.RelativeLayout{**41e1cb28 V.E. ..I. 0,0-720,78 #7f0a0141 app:id/id_rl_layout} that was originally added here 09-12 00:42:03.599: E/WindowManager(15187): at android.view.ViewRootImpl.**init(ViewRootImpl.java:409) 09-12 00:42:03.599: E/WindowManager(15187): at android.view.** WindowManagerGlobal.addView(**WindowManagerGlobal.java:218) 09-12 00:42:03.599: E/WindowManager(15187): at android.view.** WindowManagerImpl.addView(**WindowManagerImpl.java:69) 09-12 00:42:03.599: E/WindowManager(15187): at android.widget.PopupWindow.**invokePopup(PopupWindow.java:**993) 09-12 00:42:03.599: E/WindowManager(15187): at android.widget.PopupWindow.**showAsDropDown(PopupWindow.**java:899) 09-12 00:42:03.599: E/WindowManager(15187): at android.widget.PopupWindow.**showAsDropDown(PopupWindow.**java:862) 09-12 00:42:03.599: E/WindowManager(15187): at com.app.fashion.PopupMessage.**DisplayPopupMessage(** PopupMessage.java:54) 09-12 00:42:03.599: E/WindowManager(15187): at com.app.fashion.** SearchProductActivity$**SaveRemoveAsyncTask.**onPostExecute(** SearchProductActivity.java:**984) 09-12 00:42:03.599: E/WindowManager(15187): at com.app.fashion.** SearchProductActivity$**SaveRemoveAsyncTask.**onPostExecute(** SearchProductActivity.java:1) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.AsyncTask.finish(**AsyncTask.java:631) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.AsyncTask.access$**600(AsyncTask.java:177) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.AsyncTask$ **InternalHandler.handleMessage(**AsyncTask.java:644) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.Handler.* *dispatchMessage(Handler.java:**99
[android-developers] Any body knows how t ocreate popup Window class
Hi there is any body knows how to create popup window class so that i could call any activity to show drop down popup on some layout ? thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Is treking knows how to create popup window class
You wasted my thread i asked some thing and u wasted my thread now no one reply. If u dont know the solution then why do u reply here On 12-Sep-2013 10:15 PM, TreKing treking...@gmail.com wrote: On Thu, Sep 12, 2013 at 11:12 AM, Amit Mangal forum.amit.man...@gmail.com wrote: Is treking knows how to create popup window class i want to display message like toast and disappear after 3 seconds Dude, why are you calling me out and spamming this list? Quit that shit. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Is treking knows how to create popup window class
Is treking knows how to create popup window class i want to display message like toast and disappear after 3 seconds -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] how to develope a popup window class ?
Hi there, i want to develop a popup window class so that i could call that from any of my activity to display that popup window. also i want to add one button on that so that i could start activity from that. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] how to develope a popup window class ?
Problem is my popup window class shows message correct. i am having a 3 sec timer to dismiss popup. this dismiss popup is crashing my app here is my popup window class public class PopupMessage { private Context context ; SetCustomFonts customFonts ; private TextView tv_message_popup ; private ImageView iv_imageview ; Timer dismissPopupTimer ; View popupView ; PopupWindow message_Popup ; Timer timer; PopupMessage ( Context context ) { this.context = context ; } public void DisplayPopupMessage (String messageString, int resourceID, RelativeLayout relativeLayout, int alphaValue) { LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE) ; popupView = inflater.inflate(R.layout.message_popup, null); customFonts = new SetCustomFonts(context) ; tv_message_popup = (TextView) popupView.findViewById(R.id.id_tv_message_popup) ; tv_message_popup.setText(messageString) ; customFonts.SetBookFont(tv_message_popup) ; iv_imageview = (ImageView) popupView.findViewById(R.id.id_iv_imageview) ; iv_imageview.setBackgroundResource(resourceID) ; popupView.getBackground().setAlpha(alphaValue) ; message_Popup = new PopupWindow( popupView, LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); //message_Popup.showAtLocation(relativeLayout, Gravity.CENTER,0,0); message_Popup.showAsDropDown(relativeLayout); dismissPopupTimer = new Timer(); dismissPopupTimer.schedule(new TimerTask() { @Override public void run() { DismissPopupWindow(); } }, 3000, 1); } public void DismissPopupWindow () { dismissPopupTimer.cancel() ; if (message_Popup.isShowing()) { message_Popup.dismiss() ; /// At this line app is crashing getting error message_Popup = null ; } } here is the error it is coming due to relative layout which i am passing for displaying popup. i want to display popup as a drop down thats why this relative layout i am passing popup is displaying correct but while dismissing app get crashed 09-12 00:42:03.599: E/WindowManager(15187): Activity com.app.fashion.TabbbActivity has leaked window android.widget.RelativeLayout{41e1cb28 V.E. ..I. 0,0-720,78 #7f0a0141 app:id/id_rl_layout} that was originally added here 09-12 00:42:03.599: E/WindowManager(15187): android.view.WindowLeaked: Activity com.app.fashion.TabbbActivity has leaked window android.widget.RelativeLayout{41e1cb28 V.E. ..I. 0,0-720,78 #7f0a0141 app:id/id_rl_layout} that was originally added here 09-12 00:42:03.599: E/WindowManager(15187): at android.view.ViewRootImpl.init(ViewRootImpl.java:409) 09-12 00:42:03.599: E/WindowManager(15187): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:218) 09-12 00:42:03.599: E/WindowManager(15187): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69) 09-12 00:42:03.599: E/WindowManager(15187): at android.widget.PopupWindow.invokePopup(PopupWindow.java:993) 09-12 00:42:03.599: E/WindowManager(15187): at android.widget.PopupWindow.showAsDropDown(PopupWindow.java:899) 09-12 00:42:03.599: E/WindowManager(15187): at android.widget.PopupWindow.showAsDropDown(PopupWindow.java:862) 09-12 00:42:03.599: E/WindowManager(15187): at com.app.fashion.PopupMessage.DisplayPopupMessage(PopupMessage.java:54) 09-12 00:42:03.599: E/WindowManager(15187): at com.app.fashion.SearchProductActivity$SaveRemoveAsyncTask.onPostExecute(SearchProductActivity.java:984) 09-12 00:42:03.599: E/WindowManager(15187): at com.app.fashion.SearchProductActivity$SaveRemoveAsyncTask.onPostExecute(SearchProductActivity.java:1) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.AsyncTask.finish(AsyncTask.java:631) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.AsyncTask.access$600(AsyncTask.java:177) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.Handler.dispatchMessage(Handler.java:99) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.Looper.loop(Looper.java:153) 09-12 00:42:03.599: E/WindowManager(15187): at android.app.ActivityThread.main(ActivityThread.java:5297) 09-12 00:42:03.599: E/WindowManager(15187): at java.lang.reflect.Method.invokeNative(Native Method) 09-12 00:42:03.599: E/WindowManager(15187): at java.lang.reflect.Method.invoke(Method.java:511) 09-12 00:42:03.599: E/WindowManager(15187): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833) On Wed, Sep 11, 2013 at 10:29 PM, TreKing treking...@gmail.com wrote: On Wed, Sep 11, 2013 at 10:23 AM, Amit Mangal forum.amit.man
[android-developers] Re: how to develope a popup window class ?
Any idea developers how to remove this crash ? On Thursday, September 12, 2013, Amit Mangal forum.amit.man...@gmail.com wrote: Problem is my popup window class shows message correct. i am having a 3 sec timer to dismiss popup. this dismiss popup is crashing my app here is my popup window class public class PopupMessage { private Context context ; SetCustomFonts customFonts ; private TextView tv_message_popup ; private ImageView iv_imageview ; Timer dismissPopupTimer ; View popupView ; PopupWindow message_Popup ; Timer timer; PopupMessage ( Context context ) { this.context = context ; } public void DisplayPopupMessage (String messageString, int resourceID, RelativeLayout relativeLayout, int alphaValue) { LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE) ; popupView = inflater.inflate(R.layout.message_popup, null); customFonts = new SetCustomFonts(context) ; tv_message_popup = (TextView) popupView.findViewById(R.id.id_tv_message_popup) ; tv_message_popup.setText(messageString) ; customFonts.SetBookFont(tv_message_popup) ; iv_imageview = (ImageView) popupView.findViewById(R.id.id_iv_imageview) ; iv_imageview.setBackgroundResource(resourceID) ; popupView.getBackground().setAlpha(alphaValue) ; message_Popup = new PopupWindow( popupView, LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); //message_Popup.showAtLocation(relativeLayout, Gravity.CENTER,0,0); message_Popup.showAsDropDown(relativeLayout); dismissPopupTimer = new Timer(); dismissPopupTimer.schedule(new TimerTask() { @Override public void run() { DismissPopupWindow(); } }, 3000, 1); } public void DismissPopupWindow () { dismissPopupTimer.cancel() ; if (message_Popup.isShowing()) { message_Popup.dismiss() ; /// At this line app is crashing getting error message_Popup = null ; } } here is the error it is coming due to relative layout which i am passing for displaying popup. i want to display popup as a drop down thats why this relative layout i am passing popup is displaying correct but while dismissing app get crashed 09-12 00:42:03.599: E/WindowManager(15187): Activity com.app.fashion.TabbbActivity has leaked window android.widget.RelativeLayout{41e1cb28 V.E. ..I. 0,0-720,78 #7f0a0141 app:id/id_rl_layout} that was originally added here 09-12 00:42:03.599: E/WindowManager(15187): android.view.WindowLeaked: Activity com.app.fashion.TabbbActivity has leaked window android.widget.RelativeLayout{41e1cb28 V.E. ..I. 0,0-720,78 #7f0a0141 app:id/id_rl_layout} that was originally added here 09-12 00:42:03.599: E/WindowManager(15187): at android.view.ViewRootImpl.init(ViewRootImpl.java:409) 09-12 00:42:03.599: E/WindowManager(15187): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:218) 09-12 00:42:03.599: E/WindowManager(15187): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69) 09-12 00:42:03.599: E/WindowManager(15187): at android.widget.PopupWindow.invokePopup(PopupWindow.java:993) 09-12 00:42:03.599: E/WindowManager(15187): at android.widget.PopupWindow.showAsDropDown(PopupWindow.java:899) 09-12 00:42:03.599: E/WindowManager(15187): at android.widget.PopupWindow.showAsDropDown(PopupWindow.java:862) 09-12 00:42:03.599: E/WindowManager(15187): at com.app.fashion.PopupMessage.DisplayPopupMessage(PopupMessage.java:54) 09-12 00:42:03.599: E/WindowManager(15187): at com.app.fashion.SearchProductActivity$SaveRemoveAsyncTask.onPostExecute(SearchProductActivity.java:984) 09-12 00:42:03.599: E/WindowManager(15187): at com.app.fashion.SearchProductActivity$SaveRemoveAsyncTask.onPostExecute(SearchProductActivity.java:1) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.AsyncTask.finish(AsyncTask.java:631) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.AsyncTask.access$600(AsyncTask.java:177) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.Handler.dispatchMessage(Handler.java:99) 09-12 00:42:03.599: E/WindowManager(15187): at android.os.Looper.loop(Looper.java:153) 09-12 00:42:03.599: E/WindowManager(15187): at android.app.ActivityThread.main(ActivityThread.java:5297) 09-12 00:42:03.599: E/WindowManager(15187): at java.lang.reflect.Method.invokeNative(Native Method) 09-12 00:42:03.599: E/WindowManager(15187): at java.lang.reflect.Method.invoke(Method.java:511) 09-12 00:42:03.599: E/WindowManager(15187
Re: [android-developers] how to load correct images i have all size images ldpi hdpi xhdpi xxhdpi
any idea guys ? On Tue, Aug 27, 2013 at 10:50 AM, Amit Mangal forum.amit.man...@gmail.comwrote: drawable-hdpi drawable-ldpi drawable-mdpi drawable-xhdpi drawable-xxhdpi All images kept in proper folders but still it is not picking proper images as per screen resolution thanks On Tue, Aug 27, 2013 at 10:42 AM, TreKing treking...@gmail.com wrote: On Mon, Aug 26, 2013 at 11:34 PM, Amit Mangal forum.amit.man...@gmail.com wrote: i create drawable folders for all images and kept all images in folders What folders? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: how to load correct images i have all size images ldpi hdpi xhdpi xxhdpi
is there any way my app should support all screen sizes withouth stretching images ? i am having ldpi hdpi mdpi xhdpi xxhdpi images . On Tue, Aug 27, 2013 at 2:02 PM, Harish hkacho...@gmail.com wrote: Ideally no setting is require, how you know dpi of your screen ? some time even big screen are treated as mdpi based on the dpi setting on device (which is not editable unless rooted). First you check dpi of device, try some helper app like https://play.google.com/store/apps/details?id=com.sturnus.screeninfo Normally for big screen( 7 and 10 inch) device I created separate folder drawable-sw600dp and drawable-sw720dp and it works for bigger screen with good dpi. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] how to load correct images i have all size images ldpi hdpi xhdpi xxhdpi
Hi there, i have created a xml file using wrap content and relative layout. i am having images for all resolution. i create drawable folders for all images and kept all images in folders but when i am running project it is not working big screen only working on mdpi screens not working for hdpi screen. any body knows what settings is required so that it will pick correct images from folder. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] how to load correct images i have all size images ldpi hdpi xhdpi xxhdpi
drawable-hdpi drawable-ldpi drawable-mdpi drawable-xhdpi drawable-xxhdpi All images kept in proper folders but still it is not picking proper images as per screen resolution thanks On Tue, Aug 27, 2013 at 10:42 AM, TreKing treking...@gmail.com wrote: On Mon, Aug 26, 2013 at 11:34 PM, Amit Mangal forum.amit.man...@gmail.com wrote: i create drawable folders for all images and kept all images in folders What folders? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Select unselect image on list view
Hi there, i have a list view and in that list view in each row i have image unselectimage.png. i want when some one click on that i want to replace that image with selected.png. suppose if item is already selected then i want to unselected image. suppose list view is having 10 items in out of 10 . 9 itms willbe unselected and only one willbe selected. my query is that how to load unselect image on all items and select image on the item which is currently selected. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] OpenGL giving error java.lang.IllegalArgumentException: No configs match configSpec
Open gl apps test on device only don't use simulator On Aug 6, 2013 3:31 PM, surabhi jain surabhi17.j...@gmail.com wrote: Hi My app get successfully run on device :) I think, emulator does not support openGL. Thanks Regards Surabhi Jain On Tue, Aug 6, 2013 at 3:06 PM, surabhi jain surabhi17.j...@gmail.comwrote: After setting GPU Emulation in hardware property yes.. and setting EGLConfigChooser true before set renderer function, getting same problem when running on emulator :( On Tue, Aug 6, 2013 at 2:33 PM, Aashish kumar testchetu...@gmail.comwrote: After Gpu emulation hardware propety set it's value to yes .. Also seteglchooser true before set renderer function after that it will work.. Thanks Regards, Aashish On Aug 6, 2013 5:38 PM, surabhi jain surabhi17.j...@gmail.com wrote: Thanks Aashish for your reply. I am new for OPENGL. I am running my app on emulator. In emulator settings, I have also add 'GPU Emulation' but it is showing same error. What is spec on graphics card ? Thanks Regards Surabhi Jain On Tue, Aug 6, 2013 at 1:10 PM, Aashish kumar testchetu...@gmail.comwrote: Please check spec on your graphics card which is conpatable on openGL version... On Aug 6, 2013 4:35 PM, surabhi jain surabhi17.j...@gmail.com wrote: Hi All, I am creating a simple app using OpenGL. On loading app, it is throwing exception as follows: 08-06 12:51:00.694: E/AndroidRuntime(280): FATAL EXCEPTION: GLThread 8 08-06 12:51:00.694: E/AndroidRuntime(280): java.lang.IllegalArgumentException: No configs match configSpec 08-06 12:51:00.694: E/AndroidRuntime(280): at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:760) 08-06 12:51:00.694: E/AndroidRuntime(280): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:916) 08-06 12:51:00.694: E/AndroidRuntime(280): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1246) 08-06 12:51:00.694: E/AndroidRuntime(280): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116) What is going wrong? In which case, that exception occur? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Thanks Regards Surabhi Jain -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Thanks Regards Surabhi Jain -- Thanks
Re: [android-developers] coming back to very first activity from inside tab group activity
Hi Dalvinder Sigh Thanks for reply but didnt work for me i am having tab group activity and inside that i have started many activity the code for starting child activity is Intent intent = new Intent(Detail_Screen.this, SizeGuideActivity.class); intent.putExtra(URL, sizeGuideURL) ; startActivity(intent); On Thu, Jul 25, 2013 at 6:22 PM, Dalvinder Singh singh.dal...@gmail.comwrote: You can launch the first activity again and your first activity can implement onNewInent(). Make sure while launching the first activity set flag activity clear top in the intent to finish the child activities. ... Singh Dalvinder On Thu, Jul 25, 2013 at 9:34 AM, Amit Mangal forum.amit.man...@gmail.comwrote: Hi Developers, I am developing tab group activity. inside one tab there are multiple activity started as a child. i want to come back to very first activity from inside activity please tell me how to do that. here is the code for calling child activity Intent previewMessage = new Intent(getParent(), Test.class); TabGroupActivity parentActivity = (TabGroupActivity)getParent(); parentActivity.startChildActivity(Test, previewMessage); i am inside 5th child activity and i want to come back to 1 activity after doing some task. onbackpressed function sends me 4th activity i want to jumb 1 activty. thanks -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- *Cheers*, *Dalvinder Singh* | http://dalvinsingh.blogspot.in/ -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] coming back to very first activity from inside tab group activity
sorry the code is Intent previewMessage = new Intent(getParent(), Detail_Screen.class ); TabGroupActivity parentActivity = (TabGroupActivity)getParent(); parentActivity.startChildActivity(Detail_Screen, previewMessage); On Fri, Jul 26, 2013 at 12:49 AM, Amit Mangal forum.amit.man...@gmail.comwrote: Hi Dalvinder Sigh Thanks for reply but didnt work for me i am having tab group activity and inside that i have started many activity the code for starting child activity is Intent intent = new Intent(Detail_Screen.this, SizeGuideActivity.class); intent.putExtra(URL, sizeGuideURL) ; startActivity(intent); On Thu, Jul 25, 2013 at 6:22 PM, Dalvinder Singh singh.dal...@gmail.comwrote: You can launch the first activity again and your first activity can implement onNewInent(). Make sure while launching the first activity set flag activity clear top in the intent to finish the child activities. ... Singh Dalvinder On Thu, Jul 25, 2013 at 9:34 AM, Amit Mangal forum.amit.man...@gmail.com wrote: Hi Developers, I am developing tab group activity. inside one tab there are multiple activity started as a child. i want to come back to very first activity from inside activity please tell me how to do that. here is the code for calling child activity Intent previewMessage = new Intent(getParent(), Test.class); TabGroupActivity parentActivity = (TabGroupActivity)getParent(); parentActivity.startChildActivity(Test, previewMessage); i am inside 5th child activity and i want to come back to 1 activity after doing some task. onbackpressed function sends me 4th activity i want to jumb 1 activty. thanks -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- *Cheers*, *Dalvinder Singh* | http://dalvinsingh.blogspot.in/ -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] coming back to very first activity from inside tab group activity
Hi Developers, I am developing tab group activity. inside one tab there are multiple activity started as a child. i want to come back to very first activity from inside activity please tell me how to do that. here is the code for calling child activity Intent previewMessage = new Intent(getParent(), Test.class); TabGroupActivity parentActivity = (TabGroupActivity)getParent(); parentActivity.startChildActivity(Test, previewMessage); i am inside 5th child activity and i want to come back to 1 activity after doing some task. onbackpressed function sends me 4th activity i want to jumb 1 activty. thanks -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] google map not showing apk downloaded from market before upload it was showing
Hi there, i have created an application which is using google map i created sdk key and added in my xml file. it is working fine on simulator and my device. when testing finished i export apk for market but when i downloaded that apk from market the google map is not showing in it . while i am running from code to my device it is showing. any body knows reason please let me know. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Handling Expensive Operations in the UI Thread
hi there, i have list fragment activity. my app is openingvery slow cause i am loading data from list view please any body have code to load it fast. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] get notification tone uri
HI there, is the any way to get notification tones uri. and after getting that uri how to play one from that uri. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] set notification tone programatically
Hi there, Is there any way to set notification tone programmatically ? i want to set my notification tone. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] silent sms notification programaticaly
Hi there, I am trying to set notification tone silence for incoming message. what i will do i will set black audio file as a notification tone and when any incoimg message then i will play my audio file. playing my audio file for incoming message i have done but it also plays default notification tone so i am trying to set my blank.ogg file as an default tone. please tell me how to do that ? thanks On Mon, Apr 23, 2012 at 10:36 AM, asheesh arya asheesharya...@gmail.comwrote: by using content observer you acheive your goal. what you have done so far let me know because i am also devloping the same application now a dayz -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] silent sms notification programaticaly
Hi there, I want to set sms notification programaticaly silence. is there any way to set sms notification tone programaticaly silent. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to disable ringtone of incoming sms
Hi developers, i am creating small app which will mute the incoming sms notification tone. please tell me how to mute incoming sms notification tone. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to load different layout for tablet and phone ?
Hi there, I am creating on android app. i want to know how to load different layout for tablet and phone. The reason is phone screen is small so layout i have prepared is different and tablet screen is big so i want to load different layout for tablet. any idea how to do that. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to load different layout for tablet and phone ?
what is this i want to load different activity for tablet and different for phone how to do that ? thanks On Mon, Apr 16, 2012 at 6:24 PM, Mark Murphy mmur...@commonsware.comwrote: http://developer.android.com/guide/practices/screens_support.html On Mon, Apr 16, 2012 at 8:50 AM, Amit Mangal forum.amit.man...@gmail.com wrote: Hi there, I am creating on android app. i want to know how to load different layout for tablet and phone. The reason is phone screen is small so layout i have prepared is different and tablet screen is big so i want to load different layout for tablet. any idea how to do that. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to load different layout for tablet and phone ?
ok thanks On Mon, Apr 16, 2012 at 6:32 PM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Apr 16, 2012 at 8:58 AM, Amit Mangal forum.amit.man...@gmail.com wrote: what is this i want to load different activity for tablet and different for phone how to do that ? That is not a great idea, in general. That being said, you can find out the screen size bucket from a Configuration object and use that in an if() test to decide which Intent to use with startActivity(). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to load different layout for tablet and phone ?
unable to understand do you have any small example ? thanks On Mon, Apr 16, 2012 at 6:41 PM, iñaki inaki.s...@gmail.com wrote: One solution is for example: -- Create a layout in layout folder -- Create a layout in layout-xlarge folder with two panes In the activities you can ask for the second pane... If you have second pane you´re in a xlarge resource. Iñaki On 16 April 2012 15:05, Amit Mangal forum.amit.man...@gmail.com wrote: ok thanks On Mon, Apr 16, 2012 at 6:32 PM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Apr 16, 2012 at 8:58 AM, Amit Mangal forum.amit.man...@gmail.com wrote: what is this i want to load different activity for tablet and different for phone how to do that ? That is not a great idea, in general. That being said, you can find out the screen size bucket from a Configuration object and use that in an if() test to decide which Intent to use with startActivity(). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Display notification sound programatically
Hi Developers, I am developing and alarm application. i want to show notification sound to the user please let me know how to show notification sound programaticaly in android. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Recording By AudioRecord API
Hi there, I want to do recording using AudioRecord API. please let me know how to do recording with AudioRecord API and save file in desired location. Any code willbe highly appreciated. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Recording By AudioRecord API
Hi i need AudioRecord Api not MediaRecorder. thanks On Sat, Dec 31, 2011 at 3:12 PM, Teena sharma sharma.teena...@gmail.comwrote: rcd.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); recorder.setOutputFile(Environment .getExternalStorageDirectory() + / + give name of the file to store+ .3gp); try { recorder.prepare(); mPlayer.start(); recorder.start(); } catch (IllegalStateException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (Exception e) { // TODO Auto-generated catch block } } }); rcd is a button to start recording. On Sat, Dec 31, 2011 at 2:21 PM, Amit Mangal forum.amit.man...@gmail.comwrote: Hi there, I want to do recording using AudioRecord API. please let me know how to do recording with AudioRecord API and save file in desired location. Any code willbe highly appreciated. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] color up and down effect on screen
Hi every one, I want to develop one application in which i want to take one box and fill the color in that box. i want to do up and down this color bar.please look on the image . how can i give effect of red color up and down programmatically. i have developed some conditions according to that red color on screen will be up and down but i dont know which control should i use to show this type of effect. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=enattachment: img.png
[android-developers] shrink bar up and down like attached image
Hi Every one, I want to develop solid bar rising up and down. falling up and down logic i have implemented in thread. i need to know what control should i use in UI for solid color bar so that i could increase and decrease height of that. like image. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=enattachment: img.png
Re: [android-developers] Setting 2 ringtones on single contat number programatically
what ok are you crazy ? 2011/12/18 हरीप्रसाद अर्याल aryal.har...@gmail.com ok] 2011/12/17, Amit Mangal forum.amit.man...@gmail.com: Hi Developers, I want to develop one application in which setting multiple ringtones on a single contact and ringtone will play in shuffle. is it possible in android ? thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- dfgdfgfdgdfgdfg -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Setting 2 ringtones on single contat number programatically
Hi Developers, I want to develop one application in which setting multiple ringtones on a single contact and ringtone will play in shuffle. is it possible in android ? thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Blue tooth headset connected or not android sdk 2.3.3
Hi Everybody, I am trying to know programmatically if blue tooth headset connected with my device or not ? is there any way to know this ? thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: how to retrieve connected bluetooth headset battery strength
what do you mean by this we cant have battery strength ? thanks On Tue, Dec 6, 2011 at 3:43 AM, lbendlin l...@bendlin.us wrote: let me copy and paste that for you /** * Get battery usage hint for Bluetooth Headset service. * This is a monotonically increasing integer. Wraps to 0 at * Integer.MAX_INT, and at boot. * Current implementation returns the number of AT commands handled since * boot. This is a good indicator for spammy headset/handsfree units that * can keep the device awake by polling for cellular status updates. As a * rule of thumb, each AT command prevents the CPU from sleeping for 500 ms * @return monotonically increasing battery usage hint, or a negative error * code on error * @hide */ So the short answer would be No. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to retrieve connected bluetooth headset battery strength
Hi Developers, I am trying to calculate the battery strength of Bluetooth headset that is connected to my android mobile. I have downloaded code https://github.com/cgjones/android-frameworks-base/blob/gingerbread-b2g/core/java/android/bluetooth/BluetoothHeadset.java but i am unable to use it please any body guide me how to use this class. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] changing image on rotation in tablet
Hi Everyone, I am having 2 images i want to use that images in my layout background but one image in portrait mode and one in landscape mode. please tell me how to change image from moving landscape to portrait mode. like 1.png in portraut mode and 2.png in landscape mode. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to create private folders in sdcard?
yes it is possible On Tue, Sep 13, 2011 at 1:00 PM, Shruthi Varma shruthi.tlis...@gmail.comwrote: Hi All, I have to store some images in a folder in sdcard and retreive back from my application. But I dont want to view those images in gallery. That means, I want to store images which is specific to that application itself. Is it possible. Regards, Shruthi. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Application get crashed when camera open and i rotate the device.
Hi Everyone, I am implement one application in which i am opening camera and taking pic. everything working fine in that app i have only one problem. if the camera is open and i rotate device from portrait to landscape or viceversa my application get crashed. any body knows the reason of this ? thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Application get crashed when camera open and i rotate the device.
I cant debug how wil i rotate emulator? thanks On Wed, Sep 7, 2011 at 5:04 AM, TreKing treking...@gmail.com wrote: On Wed, Sep 7, 2011 at 6:59 AM, Amit Mangal forum.amit.man...@gmail.comwrote: I get Force close error. Debug your app. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Application get crashed when camera open and i rotate the device.
thanks On Wed, Sep 7, 2011 at 5:40 AM, Appaholics raghavs...@appaholics.in wrote: http://tinyurl.com/3wdyybe On Wed, Sep 7, 2011 at 6:02 PM, Amit Mangal forum.amit.man...@gmail.comwrote: I cant debug how wil i rotate emulator? thanks On Wed, Sep 7, 2011 at 5:04 AM, TreKing treking...@gmail.com wrote: On Wed, Sep 7, 2011 at 6:59 AM, Amit Mangal forum.amit.man...@gmail.com wrote: I get Force close error. Debug your app. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] take image from camera and save it to desire location
hi everyone, i am trying to open camera take a pic and save that pic to my folder in sd card . I am able to open camera and take pic but it is not saving on my folder here is the code protected void startCameraActivity() { Button startRec = ((Button) findViewById(R.id.btncamon)); startRec.setVisibility(View.VISIBLE); Log.i(MakeMachine, startCameraActivity()); imageFilePath = getFilename() ; file = new File(imageFilePath); outputFileUri = Uri.fromFile(file); /*Intent intent = new Intent(android.media.action.IMAGE_CAPTURE); intent.putExtra(MediaStore.EXTRA_OUTPUT, outputFileUri); startActivityForResult(intent, 0);*/ Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); // file = new File(Environment.getExternalStorageDirectory(), ReceiptData.PICTURE_PATH + String.valueOf(System.currentTimeMillis()) + .jpg); intent.putExtra(MediaStore.EXTRA_OUTPUT, outputFileUri); startActivityForResult(intent, 1); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == 1) { switch( resultCode ) { case 0: break; case -1: setupImage(data); break; } } } public Bitmap setupImage(Intent data) { BitmapFactory.Options options = new BitmapFactory.Options(); options.inSampleSize = 4; // SAMPLE_SIZE = 2 Bitmap tempBitmap = null; Bitmap bm = null; try { tempBitmap = (Bitmap) data.getExtras().get(data); bm = tempBitmap; Log.v(ManageImage-hero, the data.getData seems to be valid); FileOutputStream out = new FileOutputStream(file); tempBitmap.compress(Bitmap.CompressFormat.JPEG, 100, out); } catch (NullPointerException ex) { Log.v(ManageImage-other, another phone type); bm = otherImageProcessing(options); } catch(Exception e) { Log.e(ManageImage-setupImage, problem setting up the image, e); } return bm; } private Bitmap otherImageProcessing(BitmapFactory.Options options) { Bitmap bm = null; try { FileInputStream fis = new FileInputStream(file); BufferedInputStream bis = new BufferedInputStream(fis); bm = BitmapFactory.decodeStream(bis, null, options); // cleaning up fis.close(); bis.close(); } catch(Exception e) { Log.e(ManageImage-otherImageProcessing, Cannot load image, e); } return bm; } thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Video recording not saving if i don't call finish
Hi Everyone, I am creating app for video recording. i press a button to start video. when i press the button to stop the recording it stops. problem is after stopping if i play video immediately it plays recorded video but when i check video file in sd card i see its size is 0KB. when i call finish(); then it saves video but finish ends my activity . any body having idea how to save video with out calling finish(); thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to save captured image by camera to a particular location ?
Hi Everyone, I am opening camera by my app and taking picture with that camera now i want to save that image to a particular folder in sd card i have calculated path of folder. please let me know how to save that image in particular path. thank you -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to set read writ permission to recorded file
Hi everyone i am doing audio recording after recording audio my prepare get fails. I have read on some threads set permission to a file while playing from sd card please tell me any one knows how to set permission recorded file programatically so that i willbe able to play it inside from my app. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to set read writ permission to recorded file
No, I want to play audio file which i have recorded by my application.recording is working fine but playing not. thanks On Fri, Aug 12, 2011 at 2:51 PM, Appaholics raghavs...@appaholics.inwrote: You aren't making too much sense. Do you want the permissions for the manifest or the permissions to set for the audio file? Thanks On Fri, Aug 12, 2011 at 2:48 PM, Amit Mangal forum.amit.man...@gmail.comwrote: Hi everyone i am doing audio recording after recording audio my prepare get fails. I have read on some threads set permission to a file while playing from sd card please tell me any one knows how to set permission recorded file programatically so that i willbe able to play it inside from my app. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to set read writ permission to recorded file
Problem is solved i need to pass file descriptor rather than path string. thanks On Fri, Aug 12, 2011 at 3:28 PM, Appaholics raghavs...@appaholics.inwrote: If you created the file you should be able to read it. There must be some other problem. Post the LogCat and relevant code. On Fri, Aug 12, 2011 at 3:24 PM, Amit Mangal forum.amit.man...@gmail.comwrote: No, I want to play audio file which i have recorded by my application.recording is working fine but playing not. thanks On Fri, Aug 12, 2011 at 2:51 PM, Appaholics raghavs...@appaholics.inwrote: You aren't making too much sense. Do you want the permissions for the manifest or the permissions to set for the audio file? Thanks On Fri, Aug 12, 2011 at 2:48 PM, Amit Mangal forum.amit.man...@gmail.com wrote: Hi everyone i am doing audio recording after recording audio my prepare get fails. I have read on some threads set permission to a file while playing from sd card please tell me any one knows how to set permission recorded file programatically so that i willbe able to play it inside from my app. thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] unable to open recorded file for playing
Hi Everyone, I am trying t orecord audio and play audio file. I am successfully able to record audio file in SDCard. but when i am trying to playing it i am getting exception means not able to open file descriptor.below is my source code. I am able to play recorded file outside from my app by native android player. FileInputStream fis = openFileInput(filePath); ---This line code crashes but i check the path file is available there MPX = new MediaPlayer(); MPX.reset(); MPX.setDataSource(fis.getFD()); MPX.prepare(); MPX.start(); thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] problem in opening camera programaticaly code attached
These all codes i have downloaded from internet and i ave seen comments these are working fine . i have compiled it my sdk and run on simulator it works on simulator but force close on device. i don know how to do ddms . I have attached code please check it once on your device and tell me whether it is working or not . thanks On Tue, Aug 9, 2011 at 7:43 PM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Aug 9, 2011 at 10:08 AM, Amit Mangal forum.amit.man...@gmail.com wrote: i am to open camera programaticaly and take picture but whatever code i am trying it is crashing on my device . One of code i have attached whihc is working on simulator but crashing onmy device. Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your crash. please tell me is there any special settings required for opening camera programatically ? You need the CAMERA permission in the manifest. For production, you may also want to add appropriate uses-feature elements, but they're not going to cause a crash. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 3.1 Programming Books: http://commonsware.com/books -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to play audio file from sd card ?
Hi Everyone, Anybody knows how to play audio file from sd card ? thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to play audio file from sd card ?
what is this i am unable to understand . thanks On Wed, Aug 10, 2011 at 12:08 AM, lbendlin l...@bendlin.us wrote: make sure to use Environment.getExternalStorageDirectory() rather than had coding the SD card path. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] generate dtmf tone on uplink
Hi Everyone, I am implementing one application in that i make a call programaticaly to a server and after that my requirement is send some number by dtmf tone to server. please guide me how to generate dtmf tone so that server can listen it . thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to get selected contact from address book of phone
Hi Developers any one knows how to get contact number in string from address book. my code for opening address book is Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI); startActivityForResult(intent, PICK_CONTACT); this open address book now i want to know suppose i select one contact from there how to get that contact number in a string. thanks On Wed, Aug 3, 2011 at 10:55 PM, Amit Mangal forum.amit.man...@gmail.comwrote: Hi Everyone, I want to open address book programmaticly that i am able to open now user selects any contact from phone book how to know which number selected by the user. i want to get that number in string. thanks in advnce -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: application not lauching on simulator when using google map api Installation error: INSTALL_FAILED_MISSING_FEATURE
I have attached my manifest file if you want to search where i have added librarary then search this !-- When i uncomment below line app not loading on simulator same code same emulator loads google map on other app -- search above written text in manifest file . same code same emulator runs if i create separate application . but when i add in my project and add library in manifest file then app not launches installation missing error. thanks On Sat, Jul 23, 2011 at 8:18 AM, Abhishek Akhani abhishek.akh...@gmail.comwrote: post your xml for more info.. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.Rob android:installLocation=auto android:versionCode=1 android:versionName=1.0 uses-sdk android:minSdkVersion=8 / supports-screens android:smallScreens=true android:normalScreens=true android:largeScreens=true / application android:label=@string/app_name android:icon=@drawable/ic_launcher_phone android:debuggable=true android:allowBackup=false activity android:name=.Rob android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity activity android:name=com.Rob.Email_form/ activity android:name=com.Rob.Send_email/ activity android:name=com.Rob.Dialpad/ activity android:name=com.Rob.Balance/ activity android:name=com.Rob.Select_Account/ activity android:name=com.Rob.Recharge/ activity android:name=com.Rob.Call_Log/ activity android:name=com.Rob.MyAccount/ activity android:name=com.Rob.View/ activity android:name=com.Rob.MapsActivity / activity android:label=@string/app_name android:name=com.Rob.ui.SipHome android:launchMode=singleTask android:screenOrientation=portrait android:configChanges=orientation android:theme=@android:style/Theme.NoTitleBar !-- intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter -- intent-filter android:priority=10 action android:name=com.Rob.phone.action.DIALER / category android:name=android.intent.category.DEFAULT / /intent-filter intent-filter android:priority=10 action android:name=com.Rob.phone.action.CALLLOG / category android:name=android.intent.category.DEFAULT / /intent-filter intent-filter android:priority=10 action android:name=com.Rob.phone.action.MESSAGES / category android:name=android.intent.category.DEFAULT / /intent-filter /activity !-- Main service -- service android:name=com.Rob.service.SipService android:exported=true intent-filter action android:name=com.Rob.service.SipService / action android:name=com.Rob.service.SipConfiguration / /intent-filter /service receiver android:name=com.Rob.service.DeviceStateReceiver intent-filter action android:name=android.net.conn.CONNECTIVITY_CHANGE/action action android:name=android.intent.action.ANY_DATA_STATE/action action android:name=android.intent.action.BOOT_COMPLETED/action action android:name=com.Rob.accounts.activate/action /intent-filter /receiver !-- Main ui -- activity android:name=com.Rob.ui.Dialer android:configChanges=orientation / activity android:name=com.Rob.ui.MyAccount/activity activity android:name=com.Rob.ui.CallLogsList/activity activity android:name=com.Rob.AddContacts /activity !-- First setup -- activity android:name=com.Rob.ui.WelcomeScreen android:screenOrientation=nosensor android:theme=@style/CupcakeDialog android:launchMode=singleTask android:label=@string/welcome_caption_text/activity service android:name=com.Rob.service.DownloadLibService/service !-- Help -- activity android:name=com.Rob.ui.help.Help android:theme=@style/CupcakeDialog android:configChanges=orientation/ activity android:name=com.Rob.ui.help.Faq android:theme=@style/CupcakeDialog
Re: [android-developers] Re: application not lauching on simulator when using google map api Installation error: INSTALL_FAILED_MISSING_FEATURE
Raghav i will try with commenting microphone but i tell you one thing if i remove this line uses-library android:name=com.google. android.maps / then i donot have any problem with my app it works well both on simulator and device . only uses-library android:name=com.google.android.maps / giving problem to me . same libraray i tried with same simulator same machine same sdk same code working well separately but when i add in this manifest file then i get problem Installation error: INSTALL_FAILED_MISSING_FEATURE Please check logcat output for more details. Launch canceled! thanks On Thu, Aug 4, 2011 at 7:55 PM, Raghav Sood raghavs...@gmail.com wrote: Does your computer have a microphone that the simulator may use? If not the uses microphone permission may cause this. I am not sure. Try double crossing your manifest for any features that might not be present on the emulator. On Thu, Aug 4, 2011 at 7:02 PM, Amit Mangal forum.amit.man...@gmail.comwrote: I have attached my manifest file if you want to search where i have added librarary then search this !-- When i uncomment below line app not loading on simulator same code same emulator loads google map on other app -- search above written text in manifest file . same code same emulator runs if i create separate application . but when i add in my project and add library in manifest file then app not launches installation missing error. thanks On Sat, Jul 23, 2011 at 8:18 AM, Abhishek Akhani abhishek.akh...@gmail.com wrote: post your xml for more info.. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Raghav Sood http://www.raghavsood.com/ http://wiki.androidappcheck.com/ http://www.telstop.tel/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: application not lauching on simulator when using google map api Installation error: INSTALL_FAILED_MISSING_FEATURE
Wow this is really great raghav i commented microphone google map is loaded this is really very interesting . thanks for help. please tell me one thing how will i add microphone if my device is having thanks On Thu, Aug 4, 2011 at 11:52 PM, Amit Mangal forum.amit.man...@gmail.comwrote: Raghav i will try with commenting microphone but i tell you one thing if i remove this line uses-library android:name=com.google. android.maps / then i donot have any problem with my app it works well both on simulator and device . only uses-library android:name=com.google.android.maps / giving problem to me . same libraray i tried with same simulator same machine same sdk same code working well separately but when i add in this manifest file then i get problem Installation error: INSTALL_FAILED_MISSING_FEATURE Please check logcat output for more details. Launch canceled! thanks On Thu, Aug 4, 2011 at 7:55 PM, Raghav Sood raghavs...@gmail.com wrote: Does your computer have a microphone that the simulator may use? If not the uses microphone permission may cause this. I am not sure. Try double crossing your manifest for any features that might not be present on the emulator. On Thu, Aug 4, 2011 at 7:02 PM, Amit Mangal forum.amit.man...@gmail.comwrote: I have attached my manifest file if you want to search where i have added librarary then search this !-- When i uncomment below line app not loading on simulator same code same emulator loads google map on other app -- search above written text in manifest file . same code same emulator runs if i create separate application . but when i add in my project and add library in manifest file then app not launches installation missing error. thanks On Sat, Jul 23, 2011 at 8:18 AM, Abhishek Akhani abhishek.akh...@gmail.com wrote: post your xml for more info.. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Raghav Sood http://www.raghavsood.com/ http://wiki.androidappcheck.com/ http://www.telstop.tel/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to get selected contact from address book of phone
Hi Everyone, I want to open address book programmaticly that i am able to open now user selects any contact from phone book how to know which number selected by the user. i want to get that number in string. thanks in advnce -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to get selected contact from address book of phone
Hi Abhi thanks for reply have sample code ? On Wed, Aug 3, 2011 at 11:37 PM, Abhishek Akhani abhishek.akh...@gmail.comwrote: http://developer.android.com/resources/articles/contacts.html -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Get digit mobile number
Mobile number calculated on network side not on handset. you can get your sim number IMSI but you cant get mobile number by any api. thanks On Fri, Jul 29, 2011 at 1:00 PM, subha subhashini.andr...@gmail.com wrote: Hi Developers! How to get mobile number through the android application(which one is used that app); this is possible? Thanks, Subha -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] application not lauching on simulator when using google map api Installation error: INSTALL_FAILED_MISSING_FEATURE
Hi Everyone, I want to load google map in my app. Steps i did 1) I generated google map key 2)Added google map key in xml file 3)In manifest file i added permissions for map loading Problem is when i use uses-library android:name=com.google.android.maps / inside the application tag of manifest.xml i get error Installation error: INSTALL_FAILED_MISSING_FEATURE Please check logcat output for more details. Launch canceled! NOTE : Please don't tell Your device or emulator lacks Google Maps. If this is the emulator, it needs to be one whose target name includes Google APIs in it. cause same code i ran separately on same emulator and same key that code was loading google map. I have many things in my xml file what could be the reason of this same code loading google map in sample code but when i add in project i get error after adding uses-library android:name=com.google.android.maps /. Many thanks in advance -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Does anyone at Google read bug reports?
Boss if you are looking for quality then iphone is the best options . Symbian Android winphone 7 these are only sand storm they come and go. you cant get quality in android . android come up and after some time finish like symbian so don worry about that. thanks On Thu, Jul 21, 2011 at 11:50 PM, Peter Eastman peter.east...@gmail.comwrote: I've been developing for Android for about a year and a half. Whenever I encounter a problem, I dutifully file a bug report. I'm now up to about a dozen. Every single one of my reports is still listed as New in the bug tracker, even the ones filed a full 18 months ago. Not a single one of them has been fixed, closed, or even had anyone from Google add a comment to it. This is very discouraging. Does anyone who works on the OS actually read bug reports? Or am I just wasting my time, throwing them into a black hole? I want to help improve the OS, which is why I take the time to file bug reports, but my experiences so far haven't encouraged me to keep doing it. Peter -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to know email sent successfully or not ?
Hi everyone, My requirement is to send email from android device and if email sent successfully then set database value to 1 if email not sent successfully then set database value to 0. But my problem is that how to know email snt successfully or not ? any body can tell me about this or give me any code snippet that great help to me . thanks in advance. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Send dtmf tone on uplink
Hi Everyone, I want to send dtmf tone 12345 when called party picked up the phone . I am not getting idea from where to start ? is any one can guide me for sending dtmf tone from where to strat ? is it possible on android ? thanks -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to get call history
Hi Everyone, Is there any way to display call history in android ? thankyou -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Play Wav file with dynamic path
Hi Every One, I want to play wav file but dynamically means runtime i will decide which wav file will play. i have added all wav files in raw folder and written below code MediaPlayer player; MediaPlayer mp1 = new MediaPlayer(); //= MediaPlayer.create(getBaseContext(), R.raw.Test); But this code playing only Test file. i want to decide at run time which file need to play. i have file name in string. how to get the path of the file and using which api i can play that file. thank you -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to play audio file in android ?
Hi Every one i am trying to play WAV file in android using below code i have created a raw folder in side my res folder and copy .wav file there but i am not able to play. Any one plays audio in android mobile ? MediaPlayer mp = MediaPlayer.create(context, R.raw.test.wav); mp.start(); this is giving me error R.raw canot be resolved ? Any idea ? thank you -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to add license on my application so that only user installed from android market can use it ?
Hi Everyone, I have implemented one application in android and i am going to upload that application but i want that only user downloaded application from market can use on his device Please see the link below. Any body guide me how to add license in it ? http://developer.android.com/guide/publishing/licensing.html -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] list view row number.
Hi Any one, Is there any way to get row number in list view in which i clicked ? suppose that if i clicked on row 5 how can i get which number of roe i clicked ? thank you -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] list view row number.
which function i need to call ? do you have some code snippet i am new to android and don know any thing. thank you On Thu, Jan 6, 2011 at 5:58 PM, Kapil Lokhande kpl.lokha...@gmail.comwrote: Hi Amit, you have to override onListItemClick event in your activity extending listactivity. in that event you wull get position or row number of list item. -- Thanks Regards, Kapil Lokhande | Dexter Advisory Pvt. Ltd. http://dexterltd.com/ | Android Developer [image: dexterlogo.jpg] On Thu, Jan 6, 2011 at 5:04 PM, Amit Mangal forum.amit.man...@gmail.comwrote: Hi Any one, Is there any way to get row number in list view in which i clicked ? suppose that if i clicked on row 5 how can i get which number of roe i clicked ? thank you -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] list view row number.
thank you i am trying to get row number using this code. On Thu, Jan 6, 2011 at 4:44 AM, Kapil Lokhande kpl.lokha...@gmail.comwrote: here is the snippet import android.app.ListActivity; import android.os.Bundle; import android.widget.ArrayAdapter; public class SimpleListView extends ListActivity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setListAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, WORLDCUP2010)); getListView().setTextFilterEnabled(true); } static final String[] WORLDCUP2010 = new String[] { Algeria, Argentina, Australia, Brazil, Cote d'Ivoire, Cameroon, Chile, Costa Rica, Denmark, England, France, Germany, Ghana, Greece, Honduras, Italy, Japan, Netherlands, New Zealand, Nigeria, North Korea, Paraguay, Portugal,Serbia, Slovakia, Slovenia, South Africa, South Korea, Spain, Switzerland, United States, Uruguay }; } public void onListItemClick(ListView parent, View v, int position,long id) { selection.setText(WORLDCUP2010[position]); } } -- Thanks Regards, Kapil Lokhande | Dexter Advisory Pvt. Ltd. http://dexterltd.com/ | Android Developer [image: dexterlogo.jpg] On Thu, Jan 6, 2011 at 6:05 PM, Amit Mangal forum.amit.man...@gmail.comwrote: which function i need to call ? do you have some code snippet i am new to android and don know any thing. thank you On Thu, Jan 6, 2011 at 5:58 PM, Kapil Lokhande kpl.lokha...@gmail.comwrote: Hi Amit, you have to override onListItemClick event in your activity extending listactivity. in that event you wull get position or row number of list item. -- Thanks Regards, Kapil Lokhande | Dexter Advisory Pvt. Ltd. http://dexterltd.com/ | Android Developer [image: dexterlogo.jpg] On Thu, Jan 6, 2011 at 5:04 PM, Amit Mangal forum.amit.man...@gmail.com wrote: Hi Any one, Is there any way to get row number in list view in which i clicked ? suppose that if i clicked on row 5 how can i get which number of roe i clicked ? thank you -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to attache paypal account with android market
Hi every one , I have created an account in android market and now i want to attach my paypal account with android market so that when ever some one downloaded my application android market will pay me by pay pal. Please guide me how to do that ? Thank you -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to attache paypal account with android market
so how can i get paid when any one download my paid application ? Thank you On Wed, Dec 15, 2010 at 9:49 AM, Nathan critter...@crittermap.com wrote: On Dec 15, 9:44 am, Amit Mangal forum.amit.man...@gmail.com wrote: Hi every one , I have created an account in android market and now i want to attach my paypal account with android market so that when ever some one downloaded my application android market will pay me by pay pal. Please guide me how to do that ? You can't. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en