[android-developers] Fullscreen notification when locked and screen is off(not working)

2016-07-27 Thread sweety fx
I want to see a fullscreen activity when I receive a push notification. It works fine when the screen is on/unlocked. But when the screen is off and locked, I dont see the activity. Please help // Push notification received public class PushNotificationReceiver extends

[android-developers] Propagate the visibility from parent to child views

2014-12-22 Thread sweety fx
If anyone know the answer please let me know for the stack overflow question I asked http://stackoverflow.com/q/27573011/3722531 -- 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] Intellij is giving Data Synchronize error for Android SQLiteDB

2014-12-03 Thread sweety fx
I am trying to use the Android SQLite DB in intellij when I try to refresh it says *Data Source Synchronization Error* Cannot synchronize 'Android SQLite': run-as: Package 'package-name' is unknown is there a way to fix this? -- You received this message because you are subscribed

[android-developers] Translate animation in oncreatview of the fragment

2014-11-24 Thread sweety fx
I have a fragment placed in a View Pager. I need to do translate animation of a view once the fragment is launched. The animation works if I click on the view(for which I have added animation to on click listener) but onCreateView I try to do the animation, it doesn't happen. What can I do to

[android-developers] Re: Animate the images towards center and expand

2014-11-13 Thread sweety fx
Any suggestions??? On Wednesday, November 12, 2014 10:35:45 AM UTC-5, sweety fx wrote: I have 3 images in a horizantal layout [image1] [image2] [image3] If I click on any one of the image, say for example [image3], both image1 and image2 should animate towards the center setting image3

[android-developers] Animate the images towards center and expand

2014-11-12 Thread sweety fx
I have 3 images in a horizantal layout [image1] [image2] [image3] If I click on any one of the image, say for example [image3], both image1 and image2 should animate towards the center setting image3 in the center [image3] when I click on image3 it animates with 3 images like [image1]

[android-developers] Re: Share video and save video to Gallery

2014-10-14 Thread sweety fx
Any suggestions? On Monday, October 13, 2014 11:07:11 AM UTC-4, sweety fx wrote: I have video url, from which I parse to to get the uri. I try to pass the uri in share, but I don't see the video being shared. Uri uri = Uri.parse(url);Intent sharingIntent = new Intent

[android-developers] Share video and save video to Gallery

2014-10-13 Thread sweety fx
I have video url, from which I parse to to get the uri. I try to pass the uri in share, but I don't see the video being shared. Uri uri = Uri.parse(url);Intent sharingIntent = new Intent( Intent.ACTION_SEND); sharingIntent.setType(video/*);

[android-developers] bitmap from view flipper

2014-10-01 Thread sweety fx
I need to get the bit map from the View flipper., when I flip I need to get the new bitmap from the flipper I tried view flipper.getCurrentView() - to get the current view visible on the flipper but don't know how to get the bitmap image -- You received this message because you are subscribed

[android-developers] return object or listobject

2014-08-04 Thread sweety fx
A method is supposed to return a object when called. Which is better to implement for the method: 1. Is it better to have the method return an object. 2. Or return ListObject where the single object is added to the array list. because, we can check for list.isEmpty() which is better than

Re: [android-developers] return object or listobject

2014-08-04 Thread sweety fx
object==null? If you never plan on returning more than one object then it makes no sense to use a list. On Aug 4, 2014 11:04 AM, sweety fx fxsw...@gmail.com javascript: wrote: A method is supposed to return a object when called. Which is better to implement for the method: 1

[android-developers] Image view and then a grid view - make them all scrollable

2014-07-28 Thread sweety fx
I have an image view on top and then grid view. I want all both the image view and grid view scrollable together, but only the grid view is scrolls. Is there a way to implement it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] switch case using string from Enum

2014-07-18 Thread sweety fx
*I have the below enum:* public enum Type { TYPE_ONE(event/one); TYPE_TWO(event/two); private Type(String mType){ this.mType = mType; } private final String mType; public String getType(){return mType;} } *I am trying to compare in Switch/Case:* switch

