[android-beginners] موقع بروكسى لفتح المواقع المحجوبه ببلدك

2010-01-13 Thread alagmy
موقع بروكسى لفتح المواقع المحجوبه ببلدك

الأن يمكنك فتح أى موقع محجوب ببلدك فقط من خلال هذا الموقع

open all blocked sites now for free and have fun

http://alagmy.zxq.net/index.php
-- 
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] Watch Movies Games

2010-01-13 Thread voiceofnation
www.voiceofnation.com
Watch Free Dvd Movies,Download Full PC Games Software
Listen Music,
No Wait Just Watch English or Indian Movies of your own Choice.
www.voiceofnation.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


Re: [android-beginners] موقع بروكسى لفت ح المواقع المحجوبه ببلدك

2010-01-13 Thread Caius 'kaio' Chance

(2010年01月13日 18:38), alagmy wrote:

موقع بروكسى لفتح المواقع المحجوبه ببلدك

الأن يمكنك فتح أى موقع محجوب ببلدك فقط من خلال هذا الموقع

open all blocked sites now for free and have fun

http://alagmy.zxq.net/index.php


seems to be a spam, could admin block it pls?

--
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA
-- 
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] Passing object references

2010-01-13 Thread Nick Burton
I'm a bit confused about passing object references... if we start a
service using intents, how can we pass refs between the class where
this code sits, and the service? There's no object created by me so I
can't pass parameters...

--
Intent i = new Intent(ww.main.LOCATOR_SERVICE);
context.startService(i);
--

Or am I starting the service incorrectly?

Cheers,

Nick
-- 
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] Passing object references

2010-01-13 Thread Sean Hodges
Use Intent.putExtra():
http://developer.android.com/intl/fr/reference/android/content/Intent.html#putExtra(java.lang.String,
android.os.Bundle)

An example can be found here: http://www.agilemedicine.com/medBlog/?tag=putextra

Something like this should work for you:

Intent i = new Intent(ww.main.LOCATOR_SERVICE);
i.putExtra(myObject);
context.startService(i);

Ensure the class for myObject implements Serializable.


On Wed, Jan 13, 2010 at 11:40 AM, Nick Burton
charlesnicholasbur...@gmail.com wrote:
 I'm a bit confused about passing object references... if we start a
 service using intents, how can we pass refs between the class where
 this code sits, and the service? There's no object created by me so I
 can't pass parameters...

 --
 Intent i = new Intent(ww.main.LOCATOR_SERVICE);
 context.startService(i);
 --

 Or am I starting the service incorrectly?

 Cheers,

 Nick

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


-- 
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: resolving equivalent intent filters

2010-01-13 Thread Alessandro Pellizzari
Il giorno mar, 12/01/2010 alle 16.44 -0800, oregonduckman ha scritto:

 But which one will Android launch?

In some cases, it asks the user. If you have 2 activities that can show
an image, a popup appears asking which one to use, and you can make it
the default.

The default get cleaned if you install a new app that can do the same
thing.

Bye.

-- 
Alessandro Pellizzari

-- 
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] Blacklist?

2010-01-13 Thread acgilmore1
Does the Verizon Droid Eris HTC have an app for a Blacklist
-- 
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] how to structure my app to run in background

2010-01-13 Thread IMED BEN ABDALLAH
tutorial Android:
http://www.facebook.com/group.php?gid=268882243055ref=mf

2010/1/5 Justin Anderson magouyaw...@gmail.com:
 AFAIK, it is not possible to undermine the Android OS and prevent your
 program from being closed down if memory gets low.

 However, to run in the background you would want to take a look at
 Services.  To launch an activity from a service you would use the
 startActivity() method.  As for being notified when certain things occur,
 you would want to take a look at BroadcastReceiver class.

 Hope that helps you get started in the right direction.  A word to the wise
 though, provide an option to turn off the background stuff... users get
 really upset if they can't control stuff like whether an app runs in the
 background.

 I have an app, called AppSwipe, that will tell you which programs are
 running in the background and will let you close them.  I routinely check it
 and close apps that I don't want running and wasting my battery life.  And
 if an app gets too annoying with restarting itself after I close it, I
 uninstall it no matter how useful or cool it is.

 Thanks,
 Justin
 MagouyaWare


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


 On Tue, Jan 5, 2010 at 2:50 AM, pentium10 pentiu...@gmail.com wrote:

 Hello,

 I am new to Android, and I need some advices for start up.
 I want to build an application, which will show up, when the user gets
 into some hot situation.
 By hot situation I mean:
 * his GPS/cell coordinates are in known zone;
 * known Bluetooth device detected;
 * known Wi-Fi network detected;
 * weather info has change;

 I see something running in background and when one of the clauses hit,
 it will trigger and open the app.
 * How to get started?
 * How do I make sure my app won't be shut down?
 As I read somewhere that Android OS will terminate apps if memory out
 occurs or consumes too much, and my app would consume a lot, making
 repeated measures/checks to see if situation changed.

 Regards,
 Pentium10

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

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

-- 
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: Getting an error when running the android Hello World tutorial

2010-01-13 Thread Fantana Gabriel
Hello,

The same problem for me too...After setting the eclipse environment , android 
sdk and all stuff shown on site, I don't have any default emulator available. 
AVD manager is empty. So i've defined my own AVD, only by choosing Targhet 
name, platform and API level. So I have a virtual device called test with 
Target Name Android 1.5, Platform 1.5 and API Level 3. When I try to evecute te 
HelloAndroid sample code, I can't see the Hello Android message. It's only 
Android...

In Console Window I get:

[2010-01-05 08:39:55 - HelloAndroid]--

[2010-01-05 08:39:55 - HelloAndroid]Android Launch!

[2010-01-05 08:39:55 - HelloAndroid]adb is running normally.

[2010-01-05 08:39:55 - HelloAndroid]Performing 
com.example.helloandroid.HelloAndroid activity launch

[2010-01-05 08:39:55 - HelloAndroid]Automatic Target Mode: launching new 
emulator with compatible AVD 'test'

[2010-01-05 08:39:55 - HelloAndroid]Launching a new emulator with Virtual 
Device 'test'

[2010-01-05 08:39:57 - HelloAndroid]New emulator found: emulator-5554

[2010-01-05 08:39:57 - HelloAndroid]Waiting for HOME ('android.process.acore') 
to be launched...

[2010-01-05 08:40:06 - HelloAndroid]emulator-5554 disconnected! Cancelling 
'com.example.helloandroid.HelloAndroid activity launch'!

[2010-01-05 08:40:06 - Emulator]emulator: emulator window was out of view and 
was recentred

[2010-01-05 08:40:06 - Emulator]

[2010-01-05 08:40:57 - HelloAndroid]--

[2010-01-05 08:40:57 - HelloAndroid]Android Launch!

[2010-01-05 08:40:57 - HelloAndroid]adb is running normally.

[2010-01-05 08:40:57 - HelloAndroid]Performing 
com.example.helloandroid.HelloAndroid activity launch

[2010-01-05 08:40:57 - HelloAndroid]Automatic Target Mode: launching new 
emulator with compatible AVD 'test'

[2010-01-05 08:40:57 - HelloAndroid]Launching a new emulator with Virtual 
Device 'test'

[2010-01-05 08:40:59 - HelloAndroid]New emulator found: emulator-5554

[2010-01-05 08:40:59 - HelloAndroid]Waiting for HOME ('android.process.acore') 
to be launched...

[2010-01-05 08:41:16 - HelloAndroid]emulator-5554 disconnected! Cancelling 
'com.example.helloandroid.HelloAndroid activity launch'!

[2010-01-05 08:41:16 - Emulator]emulator: emulator window was out of view and 
was recentred

[2010-01-05 08:41:16 - Emulator]

Thank you and have a great day,

Gabi

  - Original Message - 
  From: Justin Anderson 
  To: android-beginners@googlegroups.com 
  Sent: Tuesday, January 05, 2010 8:35 AM
  Subject: Re: [android-beginners] Re: Getting an error when running the 
android Hello World tutorial


  How long have you waited?  If you search the group you will find this same 
problem asked over and over and over Sometimes it is a simple matter of 
waiting longer.

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



  On Thu, Dec 31, 2009 at 1:05 PM, ikram engr.ik...@gmail.com wrote:

Hi,

I have the same problem. Also, I could not see any 'Hello, Android'
message. The emulator screen only shows 'A N D R O I D _' and nothing
else. Could you please help me in figuring out the reason for doing
so?

Thanks
Ikram

On Dec 31 2009, 6:47 am, pransome caneg...@gmail.com wrote:
 I have followed the instructions for the Hello World tutorial 
athttp://developer.android.com/resources/tutorials/hello-world.html

 It all builds as expected, but when I run the application I get ...

 [2009-12-30 14:26:09 - Android Hello World]Waiting for HOME
 ('android.process.acore') to be launched...
 [2009-12-30 14:26:11 - Emulator]
 [2009-12-30 14:26:11 - Emulator]This application has requested the
 Runtime to terminate it in an unusual way.
 [2009-12-30 14:26:11 - Emulator]Please contact the application's
 support team for more information.
 [2009-12-30 14:26:11 - Android Hello World]emulator-5554 disconnected!
 Cancelling 'rnt.android.learning.hello activity launch'!

 I am using the Eclipse IDE with the ADT plugin, etc.
 I am doing this on a laptop running MS Windows XP Professional OS

 I have done some google searches on this problem and haven't found a
 solution for my particular circumstances.
 Can anyone suggest what might be going on?

 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




  -- 
  You received this message because you are 

[android-beginners] Re: Stream PM4 video

2010-01-13 Thread ikalbeniz
i have try to open the mp4 file with firefox and it is detected as
video/mp4v... is this codec suported?

