[android-beginners] Re: how to pause emulator

2009-11-09 Thread kiro
Don't know how to pause, but if use Multi-core processor (my 2 cores)
then you will develop with a pleasure ;)

On Nov 9, 5:24 pm, Marton Kodok pentiu...@gmail.com wrote:
 When I run the emulator it eats 50% of the CPU continuously.
 How can I pause it so I can work smoothly?

 --
 Márton

-- 
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: MediaRecorder records with slow quality

2009-10-26 Thread kiro

Hi Roman,
Thanks for reply, i hope we live not in a stone-age and Android 2.0
will fix this problem with a poor quality

On Oct 25, 3:05 am, Roman ( T-Mobile USA) roman.baumgaert...@t-
mobile.com wrote:
 Kiro,

 I noticed the same. Audio quality sucks using theMediaRecorder. It is
 very difficult to hear audio at all  I was not able to improve the
 audio quality. I am in the hope that Android 2.0 has a much better
 media support!

 --
 Roman Baumgaertner
 Sr. SW Engineer-OSDC
 ·T· · ·Mobile· stick together
 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Oct 24, 12:56 am, kiro cih.exe...@gmail.com wrote:

  Hi!

  I have a problem.

  I'm recording from AudioSource as MIC usingMediaRecorder, i try to
  use all possible configurations of encoder, format but quality still
  ugly with 8kHz and 128 kbps...

  Did some workaround solutions exist? for example record as mp3 with
  44khz?

  Thanks,
  Kiro
--~--~-~--~~~---~--~~
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] MediaRecorder records with slow quality

2009-10-24 Thread kiro

Hi!

I have a problem.

I'm recording from AudioSource as MIC using MediaRecorder, i try to
use all possible configurations of encoder, format but quality still
ugly with 8kHz and 128 kbps...

Did some workaround solutions exist? for example record as mp3 with
44khz?


Thanks,
Kiro
--~--~-~--~~~---~--~~
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 kiro

try change code to extends ActivityView

On Oct 15, 4:12 pm, Chihau Chau chi...@gmail.com 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
--~--~-~--~~~---~--~~
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 kiro

rename your class

On Oct 15, 5:23 pm, Chihau Chau chi...@gmail.com 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 cih.exe...@gmail.com





  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 chi...@gmail.com 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] Re: Strange message during opening stream at InputSource

2009-09-26 Thread kiro

thanks, problem has resolved by changing manifest file: uses-
permission android:name=android.permission.INTERNET

On Sep 25, 2:32 pm, kiro cih.exe...@gmail.com wrote:
 up

 On Sep 24, 10:22 am, kiro cih.exe...@gmail.com wrote:

   -(new InputSource(url.toString)); was with another message

  InputSource needs either stream or reader

  On Sep 24, 10:09 am, kiro cih.exe...@gmail.com wrote:

   Hi!
   i'm trying to execute next code:

   [code]
           //URL url comming from input

           Document doc;

           DocumentBuilderFactory docBuilderFactory =
   DocumentBuilderFactory.newInstance();
           DocumentBuilder docBuilder =
   docBuilderFactory.newDocumentBuilder();

           doc = docBuilder.parse(new InputSource(url.openStream()));
   [/code]

   and have an exception with message :

   Permission denied (maybe missed INTERNET permission)

   As i understand, android doesn't give access to Internet for my app?
   or something else i must know?

   note :
   -android emulator have connection to internet (tested at browser)
   -(new InputSource(url.toString)); was with another message, but under
   win-console-compilation it works
--~--~-~--~~~---~--~~
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: Strange message during opening stream at InputSource

2009-09-25 Thread kiro

up

On Sep 24, 10:22 am, kiro cih.exe...@gmail.com wrote:
  -(new InputSource(url.toString)); was with another message

 InputSource needs either stream or reader

 On Sep 24, 10:09 am, kiro cih.exe...@gmail.com wrote:

  Hi!
  i'm trying to execute next code:

  [code]
          //URL url comming from input

          Document doc;

          DocumentBuilderFactory docBuilderFactory =
  DocumentBuilderFactory.newInstance();
          DocumentBuilder docBuilder =
  docBuilderFactory.newDocumentBuilder();

          doc = docBuilder.parse(new InputSource(url.openStream()));
  [/code]

  and have an exception with message :

  Permission denied (maybe missed INTERNET permission)

  As i understand, android doesn't give access to Internet for my app?
  or something else i must know?

  note :
  -android emulator have connection to internet (tested at browser)
  -(new InputSource(url.toString)); was with another message, but under
  win-console-compilation it works
--~--~-~--~~~---~--~~
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] Strange message during opening stream at InputSource

