[android-developers] app Widget - open configure activity problem

2016-10-29 Thread bravestork
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

[android-developers] App widget design guideline

2012-03-13 Thread surabhi jain
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

Re: [android-developers] App widget design guideline

2012-03-13 Thread TreKing
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

Re: [android-developers] App widget design guideline

2012-03-13 Thread surabhi jain
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

[android-developers] App Widget fails to be added, thanks to customized platform

2011-08-30 Thread eagle
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

Re: [android-developers] App Widget fails to be added, thanks to customized platform

2011-08-30 Thread Dianne Hackborn
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:

[android-developers] App Widget Automatically Deleted after Reboot

2011-08-05 Thread ndiiie 90
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 --

Re: [android-developers] App Widget Automatically Deleted after Reboot

2011-08-05 Thread b . ampwera
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

[android-developers] App Widget stops responding to input after all instances are removed and another added

2011-08-02 Thread Ash McConnell
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

[android-developers] App Widget considerations when enabling installLocation in manifest

2011-05-31 Thread Mark Carter
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

[android-developers] App Widget (Home Screen Widgets) size in Honeycomb

2011-05-23 Thread Tomáš Hubálek
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

[android-developers] App widget animations possible with Gingerbread?

2011-02-17 Thread Cheryl Sedota
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

Re: [android-developers] App widget animations possible with Gingerbread?

2011-02-17 Thread TreKing
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

[android-developers] App Widget disappears on reboot

2011-01-15 Thread John Gaby
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

Re: [android-developers] App Widget disappears on reboot

2011-01-15 Thread Mark Murphy
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

Re: [android-developers] App Widget

2011-01-11 Thread Kostya Vasilyev
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,

[android-developers] App Widget

2011-01-10 Thread John Gaby
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

[android-developers] App Widget update problem

2010-11-29 Thread Mariux
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

Re: [android-developers] App Widget with AlarmManager... full example source?

2010-09-09 Thread Rich Allen
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: -

Re: [android-developers] App Widget with AlarmManager... full example source?

2010-09-08 Thread Rich Allen
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

Re: [android-developers] App Widget with AlarmManager... full example source?

2010-09-08 Thread Mark Murphy
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

[android-developers] App Widget with AlarmManager... full example source?

2010-09-07 Thread Rich
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

Re: [android-developers] App Widget with AlarmManager... full example source?

2010-09-07 Thread Mark Murphy
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

[android-developers] App Widget Updating Issue on 1.6 and 2.1?????

2010-07-14 Thread Gulfam
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,

Re: [android-developers] App Widget Lifecycle?

2010-06-01 Thread Mariano Kamp
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

Re: [android-developers] App Widget Lifecycle?

2010-05-30 Thread Yuvi
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

[android-developers] App Widget Lifecycle?

2010-02-27 Thread Mariano Kamp
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();

[android-developers] App widget configue activity opens main activity.

2010-01-10 Thread BiiG
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

[android-developers] app widget sizes for WVGA and FWVGA

2009-10-31 Thread sdphil
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,

Re: [android-developers] app widget sizes for WVGA and FWVGA

2009-10-31 Thread Dianne Hackborn
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

[android-developers] App Widget and Orientation Changes

2009-09-01 Thread lilbyrdie
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

[android-developers] app widget problem(sdk1.5)

2009-05-03 Thread davidyu
public class SearchWidget extends AppWidgetProvider { @Override public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { // TODO Auto-generated method stub // super.onUpdate(context,