On 4 ene, 17:39, ikalbeniz txup...@gmail.com wrote:
 hi,

 i have been following some messages on the mail list and I have found
 a way to play streaming video, but it seems that don’t work with mp4.
 The code is like this:

 main.xml
 *
 ?xml version=1.0 encoding=utf-8?
 LinearLayout
     xmlns:android=http://schemas.android.com/apk/res/android;
     android:orientation=vertical
     android:layout_width=fill_parent
     android:layout_height=fill_parent
     TextView
         android:layout_width=fill_parent
         android:layout_height=wrap_content
         android:text=Video Playback JOC /
     RelativeLayout
         android:layout_width=fill_parent
         android:layout_height=wrap_content
         android:id=@+id/frame
         VideoView
             android:id=@+id/video
             android:layout_width=226px
             android:layout_height=194px
             android:keepScreenOn=true /
     /RelativeLayout
 /LinearLayout

 MainActivity.java
 ***
 /*
  * To change this template, choose Tools | Templates
  * and open the template in the editor.
  */

 package org.me.videoplayer;

 import android.app.Activity;
 import android.os.Bundle;
 import android.widget.VideoView;
 import android.widget.MediaController;
 import android.net.Uri;

 /**
  *
  * @author iker.perez
  */
 public class MainActivity extends Activity {

     /** Called when the activity is first created. */
     @Override
     public void onCreate(Bundle icicle) {
               super.onCreate(icicle);
               setContentView(R.layout.main);
                //getWindow().setFormat(PixelFormat.TRANSLUCENT);

                 //videoHolder = new VideoView(this);
               VideoView videoView = (VideoView) findViewById
 (R.id.video);
               MediaController mc = new MediaController(this);
               mc.setAnchorView(videoView);
               Uri video = Uri.parse(http://www.eitb.com/multimedia/
 videos/2010/01/04/224025/KIR_caparros_20100104_094955.mp4);
               videoView.setMediaController(mc);
               videoView.setVideoURI(video);
               videoView.start();
     }

 }

 I have an error saying that this video cannot be transmitted to my
 device? Anyone knows what happens?
-- 
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] View-based vs Canvas-based graphics apps

2010-01-13 Thread Abolfoooud
Hi

I am totally new to Android so forgive my question if it is so
trivial.

I read in the Dev Guide about how Graphics are handled in Android apps
and it says that developers can either use a View if they want to
draw simple graphics that do not need to change dynamically and are
not part of a performance-intensive game

or

draw directly to canvas otherwise.

Now almost all of the examples i found in the SDK for graphics use the
View metaphor, or SurfaceView. I was wondering how can i perform the
second approach, draw to canvas directly.

Regards
AF

-- 
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: problems in installing android over 9.04

2010-01-13 Thread IMED BEN ABDALLAH
tutorial Android:
http://www.facebook.com/group.php?gid=268882243055ref=mf

2010/1/5 Indicator Veritatis mej1...@yahoo.com:
 It should work with either Sun Java 6 JDK or Java 5 JDK. But do be
 sure that you use Sun's Java and not Open Java or Gnu Java.

 Also, when I upgraded my Fedora system from Open Java to Sun Java, I
 found links in /etc/alternatives that were still pointing to the old
 versions. So you may want to double check that /usr/bin/java points
 to /etc/alternatives/java points to the directory where you installed
 Sun Java JDK. Same for jdb javac and jar.

 On Jan 4, 11:19 am, Magno Kretzschmar Nardin magno.nar...@gmail.com
 wrote:
 Do you need sun-java6-jdk.

 Accept all packages called by Synaptic or Apt-Get with the command line
 $sudo apt-get install sun-java6-jdk and be happy :-)

 Saludos!

 Magno

 2009/12/16 idom modi.sama...@gmail.com when I tried to install android 
 sdk over linux, it is saying that java
  is not found.

  how do I install java, when I searched in synaptic package manager,
  there are so many things with java.

  how do I figure out which one should I install?

  idom

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

-- 
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] UI design for Board Game

2010-01-13 Thread prakhy
Hi,

I need to design a board UI using android platform. i was planning to
take one image as board and moving the required images over the board.
How do i achieve the same? I need to find the coordinates for image
and need to move the required images to specifies coordinates. Is
there any andorid api for this?

Prakhy
-- 
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] HTC G1 keyboard mapping is not correct

2010-01-13 Thread Temitope Akinwande
Hi,

I am not sure but try changing the input method.
Longpress on any EditText box / textview and select Input method.
Check if your desired method is available.

Hope that helps,
Tope

On Tue, Jan 5, 2010 at 7:57 AM, Xi Shen davidshe...@googlemail.com wrote:

 hi,

 i got a htc g1. it is from TIM, in Italy, so i think the original
 keyboard mapping is for EU. but i want to us US keyboard mapping,
 since i am in Chinese. is it possible? how can i do this?


 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84/
 http://meme.yahoo.com/davidshen84/

 --
 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: webview load set progress bar

2010-01-13 Thread android-coder
Has anyone actually got this to work?  I have tried all the
combinations mentioned in this post, but none of them work for me.  My
code so far is posted below.  If you have a WebView working with a
progress bar, I would really appreciate it if you could post the
entire code to this thread.  Thanks

My class:

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

getWindow().requestFeature(Window.FEATURE_PROGRESS);
getWindow().setFeatureInt(Window.FEATURE_PROGRESS,
Window.PROGRESS_VISIBILITY_ON);

WebView webview = new WebView(this);
setContentView(webview);
setProgressBarVisibility(true);
webview.getSettings().setJavaScriptEnabled(true);
final Activity activity = this;
webview.setWebChromeClient(new WebChromeClient() {
  public void onProgressChanged(WebView view, int progress) {
activity.setProgress(progress * 100 );
  }
});

webview.setWebViewClient(new WebViewClient() {
  public void onReceivedError(WebView view, int errorCode,
String description, String failingUrl) {
Toast.makeText(activity, Oh no!  + description,
Toast.LENGTH_SHORT).show();
  }
});

webview.loadUrl(http://cnn.com/;);

}
}

On Dec 18 2009, 10:43 pm, thehyperadvisor thehyperadvi...@gmail.com
wrote:
 I found that putting the line getWindow().requestFeature
 (Window.FEATURE_PROGRESS); higher in the code after setContentView
 (R.layout.main); worked for me.

     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         // Let's display theprogressin the activity titlebar, like
 the
         // browser app does.
         getWindow().requestFeature(Window.FEATURE_PROGRESS);

         setContentView(R.layout.main);

        WebViewwebview= newWebView(this);
         setContentView(webview);
         setProgressBarVisibility(true);

        webview.getSettings().setJavaScriptEnabled(true);

 On Dec 9, 8:02 am, Nugman klaus.nuta...@googlemail.com wrote:

  Add this line of code:

  ...
  setContentView(webview);
  setProgressBarVisibility(true);
  ...

  Greets Klaus

  On 7 Dez., 16:33, Marton Kodok pentiu...@gmail.com wrote:

   I am still after a solution to this problem too.

   2009/12/5 Richard ldonel...@gmail.com

I'm following the Android docs example for awebviewprogresstoo.

My code compiles and runs, but I don't actually see theprogressbar.
I confirmed that the onProgress method was firing (via debug).  Can
someone point me down the right path?

public class WebViewTest extends Activity {
   /** Called when the activity is first created. */
  �...@override
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);

       // Let's display theprogressin the activity titlebar, like
the
       // browser app does.
        getWindow().requestFeature(Window.FEATURE_PROGRESS);

       WebViewwebview= newWebView(this);
       webview.getSettings().setJavaScriptEnabled(true);

       final Activity activity = this;
       webview.setWebChromeClient(new WebChromeClient() {
         public void onProgressChanged(WebViewview, intprogress) {
           // Activities and WebViews measureprogresswith different
scales.
           // Theprogressmeter will automatically disappear when we
reach 100%
           activity.setProgress(progress* 1000);
         }
       });

       webview.setWebViewClient(new WebViewClient() {
          public void onReceivedError(WebViewview, int errorCode,
String description, String failingUrl) {
           Toast.makeText(activity, Oh no!  + description,
Toast.LENGTH_SHORT).show();
         }
       });

       webview.loadUrl(http://yahoo.com/;);

       setContentView(webview);
    }
}

On Nov 1, 7:18 am, Marton Kodok pentiu...@gmail.com wrote:
 Thank you!

 2009/11/1 donthorp dth...@gmail.com

  You need to make sure you're requesting the feature before you set
  your content view.

  On Oct 30, 1:01 pm, Marton Kodok pentiu...@gmail.com wrote:
   I have this code to setup aprogressbarfor mywebview.
   I get an error on runtime on the first marked line. What is wrong?

   getWindow().requestFeature(Window.FEATURE_PROGRESS); // hangs out 
   on