2009-09-24 Thread kiro

Hi!
i'm trying to execute next code:

[code]
//URL url comming from input

Document doc;

DocumentBuilderFactory docBuilderFactory =
DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder =
docBuilderFactory.newDocumentBuilder();

doc = docBuilder.parse(new InputSource(url.openStream()));
[/code]

and have an exception with message :

Permission denied (maybe missed INTERNET permission)

As i understand, android doesn't give access to Internet for my app?
or something else i must know?

note :
-android emulator have connection to internet (tested at browser)
-(new InputSource(url.toString)); was with another message, but under
win-console-compilation it works
--~--~-~--~~~---~--~~
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: Strange message during opening stream at InputSource

2009-09-24 Thread kiro

 -(new InputSource(url.toString)); was with another message
InputSource needs either stream or reader

On Sep 24, 10:09 am, kiro cih.exe...@gmail.com wrote:
 Hi!
 i'm trying to execute next code:

 [code]
         //URL url comming from input

         Document doc;

         DocumentBuilderFactory docBuilderFactory =
 DocumentBuilderFactory.newInstance();
         DocumentBuilder docBuilder =
 docBuilderFactory.newDocumentBuilder();

         doc = docBuilder.parse(new InputSource(url.openStream()));
 [/code]

 and have an exception with message :

 Permission denied (maybe missed INTERNET permission)

 As i understand, android doesn't give access to Internet for my app?
 or something else i must know?

 note :
 -android emulator have connection to internet (tested at browser)
 -(new InputSource(url.toString)); was with another message, but under
 win-console-compilation it works
--~--~-~--~~~---~--~~
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] Phone call, recording

2009-09-23 Thread kiro

Hi!
Did i can using my application record phone talk? b.c. usually
activity at phone calling will be stopped(or paused)
--~--~-~--~~~---~--~~
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: Phone call, recording

2009-09-23 Thread kiro

I think there is no good, and  =\
And how about NDK?

On Sep 23, 12:07 pm, Mark Murphy mmur...@commonsware.com wrote:
  Did Android SDK 1.6 provide api to work with call stream? (incomming/
  outcomming)

 Not that I have seen.

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 Android App Developer Books:http://commonsware.com/books.html
--~--~-~--~~~---~--~~
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: Phone call, recording

2009-09-23 Thread kiro

Good idea, thanks ;)

On Sep 23, 1:03 pm, Mark Murphy mmur...@commonsware.com wrote:
  And how about NDK?

 That would be a good question to ask on the [android-ndk] Google Group.

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 Android App Developer Books:http://commonsware.com/books.html
--~--~-~--~~~---~--~~
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] Configuring camera at Android device emulator?

2009-09-19 Thread kiro

Hi!
Did i can use my webcam as camera in ADV? also mic as default
microphone? is it possible, how can i configurate it?
--~--~-~--~~~---~--~~
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] Android device emulator

2009-09-19 Thread kiro

Hi!
Did i can use my webcam as camera in ADV? also mic as default
microphone? is it possible, how can i configurate it?
--~--~-~--~~~---~--~~
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: How to disable connection to internet in android phone?

2009-09-16 Thread kiro

ok, thanks

On Sep 16, 3:34 am, Roman ( T-Mobile USA) roman.baumgaert...@t-
mobile.com wrote:
 There are already several threads on this topic. For example

 http://groups.google.com/group/android-developers/browse_thread/threa...

 Also look for changing the APN settings.

 --
 Roman Baumgaertner
 Sr. SW Engineer-OSDC
 ·T· · ·Mobile· stick together
 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Sep 15, 7:42 am, kiro cih.exe...@gmail.com wrote:

  b.c. it costly by my provider and eats battery
--~--~-~--~~~---~--~~
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] How to disable connection to internet in android phone?

2009-09-15 Thread kiro

b.c. it costly by my provider and eats battery
--~--~-~--~~~---~--~~
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: getting file from internet

2009-09-15 Thread kiro

Oh, thanks so much, will check at home;)

On Sep 14, 9:34 pm, Yusuf Saib (T-Mobile USA) yusuf.s...@t-
Mobile.com wrote:
 Depending on where the file is, you may use the HttpGet class to get
 it:http://developer.android.com/reference/org/apache/http/client/methods...
 File(Uri) may also 
 work:http://developer.android.com/reference/java/io/File.html#File(java.ne...)

 Yusuf Saib
 Android
 ·T· · ·Mobile· stick together
 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Sep 14, 4:37 am,kirocih.exe...@gmail.com wrote:

  Hi!
  I'm new to android, but i should now or some sample who can provide
  about downloading file from internet and using it in own application?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---