Hello,
I have problem with default Android Studio app Widget (NEW→XML→WIDGET→APP
WIDGET)
There is a short description of that default widget providing by Android
Studio:
1. putting example widget on the main screen automatically starts Configure
Activity
2. you can add text (TextView) and
I want the dimension of app widget(Home widget) for all resolutions.
--
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
On Tue, Mar 13, 2012 at 8:34 AM, surabhi jain surabhi17.j...@gmail.comwrote:
I want the dimension of app widget(Home widget) for all resolutions.
http://developer.android.com/guide/topics/appwidgets/index.html
For all resolution like 240x320, 320x480, 480x800, there is same dimension
of widget.I want to create grid of 4X1 cell for all resolution, so what is
the dimension?
On Wed, Mar 14, 2012 at 9:29 AM, TreKing treking...@gmail.com wrote:
On Tue, Mar 13, 2012 at 8:34 AM, surabhi jain
Hi there,
I followed the instruction to allow my app to use the internal
packages (links here:
http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/).
Everything was ok, before i'm trying to start a configuration activity
before an app widget is added. In this
Your problem lies here:
http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Using private functions means you will randomly not work on different
devices and different versions of the platform.
On Tue, Aug 30, 2011 at 5:45 PM, eagle eagle.l...@gmail.com wrote:
Hi all,
I have problem in developing app widget.
When i try it in real device, after i reboot my phone, the widget is
automatically deleted from my home and i must reinstall the app to have the
widget in widget list.
Is there any specific code must be done to prevent that thing?
Thanks
--
DddDddDDdDDdDDddDDdDD
-Original Message-
From: ndiiie 90 rnd...@gmail.com
Sender: android-developers@googlegroups.com
Date: Sat, 6 Aug 2011 00:17:57
To: android-developers@googlegroups.com
Reply-To: android-developers@googlegroups.com
Subject: [android-developers
I am having trouble when I add a one or more instances of my widget to the
home screen, remove them all, then add another.
Here is the code I use to set the onClick intent for each button (button
is a resource)
protected void matchButtonToAction(Context context, RemoteViews views,
String
I have an app which includes a app widget but only as a relatively minor
portion of the total functionality. A significant minority of my users use
it.
I notice that when setting installLocation to auto, the widgets will
disappear as soon as the user moves the app to the SD card. When the app
Hello,
I followed widget definition guidelines described at
http://developer.android.com/guide/topics/appwidgets/index.html#MetaData
and I suspect that formula for calculation of widget size ((number of
cells * 74) - 2) is wrong for Honeycomb.
If wanted to create widget of size 6x4, so I added
I got an email from my Google partner advocate contact stating that
basic animations are already supported in app widgets in gingerbread.
Can someone please give me a pointer to the attribute or method/API
that I need to use to get this working?
--
You received this message because you are
On Thu, Feb 17, 2011 at 11:42 AM, Cheryl Sedota cherylsed...@gmail.comwrote:
I got an email from my Google partner advocate contact stating that basic
animations are already supported in app widgets in gingerbread.
What is a Google partner advocate contact, how did you get anyone at
Google to
I have an App Widget which I place on my home screen. It seems to
work fine, but when I reboot the phone, it is not only gone from the
home page, but is missing from the App Widget list, so I cannot add it
again. Does anyone have any idea what might be going on here?
Thanks.
--
You received
On Sat, Jan 15, 2011 at 8:11 PM, John Gaby jg...@gabysoft.com wrote:
I have an App Widget which I place on my home screen. It seems to
work fine, but when I reboot the phone, it is not only gone from the
home page, but is missing from the App Widget list, so I cannot add it
again. Does
11.01.2011 5:14, John Gaby пишет:
I tried adding a class
member variable, 'm_appWidgetManager', which I set during the onUpdate
call. However when I get the onReceive call, this value is null.
Right.
Is
this because the onReceive is called with a different instance of my
class, and if so,
I am trying to create an App Widget for the Home screen which displays
a line of text. When the user clicks on the Widget, I want the text to
change. I have pieced together the following which seems to work,
however I am concerned about how I am providing access to the
AppWidgetManager in the
Hi everyone!
I'm trying to make a simple, Intent-driven, wifi status app widget.
It simply displays a TextView with Wifi Status.
I overrided onReceive() method in AppWidgetProvider, so it could
trigger a WifiManager.WIFI_STATE_CHANGED_ACTION.
Obviously i added the intentfilter in
Thanks Mark, I was able to get the alarm manager working with the help
you provided. I appreciate it!
Rich
On 9/8/2010 7:58 AM, Mark Murphy wrote:
My widget currently has a service with a function called buildUpdate that
returns a RemoteViews object.
To enable 5 minute updates, I need to:
-
Hi Mark, thank you for responding. I've looked through the code you
provided and I'm still a little unclear. I don't believe I need any of
the wakeful intent code, correct?
My widget currently has a service with a function called buildUpdate
that returns a RemoteViews object.
To enable 5
On Wed, Sep 8, 2010 at 9:52 AM, Rich Allen ricow...@gmail.com wrote:
Hi Mark, thank you for responding. I've looked through the code you
provided and I'm still a little unclear. I don't believe I need any of the
wakeful intent code, correct?
Probably not, in your case, since you said you
Hi all,
I've created a simple app widget for personal use that queries a
site from the internet, parses the XML received and displays some info
from it. I'm using a Droid X, if that makes a difference; both in the
emulator and as physical hardware, developing in the Android version
of the
On Mon, Sep 6, 2010 at 1:15 PM, Rich ricow...@gmail.com wrote:
No matter what I put in updatePeriodMillis, the shortest refresh
time I can get is 30 minutes (I thought this was a 1.6 only bug but
apparently not since I'm running 2.1)
It is not a bug.
I don't want the widget to refresh
Hi All,
I have developed an app widget, on which i am displaying text which
i am getting from network.
I have set update time daily as android:updatePeriodMillis=8640,
my widget is updating properly on 1.5 sdk but not updating on 1.6 and
2.1, below is my code, please update me where am worng,
Not really. I meanwhile just stopped feeling that I was doing it wrong ;-)
It's probably meant to be used this way.
I now display my widget in an invalid state first and then configure it
afterwards.
On Sun, May 30, 2010 at 9:35 AM, Yuvi yuvidr...@gmail.com wrote:
Hey,
have you solved this
Hey,
have you solved this problem? I am facing right now the exact same thing
(that onEnabled() is called when the Configuration utility is launched, and
not when the actual widget is placed on the home screen).
Thanks!
Yuvi
--
YuviDroid
http://android.yuvalsharon.net
On Sat, Feb 27, 2010 at
Hey guys,
I am bit puzzled by an app widget's lifecyle.
When I create a widget my own configuration activity is launched,
some data is entered, I store this data some place and call finish on
my config activity like this:
Intent resultValue = new Intent();
I hav an app that is like a relational database. There is a main app
activity that users manage things with. There is also a widget that
will display important info and add data to the database. When the
widget is clicked, a configure class displays a way for the user to
edit data. When the
what are the 4x1 app widget sizes for WVGA and FWVGA in both portrait
and landscape?
--
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,
Multiply by 1.5.
On Sat, Oct 31, 2009 at 8:23 AM, sdphil phil.pellouch...@gmail.com wrote:
what are the 4x1 app widget sizes for WVGA and FWVGA in both portrait
and landscape?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Hello,
I've built an app widget -- a fairly simple one -- that draws an image
inside a frame. (If that sounds familiar, that's because it's very
similar to the built-in one, but it's a start to something else.)
The RemoteView consists of little more than a FrameView and an
ImageView. I have a
public class SearchWidget extends AppWidgetProvider {
@Override
public void onUpdate(Context context, AppWidgetManager
appWidgetManager,
int[] appWidgetIds) {
// TODO Auto-generated method stub
// super.onUpdate(context,
32 matches
Mail list logo