this
   line

           final Activity activity = this;
          webview.setWebChromeClient(new WebChromeClient() {
             public void onProgressChanged(WebViewview, intprogress) 
   {
               // Activities and WebViews measureprogresswith
different
   scales.
               // Theprogressmeter will automatically disappear when
we
  reach
  

Re: [android-beginners] Re: Alphabetical Method Index for Android SDK

2010-01-13 Thread IMED BEN ABDALLAH
tutorial Android:
http://www.facebook.com/group.php?gid=268882243055ref=mf

2010/1/5 BeWillDir wmmichael...@gmail.com:
 An alphabetical list of methods!  What an interesting concept!  What
 ever made you think that anyone would find this useful? (-;

 On Dec 1 2009, 9:35 pm, jdeisenberg jdavid.eisenb...@gmail.com
 wrote:
 The Java SDK documentation contains an alphabetical list of methods,
 constructors, and constants. I haven't found anything comparable for
 the Android SDK, so I wrote a program to construct one.  Full details
 are athttp://langintro.com/android_sdk/If you don't find it useful,
 you may find it to be mildly amusing.

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


-- 
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] Networking / Feeds (newbie level)

2010-01-13 Thread Salim Fadhley
I'm currently planning out my first Android app: To start, all it's
going to do is display a bunch of images specified by an ATOM or RSS
feed in a GridView. The UI part seems to be easy enough because the
Gridview is very well documented, and there's even example code to do
almost exactly what I want. I'm struggling on the feed parsing side -
there's almost no mention of how to do networking tasks in the Android
developer's site (I guess that's because all the basic Java networking
stuff works on Android).

I'm stuck on finding a good way to parse a feed in Android - I'd
expect that given the importance of Atom to Google there's probably a
really easy way of dealing with Atom and other common Gdata protocols
- but I've been searching through the Android docs and I've not found
how to do it.

Could anybody point me to some docs or examples of any of the
following:
 * Parsing a well-formed RSS or ATOM feed
 * Querying gdata directly (e.g. Calendar)
-- 
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: Stream PM4 video

2010-01-13 Thread nithya
hi,

be sure that whether emulator can play video or not...



On Jan 4, 9:39 pm, ikalbeniz txup...@gmail.com wrote:
 hi,

 i have been following some messages on the mail list and I have found
 a way to play streaming video, but it seems that don’t work with mp4.
 The code is like this:

 main.xml
 *
 ?xml version=1.0 encoding=utf-8?
 LinearLayout
     xmlns:android=http://schemas.android.com/apk/res/android;
     android:orientation=vertical
     android:layout_width=fill_parent
     android:layout_height=fill_parent
     TextView
         android:layout_width=fill_parent
         android:layout_height=wrap_content
         android:text=Video Playback JOC /
     RelativeLayout
         android:layout_width=fill_parent
         android:layout_height=wrap_content
         android:id=@+id/frame
         VideoView
             android:id=@+id/video
             android:layout_width=226px
             android:layout_height=194px
             android:keepScreenOn=true /
     /RelativeLayout
 /LinearLayout

 MainActivity.java
 ***
 /*
  * To change this template, choose Tools | Templates
  * and open the template in the editor.
  */

 package org.me.videoplayer;

 import android.app.Activity;
 import android.os.Bundle;
 import android.widget.VideoView;
 import android.widget.MediaController;
 import android.net.Uri;

 /**
  *
  * @author iker.perez
  */
 public class MainActivity extends Activity {

     /** Called when the activity is first created. */
     @Override
     public void onCreate(Bundle icicle) {
               super.onCreate(icicle);
               setContentView(R.layout.main);
                //getWindow().setFormat(PixelFormat.TRANSLUCENT);

                 //videoHolder = new VideoView(this);
               VideoView videoView = (VideoView) findViewById
 (R.id.video);
               MediaController mc = new MediaController(this);
               mc.setAnchorView(videoView);
               Uri video = Uri.parse(http://www.eitb.com/multimedia/
 videos/2010/01/04/224025/KIR_caparros_20100104_094955.mp4);
               videoView.setMediaController(mc);
               videoView.setVideoURI(video);
               videoView.start();
     }

 }

 I have an error saying that this video cannot be transmitted to my
 device? Anyone knows what happens?
-- 
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: Error in Building Hello World

2010-01-13 Thread IMED BEN ABDALLAH
tutorial Android:
http://www.facebook.com/group.php?gid=268882243055ref=mf

2010/1/5 Vant shav...@gmail.com:
 Yes more info would be helpful. Can you give us details on your setup
 and development environment? Also posting your code may help as well.
 Following the Hello World tutorial(http://developer.android.com/
 resources/tutorials/hello-world.html) provided by Android developer
 site is recommended.

 On Jan 4, 5:48 pm, cellurl gpscru...@gmail.com wrote:
 You gotta give more info up front.
 1. Do it on a PC.
 2. Run the existing HelloWorld first before writing your own
 HelloWorld.
 It works if you install and follow all the step by step steps.
 I had absolutely no experience and I got the HelloWorld to work right
 out of the box..

 On Jan 4, 12:15 am, rocky hulkman...@gmail.com wrote:

  Hi All,

  i am getting the below 2 errors while Building a simple Hello World
  program.
  could anyone Genius help it out? looks some problem in my eclipse
  settings...

  regds
  rocky

  Description     Resource        Path    Location        Type
  Error launching external scanner info generator (sh -c 'gcc -E -P -v -
  dD D:/Profiles/xtcg76/workspace/.metadata/.plugins/
  org.eclipse.cdt.make.core/specs.c ')    HelloWorld              Unknown 
  C/C++ Problem
  Error launching external scanner info generator (sh -c 'gcc -E -P -v -
  dD D:/Profiles/xtcg76/workspace/.metadata/.plugins/
  org.eclipse.cdt.make.core/specs.c ')    HelloWorld              Unknown 
  C/C++ Problem

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


-- 
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: MediaPlayer cannot play music file in res/raw folder

2010-01-13 Thread IMED BEN ABDALLAH
rejoigne ce groupe pour une tres bonne formation a Android:
http://www.facebook.com/group.php?v=wallgid=268882243055


2010/1/5 Sean Hodges seanhodge...@googlemail.com:
 Have you tried what I suggested?

 On Tue, Jan 5, 2010 at 4:47 AM, csaunders c.saunders...@gmail.com wrote:
 I am doing my development against Android 1.5 in the emulator.  I
 don't think it's anything 'special'.

 Also, the mp3 files aren't very large, they are about 7K each.

 On Jan 4, 4:57 pm, DulcetTone dulcett...@gmail.com wrote:
 Are you by any chance trying this on a Hero or Eris?
 The code you cite works fine for me EXCEPT on Hero and Eris (in which
 case, I think it works on SOME of them).

 I think the issue might indeed be that (some?) MP3 files fail on (some
 of?) these phones.
 I am myself working toward a solution that includes a fallback to a
 WAV file if the first create(idForMp3) returns null.

 tone

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


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

-- 
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] HTC G1 keyboard mapping is not correct

2010-01-13 Thread IMED BEN ABDALLAH
tutorial Android:
http://www.facebook.com/group.php?gid=268882243055ref=mf

2010/1/5 Xi Shen davidshe...@googlemail.com:
 hi,

 i got a htc g1. it is from TIM, in Italy, so i think the original
 keyboard mapping is for EU. but i want to us US keyboard mapping,
 since i am in Chinese. is it possible? how can i do this?


 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84/
 http://meme.yahoo.com/davidshen84/

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

-- 
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] Cannot enable Show CPU usage check box in Dev Tool

2010-01-13 Thread Gene
Hi,

I'm using the Android 2.0.1 emulator with eclipse 3.5 under Ubuntu
9.10. But I cannot enable the Show CPU usag item in the Dev Tool in
the emulator, no matter how I click, it never get checked. Do I need
to enable any special setting before doing this?

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] Eclipse - Connection with adb was interrupted

2010-01-13 Thread Iwan Satria
Hi,
I am trying to use the Android by using Eclipse. I am using Eclipse
3.4.2 as the IDE.
So I have downloaded some sample source code. Created and run smoothly
without any problem.
So then I modified some String value and then run it again for the 2nd
time. But this time I get this error displayed in the Eclipse console:

[2010-01-05 22:37:42 - HelloWorld]--
[2010-01-05 22:37:42 - HelloWorld]Android Launch!
[2010-01-05 22:37:42 - HelloWorld]Connection with adb was interrupted.
[2010-01-05 22:37:42 - HelloWorld]0 attempts have been made to
reconnect.
[2010-01-05 22:37:42 - HelloWorld]You may want to manually restart adb
from the Devices view.

After this happens, usually I have to close the eclipse, reopen it,
and then run the application again. This way the application will run
smoothly again.

Any idea what's happening?

Any help is appreciated
-- 
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] Installing app

2010-01-13 Thread Temitope Akinwande
Hi,
There is no need to unzip the .apk file as this is what is installed on your
phone
You could connect the phone to your computer through USB and then run the
following command.

adb install path_to_apk //for first time install
adb install -r path_to_apk  //to replace an existing apk

To do the above though, you would need to download the android sdk. Assuming
you are on linux, cd to the sdk/tools directory and run the command above.

Hope that helps.
Tope

On Mon, Jan 4, 2010 at 11:42 PM, Justin Anderson janderson@gmail.comwrote:

 This is what I do:

 - You have to allow the phone to install non-market apps in the settings.
 - Put your .apk files on your phone's SD card.
 - Then, what I do is use Apps Organizer to install the .apk files from
 the SD card

 Unfortunately, you have to get the Apps Organizer app from the Market.
 There may be another way to do but that is how I do it.

 Thanks,
 Justin

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


 On Sun, Jan 3, 2010 at 12:02 AM, androidnewbie hnin9...@gmail.com wrote:

 Hi guys!

 I've just gotten a HTC Tattoo and want to get some apps to be
 installed on the phone. This is my first time using an Android phone
 so I have no clue how to do it. I did download some apps and unzip
 the .apk files using winzip. No idea how to continue from that part!
 Would prefer to connect the phone to com using USB. I don't want to
 get apps via Market app on the phone. Any help?

 Thank you very much :)))


 --
 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.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: New Android Project in Eclipse - Build Target Section Not Selectable

2010-01-13 Thread Hikus
Hello,

I was able to see the build targets in the Preferences screen, but not
when creating a new Android project. I am running a little netbook at
a resolution of 1024x600.

I was able to solve the problem by using a utility to roate my
monitor such that it was oriented 90 degrees clockwise - effectively,
I changed my resolution to 600 x 1024. I also maximized the New
Project window. This allowed the Build Targets field the room to
expand.

I believe such a utility was made available for Windows XP in
Microsoft Power Toys: 
http://www.microsoft.com/windowsxp/Downloads/powertoys/Xppowertoys.mspx

I also saw that the built target list took a few seconds to populate.
Be patient.

Thank you for the conversation, and I hope this helps.


On Jan 2, 11:48 pm, Geo georgeos...@gmail.com wrote:
 It's very possible it could be the screen res. I have reasons for
 suggesting this based on some testing.

 The Test Android Project dialog box is a different form, FYI.

 Could you tell us what screen resolution you're running? Or try
 changing to higher than 1366x768 and let us know if that fixes the
 issue.

 On Dec 30 2009, 7:43 pm, matthewevans87 matthewevan...@gmail.com
 wrote:

  Same exact thing here. It is VERY unlikely that the screen size is the
  problem, as so many have said. If it were, why would thebuildtargets
  be in the dialog box when you do test project but not when you do
  android project. VERY frustrating.
  Let me know if you figure it out...

  On Dec 25, 11:35 pm, android12345 oramirez...@gmail.com wrote:

   I have the same prob. When starting a new project, there are no
   options for thebuildtarget, but
   if I start a test project they do show up. I have no idea what is
   happening, please help!
-- 
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: onSaveInstanceState behaving differently when rotating the screen and anything else

2010-01-13 Thread IMED BEN ABDALLAH
tutorial Android:
http://www.facebook.com/group.php?gid=268882243055ref=mf

