[android-beginners] Re: Error using ProgressBar View

2009-10-15 Thread Chihau Chau
Thank you!

2009/10/15 kiro 

>
> rename your class
>
> On Oct 15, 5:23 pm, Chihau Chau  wrote:
> > The ActivityView class doesn't exist
> > I have added the import android.widget.ProgressBar but Eclipse show me
> this
> > error "The import android.widget.ProgressBar conflicts with a type define
> in
> > the same file"
> >
> > 2009/10/15 kiro 
> >
> >
> >
> >
> >
> > > Did you create your own ui element "ProgressBar"? because i don't see
> > > import of android.widget.ProgressBar may be you try to cast your class
> > > to android.widget.ProgressBar?
> >
> > > On Oct 15, 4:12 pm, Chihau Chau  wrote:
> > > > I have updated from SDK 1.5 to 1.6 and I am trying to use a
> ProgressBar
> > > View
> > > > but Eclipse show a error "Cannot cast from View to ProgressBar".
> > > > This is my code:
> >
> > > > package cl.chihau.progressbar;
> >
> > > > import android.app.Activity;
> >
> > > > import android.os.Bundle;
> >
> > > > import android.os.Handler;
> >
> > > > public class ProgressBar extends Activity {
> >
> > > > /** Called when the activity is first created. */
> >
> > > >  private static int progress = 0;
> >
> > > > private ProgressBar progressBar;
> >
> > > > private int progressStatus = 0;
> >
> > > > private Handler handler = new Handler();
> >
> > > > @Override
> >
> > > > public void onCreate(Bundle savedInstanceState) {
> >
> > > > super.onCreate(savedInstanceState);
> >
> > > > setContentView(R.layout.main);
> >
> > > > /* The error is in the following line */
> >
> > > > progressBar = (ProgressBar) findViewById(R.id.progressbar);
> >
> > > > }
> >
> > > > }
> >
> > > > --
> > > > Chihau Chau
> >
> > --
> > Chihau Chau
> >
>


-- 
Chihau Chau

--~--~-~--~~~---~--~~
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
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Error using ProgressBar View

2009-10-15 Thread Chihau Chau
The ActivityView class doesn't exist
I have added the import android.widget.ProgressBar but Eclipse show me this
error "The import android.widget.ProgressBar conflicts with a type define in
the same file"

2009/10/15 kiro 

>
> Did you create your own ui element "ProgressBar"? because i don't see
> import of android.widget.ProgressBar may be you try to cast your class
> to android.widget.ProgressBar?
>
> On Oct 15, 4:12 pm, Chihau Chau  wrote:
> > I have updated from SDK 1.5 to 1.6 and I am trying to use a ProgressBar
> View
> > but Eclipse show a error "Cannot cast from View to ProgressBar".
> > This is my code:
> >
> > package cl.chihau.progressbar;
> >
> > import android.app.Activity;
> >
> > import android.os.Bundle;
> >
> > import android.os.Handler;
> >
> > public class ProgressBar extends Activity {
> >
> > /** Called when the activity is first created. */
> >
> >  private static int progress = 0;
> >
> > private ProgressBar progressBar;
> >
> > private int progressStatus = 0;
> >
> > private Handler handler = new Handler();
> >
> > @Override
> >
> > public void onCreate(Bundle savedInstanceState) {
> >
> > super.onCreate(savedInstanceState);
> >
> > setContentView(R.layout.main);
> >
> > /* The error is in the following line */
> >
> > progressBar = (ProgressBar) findViewById(R.id.progressbar);
> >
> > }
> >
> > }
> >
> > --
> > Chihau Chau
> >
>


-- 
Chihau Chau

--~--~-~--~~~---~--~~
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
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Error using ProgressBar View

2009-10-15 Thread Chihau Chau
I have updated from SDK 1.5 to 1.6 and I am trying to use a ProgressBar View
but Eclipse show a error "Cannot cast from View to ProgressBar".
This is my code:

package cl.chihau.progressbar;



import android.app.Activity;

import android.os.Bundle;

import android.os.Handler;


public class ProgressBar extends Activity {

/** Called when the activity is first created. */

 private static int progress = 0;

private ProgressBar progressBar;

private int progressStatus = 0;

private Handler handler = new Handler();



@Override

public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.main);



/* The error is in the following line */

progressBar = (ProgressBar) findViewById(R.id.progressbar);


}

}

-- 
Chihau Chau

--~--~-~--~~~---~--~~
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
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Question about the license of the non-free applications

2009-09-20 Thread Chihau Chau
Android is developed under the Apache v2 License but what about of the
non-free applications?

-- 
Chihau Chau

--~--~-~--~~~---~--~~
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
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: R.java file not being generated by eclipse plugin

2008-11-09 Thread Chihau Chau
Do you have the last version of Eclipse Plugin?
In Eclipse Europa:

   1. Select *Help* > *Software Updates* > *Find and Install...*.
   2. Select *Search for updates of the currently installed features* and
   click *Finish*.
   3. If any update for ADT is available, select and install.
   4. Restart Eclipse.


