[android-beginners] custmers gain

2010-05-19 Thread t mal
The site piece of article talk about http://www.shoppingreps.com?SourceId=11221

I visited this site and I found really good and implemented the social
networking for group shopping. I registered my intention to buy Plasma
TV and I received a email within a couple of day. Now I have to
bargain for a group of 4 people who wanted to buy the same Plasma TV
from Teynampet in Chennai. I am excited anybody wants to join this
group. Please visit http://www.shoppingreps.com?SourceId=11221

-- 
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] radiobutton gruop

2010-05-19 Thread Rc3375
Hi Everyone,
I have a RadioGroup01 with 3 buttions within that group.  My question
is, how do you detect which button(1), button(2) or button(3) was
selected by the user using the java switch statement?
Thanks to all,
Rc3375

-- 
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] Style in design-time

2010-05-19 Thread Nick
Hi, guys!

I create a simple style:


 style name=YMTitleText
  item name=android:textStylebold/item
  item name=android:textColor@color/yooMeeWhite/item
  item name=android:shadowColor#FF00/item
  item name=android:shadowDx-1/item
  item name=android:shadowDy-1/item
  item name=android:shadowRadius1/item
  item name=android:textSize18dip/item
  /style

or more easy:

style name=YMBlackText14
  item name=android:textStylenormal/item
  item name=android:textColor@color/Black/item
  item name=android:textSize14dip/item
  /style


and try to use it. But in design-time I see a text without my style.
When I run app everything fine.
How I can resolve this problem, if it's possiple?

Thanks

-- 
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] Android rtsp video frame rate loss?

2010-05-19 Thread tty
Is it possible to calculate the frame rate (loss) of a rtsp video
playing inside a VideoView or MediaPlayer?

-- 
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] Confused about where I should be posting with the most active users.

2010-05-19 Thread CaRNaGe_46038
What is there a group here at Google with a homepage that directs us
to another group at StackOverflow. Isn't there a Google supported
group just like Microsoft having the MSDN groups?

Thanks.

-- 
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] radiobutton gruop

2010-05-19 Thread TreKing
On Wed, May 19, 2010 at 11:22 AM, Rc3375 rcobb3...@gmail.com wrote:

 My question is, how do you detect which button(1), button(2) or button(3)
 was selected by the user using the java switch statement?


Look at the documentation for RadioGroup. Specifically, these two:

 int 
getCheckedRadioButtonIdhttp://developer.android.com/reference/android/widget/RadioGroup.html#getCheckedRadioButtonId()
()

Returns the identifier of the selected radio button in this group.
 void 
setOnCheckedChangeListenerhttp://developer.android.com/reference/android/widget/RadioGroup.html#setOnCheckedChangeListener(android.widget.RadioGroup.OnCheckedChangeListener)
(RadioGroup.OnCheckedChangeListenerhttp://developer.android.com/reference/android/widget/RadioGroup.OnCheckedChangeListener.html
 listener)

Register a callback to be invoked when the checked radio button changes in
this group.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
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] Different views in a widget

2010-05-19 Thread repole
Hi everyone,

So I've got a simple widget up and running, but am having a few
problems with different Views. I have a class that extends ImageView,
and while ImageView works fine in the Widget, my extended class causes
me to get a Problem Loading Widget error.

The class I'm using is OpenXWidget, does anyone here have experience
with OpenX or have any ideas as to why a class that extends ImageView
wouldn't work in my Widget?

-- 
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] Different views in a widget

2010-05-19 Thread Justin Anderson
This is a widget to be used on the Android desktop?  If so, you can only
use classes that are marked as a RemoteView... This means you cannot use
sub-classes in your widget because the sub-class is not marked as a
RemoteView.

The list of classes that are allowed are:

   - FrameLayout
   - LinearLayout
   - RelativeLayout
   - AnalogClock
   - Button
   - Chronometer
   - ImageButton
   - ImageView
   - ProgrssBar
   - TextView

and can be found on this page:
http://developer.android.com/guide/topics/appwidgets/index.html