2010/1/5 Justin Anderson janderson@gmail.com:
 Code?
 --
 There are only 10 types of people in the world...
 Those who know binary and those who don't.
 --


 On Tue, Dec 29, 2009 at 3:29 PM, Syx syx...@googlemail.com wrote:

 I get that. This is not the issue.  In both cases, the activity goes
 through the same cycle and calls the same activity lifecycle methods.

 Also, the exception comes from the onSaveInstanceState method when I
 try to a Serializable object in the Bundle. I don't see how adding
 anything to the other methods will help?

 To explain better, this is what happens:

 [Start the activity]
  .. onCreate()
  .. onStart()
  .. onResume()

 [Rotate screen]
  .. onSaveInstanceState()
  .. onPause()
  .. onStop()
  .. onDestroy()
  .. onCreate()
  .. onStart()
  .. onResume()

 [Rotate back]
  .. onSaveInstanceState()
  .. onPause()
  .. onStop()
  .. onDestroy()
  .. onCreate()
  .. onStart()
  .. onResume()

 [Open a new activity in front of it or press home]
  .. onSaveInstanceState()
  --  java.lang.RuntimeException: Parcelable encountered IOException
 writing serializable object
  --  Caused by: java.io.NotSerializableException

 On Dec 23, 10:04 am, Nithin nithin.war...@gmail.com wrote:
   However, if either press home, or open another app in front of mine
   (eg, from the notification bar) then I get the following error:
 
  So, if you press home or open another activity through notification,
  your current Activity has lost focus and invisible, so it will be call
  onPause() and onStop() and open the new application. When coming again
  to your current Activity, its calling onRestart(), onStart() and
  onResume(). So you need to code accordingly.
 
  Nithin
 
  On Dec 22, 4:38 am, Syx syx...@googlemail.com wrote:
 
 
 
   Hi,
 
   So I have an app that downloads and displays a list of messages. I
   have two main classes that I use
    -  my own adapter which extends ArrayAdapter to display the list
   items in a specific way
    - and a mailbox class which has an ArrayList in it amongst other
   things
 
   Both of these classes implement Serializable.  In my
   onSaveInstanceState method, I have the following:
 
       @Override
       protected void onSaveInstanceState(Bundle outState) {
           super.onSaveInstanceState(outState);
           outState.putSerializable(savedAdapter, m_adapter);
           outState.putSerializable(savedMailbox, m_mailbox);
       }
 
   I have nothing in my onStart/onResume/onPause/onStop/onDestroy
   methods.  My onCreate method checks whether inState is null and does
   the appropriate thing.
 
   So here is my problem:
 
   When I rotate the screen, onSaveInstanceState() saves the all three
   objects, the activity is destroyed, recreated, and onCreate() extracts
   them all perfectly. Great.
 
   However, if either press home, or open another app in front of mine
   (eg, from the notification bar) then I get the following error:
 
   ERROR/AndroidRuntime(16961): java.lang.RuntimeException: Parcelable
   encountered IOException writing serializable object (name = my app
   $MessageAdapter)
   ...
   ERROR/AndroidRuntime(16961): Caused by:
   java.io.NotSerializableException: my app$3
 
   If I delete the relevant putSerializable line, then I get the same
   error for Mailbox.
 
   Why is it behaving in different ways when they are following exactly
   the same activity life cycle?
   And why would it throw an NotSerializableException at all when both
   classes implement serializable and work when I rotate the screen?

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


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


-- 
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] UI design for Board Game

2010-01-13 Thread Kevin Duffey
For starters, you'd be helping yourself by getting a couple books on
Android, or looking online for Android resources, then googling up examples
of moving images over images and such. You can draw your board pieces, or
use bitmap images overlaying your board, and so on.

On Mon, Jan 4, 2010 at 10:12 PM, prakhy prakhyathhe...@gmail.com wrote:

 Hi,

 I need to design a board UI using android platform. i was planning to
 take one image as board and moving the required images over the board.
 How do i achieve the same? I need to find the coordinates for image
 and need to move the required images to specifies coordinates. Is
 there any andorid api for this?

 Prakhy

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


Re: [android-beginners] Blacklist?

2010-01-13 Thread Kevin Duffey
A blacklist of what?

On Mon, Jan 4, 2010 at 10:49 PM, acgilmore1 acgilmo...@gmail.com wrote:

 Does the Verizon Droid Eris HTC have an app for a Blacklist

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


Re: [android-beginners] Re: Installing Android Plugin

2010-01-13 Thread IMED BEN ABDALLAH
Joins this group for a good training  has Android:
http://www.facebook.com/group.php?v=wallgid=268882243055
and this forum:
http://android.forumavie.com/premier-forum-vf2.html

2010/1/6 Magno Kretzschmar Nardin magno.nar...@gmail.com:
 Sanjeev,

 You install Eclipse with Ubuntu Install Center. You need install with
 Synaptic. Synaptic works very similarly to Add/Remove of UIC, but it has
 more advanced options. It allows you more categories and custom filters, and
 shows you supporting libraries (important - not just user applications - the
 cause of error).

 To access Synaptic, go to System  Administration  Synaptic Package
 Manager.

 Saludos!

 Magno

 2009/12/19 Sanjeev iamsanj...@gmail.com

 Some update.

 Restarted my system and eclipse and now eclipse is able to find the
 packages but installation hangs in the middle of download.

 Regards
 Sanjeev

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


-- 
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] Best way to poll for XML?

2010-01-13 Thread Sam Dutton
Not sure that this is really an Android question, but...

My app needs to update displayed text by getting and parsing XML from
a server.

Ideally the values would be updated every half second or less.

What's the best way to do this?

Obviously, I can repeatedly get the data via HTTP and parse it with
SAX (or whatever).

Any other suggestions? I'm wondering whether or not to use threads,
the most efficient way to poll for data, and better alternatives to
polling.
-- 
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] Nexus One as Dev Phone?

2010-01-13 Thread UncannyLifescience
Hi,

If I purchase an unlocked Nexus One from the google website:
http://www.google.com/phone
will I be able to use it as a development target?

WIll I be able to flash custom Android builds, download unsigned
apps and debug on the phone?
/ Hardware unlocked?

Edward Elhauge - Computational Biologist
-- 
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] Positioning images on top of one another

2010-01-13 Thread IMED BEN ABDALLAH
rejoigne ce groupe pour une tres bonne formation a Android:
http://www.facebook.com/group.php?v=wallgid=268882243055

2010/1/5 keith greene keith.gre...@gmail.com:
 Well, I don't have that code anymore, I moved on to trying to create the
 bitmaps programmatically. I can do that, but as I stated, I can't for the
 life of me, figure out how to position the 2 parts at all or control which
 one appears on top of the other. Here's the code I'm trying now:

 package com.kgreene.gauge;

 import android.app.Activity;
 import android.os.Bundle;
 import android.view.View;
 import android.widget.LinearLayout;
 import android.graphics.Bitmap;
 import android.graphics.BitmapFactory;
 import android.graphics.drawable.BitmapDrawable;
 import android.graphics.Matrix;
 import android.widget.ImageView;
 import android.widget.LinearLayout.LayoutParams;
 import android.widget.ImageView.ScaleType;

 public class gauge extends Activity {
     @Override
     public void onCreate(Bundle icicle) {
     super.onCreate(icicle);
     LinearLayout linLayout = new LinearLayout(this);

     Bitmap bmSpeedGauge = BitmapFactory.decodeResource(getResources(),
     R.drawable.speedo);
     BitmapDrawable sGauge = new BitmapDrawable(bmSpeedGauge);

     ImageView sgView = new ImageView(this);

     // set the Drawable on the ImageView
     sgView.setImageDrawable(sGauge);

     // center the Image
     sgView.setScaleType(ScaleType.CENTER);

     // load the origial BitMap
     Bitmap bmSpeedNeedle = BitmapFactory.decodeResource(getResources(),
    R.drawable.speed_needle);

     int width = bmSpeedNeedle.getWidth();
     int height = bmSpeedNeedle.getHeight();
     int newWidth = 48;
     int newHeight = 212;

     // calculate the scale - in this case = 0.4f
     float scaleWidth = ((float) newWidth) / width;
     float scaleHeight = ((float) newHeight) / height;

     // createa matrix for the manipulation
     Matrix matrix = new Matrix();
     // resize the bit map
     matrix.postScale(scaleWidth, scaleHeight);
     // rotate the Bitmap
     matrix.postRotate(45, 24, 180);

     // recreate the new Bitmap
     Bitmap rbmSpeedNeedle = Bitmap.createBitmap(bmSpeedNeedle, 0, 0,
   width, height, matrix, true);

     // make a Drawable from Bitmap to allow to set the BitMap
     // to the ImageView, ImageButton or what ever
     BitmapDrawable bmd = new BitmapDrawable(rbmSpeedNeedle);

     ImageView imageView = new ImageView(this);

     // set the Drawable on the ImageView
     imageView.setImageDrawable(bmd);

     // center the Image
     imageView.setScaleType(ScaleType.CENTER);

     // add sgView to the Layout
     linLayout.addView(sgView,
   new LinearLayout.LayoutParams(
   433, 433
     )
     );
     // add ImageView to the Layout
     linLayout.addView(imageView,
   new LinearLayout.LayoutParams(
   48, 212
     )
     );

     // set LinearLayout as ContentView
     setContentView(linLayout);
     }
 }

 Screenshot: http://kgreene.com/android/gauge.jpg

 As you can see, the needle is drawn to the right of the gauge face, and
 slightly underneath it.
 I realize that I shouldn't expect them to magically appear stacked properly
 because I'm not trying to position them at all, and that is part of the
 problem. I haven't seen anything that explains how to position or layer
 bitmaps at all, aside from very vague references to using linearLayout or
 gridLayout. Also note that I'm coming from a web development background, and
 this is my first experience with java of any kind. I'm used to being able to
 position things exactly where I want them, very easily, with CSS or
 javascript.
 Basically, I'm looking for the android equivalent of the css properties top,
 left and z-index.

 Also, if you can point me to an example of number 2 below (creating the
 elements in XML and then accessing them programmatically) that would be
 great, as that seems to be preferable to creating everything in code.

 Thanks,
 Keith

 On Mon, Jan 4, 2010 at 10:32 PM, Justin Anderson janderson@gmail.com
 wrote:

 Please post your XML file and the code you are using to access the
 different parts of it...

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


 On Thu, Dec 31, 2009 at 1:09 PM, keith keith.gre...@gmail.com wrote:

 Hello all,
 I'm very new to android development, and I'm coming from a php/web
 development background. For my first exercise, I'm trying to draw a
 gauge face and a needle, and be able to rotate that needle to whatever
 direction I want (not dynamically, 

[android-beginners] updating mobile phone OS

2010-01-13 Thread john
Hello,

I'm a newbie to Android, and have a newbie question.

If I purchase a phone with Android 1.x or 2.0, etc... will I be able
to upgrade the OS on the phone to 2.1, 2.X, etc.?

Also, I feel perhaps this may be related to all the 'ROM' posts I find
on the internet when trying to understand this process better. What
exactly are ROMs?

Thank you,
john
-- 
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] How to use the Object android.widget.AdapterView.getItemAtPosition(int position)

