[android-beginners] Publish an ADC2 application

2009-09-06 Thread jaaaelpumuki

I published an app in the ADC2, can I publish it in the normal
market?
do I have to do any change?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android Phone

2009-09-06 Thread Maxood

Go for the HTC Hero from Motorola...its awesome! Or you can also
consider buying a TMobil G1 phone. There are other varieties as well.
I'm not sure whether about ATT service though.
You may check their websites.

Maqsood

On Sep 5, 7:31 am, pdelaney delaneymichaelpe...@gmail.com wrote:
 Hello;
 I have just begun developing for the Android phone and all of my test
 have been on the emulator.   I realize I need to get a real phone, but
 I am not sure which one I should get.  I have ATT service and they do
 not have an Android phone to date only iPhone.

 Could someone recommend a phone that I may purchase that will allow me
 to test my application while also using it as a phone with my current
 ATT service?
 Peter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: a problem with connection Http

2009-09-06 Thread Smelly Eddie

Can you access the web with the emulator? I get hostname can not be
resolved errors in similar code as above.

Do I specify my pc as a proxy or something?

On Jul 22, 11:16 am, Justin (Google Employee) j...@google.com
wrote:
 My guess is you are using the emulator here. To the emulator,
 localhost will refer to the emulator itself. It is its own virtual
 device, you may consider it its own entity on the network, so you'll
 need to use a proper hostname or IP address for the servlet you want
 to access.

 Cheers,
 Justin
 Android Team @ Google

 On Jul 22, 6:47 am, Ahmed BEJAOUI ahmed.bejaoui...@gmail.com wrote:

  Hello every body, and excuse me for my poor English .

  I'm trying de build an activity which connect to a servlet. But the command
  execute (httpGet) doesn't work!! i write the permission of internet in the
  manifest.xml, but it doesn't work!!
  heres my code its supposed to connect to the servlet: and thank you

  import java.io.InputStream;

  import org.apache.http.HttpEntity;
  import org.apache.http.HttpResponse;
  import org.apache.http.client.HttpClient;
  import org.apache.http.client.ResponseHandler;
  import org.apache.http.client.methods.HttpGet;
  import org.apache.http.impl.client.BasicResponseHandler;
  import org.apache.http.impl.client.DefaultHttpClient;
  import org.xml.sax.InputSource;
  import org.xml.sax.XMLReader;

  import android.app.Activity;
  import android.os.Bundle;
  import android.util.Log;
  import android.widget.EditText;

  public class Connect extends Activity {
      /** Called when the activity is first created. */

      private String adresse = new 
  String(http://localhost:8080/Test_tomcat/Testt;);
      private EditText mTitleText;

      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
          mTitleText = (EditText) findViewById(R.id.message);
          connect(adresse);
      }

      public void connect(String url){
          try {
              HttpClient httpclient = new DefaultHttpClient();

              // Prepare a request object
              HttpGet httpget = new HttpGet(url);

              // Execute the request
              HttpResponse response;
              try {

                  response = httpclient.execute(httpget);

                   mTitleText.append(connexion);

                  //Gethold of the response entity
                  HttpEntity entity = response.getEntity();
                  // If the response does not enclose an entity, there is no
  need
                  // to worry about connection release

                  if (entity != null) {
                      mTitleText.append(response.getStatusLine().toString());
                  }
                  }catch (Exception e) {mTitleText.append(connexion);
                  }

              httpclient.getConnectionManager().shutdown();

          } catch (Exception e) {
              Log.e(Connect, exception au niveau de l'adresse);

          }

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



[android-beginners] Re: How can I save a ranking info of game ?

2009-09-06 Thread Yusuf Saib (T-Mobile USA)

You don't necessarily need a SQL server, any web app can save
rankings. Just submit them from the phone via an HTTP POST, XML-RPC,
SOAP or REST (pick whichever you like). On the back end, there are
lots of ways to implement a simple server to store and serve the data.


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



On Sep 5, 7:05 am, 김병주 stylej...@gmail.com wrote:
 Thx..I have a poor English skill so It was pretty difficult to ask more
 specific
 BTW thx to your advice good luck
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android Phone

2009-09-06 Thread Chi Kit Leung
myTouch 3G, I am using the australian version HTC Magic.
I love it.
By the way, maybe, Hero is good, because it does not arrive in Australia
yet. I have not any hand-on experinces. I can't comment on it.

On Sun, Sep 6, 2009 at 7:44 PM, Maxood maqs...@salsoft.net wrote:


 Go for the HTC Hero from Motorola...its awesome! Or you can also
 consider buying a TMobil G1 phone. There are other varieties as well.
 I'm not sure whether about ATT service though.
 You may check their websites.

 Maqsood

 On Sep 5, 7:31 am, pdelaney delaneymichaelpe...@gmail.com wrote:
  Hello;
  I have just begun developing for the Android phone and all of my test
  have been on the emulator.   I realize I need to get a real phone, but
  I am not sure which one I should get.  I have ATT service and they do
  not have an Android phone to date only iPhone.
 
  Could someone recommend a phone that I may purchase that will allow me
  to test my application while also using it as a phone with my current
  ATT service?
  Peter
 



-- 
Regards,
Michael Leung
http://www.itblogs.info
http://www.michaelleung.info

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



[android-beginners] Re: a problem with connection Http

2009-09-06 Thread Chi Kit Leung
you have to set the premissions for internet.
Please read:
http://www.itblogs.info/index.php/2009/07/27/android-apps-internet-permission?blog=6

On Mon, Sep 7, 2009 at 5:04 AM, Smelly Eddie ollit...@gmail.com wrote:


 Can you access the web with the emulator? I get hostname can not be
 resolved errors in similar code as above.

 Do I specify my pc as a proxy or something?

 On Jul 22, 11:16 am, Justin (Google Employee) j...@google.com
 wrote:
   My guess is you are using the emulator here. To the emulator,
  localhost will refer to the emulator itself. It is its own virtual
  device, you may consider it its own entity on the network, so you'll
  need to use a proper hostname or IP address for the servlet you want
  to access.
 
  Cheers,
  Justin
  Android Team @ Google
 
  On Jul 22, 6:47 am, Ahmed BEJAOUI ahmed.bejaoui...@gmail.com wrote:
 
   Hello every body, and excuse me for my poor English .
 
   I'm trying de build an activity which connect to a servlet. But the
 command
   execute (httpGet) doesn't work!! i write the permission of internet
 in the
   manifest.xml, but it doesn't work!!
   heres my code its supposed to connect to the servlet: and thank you
 
   import java.io.InputStream;
 
   import org.apache.http.HttpEntity;
   import org.apache.http.HttpResponse;
   import org.apache.http.client.HttpClient;
   import org.apache.http.client.ResponseHandler;
   import org.apache.http.client.methods.HttpGet;
   import org.apache.http.impl.client.BasicResponseHandler;
   import org.apache.http.impl.client.DefaultHttpClient;
   import org.xml.sax.InputSource;
   import org.xml.sax.XMLReader;
 
   import android.app.Activity;
   import android.os.Bundle;
   import android.util.Log;
   import android.widget.EditText;
 
   public class Connect extends Activity {
   /** Called when the activity is first created. */
 
   private String adresse = new String(
 http://localhost:8080/Test_tomcat/Testt;);
   private EditText mTitleText;
 
   public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.main);
   mTitleText = (EditText) findViewById(R.id.message);
   connect(adresse);
   }
 
   public void connect(String url){
   try {
   HttpClient httpclient = new DefaultHttpClient();
 
   // Prepare a request object
   HttpGet httpget = new HttpGet(url);
 
   // Execute the request
   HttpResponse response;
   try {
 
   response = httpclient.execute(httpget);
 
mTitleText.append(connexion);
 
   //Gethold of the response entity
HttpEntity entity = response.getEntity();
   // If the response does not enclose an entity, there is
 no
   need
   // to worry about connection release
 
   if (entity != null) {
  
 mTitleText.append(response.getStatusLine().toString());
   }
   }catch (Exception e) {mTitleText.append(connexion);
   }
 
   httpclient.getConnectionManager().shutdown();
 
   } catch (Exception e) {
   Log.e(Connect, exception au niveau de l'adresse);
 
   }
 
   }
   }
 



-- 
Regards,
Michael Leung
http://www.itblogs.info
http://www.michaelleung.info

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



[android-beginners] Re: Getting stated

2009-09-06 Thread Justin Anderson
And after you do that, read the android developer guide...

http://developer.android.com/guide/index.html

Thanks,
Justin

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


On Fri, Sep 4, 2009 at 1:16 PM, tinyang tiny...@earthlink.net wrote:

  Do you know java?  If not, spend some time on that first.  Pick up- a
 book, or follow online tutorials, many are available.

 Then once familiar with at least the basics of java, start here:

 http://www.google.com/#hl=ensource=hpq=android+getting+startedbtnG=Google+Searchaq=foq=android+getting+startedfp=d4b13f00c79a

  --
 *From:* android-beginners@googlegroups.com [mailto:
 android-beginn...@googlegroups.com] *On Behalf Of *Niamathullah sharief
 *Sent:* Thursday, September 03, 2009 10:14 PM
 *To:* android-beginners@googlegroups.com
 *Subject:* [android-beginners] Getting stated

  Hi friends,
This is my first step in android even first mail too. Please tell me
 where i can find the right tutorial to learn android in efficient way in
 easy steps.
Thank you

 No virus found in this incoming message.
 Checked by AVG - http://www.avg.com
 Version: 8.0.169 / Virus Database: 270.13.71/2332 - Release Date: 9/3/2009
 6:05 PM

 


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



[android-beginners] Re: Android Phone

2009-09-06 Thread Roman ( T-Mobile USA)

HTC Hero from Motorola ? I was not aware of that Motorola had money to
buy HTC :-)

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



On Sep 6, 2:44 am, Maxood maqs...@salsoft.net wrote:
 Go for the HTC Hero from Motorola...its awesome! Or you can also
 consider buying a TMobil G1 phone. There are other varieties as well.
 I'm not sure whether about ATT service though.
 You may check their websites.

 Maqsood

 On Sep 5, 7:31 am, pdelaney delaneymichaelpe...@gmail.com wrote:

  Hello;
  I have just begun developing for the Android phone and all of my test
  have been on the emulator.   I realize I need to get a real phone, but
  I am not sure which one I should get.  I have ATT service and they do
  not have an Android phone to date only iPhone.

  Could someone recommend a phone that I may purchase that will allow me
  to test my application while also using it as a phone with my current
  ATT service?
  Peter


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



[android-beginners] Re: OnTouchListener is not able to change ImageResource

2009-09-06 Thread Justin Anderson
I'm not sure offhand why this crashes, but it could be any number of
reasons...  If you could post the logcat output, that would be very helpful.

Also, I was wondering what you were trying to accomplish with this?  If you
are trying to change the image when a touch event occurs and then have it
change back when the touch event is done, you may want to consider using a
selector drawable instead...

It allows you to specify a single drawable that will change based on the
state of the object... i.e. onFocus, onPressed, etc

I just barely figured out how to do that and there wasn't a whole lot of
documentation available.  If that is what you are trying to do I will post
again with how to do that...

Thanks,
Justin

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


On Fri, Sep 4, 2009 at 12:49 AM, SAnandNarayan anandnarayan...@gmail.comwrote:


 When The Image 'a' is touched , the application chrashes , i am only
 changing the ImageResouce from 'a' to 'c' ..Here is the code



 public class Teach extends Activity {
/** Called when the activity is first created. */
LinearLayout mLinearLayout;
ImageView a;

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);

DisplayMetrics dm = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(dm);
  int width= dm.widthPixels;
  int height=dm.heightPixels;

mLinearLayout = new LinearLayout(this);
mLinearLayout.setOrientation(LinearLayout.VERTICAL);


a = new ImageView(this);


a.setImageResource(R.drawable.a);
a.setOnTouchListener(toucha);
a.setAdjustViewBounds(true);
a.setMaxHeight(height/2);
a.setMaxWidth(width/2);
a.setLayoutParams(new Gallery.LayoutParams

 (android.widget.Gallery.LayoutParams.WRAP_CONTENT,android.widget.Gallery.LayoutParams.WRAP_CONTENT));
   LayoutParams.WRAP_CONTENT));

