Re: [android-beginners] Creating a listview in for an android home screen widgets

2010-07-25 Thread YuviDroid
Only home replacements apps are supporting scrollable widgets...you can take
a look here:
http://groups.google.com/group/android-appwidget-extensions

On Sun, Jul 25, 2010 at 8:30 PM, Rodney Lendore wrote:

> So is there another way to create a scrollable List in a widget ? I
> thinking along the lines of the HTC Calender widget in which you can scroll
> through all your events for the month etc.
>
> Thanks
>
> On Sun, Jul 25, 2010 at 6:23 PM, Justin Anderson 
> wrote:
>
>> That is correct... Only specific views can be used in a RemoteView. The
>> documentation specifies which views can be used.
>>
>> On Jul 25, 2010 10:06 AM, "Rodney Lendore" 
>> wrote:
>>
>> Hi,
>>
>> I was trying to create a scrolling list view for an android home screen
>> widget with the following layout
>>
>> 
>> 
>> 
>> http://schemas.android.com/apk/res/android
>> "
>> android:orientation="vertical"
>> android:layout_width="200dp"
>> android:layout_height="280dp"
>> android:paddingLeft="8dp"
>> android:paddingRight="8dp"
>> android:background="@drawable/background">
>>
>>  >  android:layout_width="fill_parent"
>> android:layout_height="50px"
>> android:layout_alignParentLeft="true"
>> android:src="@drawable/iet_logo"
>> android:layout_alignParentTop="true" />
>> http://schemas.android.com/apk/res/android";
>> android:layout_width="fill_parent"
>> android:layout_height="wrap_content"
>> android:orientation="vertical"
>> android:layout_centerInParent="true">
>>
>> http://schemas.android.com/apk/res/android";
>> android:layout_width="fill_parent"
>> android:layout_height="wrap_content"
>> android:layout_below="@+id/iet_logo"
>> android:text="Current Local Network"/>
>>
>> http://schemas.android.com/apk/res/android";
>> android:layout_width="fill_parent"
>> android:layout_height="wrap_content"
>> android:layout_below="@+id/iet_logo"
>> android:layout_align
>> android:text="Current Local Network"/>
>>   >android:layout_width="fill_parent"
>>android:layout_height="wrap_content"
>>android:background="#FF"
>>android:layout_weight="1"
>>android:drawSelectorOnTop="false"
>>android:layout_below="@+id/ietw_title"/>
>>
>>   >android:layout_width="fill_parent"
>>android:layout_height="wrap_content"
>>android:background="#FF"
>>android:text="No data"/>
>>  
>>
>> 
>>
>> But kept on getting the following error:
>> Caused by: android.view.InflateException: Binary XML file line #36: Class
>> not allowed to be inflated android.widget.ListView
>>
>> I understood this to mean that ListViews were not one of  the accepted
>> views for a RemoteView.
>>
>> Is there any other way for me to implement a scrolling list view in a
>> Remoteview.
>>
>> Many Thanks in Advance
>>
>> Rodney
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Beginners" group.
>>
>> NEW! Try asking and tagging your question on Stack Overflow at
>> http://stackoverflow.com/questions/tagged/android
>>
>> To unsubscribe from this group, send email to
>> android-beginners+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-beginners?hl=en
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Beginners" group.
>>
>> NEW! Try asking and tagging your question on Stack Overflow at
>> http://stackoverflow.com/questions/tagged/android
>>
>> To unsubscribe from this group, send email to
>> android-beginners+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-beginners?hl=en
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>



-- 
YuviDroid
Check out Launch-X  (a widget to
quickly access your favorite apps and contacts!)
http://android.yuvalsharon.ne

Re: [android-beginners] Creating a listview in for an android home screen widgets

2010-07-25 Thread Kostya Vasilyev
Sure. Add one or more (repeating) views, make a couple buttons for scrolling
to previous/next positions, and update data item views when these buttons
are clicked.

Press and drag is reserved for home screen switching, anyway.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

25.07.2010 22:30 пользователь "Rodney Lendore" 
написал:

So is there another way to create a scrollable List in a widget ? I thinking
along the lines of the HTC Calender widget in which you can scroll through
all your events for the month etc.

Thanks


On Sun, Jul 25, 2010 at 6:23 PM, Justin Anderson 
wrote:
>
> That is corre...

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Creating a listview in for an android home screen widgets

2010-07-25 Thread Rodney Lendore
So is there another way to create a scrollable List in a widget ? I thinking
along the lines of the HTC Calender widget in which you can scroll through
all your events for the month etc.

