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
WakefulBroadcastRecei
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@googl
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 t
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 mak
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 towar
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]
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 sharin
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/*");
sharingI
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
) be better than 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" >
> wrote:
>
>> A method is supposed to return a object when called.
>>
>> Which is bet
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 List where the single object is added to the array
list.
because, we can check for list.isEmpty() which is better than object!=null.
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
..) { ...} .. ..." statements. A bit more
> typing, but works well :)
>
> On Friday, July 18, 2014 11:57:03 AM UTC-4, sweety fx wrote:
>>
>> *I have the below enum:*
>>
>> public enum Type {
>>
>> TYPE_ONE("event/one");
>> T
*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 (ev
'getResources()' is not very expensive. However, to make your code
> more readable, you 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;*
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 activity.getResources(
This is how I am parsing it for single image url
ArrayList mData = new ArrayList();
@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 image ur
Hi,
I am using SAX parser to parse the RSS feed. Previously, the RSS feed
only returns an id like say"12345"(12345 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,
image url1image
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 messag
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 unsubscr
20 matches
Mail list logo