[android-beginners] Re: How to code a music player in android .......

2008-11-04 Thread tagore

You can create an android project, and use the android sdk to develop
it.
There are some classes like android.media.MediaPlayer which will help
you to develop it.
See:http://code.google.com/android/reference/android/media/
MediaPlayer.html

On Nov 4, 6:31 pm, guna [EMAIL PROTECTED] wrote:
 Use mediaplayer class like player in j2me for video player. But format
 suppored by the class is limited.

 Thanks,
 Guna

 On Nov 3, 5:19 pm, Rajib [EMAIL PROTECTED] wrote:

  Hi.

  I want to develop a Video player in android but I donot how how to
  start. I have done it in J2ME.
  please help me out..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: question about build android

2008-11-04 Thread tagore

You might use sun-jdk6, aren't you?
To solve this problem, you can install a sun-jdk5-update15:
Under ubuntu:
sudo apt-get install sun-java5-sdk

Tagore

On Nov 5, 1:11 am, David Turner [EMAIL PROTECTED] wrote:
 you need to install Sun's JDK, gcj is not supported

 On Tue, Nov 4, 2008 at 10:43 AM, hunter [EMAIL PROTECTED] wrote:

  Hi, all:
      I try to build android on my linux, but failed with following
  errors:
  build/core/product_config.mk:229: WARNING: adding test OTA key
  host C: acp = build/tools/acp/acp.c
  cp: cannot stat `out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/
  acp.d': No such file or directory
  /bin/bash: line 1: out/host/linux-x86/obj/EXECUTABLES/
  acp_intermediates/acp.d: No such file or directory
  host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/
  acp_intermediates/acp)
  true
  Install: out/host/linux-x86/bin/acp
  host Java: droiddoc (out/host/common/obj/JAVA_LIBRARIES/
  droiddoc_intermediates/classes)
  libgcj-java-placeholder.sh

  This script is a placeholder for the /usr/bin/java
  master link required by jpackage.org conventions.  libgcj's
  rmiregistry, rmic and jar tools are now slave symlinks to these
  masters, and are managed by the alternatives(8) system.

  This change was necessary because the rmiregistry, rmic and jar tools
  installed by previous versions of libgcj conflicted with symlinks
  installed by jpackage.org JVM packages.

  This script was designed to be overridden by the supported RHEL3 JRE
  packages, java-1.4.2-bea and java-1.4.2-ibm.  It is installed as an
  alternative symlink as /usr/bin/java.  It will override a third-party
  (non-RHEL3) JRE's java command if the JRE's bin directory is listed
  after /usr/bin in PATH.  In that case, it is recommended that the
  third-party JRE's bin directory be listed first in PATH instead.

  gij: unrecognized option -- `-J-Xmx256m'
  Try `gij --help' for more information.

  I have install gcc-4.3.2 and my gij version is
  $ gij -v
  gij: unrecognized option -- `-v'
  Try `gij --help' for more information.
  [EMAIL PROTECTED] bin]$ gij --version
  java version 1.5.0
  gij (GNU libgcj) version 4.3.2

  Copyright (C) 2007 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There
  is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
  PURPOSE.

  Can anyone tell me what's wrong?

  Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Cannot compile Android app: Failed to create debug key

2008-11-04 Thread tagore

How about the PATH? you should add the java bin to the PATH.

On Nov 4, 3:24 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I am firstimer using Android. When i developed a simple application
 and compiled, i faced this error message:

 [2008-11-04 15:10:51 - HelloAndroid] Failed to create debug key:
 Cannot run program c:\Program Files\Java\jdk1.6.0_01\bin\bin
 \keytool.exe: CreateProcess error=3, The system cannot find the path
 specified

 [2008-11-04 15:10:51 - HelloAndroid] JAVA_HOME is set to: c:\Program
 Files\Java\jdk1.6.0_01\bin

 [2008-11-04 15:10:51 - HelloAndroid] Update it if necessary, or
 manually execute the following command:

 [2008-11-04 15:10:51 - HelloAndroid] c:\Program Files\Java
 \jdk1.6.0_01\bin\bin\keytool.exe -genkey -alias AndroidDebugKey -
 keyalg RSA -dname CN=Android Debug, O=Android, C=US -validity 365 -
 keypass android -keystore C:\Users\Quantum Inventions\AppData\Local
 \Android\debug.keystore -storepass android

 Please help me on this. Its quite urgent. Thanks a lot!!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] I can't visit the website source.android.com

2008-11-03 Thread tagore

Hi,
I can't visit the website source.android.com. My location is in China,
Asia. Does the google block the IP from here?

Tagore
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android 1.0 SDK Released

2008-10-03 Thread tagore

When will the Internationalization and Localization be released in the
SDK? Anybody know?
Thanks!

On Sep 24, 6:09 am, Megha Joshi [EMAIL PROTECTED] wrote:
 Hi everyone,

 We're pleased to announce the release of the Android 1.0 SDK, release 1.

 For full information, please see Dan Morrill's blog post:

 http://android-developers.blogspot.com/2008/09/announcing-android-10-...

 SDK Download:

http://code.google.com/android/download.html

 Overview of Changes since 0.9 SDK:

  http://code.google.com/android/migrating/0.9-1.0/changes-overview.html

 Android Developer Guide:

http://code.google.com/android/documentation.html

 Thanks for using the Android SDK and Happy coding!

 Cheers,
 The Android Team.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Something about Internationalization and Localization

2008-10-03 Thread tagore

Hi,
   I am wondering when the android develop team will consider about
the Internationalization and Localization of android. which release of
android will have Internationalization and Localization? Will the
Internationalization and Localization be seen when the resource code
of android is open.
   Thanks!

Tagore
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Is there any chm format document of android?

2008-05-20 Thread tagore

I wonder if there is a chm-format help document of android.
Can I find it somewhere or anyone send me one. Thank you in advance!

Tagore
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: New DroidDraw Release...

2008-05-19 Thread tagore

Hi. Glad to see your contribution.
But we can visit the http://www.droiddraw.org for some network reason.
Can you send me a tutorial or introduction about this.
Thank you!

On May 19, 8:34 am, brendanburns [EMAIL PROTECTED] wrote:
 Hey Folks,
 After two months (and nearly 6000 downloads!)
 There is a new release of DroidDraw available, including executables
 for Mac OS X, Windows and Linux.

 For those just tuning in, DroidDraw is a Drag 'n Drop UI designer for
 creating layout XML files.

 See:

 http://www.droiddraw.orghttp://code.google.com/p/droiddraw/

 Highlights of this release:
 * Initial Support for User Preferences
 * Scrollview now draws correctly
 * Support for the layout_margin* family of properties
 * Misc. bug fixes.

 For complete details and witty anecdotes of development see my
 development blog:

 http://droiddraw.blogspot.com

 btw, congrats to all of the contest entrants, and especially the 50
 finalists.  If you used DroidDraw for your app. I'd love to hear about
 it...

 bugs/feature requests/candy/caffeine - brendan.d.burns on gmail.
 --brendan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: no id class generated in R.java (using eclipse)

2008-05-15 Thread tagore

And check your R.java file after you have created the @+id/button_id
in your layout file.
You will find button_id member in the sub class id of R.java.
Otherwise it is wrong in writing the layout file, because the Android
can not generate this for you.

On May 14, 8:54 pm, amateur [EMAIL PROTECTED] wrote:
 Hi all,

 i copied the following code from google's website :

 package a.b;

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

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

 final Button button = (Button) findViewById(R.id.button_id);
 button.setOnClickListener(new Button.OnClickListener() {
 public void onClick(View v) {
 // Perform action on click
 }
 });
 }

 }

 this is for usage of buttons . but its showing error on the line
 having - (R.id.button_id);

 when i check my R.java file i find there is no 'id' file generated
 hence the compiler has no idea of what R.id is .

 can any body please help me ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] UI Elements distinguishing

2008-05-05 Thread tagore

What is the difference among window, view and dialog.
Why are them inherited from a common base class?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] findViewById() function return null

2008-05-05 Thread tagore

Today, I write some simple code to implement activity. See the
following codes:
public class TestLinearView extends Activity {
private EditText edit = null;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);

// Set activity content from layout view
setContentView(R.layout.relative_view);

// change the edit text
edit = (EditText)findViewById(R.id.entry);
edit.setText(Mysdfsadfdsafdsf);
}
}

However, the application crushed. After I debug into the app, I found
that the edit was null.
What is wrong with my codes? Please figure out.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] findViewById() function return null

2008-05-05 Thread tagore

Today, I write some simple code to implement activity. See the
following codes:
public class TestLinearView extends Activity {
private EditText edit = null;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);

// Set activity content from layout view
setContentView(R.layout.relative_view);

// change the edit text
edit = (EditText)findViewById(R.id.entry);
edit.setText(Mysdfsadfdsafdsf);
}
}

However, the application crushed. After I debug into the app, I found
that the edit was null.
What is wrong with my codes? Please figure out.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---