Thanks

On Sun, Jul 25, 2010 at 6:23 PM, Justin Anderson wrote:

> That is correct... Only specific views can be used in a RemoteView. The
> documentation specifies which views can be used.
>
> On Jul 25, 2010 10:06 AM, "Rodney Lendore" 
> wrote:
>
> Hi,
>
> I was trying to create a scrolling list view for an android home screen
> widget with the following layout
>
> 
> 
> 
> http://schemas.android.com/apk/res/android";
> android:orientation="vertical"
> android:layout_width="200dp"
> android:layout_height="280dp"
> android:paddingLeft="8dp"
> android:paddingRight="8dp"
> android:background="@drawable/background">
>
>android:layout_width="fill_parent"
> android:layout_height="50px"
> android:layout_alignParentLeft="true"
> android:src="@drawable/iet_logo"
> android:layout_alignParentTop="true" />
> http://schemas.android.com/apk/res/android";
> android:layout_width="fill_parent"
> android:layout_height="wrap_content"
> android:orientation="vertical"
> android:layout_centerInParent="true">
>
> http://schemas.android.com/apk/res/android";
> android:layout_width="fill_parent"
> android:layout_height="wrap_content"
> android:layout_below="@+id/iet_logo"
> android:text="Current Local Network"/>
>
> http://schemas.android.com/apk/res/android";
> android:layout_width="fill_parent"
> android:layout_height="wrap_content"
> android:layout_below="@+id/iet_logo"
> android:layout_align
> android:text="Current Local Network"/>
>   android:layout_width="fill_parent"
>android:layout_height="wrap_content"
>android:background="#FF"
>android:layout_weight="1"
>android:drawSelectorOnTop="false"
>android:layout_below="@+id/ietw_title"/>
>
>   android:layout_width="fill_parent"
>android:layout_height="wrap_content"
>android:background="#FF"
>android:text="No data"/>
>  
>
> 
>
> But kept on getting the following error:
> Caused by: android.view.InflateException: Binary XML file line #36: Class
> not allowed to be inflated android.widget.ListView
>
> I understood this to mean that ListViews were not one of  the accepted
> views for a RemoteView.
>
> Is there any other way for me to implement a scrolling list view in a
> Remoteview.
>
> Many Thanks in Advance
>
> Rodney
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Creating a listview in for an android home screen widgets

2010-07-25 Thread Justin Anderson
That is correct... Only specific views can be used in a RemoteView. The
documentation specifies which views can be used.

On Jul 25, 2010 10:06 AM, "Rodney Lendore"  wrote:

Hi,

I was trying to create a scrolling list view for an android home screen
widget with the following layout




http://schemas.android.com/apk/res/android";
android:orientation="vertical"
android:layout_width="200dp"
android:layout_height="280dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:background="@drawable/background">

 
http://schemas.android.com/apk/res/android";
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_centerInParent="true">

http://schemas.android.com/apk/res/android";
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/iet_logo"
android:text="Current Local Network"/>

http://schemas.android.com/apk/res/android";
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/iet_logo"
android:layout_align
android:text="Current Local Network"/>
  

  
 



But kept on getting the following error:
Caused by: android.view.InflateException: Binary XML file line #36: Class
not allowed to be inflated android.widget.ListView

I understood this to mean that ListViews were not one of  the accepted views
for a RemoteView.

Is there any other way for me to implement a scrolling list view in a
Remoteview.

Many Thanks in Advance

Rodney

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Creating a listview in for an android home screen widgets

2010-07-25 Thread Rodney Lendore
Hi,

I was trying to create a scrolling list view for an android home screen
widget with the following layout




http://schemas.android.com/apk/res/android";
android:orientation="vertical"
android:layout_width="200dp"
android:layout_height="280dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:background="@drawable/background">

 
http://schemas.android.com/apk/res/android";
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_centerInParent="true">

http://schemas.android.com/apk/res/android";
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/iet_logo"
android:text="Current Local Network"/>

http://schemas.android.com/apk/res/android";
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/iet_logo"
android:layout_align
android:text="Current Local Network"/>
  

  
 



But kept on getting the following error:
Caused by: android.view.InflateException: Binary XML file line #36: Class
not allowed to be inflated android.widget.ListView

I understood this to mean that ListViews were not one of  the accepted views
for a RemoteView.

Is there any other way for me to implement a scrolling list view in a
Remoteview.

Many Thanks in Advance

Rodney

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en