In Eclipse Ganymede:

   1. Select *Help* > *Software Updates...*
   2. Select the *Installed Software* tab.
   3. Click *Update...*
   4. If an update for ADT is available, select it and click*Finish*.
   5. Restart Eclipse.



-- 
Chihau Chau

--~--~-~--~~~---~--~~
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] proxy settings for emulator

2008-10-27 Thread Chihau Chau

I want to set a proxy server for my android emulator but the setting
doesn't work.

I have tried with "./emulator -http-proxy proxy.ucv.cl:8080" but I
don't have access to internet



-- 
Chihau Chau

--~--~-~--~~~---~--~~
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] Jar libraries support

2008-09-27 Thread Chihau Chau
Who know if Android support standard Jar Libraries?

-- 
Chihau Chau

--~--~-~--~~~---~--~~
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: Can't Download SDK?!

2008-09-27 Thread Chihau Chau
It's working for me.

2008/9/27 Rammstein <[EMAIL PROTECTED]>

>
> Hey
> I can't download the SDK from the following URI :
> http://dl.google.com/android/android-sdk-windows-1.0_r1.zip
> I get this message:
> 404 Not Found
> The requested URL /android/android-sdk-windows-1.0_r1.zip was not
> found on this server
> any mirrors?
>
> >
>


-- 
Chihau Chau

--~--~-~--~~~---~--~~
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] EditText multiline

2008-09-25 Thread Chihau Chau
how i can use EditText with multiline???

-- 
Chihau Chau

--~--~-~--~~~---~--~~
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: video tutorials

2008-09-17 Thread Chihau Chau
youtube.com

2008/9/17 criminalteddy <[EMAIL PROTECTED]>

>
> can somebody give me links for set of video tutorials for developing
> applications in android
>
> >
>


-- 
Chihau Chau

--~--~-~--~~~---~--~~
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] Android Source Code

2008-09-10 Thread Chihau Chau
Hi everybody, I have a doubt
¿Where I can find the Android source code with the Linux kernel and
Libraries sources?



-- 
Chihau Chau

--~--~-~--~~~---~--~~
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: Api Android??

2008-09-03 Thread Chihau Chau
http://code.google.com/android

2008/9/3 [EMAIL PROTECTED] <[EMAIL PROTECTED]>

>
> Salve a tutti,
> volevo sapere come si programma per Android, non ci sono le Java
> Swing...
> Un tutorial fatto meglio, che ti dice tutto quello che puoi usare?
>
> Grazie
>
> >
>


-- 
Chihau Chau

--~--~-~--~~~---~--~~
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: problem about linux (ubuntu) develop android with Eclispe

2008-09-03 Thread Chihau Chau
Hi you can download the last version of Eclipse for Linux in www.eclipse.org

2008/9/3 Olexiy K. <[EMAIL PROTECTED]>

>
>
>
> On 3 сент, 06:11, anderson <[EMAIL PROTECTED]> wrote:
> > i have some problem with linux (ubuntu)
> > when use "apt-get install eclipse " , that will install eclipse
> > 3.2.2-5ubuntu2
> >
> > but it's recommand to use  Eclipse 3.3 (Europa), 3.4 (Ganymede)
> >
> > http://code.google.com/android/intro/installing.html
> > supported Development Environments:
> > * Eclipse IDE
> > o Eclipse 3.3 (Europa), 3.4 (Ganymede)
> >
> I installed Eclipse 3.2 on Ubuntu and everything works.
> But I didn't try to run Snake
>
> >
>


-- 
Chihau Chau

--~--~-~--~~~---~--~~
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: How to create directory (folder) in the SDcard image

2008-09-02 Thread Chihau Chau
Hi patelpower, you need mount the disk image before creating the directory.
You can mount the disk image as a loop device, in linux and mac you need use
the mount command.

2008/9/1 patelpower <[EMAIL PROTECTED]>

>
> Hello everyone,
>
>  i have created sdcard image, and i could copy the Mp3 files in that
> image by pushing syntex now i want to make tree of the directory (to
> make the folder) so can anyone let me know how to create the directory
> for the disk image.
>
> Thanks
> rakesh
> >
>


-- 
Chihau Chau

--~--~-~--~~~---~--~~
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: Can anybody expains the Flow of Android Application?

2008-09-02 Thread Chihau Chau
Hi Farooq, you can go to code.google.com/android

2008/9/1 Farooq <[EMAIL PROTECTED]>

>
> Hi All,
>
> I am just trying to get an idea about the Android Application.  i have
> some doubts in this.  Can any body explains the flow of Android
> Application?
> like in java...
> 1>main method
> 2>creation of object
> 3>method calls according to the objectetc
>
> Regards
> Farooq
>
> >
>


-- 
Chihau Chau

--~--~-~--~~~---~--~~
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] addId is deprecated?

2008-08-30 Thread Chihau Chau
Hi everybody, I am trying to use this:

i.setData(Phones.CONTENT_URI.addId(idTelefono));


but I think that the method addId is deprecated, but i don't know the new
alternative for this.


The package is android.provider.Contacts.Phones



Thanks



-- 
Chihau Chau

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