2010-01-13 Thread Manoj
Hi,

I am new for Android development. I want to use Object
android.widget.AdapterView.getItemAtPosition(int position) method for
getting the items from ListView. But I am not getting the way to make
it happen.
Please help me out on this topic.
-- 
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] Canvas real (viewable) size

2010-01-13 Thread IMED BEN ABDALLAH
Joins this group for a good training  has Android:
http://www.facebook.com/group.php?v=wallgid=268882243055
and this forum:
http://android.forumavie.com/premier-forum-vf2.html

2010/1/6 Alessandro Pellizzari a...@amiran.it:
 Hi all,

 I am writing an app that draws on a Canvas. To know mi working space
 dimensions I user canvas.getWidth() and canvas.getHeight().

 The problem is that they return 320x480, and the notification bar pulls
 down my canvas (I already removed the title bar) by an unspecified
 amount of pixels.

 Is there a way to know how many are those pixels, so to reduce my
 drawing area?

 I would like to avoid hardcoding a dimension, as I think maybe different
 versions of Android could change the bar size or maybe add other bars or
 who knows... :)

 Thank you very much.
 Bye.



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


-- 
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] modify resource xml

2010-01-13 Thread gian
Hi,
Please let me know if i can change a resource XML as strings.xml via
code. You must use DOM or ...?
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] onDestroy() caused application stopped unexpectedly

2010-01-13 Thread IMED BEN ABDALLAH
Joins this group for a good training  has Android:
http://www.facebook.com/group.php?v=wallgid=268882243055
and this forum:
http://android.forumavie.com/premier-forum-vf2.html
-- 
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] Please remove this group from my google group list

2010-01-13 Thread yapkm01
Hi,

I couldnt find a way to do the above. Can the owner of this account ..
please remove my membership of this group?
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] Re: Problem with Custom Dialog

2010-01-13 Thread IMED BEN ABDALLAH
rejoigne ce groupe pour une tres bonne formation a Android:
http://www.facebook.com/group.php?v=wallgid=268882243055

2010/1/5 TreKing treking...@gmail.com:
 Another (simpler) option:
 - Add a click listener to you dialog
 - When it fires, get the EditText from the dialog (it's passed in as a
 parameter to the listener)
 - Get the text from the EditText object and pass it to the TextView (which I
 assume you have / can get a reference to) since it's in the same actitivty
 - Profit

 -
 TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking


 On Tue, Jan 5, 2010 at 1:10 AM, Lenea danmo...@gmail.com wrote:

 I've got it done. I just created a new class and set the Theme to
 @android:style/Theme.Dialog, then i created an intent and called
 startActivityForResult() and
 passed the parameters through Bundle. hope this helps others with the
 same problem as me

 Cheers,
 Lenea

 On Jan 5, 8:48 am, Kevin Duffey andjar...@gmail.com wrote:
  If the dialog you open is to return a value, I forget the call.. still
  learning myself.. I think it's like onWaitForDialog or something. You
  can
  have it return a response to the activity that displayed it, which would
  probably be the same activity you want to update the textview with. Just
  update the textview, possibly in a thread to update the UI with the
  response.
 
  On Mon, Jan 4, 2010 at 10:29 PM, Justin Anderson
  janderson@gmail.comwrote:
 
   There are several methods available for dealing with dialogs within an
   activity...  Have a look at onCreateDialog(), onPrepareDialog(),
   showDialog(), and removeDialog():
 
 
   http://developer.android.com/reference/android/app/Activity.html#onCr...
 
   Thanks,
   Justin
 
   --
   There are only 10 types of people in the world...
   Those who know binary and those who don't.
   --
 
   On Sat, Jan 2, 2010 at 6:55 AM, Lenea danmo...@gmail.com wrote:
 
   Hello, everyone.
   I've got an application in which a button triggers a custom dialog.
   In the custom dialog i have an EditText.
   I want to collect data from the EditText and set the text of a
   TextView to that data.
   The problem is, the TextView is located in my main Activity(the one
   which triggered the custom dialog)
   How do I do that?
 
   Cheers,
   Lenea
 
   --
   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.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


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


-- 
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] How to open new view (call an activity) from options menu defined in XML

2010-01-13 Thread portablejim
I am trying to open another view from the options menu of my program.

My options_menu.xml:
menu xmlns:android=http://schemas.android.com/apk/res/android;
item android:id=@+id/settings_button
  android:title=Settings
  android:icon=@android:drawable/ic_menu_preferences /
item android:id=@+id/about_button
  android:title=About
  android:icon=@android:drawable/ic_menu_myplaces /
/menu

My mnfsms.java
package com.example.mnfsms;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;

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

/*OnClickListener myocl = new View.OnClickListener() {
public void onClick(View v){
Intent myi = new Intent(mnfsms.this, mnfsms_settings.class);
startActivity(myi);
}
};*/
}

public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.options_menu, menu);

MenuItem mi_settings = (MenuItem)findViewById
(R.id.settings_button);
mi_settings.setIntent(new Intent(this,
mnfsms_settings.class));

return true;
}
}

mnfsms_settings (another activity) is what I am trying to open.

Whether the Intent is in the onCreateOptionsMenu or onCreate
functions, the application still crashes when it sets the intent to
the item.

What I have used to try to help me:
http://developer.android.com/guide/topics/intents/intents-filters.html
http://developer.android.com/resources/faq/commontasks.html#opennewscreen
http://developer.android.com/guide/topics/ui/menus.html
http://developer.android.com/guide/topics/fundamentals.html
http://learnandroid.blogspot.com/2008/01/opening-new-screen-in-android.html
-- 
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] MapView and Context Menus

2010-01-13 Thread Raul
Hi -

Did anyone figure out a way to add context menus to MapViews. I have
added the following lines of code in my onCreate method by in vain.

mapView.setLongClickable(true);
registerForContextMenu(mapView);

or

   mapView.setOnCreateContextMenuListener(this).

Please advise,

Thanks,
Raul
-- 
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: Unable to install Android on Fedora Core 10

2010-01-13 Thread Manimal
I'm getting the same error and nothing seems to work.

I even tried downloading the archive ADT-0.9.5.zip and tried using
that and got the same error

Cannot complete the install because one or more required items could
not be found.
  Software being installed: Android Development Tools
0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group
0.9.5.v200911191123-20404)
  Missing requirement: Android Development Tools
0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group
0.9.5.v200911191123-20404) requires 'org.eclipse.jdt 0.0.0' but it
could not be found

I can't seem to get this to work no matter what I do.

On Dec 28 2009, 9:49 am, Swiftguy vikram@gmail.com wrote:
 Well solution to this prob was found @ this 
 pagehttp://androidcommunity.com/forums/f4/how-to-install-android-sdk-v1-0...

 Just follow instruction in the above page to avoid the prob.

 On Dec 28, 5:10 am, Swiftguy vikram@gmail.com wrote:

  Hello All,

  Trying to install Android on Fedora Core 10. I have installed eclipse
  and now trying into install the ADT through 'new software' window of
  eclipse.

  Im getting the following error .. kindly help me out... Im new to
  eclipse + android.

  Cannot complete the install because one or more required items could
  not be found.
    Software being installed: Android Development Tools
  0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group
  0.9.5.v200911191123-20404)
    Missing requirement: Android Development Tools
  0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group
  0.9.5.v200911191123-20404) requires 'org.eclipse.jdt 0.0.0' but it
  could not be found

  How do I install 'org.eclipse.jdt 0.0.0' ?

  Kindly help me out.
-- 
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] Making a simple navigation based app?

2010-01-13 Thread IMED BEN ABDALLAH
rejoigne ce groupe pour une tres bonne formation a Android:
http://www.facebook.com/group.php?v=wallgid=268882243055

2010/1/5 TreKing treking...@gmail.com:
 I can't find any good documentation or samples anywhere for
 developing Android apps.

 I'm sorry, but ... really? You couldn't find anything anywhere?  Did you
 try, you know, looking? Perhaps at the official documentation? Which has
 samples...

 How can I make a simple navigation based app? ... Like a listview with
 many items and clicking each item leads to seperate/new listviews.

 Look up ListActivity and read up on Activities in general.
 -
 TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking


 On Sun, Jan 3, 2010 at 5:49 PM, cjk codyker...@gmail.com wrote:

 I can't find any good documentation or samples anywhere for developing
 Android apps.

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


-- 
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] View-based vs Canvas-based graphics apps

2010-01-13 Thread Kevin Duffey
So far I've been seeing some sort of View being used.. like SurfaceView for
games and such. I too would like to know what game developers are using. I
would guess most games use bitmap images and just rotate thru some images to
animate them?

On Tue, Jan 5, 2010 at 8:29 AM, Abolfoooud fcheh...@yahoo.com wrote:

 Hi

 I am totally new to Android so forgive my question if it is so
 trivial.

 I read in the Dev Guide about how Graphics are handled in Android apps
 and it says that developers can either use a View if they want to
 draw simple graphics that do not need to change dynamically and are
 not part of a performance-intensive game

 or

 draw directly to canvas otherwise.

 Now almost all of the examples i found in the SDK for graphics use the
 View metaphor, or SurfaceView. I was wondering how can i perform the
 second approach, draw to canvas directly.

 Regards
 AF


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


Re: [android-beginners] Re: Bug in SDK Manager: cannot update

2010-01-13 Thread Mugdha Bendre
Nope, I gave up and switched to a Linux workstation. However, try upgrading
your installation of Java. Someone said it worked for them after updating
Java.

On Sun, Jan 3, 2010 at 2:04 AM, leuat le...@irio.co.uk wrote:

 Did you guys manage to find a solution? I am still having problems
 with the SDK on  OSX 10.5.5  with This repository requires a
 more recent version of the tools.. This is even though the SDK
 updater
 is version 4.

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




-- 
Courage is the price that life exacts for granting peace.
- Amelia Earhart
-- 
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: Error in Building Hello World

2010-01-13 Thread IMED BEN ABDALLAH
Joins this group for a good training  has Android:
http://www.facebook.com/group.php?v=wallgid=268882243055
and this forum:
http://android.forumavie.com/premier-forum-vf2.html
-- 
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] SDK installation on MacOS