[android-developers] Re: switch case using string from Enum

2014-07-18 Thread sweety fx
, July 18, 2014 11:57:03 AM UTC-4, sweety fx wrote: *I have the below enum:* public enum Type { TYPE_ONE(event/one); TYPE_TWO(event/two); private Type(String mType){ this.mType = mType; } private final String mType; public String getType(){return mType

[android-developers] Re: activity.getResoures()

2014-07-15 Thread sweety fx
may want to refactor the call to 'getResources()' into a local variable (named 'res' in your case). On Monday, July 14, 2014 4:26:42 PM UTC-4, sweety fx wrote: I have a class which calls activity.getResources() in many places. So I defined a private variable *private int Resources res

[android-developers] activity.getResoures()

2014-07-14 Thread sweety fx
I have a class which calls activity.getResources() in many places. So I defined a private variable *private int Resources res;* in onCreate() I defined the value:* res = activity.getResurces()* and then used *res* in the all the places. is this best practice to do or call

[android-developers] Re: RSS feed parsing multiple images with SAX parser for same nodes/parameters

2013-12-26 Thread sweety fx
This is how I am parsing it for single image url ArrayListData mData = new ArrayListData(); @Override public void characters(char ch[], int start, int length) throwsSAXException { mData.get(mCount).mImageUrl = new String(ch, start, length); } This works fine for a single

[android-developers] RSS feed parsing multiple images with SAX parser for same nodes/parameters

2013-12-24 Thread sweety fx
Hi, I am using SAX parser to parse the RSS feed. Previously, the RSS feed only returns an id like say12345(imageId12345/imageId and I need to construct an url with this id which will return multiple images in xml format. Now I get the RSS feed with multiple images with same node, like,

[android-developers] Contact list view menu action

2011-05-13 Thread Sweety
Hi,In default contacts view, menu activity is not getting triggered and also is it possible to keep split screen . wherein in one view I'll have contact list and in the other I'll have my menu action. Please help me ! -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Create Folder

2010-10-29 Thread brindha sweety
On Fri, Oct 29, 2010 at 7:34 AM, TreKing treking...@gmail.com wrote: On Thu, Oct 28, 2010 at 5:36 AM, brindha sweety brindhasweety.bs@ gmail.com wrote: hoe to create a folder in main screen programmatically? What does create folder in main screen mean? thanks for your reply

[android-developers] Password

2010-10-28 Thread brindha sweety
hi, When i click the app in emulator the password prompt will appear and enter password,if password is correct the app will opened and launched. my question is how do i click the app? how prompt will display? thanks in advance. -- You received this message because you are subscribed to the

[android-developers] Create Folder

2010-10-28 Thread brindha sweety
Hi, hoe to create a folder in main screen programmatically? pls help 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

[android-developers] clickt his link to become slim

2010-06-24 Thread sweety
Are u too fat, u want to become slim, U just click this link gien below and click the add of slim.com and register in that After that U get tips from slim.com to become $$$ http://123maza.com/50/sadakam65/

[android-developers] Is it possible to have virtual touch for a grid layout?

2009-12-01 Thread sweety fx
I have to have a grid layout as the top layout and bottom layout should be touch enabled. I should be able to access(highlight and click/touch) the grid icons using the touch in the bottom layout. Please let me know whether there is any possible ways for doing so. -- You received this

[android-developers] How to add a custom grid layout/button layout on a custom graphics view

2009-11-28 Thread sweety fx
I need to add a custom grid layout on top of a custom view where I should be able to access both on the UI -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Neeeeeed HELP......How to get the text's length after TextView.setText()?

2008-12-03 Thread sweety
I did something like this within my code: public void test(){ TextView tv = (TextView)findViewById(R.id.text_view); tv.setText(blablabla); int width = tv.getWidth(); int height = tv.getHeight(); } When test() is called(I am sure it's not called in the view or its parent's