ImageView b = new ImageView(this);
b.setImageResource(R.drawable.b);

b.setAdjustViewBounds(true);
b.setMaxHeight(100);
b.setMaxWidth(100);
b.setLayoutParams(new Gallery.LayoutParams

 (android.widget.Gallery.LayoutParams.WRAP_CONTENT,android.widget.Gallery.LayoutParams.WRAP_CONTENT));

mLinearLayout.addView(a);

mLinearLayout.addView(b);

setContentView(mLinearLayout);


}
 OnTouchListener toucha=new OnTouchListener(){

@Override
public boolean onTouch(View v, MotionEvent event) {
 ((ImageView) v).setImageResource(R.drawable.c);
return true;

}


};
 }

 


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



[android-beginners] Re: Android Phone

2009-09-06 Thread Jeffrey Blattman




i'm using an htc dream (g1) on att. i bought a used t-mobile
version and paid the $15 to unlock it. note that the g1 doesn't do 3g
on att. t-mobile and att use different 3g bands :( in the US,
there aren't many options. if you don't want the dream, you can pay
+$500 for an unlocked HTC magic, or get it from t-mobile for $199 and
get in contract with them for 2 years. 

by the end of the year, there should be 2-3 more US phones running
android. 


  On Sep 5, 7:31am, pdelaney delaneymichaelpe...@gmail.com wrote:
  
  
Hello;
I have just begun developing for the Android phone and all of my test
have been on the emulator.  I realize I need to get a real phone, but
I am not sure which one I should get. I have ATT service and they do
not have an Android phone to date only iPhone.

Could someone recommend a phone that I may purchase that will allow me
to test my application while also using it as a phone with my current
ATT service?
Peter

  
  
  


-- 





[android-beginners] Re: Is there a way to install LiveAndroid to PC permanently?

2009-09-06 Thread swapnil kamble
Hi,
There is new installable iso available. You can download that from

http://code.google.com/p/android-x86/downloads/list

On Thu, Sep 3, 2009 at 11:32 PM, windrg windr...@gmail.com wrote:


 Hello, All?
 I'd like to see if there is a way to install LiveAndroid to PC
 permanently?
 Pls let me know if you have...^^
 I really hope get a real Android machine that is networking available.

 Thx.

 



-- 
...Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
|| Hare RamaHare Rama   Rama   RamaHare Hare ||

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



[android-beginners] Re: Is there a way to install LiveAndroid to PC permanently?

2009-09-06 Thread Roman ( T-Mobile USA)

Instead of running LiveAndroid directly why not running it on a
virtual machine on your system?

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

On Sep 3, 11:02 am, windrg windr...@gmail.com wrote:
 Hello, All?
 I'd like to see if there is a way to install LiveAndroid to PC
 permanently?
 Pls let me know if you have...^^
 I really hope get a real Android machine that is networking available.

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



[android-beginners] Re: Android tutorial

2009-09-06 Thread Maxood

Where are you based? Are you working by yourself or working with a
company?
I can also help you out for android development.

Maqsood

On Sep 4, 4:50 pm, Niamathullah sharief developershar...@gmail.com
wrote:
 Hi friends,
   This is my first step in android even first mail too. Please tell me where
 i can find the right tutorial to learn android in efficient way and in easy
 steps.
   Thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---