2010-01-13 Thread PvdL
I tried my first install of the Android SDK yesterday, onto MacOS
10.6.2

I installed Eclipse, the SDK, and the Eclipse plugin.

After I restart Eclipse, I still can't see anything in the list of
available targets. It's a blank list.  I was expecting the SDK ver 2
to show up there. (Yes, after I hit OK).

Has anyone else encountered this with the most current release, and
how do you resolve it?   If there is no target, you can't build for
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


[android-beginners] Iphone development versus Android

2010-01-13 Thread gony
Hi,

I developed an iphone app about 6months ago and due to time
constraints hadn't managed to write anymore.
I would like to start work on a new app but I would like to consider
developing on Android instead (esp after seeing the announcement of
Nexus One in the UK).

I was hoping that group members would consider sharing their views on
what platform would be best to develop on.

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] Unable to open other sites

2010-01-13 Thread anand Verma
Hi,
i have installed SDK 2.0 and i have net connection,
I can open any site in emulator 1.5 o 1.6, but in emulator 2.0
(browser) i m unable to open other sites beside my company site..( as
i did same APN setting in 2.0 as in 1.6)

plz get back to me if u have any solution

Thanks  Regards
-- 
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] Cannot download the sdk

2010-01-13 Thread Jose
Hi,

I am trying to setup my android environment on Mac OSX, and when I run
the android tool to download a platform, it says the following:

This repository requires a more recent version of the Tools.
You must update it before you can see other new packages.
One package found.

I keep on receiving this error, and have try searching for an hour now
and cannot find the solution to this problem.

Help.

Thanks

Jose
-- 
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: Installing app

2010-01-13 Thread IMED BEN ABDALLAH
Joins this group for a good training  has Android:
http://www.facebook.com/group.php?v=wallgid=268882243055
and this forum:
http://android.forumavie.com/premier-forum-vf2.html
-- 
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] OpenGL ES Game structure

2010-01-13 Thread MavisPuford
Hello there,

I have some experience with normal views and things for android (I
have an app in the market) and I've been programming for a while
(Java, C#, made some XNA stuff), but I've never really touched OpenGL
until recently.  I'm working on my own game engine to make things
easier for future games I'm planning on making.  The only problem is
drawing things on a SurfaceView doesn't seem to get the results I
desire (aka, low frame rates with only 10-20 objects on screen).

So I'm looking into converting all the graphics part of the engine to
OpenGL ES.  I cannot for the life of me figure out where to throw the
code in though.  I followed this guy's tutorials for a bit to get a
feel for it:

http://www.droidnova.com/android-3d-game-tutorial-part-i,312.html

Here's how my engine is structured (without OpenGL):
- I have the main activity, which handles built in android menu stuff
and then I set the content view to my GameView.
- The GameView (SurfaceView) class also has a GameThread that does all
the game updates and input/drawing/sound.
- Then other stuff like a Sprite/Pawn/Player class etc.

I noticed in the OpenGL tutorial I followed that the Renderer runs in
its own thread.  I haven't had to deal too much with threading yet but
I do know that it takes some work for threads to communicate with each
other properly etc.  Do I need to eliminate the GameThread I had going
and throw all the code in a Renderer?  I'm kind of stumped.  Any help
would be appreciated.
-- 
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: Android 2.0 SDK is here!

2010-01-13 Thread kasis
nice.

On Dec 13 2009, 11:22 pm, kumar kumar.nallam...@gmail.com wrote:
 hi xavier,
              give me the suggestions to a beginner in android
 development.
-- 
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] Regarding Multimedia

2010-01-13 Thread Mahantesh
Hi,

Can you please let me know where I can post the Android Multimedia
related query ?

Thanks,
Bells.
-- 
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] change security permissions of any application

2010-01-13 Thread vaibhav mital
Sorry, but i don't have an android enabled phone,

Actually I want to stop pre installed application from running when we click
on it.
How can we do that?
-- 
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 Emulator Problems on Win2K

2010-01-13 Thread Andy K
Hi,

I encounter the following error when launching the emulator (when
trying to run the HelloWorld example).

The procedure entry point freeaddrinfo could not be located in the
dynamic link library WS2_32.dll

There was a similar issue raised by Sridevi in this forum back in
October 2009 but I don't believe anybody provided a solution.

I am using Windows 2000 SP4 and Android 2.0.1 (which starts ok).
Additionally, my version of WS2_32.dll is 5.0.2195.6601

Are there any known issues with the Emulator and Win2K ?

Apart from changing OS, would anyone have any suggestions ?

Many thanks.

Andy
-- 
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] Book for a newbie

2010-01-13 Thread gony
Having reviewed this group on the subject of best book for newbies, I
have a couple questions:

1) As Begining Android 2 is not out in the UK until Feb would
reading Begining Android put me at a disadvantage or is there not
much difference between the books (I cant hold out until feb to get
started!).

2) Is The Busy Coder's Guide to Android Development effectively the
same as Begining Android 2? - If so I understand the advantages of
purchasing this eBook (3 books for price of one), however I tend to
prefer hardcopy.

3) Would it be fair to say that reading Begining Android could be
followed by Hello Android if you want to understand the UI system
better and get the experience of how to use Android to work on a mini
game project?

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] Looking for some reading on the Android Framework

2010-01-13 Thread Rogério de Souza Moraes
Hi,

at the moment I am studying about Android by the O'Reilly book Android
Application Development. It's very well written and have good examples.

2010/1/6 Kevin Duffey andjar...@gmail.com

 http://commonsware.com/Android/

 http://commonsware.com/Android/Best I've found. Join the forum, the
 author responds quite often. Good material, well written, and continually
 being updated. He's working on 2.1 additions right now.


 On Wed, Jan 6, 2010 at 3:15 PM, oregonduckman oregonduck...@gmail.comwrote:

 I have gone through several tutorials on Android programming and find
 myself needing a better understanding of the Android Framework. Does
 anyone know of an article or book that gives a good explanation of the
 Android Framework and how to best make use of it? Is there a document
 that also covers best practices?

 --
 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.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] How to make any service running automatically when the phone is turned on.

2010-01-13 Thread Manoj
Hi
Please tell me how i can make any service running automatically when
the phone is turned on in android.

Manoj Chauhan
-- 
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] AlarmManager and the PendingIntent that failed

2010-01-13 Thread Tone
In order to learn how to use the AlarmManager I created an activity
that consists of a single button. When the button is pressed the
activity creates an Intent of itself and loads it into the
AlarmManager 3 seconds in the future before finishing.

So activity opens, user pushes button, activity closes, 3 seconds
later activity opens, repeat.

Problem is instead of opening an activity 3 seconds later I get an
error:
The application [myappname] has stopped unexpectedly. Please try
again.

Here's the code for the button:
thanksButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
setResult(RESULT_OK);

Intent intent = new Intent(myappname.this,
myappnameBroadcastReceiver.class);
PendingIntent appIntent = PendingIntent.getBroadcast
(myappname.this, 0, intent, 0);
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(System.currentTimeMillis());
calendar.add(Calendar.SECOND, 3);
AlarmManager am = (AlarmManager)getSystemService
(ALARM_SERVICE);
am.set(AlarmManager.RTC, calendar.getTimeInMillis(),
appIntent);

finish();
}

});


Here's the broadcast receiver:
package com.myappname;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class myappnameBroadcastReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
context.startActivity(new Intent(context, 
myappname.class));
}
}

-
and here's the lines from the manifest.xml

receiver
android:name=.myappnameBroadcastReceiver
android:process=:remote
/receiver
-- 
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] Block camera capture on Android

2010-01-13 Thread hannkwang
Hi All,

Is it possible to write an application to prevent the Android handset
from storing the capture picture? My thoughts are
a. Hook onto native camera apps and monitor for camera capture (or
events). Once there is a capture event, my application will be able to
detect and maybe remove the capture picture
b. Continously monitor camera capture picture storage. Are there any
known i/o api l can use to do this?
c. Prevent all writes to the OS. Possible?

Thanks for all the feedback in advance!

Cheers,
-- 
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] how to place a landmark on a google map programmatically

2010-01-13 Thread IMED BEN ABDALLAH
Joins this group for a good training  has Android:
http://www.facebook.com/group.php?v=wallgid=268882243055
and this forum:
http://android.forumavie.com/premier-forum-vf2.html
-- 
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 Development Article

2010-01-13 Thread Anthony Forth
I am new to Android development, so I set myself a task in creating an
application that could download some content in html and jpeg form, as
described in a manifest, update it when required and view it off-line
using the browser classes.

I've documented it here in an article and would be interested in any
comments people have on my approach -

http://docs.google.com/Doc?docid=0AQUNfxUJgskIZGQ1N3hkdzdfMTdkcjhmenhmbQhl=en

best regards
Anthony
-- 
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: Select/Highlight/Focus on Text in a WebView

2010-01-13 Thread Mel Navarro
Oh. nvrmind.. found the solution :)

On Dec 9 2009, 11:57 pm, Mel Navarro blaze9...@yahoo.com wrote:
 Hi,

 I was wondering if there is a way toselector highlight or focus at
 text from a webview's content.

 Or evenselectand copy text to the clipboard? (just like the default
 browser)

 Or even access the emulateShiftHeld() function?

 I'm working on an browser and am trying to add accelerators but I can
 really only focus on links and buttons.

 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] adding libraries to android project

2010-01-13 Thread Sachin Subhedar
Hello
 I am trying to use Drools library functions (http://www.jboss.org/
drools/) in my android project and get the error - could not find
method org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder,
referenced from method
com.example.android.apis.DroolsTest.readKnowledgeBase.

 I checked for common could not find type errors on android user
groups and they all point to missing library in project build. Eclipse
provides Drools utility convert to drools project which
automatically adds its libraries to any given project. I did that and
can compile my project using drool functions. However when I try to
run (or debug) it, I get the error listed above.

  Any pointers in this regard would help.

Thanks,
-sns.
-- 
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] Invoking application life cycle events

2010-01-13 Thread Sibte
Hi,

Is there a way to manually invoke application life cycle events for an
app running on the emulator?

thanks for your help.
-- 
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 Hello World not working

2010-01-13 Thread Rock Whitehouse
I am having problem getting Hello World to work. I've search the
discussions but I don't see anything similar to my problem.

