[android-beginners] Re: what's vanilla andriod?

2010-04-15 Thread a2ronus
I think Vanilla Android is just the standard Android:
http://androidforums.com/htc-incredible/55162-vanilla-android-vs-htc-sense-ui.html.

On 8 apr, 07:22, Tao mt8...@gmail.com wrote:
 I heart andriod 1.5,1.6,2.0,2.1;but do not hear vanilla andriod, is
 there anybody know that? Thank you.

-- 
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

To unsubscribe, reply using remove me as the subject.


[android-beginners] Re: What version of Android to use when programming basic apps?

2010-04-12 Thread a2ronus
If you are going to publish the app on the Market, you might want to
think about these issues:

- An overview the relative amount of how many users are using which
Android platform version: 
http://developer.android.com/intl/zh-CN/resources/dashboard/platform-versions.html.

- On top of that you might want to know that 1.6 (Donut) has better
support for developing layouts for different screen sizes: High
density (HDPI), Medium density (MDPI) and Low Density (LDPI).

I would recommend starting with 1.6, since a lot of people use it, and
is has better support for different screen sizes/densities. If you run
into limitations, then you might want to switch to a higher platform
version.

On Apr 10, 7:55 am, chris0101 9chri...@gmail.com wrote:
 First post here! I am new to programming on Android.

 I would like to know, when you start Android development, which
 version of Android do you usually choose (the latest or v1.5)?

 The benefit of testing in the latest I guess would be having the
 newest and best APIs (and any bugfixes), whereas the oldest assures
 reverse compatibility. (Of course, you can always test in the
 simulator and on a few devices). Anyways, when you create apps, what
 version do you usually choose?

-- 
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

To unsubscribe, reply using remove me as the subject.


[android-beginners] Re: How to display 'Column title' on the top of List ?

2010-04-09 Thread a2ronus
Hi JavaCoffee,

I assume that you're using a ListView?

1. To add a header that scrolls with the content, take a look at:
http://developer.android.com/intl/fr/reference/android/widget/ListView.html#addHeaderView(android.view.View).
2. For a fixed header, you can take a look at:
http://groups.google.com/group/android-developers/browse_thread/thread/23ea7d0394f11758/584c43cf6cae5a33?lnk=gstq=fixed+footer.
Although it's about a fixed footer, there is a code example there for
a fixed header.

Good luck,

a2ronus











On 8 apr, 15:37, Javacoffee dear.jinhy...@gmail.com wrote:
 Hia2ronus,

 I mean both cases.

 Would it be possible?

 Ciao,

 On Apr 7, 10:33 pm,a2ronusaaron.jan...@gmail.com wrote:



  Do you mean a fixed header that always stays on top? Or a header that
  moves with the content?

  On 5 apr, 13:09, Javacoffee dear.jinhy...@gmail.com wrote:

   Hi guys,

   I'm  a new follower in android and facing the problem of displaying
   List data in android programming.

   Yes, I agree with that it is quite a easy to represent List data but
   don't know how to show thecolumntitlesuch as 'Name or Address' on
   the top of List. (Just like Table columns)

   Any idea regarding to the agony would be greatly appreciated.

   Kind Regards,
   Jin

-- 
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: Registering a reciever for the BOOT_COMPLETE and android:exported attribute

2010-04-07 Thread a2ronus
I guess there's no use for android:exported=false when you specify
an intent filter. So it seems logical to me that specifying an intent
filter overrules the android:exported=false.

Do you need to know this for something more specific than just
understanding?


On 6 apr, 23:50, alexk-il alexk.il.subscripti...@gmail.com wrote:
 On Apr 6, 11:24 am, a2ronus aaron.jan...@gmail.com wrote:

  Maybe those examples use intent filters?

  The default value (of android:exported) depends on whether the
  broadcast receiver contains intent filters. The absence of any filters
  means that it can be invoked only by Intent objects that specify its

 ...

 Thanks for trying to help.

 My understanding of the documentation you quote, that it is related to
 the default value of the android:exported. In other words, it
 describes the default value of the android:exported when it is not
 explicitly specified by the Manifest.

 I am not sure this explains why explicitly specified
 android:exported=false works in case of the BOOT_COMPLETE. Or did I
 miss it again?

 Best
 Alex



  exact class name. This implies that the receiver is intended only for
  application-internal use (since others would not normally know the
  class name). So in this case, the default value is false. On the
  other hand, the presence of at least one filter implies that the
  broadcast receiver is intended to receive intents broadcast by the
  system or other applications, so the default value is true.

-- 
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

To unsubscribe, reply using remove me as the subject.


[android-beginners] Re: How to display 'Column title' on the top of List ?

2010-04-07 Thread a2ronus
Do you mean a fixed header that always stays on top? Or a header that
moves with the content?


On 5 apr, 13:09, Javacoffee dear.jinhy...@gmail.com wrote:
 Hi guys,

 I'm  a new follower in android and facing the problem of displaying
 List data in android programming.

 Yes, I agree with that it is quite a easy to represent List data but
 don't know how to show the column title such as 'Name or Address' on
 the top of List. (Just like Table columns)

 Any idea regarding to the agony would be greatly appreciated.

 Kind Regards,
 Jin