--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Wed, May 19, 2010 at 12:20 PM, repole n.rep...@gmail.com wrote:

 Hi everyone,

 So I've got a simple widget up and running, but am having a few
 problems with different Views. I have a class that extends ImageView,
 and while ImageView works fine in the Widget, my extended class causes
 me to get a Problem Loading Widget error.

 The class I'm using is OpenXWidget, does anyone here have experience
 with OpenX or have any ideas as to why a class that extends ImageView
 wouldn't work in my Widget?

 --
 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.comandroid-beginners%2bunsubscr...@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] Re: Different views in a widget

2010-05-19 Thread repole
Ah so I see, that is pretty unfortunate for my sake...

thanks for the quick response!

On May 19, 2:46 pm, Justin Anderson janderson@gmail.com wrote:
 This is a widget to be used on the Android desktop?  If so, you can only
 use classes that are marked as a RemoteView... This means you cannot use
 sub-classes in your widget because the sub-class is not marked as a
 RemoteView.

 The list of classes that are allowed are:

    - FrameLayout
    - LinearLayout
    - RelativeLayout
    - AnalogClock
    - Button
    - Chronometer
    - ImageButton
    - ImageView
    - ProgrssBar
    - TextView

 and can be found on this 
 page:http://developer.android.com/guide/topics/appwidgets/index.html

 --
 There are only 10 types of people in the world...
 Those who know binary and those who don't.
 --



 On Wed, May 19, 2010 at 12:20 PM, repole n.rep...@gmail.com wrote:
  Hi everyone,

  So I've got a simple widget up and running, but am having a few
  problems with different Views. I have a class that extends ImageView,
  and while ImageView works fine in the Widget, my extended class causes
  me to get a Problem Loading Widget error.

  The class I'm using is OpenXWidget, does anyone here have experience
  with OpenX or have any ideas as to why a class that extends ImageView
  wouldn't work in my Widget?

  --
  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.comandroid-beginners%2bunsubscr...@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 
 athttp://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://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] Different views in a widget

2010-05-19 Thread Kostya Vasilyev

19.05.2010 22:46, Justin Anderson пишет:

The class I'm using is OpenXWidget, does anyone here have experience
with OpenX or have any ideas as to why a class that extends ImageView
wouldn't work in my Widget?


It seems that OpenXWidget is well, not a widget.

It is a View subclass, and can be used in your application within a 
regular layout.


However, it's not an Android home screen widget.

--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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] Re: Different views in a widget

2010-05-19 Thread repole
That is correct, not the best of names for something that is an
extension of ImageView rather than a widget. I knew that going in,
however I was unaware that displaying a user defined view subclass
(like OpenXWidget) in my own widget is not possible.

Unfortunately nothing is ever as easy as I'd hope, time to try and
find a work around :)

On May 19, 2:52 pm, Kostya Vasilyev kmans...@gmail.com wrote:
 19.05.2010 22:46, Justin Anderson пишет:

  The class I'm using is OpenXWidget, does anyone here have experience
  with OpenX or have any ideas as to why a class that extends ImageView
  wouldn't work in my Widget?

 It seems that OpenXWidget is well, not a widget.

 It is a View subclass, and can be used in your application within a
 regular layout.

 However, it's not an Android home screen widget.

 --
 Kostya Vasilev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com

 --
 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 
 athttp://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://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] Re: Different views in a widget

2010-05-19 Thread Kostya Vasilyev

You could port OpenXWidget to work with home screen widgets.

Its code structure is very close to what's needed - it does its work in 
a separate thread and updates the UI as needed.


Take a look at Wiktionary sample in Android SDK. It also does an asynch 
fetch from the Web and updates the widget with the results.


-- Kostya

19.05.2010 22:58, repole пишет:

That is correct, not the best of names for something that is an
extension of ImageView rather than a widget. I knew that going in,
however I was unaware that displaying a user defined view subclass
(like OpenXWidget) in my own widget is not possible.

Unfortunately nothing is ever as easy as I'd hope, time to try and
find a work around :)

On May 19, 2:52 pm, Kostya Vasilyevkmans...@gmail.com  wrote:
   

19.05.2010 22:46, Justin Anderson пишет:

 

The class I'm using is OpenXWidget, does anyone here have experience
with OpenX or have any ideas as to why a class that extends ImageView
wouldn't work in my Widget?
   