I have current Eclipse, Java, Java SDK, Google Android SDK etc etc
etc.

The AVD opens and shows the GUI. I can unlock the phone.

When I run the app out of Eclipse, this is what I see...
[2010-01-08 20:20:40 - HelloAndroid]--
[2010-01-08 20:20:40 - HelloAndroid]Android Launch!
[2010-01-08 20:20:40 - HelloAndroid]adb is running normally.
[2010-01-08 20:20:40 - HelloAndroid]No Launcher activity found!
[2010-01-08 20:20:40 - HelloAndroid]The launch will only sync the
application package on the device!
[2010-01-08 20:20:40 - HelloAndroid]Performing sync
[2010-01-08 20:20:40 - HelloAndroid]Automatic Target Mode: using
existing emulator 'emulator-5554' running compatible AVD 'myavd'
[2010-01-08 20:20:40 - HelloAndroid]Application already deployed. No
need to reinstall.
[2010-01-08 20:20:40 - HelloAndroid]\HelloAndroid\bin\HelloAndroid.apk
installed on device
[2010-01-08 20:20:40 - HelloAndroid]Done!

But NOTHING happens on the phone. If I navigate on the phone to the
Applications page, the app is loaded on the phone. But it does not
execute on it's own and I can find no way to run it from the GUI.

I had high hopes for this stuff, but now, not so much.

-- 
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: Problem running my Projects on Ubuntu 9.10

2010-01-13 Thread Dave Feltenberger
You installed the beta version of what -- Eclipse or Android?  I'm
having the same issue when I try to run my projects in Ubuntu 9.10 (64
bit) using Eclipse 3.5.1 and JDK 1.6.0_07.

On Jan 5, 6:11 pm, Christopher Saunders c.saunders...@gmail.com
wrote:
 I was having an issue with Eclipse on Ubuntu 9.10 (x86_64) as well.  I
 grabbed the Beta version which works like a charm.

 On Tue, Jan 5, 2010 at 6:08 PM, Magno Kretzschmar Nardin 



 magno.nar...@gmail.com wrote:
  Ubuntu 9.10? Please, install Eclipse 3.5.1 with Synaptic.

  Saludos!

  Magno

  2009/12/21 Stefan some.fus...@gmail.com

  Hi,

  I have a problem with Eclipse and Ubuntu. I have created a new empty
  project but when I try to start it I just get a NullPointerException.
  Here's the full stacktrace:

  [...]

  I had problems to install ADT with the Eclipse that is in the Ubuntu
  repositories, so I have downloaded the precompiled version from
  eclipse.org.
  Is it possible that I have dome something wrong when I have setup the
  ADT environment?

  thanks,
  Stefan

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

 --
 Christopher Saunders
 Linux and Open Source Enthusiast
 blog.christophersaunders.ca
-- 
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] BlazeDS + Android

2010-01-13 Thread filrv
Has anyone used the java client for BlazeDS from adobe with android?

I'm trying but currently I'm getting this error on adding the jar
files to my project.

Error generating final archive: duplicate entry: flex/messaging/
version.properties

Any help would be great

Phil
-- 
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] how to pass the objects from the activity to the app widget

2010-01-13 Thread medpur
Hi,

I need to share the value between the activity and app widget ,

Is there any way to achieve this other than using the intents.

Ex: say x is the variable defined in one class .i need to use the same
variable in the other class .how to achieve this.

I declared like

abc.java
Public static int x;

The above is working only when it is assigned at the time of
declaration.

like Publoc static int x=3.
i can access this in other class as abc.x

But it is not allowing to mofify in the abc.java file .

Please let me know ,is there any other solution ,


Regards
Rajgopal

-- 
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: Getting android.view.WindowManager$BadTokenException alternatively

2010-01-13 Thread Kaka
Ok, I found the problem.
There were some references to views/widgets left that I hadn't
released.

Apparently, when programs in Android are closed and destroyed, the
memory isn't released (or something like that), so you have to take
extra care to clean up after yourself.

On Dec 18 2009, 9:02 pm, Kaka tomas.wenst...@gmail.com wrote:
 I get this exception too, and just like for the op, it occurs every
 second time I
 run my app, but when clicking a Spinner.
 Changing getApplicationContext() to this is about the only working
 solution
 I've found so far, but sadly, I don't use getApplicationContext()
 anywhere.
-- 
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] Plz post Hello, DatePicker code

2010-01-13 Thread yoyo hsu
I looked through everything possible, still can't get it to work. Have
2 errors, R.id cannot be resolved on

mDateDisplay = (TextView) findViewById(R.id.dateDisplay);
mPickDate = (Button) findViewById(R.id.pickDate);

what's wrong?

can someone post the whole code of HelloDatePicker.java please.
-- 
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] Hello World / Emulator Problem

2010-01-13 Thread Jonathan
Hey all, so I just completed the hello world tutorial but it won't
seem to run. I waited for a long time at the Android screen with the
blinking underscore, then finally I moved onto a screen with a fancy
font Android and its kinda flashing silver. The console in eclipse
still says waiting for Home anroid.process.acore... How long does it
usually take to load?? Am I doing something wrong?? 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] MapView application sluggish

2010-01-13 Thread pg
Hi,
I followed the mapview sample application from the android website and
got it to deploy and run on the emulator.
My problem is that the map does not refresh when panning or zooming at
all.
If I run the google maps application in the emulator that runs fine,
its just my application that has a problem refresing/redrawing the
map.

The initial load happens and the application does what I want it to
other than the refresh sluggishness.

The code is all exactly the same as specified on the example.

I am using ADT and Eclipse Galileo for development android sdk.

Any pointers on why the maps do not refresh is appreciated.

Thanks,
Prachi
-- 
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] Need info on how to add the radio buttons dynamically

2010-01-13 Thread medpur
Hi ,

I am working on one applications ,where i need  to add the radio
buttons on the fly ,please let me know how we can ahcieve in the
android application.


Regards,
medpur
-- 
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] Carnegie Mellon University seeks Android developers opinion

2010-01-13 Thread Mobile Survey CMU
We are conducting a survey of mobile application developers aimed at
improving our understanding of mobile application development, focused
on developer practices for building mobile applications. This is a
research project, sponsored by the CyLab Mobility Research Center of
Carnegie Mellon University. Survey results will be made public and
will be available at http://mobileplatforms.wikidot.com  in early
2010.

The survey is open to anyone who is involved in the design and
development of mobile applications, and should take 10-15 minutes to
complete. If you would like to participate in the survey, please click
to go to the survey site at:

http://2010MobileDeveloperSurvey.questionpro.com

You will first be asked to give your consent to participating in the
survey. If you have questions about the survey, please send an email
message to mobilesur...@sv.cmu.edu

Thank you very much for your participation.

All responses will remain confidential and secure. Thank you in
advance for your valuable feedback. Your input will be used to ensure
that we continue to meet your needs. We appreciate your trust and look
forward to serving you in the future.

NOTE: Feel free to circulate this message amongst your colleagues and/
or post it on your blog.
-- 
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] How to emulate camera by using webcam?

2010-01-13 Thread Henri
Hi. I don't have an Android-powered smartphone. How can I emulate the
camera in emulator?

I'm running the emulator from Eclipse 3.5.1.
-- 
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] see this

2010-01-13 Thread selvaraju d
http://123maza.com/786/nasham65/
-- 
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] Book for a newbie

2010-01-13 Thread gony
Having reviewed this group on the subject of best book for newbies, I
have a couple questions:

1) As Begining Android 2 is not out in the UK until Feb would
reading Begining Android put me at a disadvantage or is there not
much difference between the books (I cant hold out until feb to get
started!).

2) Is The Busy Coder's Guide to Android Development effectively the
same as Begining Android 2? - If so I understand the advantages of
purchasing this eBook (3 books for price of one), however I tend to
prefer hardcopy.

3) Would it be fair to say that reading Begining Android could be
followed by Hello Android if you want to understand the UI system
better and get the experience of how to use Android to work on a mini
game project?

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] Running a service on Bootup of android

2010-01-13 Thread Manoj
Can anyone tell me how i can make my service to run automatically when
the phone just complete boot process.
-- 
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] A good place to start learning Java?

2010-01-13 Thread Ed Holley
Were would be a good place to start learning Java?  I have done some limited
VB.net and fairly extensive VB.script programming.  I am not even sure I
installed the android Dev properly.  Any help greatly appreciated.
-- 
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] Need Help : canvas.drawtext() for a lengthy string

2010-01-13 Thread kumar nsn
hi latha
  tell me that how to arrange icons , i hav prob with icons
arrangement.

with regards (kumar)
-- 
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] Error

2010-01-13 Thread sasirekha
Hi,

I am trying an application in Android with App Widgets.
I am getting the following log,

W/ResourceType( 2068): No package identifier when getting value for
resource num
ber 0x007e
D/AndroidRuntime( 2068): Shutting down VM
W/dalvikvm( 2068): threadid=3: thread exiting with uncaught exception
(group=0x4
001aa28)
E/AndroidRuntime( 2068): Uncaught handler: thread main exiting due to
uncaught e
xception
E/AndroidRuntime( 2068): java.lang.RuntimeException: Unable to start
activity Co
mponentInfo{com.android.demo.notepad2/
com.android.demo.notepad2.PostItNote}: and
roid.content.res.Resources$NotFoundException: String resource ID #0x7e


And the Application is not launched.

Any suggestions why this error?


-- 
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] XML and Programmatic Layout together

2010-01-13 Thread RailSoft
Hi!

I am a novice in Android and in the process of developing a killer
app :) Is there a way to mix and match XML and programmatic layout in
a view. A part of my screen is static and can be defined in an XML.
However, there is one part where it is dynamic (not just the data, the
layout itself) and am not sure how to go about this. I can make this
is as a custom Widget, but there is a bit of a learning curve. For
now, I have done the whole layout for that screen in Java and I am not
very convinced about that. I did search the web and the forum, but
didn't find any answer. Any suggestion is highly appreciated.

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] multiple layouts

2010-01-13 Thread Midhat-University Of Karachi
I have created multiple layouts  but i dnt know how to display them in
android in a sequence?
-- 
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] Creating a bubble when clicking on map pin

2010-01-13 Thread Ivanico
Hi,

I'm just wondering if there is an easy way to create a bubble when
clicking on a map pin. At the moment I'm doing it with a Toast, I
would like something a bit fancier.