-- 
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

To unsubscribe, reply using remove me as the subject.


[android-beginners] Re: Problem in implementing OnClickListener of a button inside linearlayout

2010-04-06 Thread a2ronus
Did you add the other Activity to the AndroidManifest.xml?


On 2 apr, 04:39, Sebastián Treu sebastian.t...@gmail.com wrote:
 On Thu, Apr 1, 2010 at 12:35 PM, Akiduki xyy1...@gmail.com wrote:

 Intent intent = new Intent(RatingPlayer.this.getApplication(),Inplayer.class);

 Sure this line is correct?

 --
 If you want freedom, compile the source. Get gentoo.

 Sebastián Treuhttp://labombiya.com.ar

-- 
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: Registering a reciever for the BOOT_COMPLETE and android:exported attribute

2010-04-06 Thread a2ronus
On 3 apr, 18:47, alexk-il alexk.il.subscripti...@gmail.com wrote:
 On Apr 3, 7:46 pm, alexk-il alexk.il.subscripti...@gmail.com wrote:

  Hi,

  I am trying to understand how the  android:exported=[true,false]
  forks

 Ooops, should be works :)

Maybe those examples use intent filters?

The default value (of android:exported) depends on whether the
broadcast receiver contains intent filters. The absence of any filters
means that it can be invoked only by Intent objects that specify its
exact class name. This implies that the receiver is intended only for
application-internal use (since others would not normally know the
class name). So in this case, the default value is false. On the
other hand, the presence of at least one filter implies that the
broadcast receiver is intended to receive intents broadcast by the
system or other applications, so the default value is true.

-- 
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

To unsubscribe, reply using remove me as the subject.


[android-beginners] Re: Align ImageView to the right

2010-03-30 Thread a2ronus
Have you tried the RelativeLayout yet?

Here's an example:

?xml version=1.0 encoding=utf-8?
RelativeLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_width=fill_parent
android:layout_height=wrap_content
android:background=#FF

TextView
android:text=left
android:id=@+id/TextView01
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_alignParentLeft=true
android:background=#00FF00
/
ImageView android:id=@+id/ImageView01
android:layout_width=wrap_content
android:layout_height=wrap_content
android:src=@drawable/icon
android:gravity=right
android:layout_alignParentRight=true
android:background=#00
/
/RelativeLayout



On 22 mrt, 19:30, Rodrigo Chiossi xrodr...@gmail.com wrote:
 Hi there!
 I'm new to android and I'm trying to create a simple layout, with a
 TextView aligned to the left and an ImageView aligned to the right,
 both in the same line.
 I've tried many approaches, but the Imageview never aligns to the
 right. Here is my latest attempt:

 ?xml version=1.0 encoding=utf-8?
 TableLayout xmlns:android=http://schemas.android.com/apk/res/
 android
     android:orientation=vertical
     android:layout_width=fill_parent
     android:layout_height=wrap_content
     TableRow
         TextView android:text=@string/label_dots
             android:id=@+id/TextView01
             android:layout_width=wrap_content
             android:layout_height=fill_parent
             android:gravity=left/
         ImageView android:id=@+id/ImageView01
             android:layout_width=fill_parent
             android:layout_height=fill_parent
             android:src=@drawable/action_add
             android:gravity=right/
     /TableRow
 /TableLayout

 It doesn't work on eclipse Layout preview and it doesn't work on my
 G1.
 Any ideas how to fix it?

-- 
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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-beginners] Re: problem in switching two activities

2010-03-30 Thread a2ronus
You also might want to take a look at:
http://www.warriorpoint.com/blog/2009/05/24/android-how-to-switch-between-activities/

On 23 mrt, 13:30, Ramji ch.cha...@gmail.com wrote:
 Hi,
 I just started programmind an application using Eclipse for Android.
 I am creating 2 screens.

 1st screen:
 Has a button which onClick -- takes you to the 2nd screen.

 2nd screen:
 Has a button which onClick --  takes you to the 1st screen.

 just like NEXT and BACK.

 But somehow i keep getting Application Simple application has
 stopped
 unexpectedly. Force Close.

 My code:Simple.java

 package com.sample;

 import android.app.Activity;
 import android.os.Bundle;
 import android.view.View;
 import android.view.View.OnClickListener;
 import android.widget.Button;

 public class sample extends Activity {
     /** Called when the activity is first created. */
     @Override
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.main);

         Button b1 = (Button)findViewById(R.id.button1);

         b1.setOnClickListener(new OnClickListener() {
                 public void onClick(View v)
                 {
                         setContentView(R.layout.main1);

                         Button b2 = (Button)findViewById(R.id.button2);

                         b2.setOnClickListener(new OnClickListener() {
                                 public void onClick(View v1)
                                 {
                                         setContentView(R.layout.main);
                                 }
                         });
                 }
         });
     }

 }

 Can any once tell what went wrong or what is the best way to do it?

 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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.