It seems that OpenXWidget is well, not a widget.

It is a View subclass, and can be used in your application within a
regular layout.

However, it's not an Android home screen widget.

--
Kostya Vasilev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com

--
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 
athttp://stackoverflow.com/questions/tagged/android

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



--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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] Strange WebView behaviour on HTC Incredible

2010-05-19 Thread Stormtap Studios
My app has an Activity that places a WebView in between a bar I made
with the title of the screen, and a toolbar I made at the bottom with
some buttons on it.

I load content into the WebView via this call:

String header = the title for the content
String content = HTML string containing all the content
String baseURL = A base URL, any link in the content is relative to
this URL

String htmlContent = html\nbody\n +
 h1 +
 header +
 /h1\n +
 content +
 \n/body\n/html;
articleWebView.loadDataWithBaseURL(baseURL, htmlContent, text/html,
utf-8, null);

This works fine on every device I've tested with but behaves strangely
on the HTC Incredible.  On the Incredible the content is zoomed in for
some reason, but the worse problem is that when you scroll the content
the top of the screen starts going either gray or black, by the time
you are scrolled to the end of the document being viewed the HTML area
is completely gray or black.

The HTC Incredible is on firmware version 2.1-update1.

Has anyone else seen this kind of behaviour before?

Thanks,

Robert Hawkey

-- 
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] Android Scaled Drawing to ImageView

2010-05-19 Thread Mitch
I'm drawing some simple shapes using canvas.drawCircle(),
canvas.drawLine() etc. I originally copied the code from:

http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/DrawPoints.html

Which extends a View and draws directly to a canvas. It doesn't load a
pre-drawn bitmap because I need my application to turn data into a
drawing and the user will enter the data.

My changes work, but the drawing is too small (or big) and doesn't
fill the screen using all the available screen.

Ideally I'd rather use something like an ImageView in .XML like so:

ImageView ...
android:scaleType=fitCenter
/ImageView

If that's possible. The documentation seems to imply that I want to
set the scaleType as shown in the above .XML which seems like the
simple way to do this.

If using an ImageView in .XML is a good idea, then I'm lost on how to
draw to the ImageView and could use some guidance on doing that task.
If that won't work, then I'll need to do some more thinking about how
to get my drawing scaled on the screen and basically I'm lazy and
would rather have Android do the work for me. Feel free to suggest
some other way that's completely different is this is the wrong
solution path. :)

Thanks.

-- 
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] Re: Different views in a widget

2010-05-19 Thread repole
I'll give the Wiktionary sample a look, thanks for the reference.

In porting it, is the idea basically to convert the functions in the
OpenXWidget class to functions that, rather than telling this to do
something, tell an ImageView defined in my widget class to do
something?

On May 19, 3:05 pm, Kostya Vasilyev kmans...@gmail.com wrote:
 You could port OpenXWidget to work with home screen widgets.

 Its code structure is very close to what's needed - it does its work in
 a separate thread and updates the UI as needed.

 Take a look at Wiktionary sample in Android SDK. It also does an asynch
 fetch from the Web and updates the widget with the results.

 -- Kostya

 19.05.2010 22:58, repole пишет:



  That is correct, not the best of names for something that is an
  extension of ImageView rather than a widget. I knew that going in,
  however I was unaware that displaying a user defined view subclass
  (like OpenXWidget) in my own widget is not possible.

  Unfortunately nothing is ever as easy as I'd hope, time to try and
  find a work around :)

  On May 19, 2:52 pm, Kostya Vasilyevkmans...@gmail.com  wrote:

  19.05.2010 22:46, Justin Anderson пишет:

  The class I'm using is OpenXWidget, does anyone here have experience
  with OpenX or have any ideas as to why a class that extends ImageView
  wouldn't work in my Widget?

  It seems that OpenXWidget is well, not a widget.

  It is a View subclass, and can be used in your application within a
  regular layout.

  However, it's not an Android home screen widget.

  --
  Kostya Vasilev -- WiFi Manager + pretty widget 
  --http://kmansoft.wordpress.com

  --
  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 
  athttp://stackoverflow.com/questions/tagged/android

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

 --
 Kostya Vasilev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com

 --
 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 
 athttp://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://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