Is there anything on the Maps API I can use? I haven't been able to
find anything.

Many 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] adb atmel devboards works for anyone?

2010-01-13 Thread Barna Csenteri
Hi

Anyone managed to use any ATMEL development board as a debbugging
target for Android?

I used the latest release of the USB driver with one of the Atmel
boards running Android - the device appears fine with the default USB
drivers downloaded from Google (in the device manager appears as
Android Composite ADB Interface). The driver gives no error, it seems
to work. Before installing the driver Vista recognized it as some
network gadget so it seems the USB communication works with the
board on some level.

The device has enabled Settings/Aplications/Development/USB Debugging

The adb bridge gives no device in the device list (only the emulator
if I start one). Tried to rescan USB devices with adb usb - the
result is error: device not found

Any clues, hints?

regards,
Barni
-- 
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] How to make any service running automatically when the phone is turned on.

2010-01-13 Thread Manoj
hi please help how to make any service in android to run automatically
when the phone is turned on.
-- 
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] MARQUEE_Speed Control

2010-01-13 Thread SREEHARI
Is there any way to control the speed of Marquee text?? I have done
the MARQUEE. But the text is moving in a constant speed. Is there any
method to adjust the speed?
-- 
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] How to get a reference of the parent Activity

2010-01-13 Thread Hannes H.
Hey folks,

If I'm starting the NewActivity with startActivityForResult(): Is it
possible to get in NewActivity a reference of that Activity, where I
had started NewActicity?

For example: In MainActivity I am starting NewActicity. How to get an
reference of MainActivity in NewActivity?

Thx for your help!

Hannes
-- 
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] HttpClient through wifi OK, through 3G KO

2010-01-13 Thread Hubert Behaghel
Hi,

I have got a servlet that returns Hello World on each POST :
{
  resp.setCharacterEncoding(utf-8);
  resp.setContentType(text/plain);
  PrintWriter out = resp.getWriter();
  out.append(Hello World);
  out.flush();
  out.close();
}
I have got an HTML page that queries this servlet through an XMLHttpRequest.
Both are deployed on a tomcat reachable on the internet.

I have got my android app that uses HttpClient to reach my servlet
deployed on my Tomcat. It is installed on my HTC Magic.

If I launch it when connected on Wifi : it works.
If I launch it when connected to 3G (GSM data network) : it doesn't
work but my servlet is reached.

Technical problem while receiving response.
org.apache.http.NoHttpResponseException: The target server failed to respond
at 
org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:85)
at 
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
at 
org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:179)
at 
org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
at 
org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
at 
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:410)
at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)

If I use the web browser through 3G to activate my HTML page, I do see
the Hello World.

How could I debug HttpClient or ask it to dump everything ?

Does someone have a clue on what's going on ?

Thanks a lot,

--
Hubert
-- 
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] Instructions to install Android on Netbook

2010-01-13 Thread Jaswinder Singh Rajput
Hello friends,

I am looking for the instructions to install Android on a Netbook. Any clue.

Thanks for your help.
--
Jaswinder Singh.
-- 
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 Development Article

2010-01-13 Thread Anthony Forth
As part of my learning curve for Android development, I've written an
article on developing an app that can download a content package containing
HTML and JPEGs, work with it off-line and keep the content package
up-to-date.

The articles at -
http://docs.google.com/Doc?docid=0AQUNfxUJgskIZGQ1N3hkdzdfMTdkcjhmenhmbQhl=en

I'd be grateful for any comments.

Anthony
-- 
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: Can't install SDK, HTTPS Error

2010-01-13 Thread POTP
Stupid Stuff!
I got this too, after searching around I realized the settings in the
android application are where you need to go.
Click the cancel button on the error window. Choose the Settings on
the Android SDK and AVD manager. In the Misc section below proxy
settings you find the force https flag.Click it, and save and apply
the change. Return to Available Packages menu, and refresh. The file
will be fetched and the packages will be listed. Choose the ones you
want and install selected...Happy droiding.


On Dec 2 2009, 12:38 pm, Orbian orb...@gmail.com wrote:
 I just ran the SDK installer on my Vista machine. I am getting the
 following error.

 Failed to fetch 
 URLhttps://dl-ssl.google.com/android/repository/repository.xml,
 reason: HTTPS SSL error. You might want to force download through HTTP
 in the settings.

 I am able to enter this URL in a browser and it fetches the XML
 document with no problem. Only when running the SDK setup do I get the
 error. It mentions forcing an HTTP download in settings but all the
 settings tab has is a place to enter an HTTP proxy, which I am not
 using.
-- 
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] How to make a Widget start an app?

2010-01-13 Thread Lyndon
I am trying to do something that MUST be very simple but for the life
of me I cannot find the answer.

I have a very simple Widget taken from the book Hello, Android!

All it does is display the date and time. It works fine.

I want to make it respond to a 'click' and start the browser (or any
app for that matter).

I have spent absolutely ages researching how to do this and I can find
no examples on the web.

Can any one point me in the right direction, please.

Regards

Lyndon
-- 
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] Eclipse Debugger

2010-01-13 Thread Lyndon
Hi

I am an experienced Java web developer and have been using Eclipse for
about 5 years.

I recently thought I'd give Android a go and so I set up Galileo with
the Android ADK.

I can get the example apps and widgets working no problem but...

I cannot get the Eclipse debugger to work at all.

I have followed the instructions and let the 'Debug as...' process
start the AVD and I have set breakpoints but I can never get the
process to stop on a breakpoint.

It's very strange.

Also, I have Logcat working but quite often that stops showing
anything too.

Is the ADK buggy?

-- 
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: ADB and Eclipse Losing Contact with Emulator

2010-01-13 Thread Don
I have bruised myself on this problem, using Eclipse Gandymede. I am
using AVD 1.6 at the moment.
In my case the sad result appears to be caused by exceptions from my
own code, though i suppose one might argue that the tools should be
more robust.
I needed to read the Reference documentation carefully.
For instance, I used wait() on a thread when i meant sleep().
In  onPause(),  onResume():  make sure to call super.onPause(),
super.onResume()

Is there a quicker way to diagnose such errors? Please let me know.

On Jan 2, 2:18 am, jimjenkins5 jimjenki...@gmail.com wrote:
 Hello all,

 I am having a problem with the emulator (orADB).  I consistently lose
 connection with the emulator andADBdoes not list it as a running
 device.  Eclipse will report back sadresultfromadb! after trying
 to install the program.

 I am running Eclipse Galileo and most AVD's I've tried have been 1.6
 although I have tried 2.0, 1.5, 1.1 also.

 I've added an exception in my firewall, turned the firewall off, and
 disabled antivirus applications.

 I've also tried completely uninstalling eclipse (i.e. deleting the
 folder and redoenloading) and the Android SDK.

 So far nothing has worked and my development is at a standstill.  The
 only thing I can get to work is to create a new AVD each time I debug
 the application which is time consuming and requires waiting 10
 minutes for the emulator to start up again for every change in code.

 Any ideas on what I may be able to do would be appreciated.  I am very
 frustrated at this point.

 Thanks,
 Jim
-- 
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] problem with adb

2010-01-13 Thread vin
VIN..


On Mon, Jan 11, 2010 at 7:23 AM, Rc3375 rcobb3...@gmail.com wrote:

 I am developing on windows7.  I am using eclipse(not from the command
 prompt). All android packages are one the system.  The problem is
 whenever eclipse starts up, it come up and and says cannot parse adb
 version.  Abd IS installed as are all deveoper tools in their default
 directories.  All path are set correctly from the windows7
 enviorment.  IF you look at a avd (that I called noMaps15, or of any
 of the others) all have INCLUDED the program that I need to look at.
 But again, it seems that the ERROR is with the ADB portion.  Once
 again, when ECLIPSE starts up, this error comes up unable to parse
 adb version.  Even if adb is started from the command prompt, the
 program in question does not show up and runs, even after an hour.  I
 have another laptop that has eclipse on it, and that one is sorta
 slow...but it works fine.  I do not have access to it, because I drive
 truck.  Just trying to get this new laptop workingOnce again,
 thank everyone for your help.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.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] Problem with onListItemClick()

2010-01-13 Thread grace.a...@wipro.com
i have tried displaying a list using list activity.
it is working fine,but the problem is with the listener
when i click on the list item using the mouse the listener is not
being called..
strangely it(onListItemClick()) is working fine when i use the key-up
key-down keys to click on the list item.

 can anyone please tell what could be the problem??

this is the sample code i have used..
public class NoteList extends ListActivity{
ListString feeds = new ArrayListString(10/*messages.size()*/);

String [] path={http://10.200.207.85:8080/android_news.xml,http://
10.200.207.85:8080/rss.xml};
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.notes_list);
 fillList();

}
public void fillList()
{
feeds.add(Android_news);
feeds.add(MS-US-Local);
this.setListAdapter(new ArrayAdapterString(this,
R.layout.row,feeds));

}
@Override
protected void onListItemClick(ListView l, View v, int position,
long id) {
super.onListItemClick(l, v, position, id);
String data = path[position];
//this is where the logic of onclick defined
NoteEditLogic n=new NoteEditLogic(getContentResolver());
n.save1(null, data);
finish();

}
}


Thanks and Regards

Grace.
-- 
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] problem with adb

2010-01-13 Thread vin
u need to install eclipse with adt version 0.9.2 or above and sdk 1.6 it
will work fine ..
and set target also

VIN..


On Mon, Jan 11, 2010 at 7:23 AM, Rc3375 rcobb3...@gmail.com wrote:

 I am developing on windows7.  I am using eclipse(not from the command
 prompt). All android packages are one the system.  The problem is
 whenever eclipse starts up, it come up and and says cannot parse adb
 version.  Abd IS installed as are all deveoper tools in their default
 directories.  All path are set correctly from the windows7
 enviorment.  IF you look at a avd (that I called noMaps15, or of any
 of the others) all have INCLUDED the program that I need to look at.
 But again, it seems that the ERROR is with the ADB portion.  Once
 again, when ECLIPSE starts up, this error comes up unable to parse
 adb version.  Even if adb is started from the command prompt, the
 program in question does not show up and runs, even after an hour.  I
 have another laptop that has eclipse on it, and that one is sorta
 slow...but it works fine.  I do not have access to it, because I drive
 truck.  Just trying to get this new laptop workingOnce again,
 thank everyone for your help.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.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


  1   2   3   >