[android-beginners] Re: Android Targets

2008-09-24 Thread Casey Borders

Android is not meant to install on those platforms, it is meant to be
a replacement for those platforms.  As for putting Android on a device
that didn't come with it, you will have to reflash the ROM chip,
which, if done improperly, can trash the device.  And seeing as how it
would also void your warranty you would end up with a very shiny
brick!  My advice, unless you are absolutely sure you know what you're
doing, would be to either buy the G1, or wait for another Android
device to be released.

On Tue, Sep 23, 2008 at 9:21 PM, Inam Jameel [EMAIL PROTECTED] wrote:

 Hi to all
 i m new in mobile application development. i want to know which
 mobiles can support Android.
 according to my research on mobile platforms there are currently 5
 major platforms including, Blackberry, Windows Mobile, Symbian, iPhone
 etc.
 please inform me about the target areas of Android.
 will Android be install on the above mentioned platforms or not??


 


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



[android-beginners] Re: New Tmobile G1

2008-09-24 Thread Casey Borders

Check this out! http://code.google.com/android/adc_gallery/

On Tue, Sep 23, 2008 at 11:51 PM, Henry [EMAIL PROTECTED] wrote:

 Hey I pre-ordered the new tmobile g1 phone and I am very excited with
 the way the Android softwares are so open to new things unlike apples
 stuff where they have to control everything and make it hard for
 people to do anything. I was wondering if there is a place where I can
 shop for these softwares already I dont get my phone till Oct. 22 and
 I should get it on that day because I pre ordered it but is there a
 place where I can browse softwares for it already?

 


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



[android-beginners] Unable to install ADT

2008-09-24 Thread Hussein

Hey.
I'm trying to install Android Developer Tools on Eclipse Ganymede
installed on Ubuntu 7.10.
I followed the instructions in
http://code.google.com/android/intro/installing.html#installingplugin
But upon adding the previous site I got an error indication that the
previous URL isn't a repository.
Any ideas?
Thanks.

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



[android-beginners] [Help] About URLConnection

2008-09-24 Thread Ka

Hi,
I don't know why it doesn't work,
I'm using eclipse version 3.4
and android sdk0.9beta

Actually, I want to get the html code from a website,
and it throw to EXCEPETION , unknown error.
Then I try a sample code from http://www.anddev.org/working_with_files-t115.html

I found that when it runs .getInputStream(), it throw throw to
excepetion.

Here is the code.
-
package com.demo.test;
import java.net.*;
import java.io.*;

import org.apache.http.util.ByteArrayBuffer;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class test extends Activity {
@Override
public void onCreate(Bundle icicle) {
 super.onCreate(icicle);

 /* We will show the data we read in a TextView. */
 TextView tv = new TextView(this);

 /* Will be filled and displayed later. */
 String myString = null;
 try {
  /* Define the URL we want to load data from. */
  URL myURL = new URL(
http://www.anddev.org/images/tut/basic/
getdatafromtheweb/loadme.txt);
  /* Open a connection to that URL. */
  myString = before inputStream2;
  URLConnection ucon = myURL.openConnection();

  /* Define InputStreams to read
   * from the URLConnection. */
  InputStream is = ucon.getInputStream();
  BufferedInputStream bis = new BufferedInputStream(is);

  /* Read bytes to the Buffer until
   * there is nothing more to read(-1). */
  ByteArrayBuffer baf = new ByteArrayBuffer(50);
  int current = 0;
  while((current = bis.read()) != -1){
   baf.append((byte)current);
  }

  /* Convert the Bytes read to a String. */
  myString = new String(baf.toByteArray());
 } catch (Exception e) {
  /* On any Error we want to display it. */
  //myString = e.getMessage();
 }
 /* Show the String on the GUI. */
 tv.setText(myString);
 this.setContentView(tv);
}
}

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



[android-beginners] [help] throw expection when use getInputStream()

2008-09-24 Thread Ka

Hi,

I am using eclipse version 3.4
android SDK 0.9Beta.

Actually, I want to get the html from a website. But it throw to
exception with unknow error, I found that when it
run .getInputStream(), then throw  exception.

I try a sample from http://www.anddev.org/working_with_files-t115.html,
same happen.

Here is the code:
---
package com.demo.test;
import java.net.*;
import java.io.*;

import org.apache.http.util.ByteArrayBuffer;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class test extends Activity {
@Override
public void onCreate(Bundle icicle) {
 super.onCreate(icicle);

 /* We will show the data we read in a TextView. */
 TextView tv = new TextView(this);

 /* Will be filled and displayed later. */
 String myString = null;
 try {
  /* Define the URL we want to load data from. */
  URL myURL = new URL(
http://www.anddev.org/images/tut/basic/
getdatafromtheweb/loadme.txt);
  /* Open a connection to that URL. */
  myString = before inputStream2;
  URLConnection ucon = myURL.openConnection();

  /* Define InputStreams to read
   * from the URLConnection. */
  InputStream is = ucon.getInputStream();
  BufferedInputStream bis = new BufferedInputStream(is);

  /* Read bytes to the Buffer until
   * there is nothing more to read(-1). */
  ByteArrayBuffer baf = new ByteArrayBuffer(50);
  int current = 0;
  while((current = bis.read()) != -1){
   baf.append((byte)current);
  }

  /* Convert the Bytes read to a String. */
  myString = new String(baf.toByteArray());
 } catch (Exception e) {
  /* On any Error we want to display it. */
  //myString = e.getMessage();
 }
 /* Show the String on the GUI. */
 tv.setText(myString);
 this.setContentView(tv);
}
}

Pls help ~ Thx so much !

Regards,
Ka

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



[android-beginners] Re: Unable to install ADT

2008-09-24 Thread Uwe Grauer

Hussein wrote:
 Hey.
 I'm trying to install Android Developer Tools on Eclipse Ganymede
 installed on Ubuntu 7.10.
 I followed the instructions in
 http://code.google.com/android/intro/installing.html#installingplugin
 But upon adding the previous site I got an error indication that the
 previous URL isn't a repository.
 Any ideas?
 Thanks.

The URL
https://dl-ssl.google.com/android/eclipse/site.xml
worked for me.



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



[android-beginners] Re: Could not find HelloAndroid.apk!

2008-09-24 Thread Imran



On Sep 21, 12:17 am, patrick91 [EMAIL PROTECTED] wrote:
 Hi I've this error when I ran the android hello world:

 [2008-09-20 21:13:34 - HelloAndroid] --
 [2008-09-20 21:13:34 - HelloAndroid] Android Launch!
 [2008-09-20 21:13:34 - HelloAndroid] adb is running normally.
 [2008-09-20 21:13:34 - HelloAndroid] Could not find HelloAndroid.apk!

 but in error there is nothing :(

 I'm using eclipse under debian sid

  hey Patrick  i to got the same Problem. but i solved it in some
tricky way(i think..)
   i created another project and copied  all the files from
old project to new project and than  i ran my new project it
worked for me..
 u can try it 
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] T-Mobile G1 skin now available for Android Emulator!

2008-09-24 Thread Tea Vui Huang

T-Mobile G1 skin now available for Android Emulator!
http://teavuihuang.com/android

To install, download and unzip HVGA-P-G1.zip to the Android skin
directory, e.g. C:\android-sdk-windows-1.0_r1\tools\lib\images
\skins. To run the Android emulator with this T-Mobile G1 skin, enter
this on the command line: emulator -skin HVGA-P-G1.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Unable to install ADT

2008-09-24 Thread Hussein

Not working :(
The same error.

On Sep 24, 4:49 am, Uwe Grauer [EMAIL PROTECTED] wrote:
 Hussein wrote:
  Hey.
  I'm trying to install Android Developer Tools on Eclipse Ganymede
  installed on Ubuntu 7.10.
  I followed the instructions in
 http://code.google.com/android/intro/installing.html#installingplugin
  But upon adding the previous site I got an error indication that the
  previous URL isn't a repository.
  Any ideas?
  Thanks.

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



[android-beginners] netbeans + android = compile error

2008-09-24 Thread fabio.gravina

Hallo,
I've installed undroid plugins for netbeans
but when i run an example appl  netbeans return me:
ERROR: Unknown command 'compile'
Android Asset Packaging Tool

Usage:
 aapt l[ist] [-v] [-a] file.{zip,jar,apk}
   List contents of Zip-compatible archive.
...
bla bla


/home/fabio/NetBeansProjects/AndroidApplication1/nbproject/build-
impl.xml:334: exec returned: 2
BUILD FAILED (total time: 0 seconds)
someone can help me
thank's
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Unable to install ADT

2008-09-24 Thread Filipe Abrantes

I had this problem once (on Linux). Removing gcj solved the issue that 
time...

Hope it helps,
Filipe


Hussein wrote:
 Not working :(
 The same error.

 On Sep 24, 4:49 am, Uwe Grauer [EMAIL PROTECTED] wrote:
   
 Hussein wrote:
 
 Hey.
 I'm trying to install Android Developer Tools on Eclipse Ganymede
 installed on Ubuntu 7.10.
 I followed the instructions in
 http://code.google.com/android/intro/installing.html#installingplugin
 But upon adding the previous site I got an error indication that the
 previous URL isn't a repository.
 Any ideas?
 Thanks.
   
 The URLhttps://dl-ssl.google.com/android/eclipse/site.xml
 worked for me.
 
 
   


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



[android-beginners] Re: Could not find HelloAndroid.apk!

2008-09-24 Thread patrick91

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



[android-beginners] Re: Unable to install ADT

2008-09-24 Thread Hussein

How to remove it?

On Sep 24, 8:21 am, Filipe Abrantes [EMAIL PROTECTED] wrote:
 I had this problem once (on Linux). Removing gcj solved the issue that
 time...

 Hope it helps,
 Filipe

 Hussein wrote:
  Not working :(
  The same error.

  On Sep 24, 4:49 am, Uwe Grauer [EMAIL PROTECTED] wrote:

  Hussein wrote:

  Hey.
  I'm trying to install Android Developer Tools on Eclipse Ganymede
  installed on Ubuntu 7.10.
  I followed the instructions in
 http://code.google.com/android/intro/installing.html#installingplugin
  But upon adding the previous site I got an error indication that the
  previous URL isn't a repository.
  Any ideas?
  Thanks.

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



[android-beginners] Download Android ?

2008-09-24 Thread moe

Hello,

Sorry for the lame question well maybe not so lame. But I was
wondering could I just download Android? since its open source and
install it on my touch screen MDA ?

Thanks

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



[android-beginners] New Free HTC Dream / T-Mobile G1 Android Emulator Skins

2008-09-24 Thread Olaf Encke

I've created four HTC Dream Skins for the Android Emulator that I
would like to share with the Android community. They feature the black
and the white version of the phone both in portrait and in landscape
mode.

You can grab them on this site:
http://www.android.encke.net

Happy coding.

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



[android-beginners] Android SDK and Eclipse Ganymede

2008-09-24 Thread JMcGarvey

Hello,
I just installed the SDK and plugin for Eclipse, and I have errors
that I can't decipher (Java newbie):


ERROR No resource identifier found for attribute 'versionCode' in
package 'android'   AndroidManifest.xml

ERROR No resource identifier found for attribute 'versionName' in
package 'android'   AndroidManifest.xml

R cannot be resolvedHelloAndroid.java


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



[android-beginners] Re: Android Targets

2008-09-24 Thread [EMAIL PROTECTED]

Does it mean, its possible to flash any phone with android?
I have a moto ming which I believe runs on MV-Linux. I wanted to know
if I can flash the ROM with Android.
Thank You,

On Sep 24, 11:00 am, Casey Borders [EMAIL PROTECTED] wrote:
 Android is not meant to install on those platforms, it is meant to be
 a replacement for those platforms.  As for putting Android on a device
 that didn't come with it, you will have to reflash the ROM chip,
 which, if done improperly, can trash the device.  And seeing as how it
 would also void your warranty you would end up with a very shiny
 brick!  My advice, unless you are absolutely sure you know what you're
 doing, would be to either buy the G1, or wait for another Android
 device to be released.

 On Tue, Sep 23, 2008 at 9:21 PM, Inam Jameel [EMAIL PROTECTED] wrote:

  Hi to all
  i m new in mobile application development. i want to know which
  mobiles can support Android.
  according to my research on mobile platforms there are currently 5
  major platforms including, Blackberry, Windows Mobile, Symbian, iPhone
  etc.
  please inform me about the target areas of Android.
  will Android be install on the above mentioned platforms or not??

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



[android-beginners] Re: Android Targets

2008-09-24 Thread Casey Borders

You would need to make sure that you compile the kernel for the
correct processor, but yes, you should be able to put Android on just
about any device.

On Wed, Sep 24, 2008 at 7:25 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

 Does it mean, its possible to flash any phone with android?
 I have a moto ming which I believe runs on MV-Linux. I wanted to know
 if I can flash the ROM with Android.
 Thank You,

 On Sep 24, 11:00 am, Casey Borders [EMAIL PROTECTED] wrote:
 Android is not meant to install on those platforms, it is meant to be
 a replacement for those platforms.  As for putting Android on a device
 that didn't come with it, you will have to reflash the ROM chip,
 which, if done improperly, can trash the device.  And seeing as how it
 would also void your warranty you would end up with a very shiny
 brick!  My advice, unless you are absolutely sure you know what you're
 doing, would be to either buy the G1, or wait for another Android
 device to be released.

 On Tue, Sep 23, 2008 at 9:21 PM, Inam Jameel [EMAIL PROTECTED] wrote:

  Hi to all
  i m new in mobile application development. i want to know which
  mobiles can support Android.
  according to my research on mobile platforms there are currently 5
  major platforms including, Blackberry, Windows Mobile, Symbian, iPhone
  etc.
  please inform me about the target areas of Android.
  will Android be install on the above mentioned platforms or not??

 


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



[android-beginners] .xml in layout didn't shown in R.java

2008-09-24 Thread Hw3699

When I created a .xml file in layout, it wasn't shown in R.java. And I
have no way to fix the R.java.

Can anyone point out the reason?

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



[android-beginners] Re: .xml in layout didn't shown in R.java

2008-09-24 Thread Mark Murphy

 When I created a .xml file in layout, it wasn't shown in R.java. And I
 have no way to fix the R.java.

 Can anyone point out the reason?

Can you provide:

-- the layout XML
-- the code attempting to use IDs defined in the layout XML
-- notes about where the code is failing

Without that, it is going to be very difficult to give you any advice.

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.2 Published!



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



[android-beginners] Re: New Free HTC Dream / T-Mobile G1 Android Emulator Skins

2008-09-24 Thread WebX | Vinicius Dallacqua
Great Skin.
Thanks o/

2008/9/24 Olaf Encke [EMAIL PROTECTED]


 I've created four HTC Dream Skins for the Android Emulator that I
 would like to share with the Android community. They feature the black
 and the white version of the phone both in portrait and in landscape
 mode.

 You can grab them on this site:
 http://www.android.encke.net

 Happy coding.

 



-- 
[]'s
Vinicius Teixeira Dallacqua

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



[android-beginners] HTML code for the browser

2008-09-24 Thread Rishi D

Hello,

I have a question on the HTML code for the browser.  I currently run a
WAP site for mobile social networking.  We are developing a version of
the WAP site for the iPhone browser, and its special markup.

Is there special markup for the Android browser?  We would like to
develop a site that is specifically engineered for the browser, but I
cant find specifications on the Android web browser and how to develop
a site that would fit beautifully in this phone?

Also, I am looking for design specs on designing for the browser,
pixels, etc, so it would look good on the phone..

Thanks,
RD

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



[android-beginners] Android Browser

2008-09-24 Thread Rishi D

Hello,

I have a question on the browser supplied with Android.

I run a WAP site, and am developing a site for the iPhone, using the
special coding and markup made for the iPhone site.  I would like to
develop a site that would fit perfectly with browser with Android.

Is there a place where I can find information on the special markup
for the Android browser and/or specifications on the phone's screen so
that I can make my site look nice within the browser?

Thanks,
RD

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



[android-beginners] Videoing

2008-09-24 Thread Mark111

Hey

Will anyone be able to come up with some video capture application for
the new G1 phone?

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



[android-beginners] Error While Downloading Android Development Toolkit in Eclipse

2008-09-24 Thread [EMAIL PROTECTED]

All,
I'm receiving the error message
 Java Persistence API Tools (1.0.0.v20070625-77--CYQCCz-CoRPCCCH)
requires plug-in org.eclipse.xsd.
when I select the Android features to install and Finish in Eclipse.
Does this plugin ring a bell to anyone?

Thanks

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



[android-beginners] Re: Videoing

2008-09-24 Thread Mark Murphy

 Will anyone be able to come up with some video capture application for
 the new G1 phone?

In the press conference yesterday, it was suggested this was something
third-parties can provide.

My guess is they're envisioning using the regular camera as a video
camera, assuming you can capture 30 frames per second and do something
useful with them (stitch them into a video clip and store/upload it
somewhere).

I haven't tried anything in this area, so I don't know how practical that
would be.

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.2 Published!



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



[android-beginners] Re: HTML code for the browser

2008-09-24 Thread Mark Murphy

 Is there special markup for the Android browser?

It uses ordinary HTML. In fact, it uses the same HTML renderer (WebKit)
that iPhone uses, though not necessarily the same version.

 Also, I am looking for design specs on designing for the browser,
 pixels, etc, so it would look good on the phone..

That will vary by device. The HTC Dream/T-Mobile G1 is 320x480, less some
space for the title bar, address bar, etc. -- I'm not sure what the
precise viewable dimensions are.

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.2 Published!



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



[android-beginners] SMS App

2008-09-24 Thread stap324

Ok so I personally have this problem and it would make a great app for
others as well... I want to make a SMS blocker app!  Where you can
select a name from your contacts or put in a number, and add it to a
block list and then when that number comes in its instantly rejected
without notification.

I've still got alot of research to do but if someone could give me a
start!  I have already done Hello World and I thought importing
android.provider.Contacts is a good idea.

So i can probably figure out the menu's and selecting contacts and
inputting numbers but i need help figuring out how to read the
sender's number from an SMS.

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



[android-beginners] Re: Error - Unable to create the selected preference page.

2008-09-24 Thread Vish

Hey,

See this link: 
http://www.anddev.org/solved_unsupported_majorminor_version_490-t19.html

Need to upgrade your JDK.

Vish



On Sep 22, 1:47 am, lemms [EMAIL PROTECTED] wrote:
 I have the same error.
 On Eclipse 3.2.2.
 Was working for a while until I tried to play with my .bashrc... then
 it stopped...
 Does anyone else has this problem before?

 On Jul 24, 4:31 am, Peace_in_mind [EMAIL PROTECTED] wrote: I've Eclipse 
 3.4 and it points to jare 1.6.10.

  I've included Android into it. But when I try to click 'Android' in
  Windows preference page, it gives me the following error:

  Unable to create the selected preference page.
  com/android/ide/eclipse/adt/preferences/AndroidPreferencePage
  (Unsupported major.minor version 49.0)

  Any suggestion?

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



[android-beginners] Re: sqlite3 command on Remote shell not working

2008-09-24 Thread Mark Murphy

Vaibhav Gathibandhe wrote:
 Hello all,
 
 When I open a remote shell and type sqlite3 (as per documentation), I 
 am getting a sqlite3: not found message.
 
 Moreover, I don't see the sqlite3 command in the list, when I do ls 
 /system/bin in the remote shell.
 
 Am I missing something?

You're missing the 1.0r1 SDK. It was released yesterday, and sqlite3 is 
included for remote shell use.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.2 Published!

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



[android-beginners] sqlite3 command on Remote shell not working

2008-09-24 Thread Vaibhav Gathibandhe
Hello all,

When I open a remote shell and type sqlite3 (as per documentation), I am
getting a sqlite3: not found message.

Moreover, I don't see the sqlite3 command in the list, when I do ls
/system/bin in the remote shell.

Am I missing something?

Thanks in advance,
Vaibhav

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



[android-beginners] Re: Android SDK and Eclipse Ganymede

2008-09-24 Thread Cezar Augustus Signori

First, verify if you have followed all the installation steps

Second, if you have (and you probably have) created an project, check
your AndroidManifest file

See you ^^

On Sep 24, 10:34 am, JMcGarvey [EMAIL PROTECTED] wrote:
 Hello,
 I just installed the SDK and plugin for Eclipse, and I have errors
 that I can't decipher (Java newbie):

 ERROR No resource identifier found for attribute 'versionCode' in
 package 'android'   AndroidManifest.xml

 ERROR No resource identifier found for attribute 'versionName' in
 package 'android'   AndroidManifest.xml

 R cannot be resolvedHelloAndroid.java

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



[android-beginners] What is adb.exe?

2008-09-24 Thread planetshine

What is adb.exe and must it run in the background during development
in Eclipse IDE?

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



[android-beginners] Re: SMS App

2008-09-24 Thread Robert

I think this would be great too, once i get the sdk up and going i'd
love to help out. A lot of people could use this for any provider, Tmo
right now only has 2 options
25 - Unlimited Data - 400 Messages
35 - Unlimited Data  Messages

So this could help a load of people that only use messaging rarely


On Sep 24, 3:55 pm, stap324 [EMAIL PROTECTED] wrote:
 Ok so I personally have this problem and it would make a great app for
 others as well... I want to make a SMS blocker app!  Where you can
 select a name from your contacts or put in a number, and add it to a
 block list and then when that number comes in its instantly rejected
 without notification.

 I've still got alot of research to do but if someone could give me a
 start!  I have already done Hello World and I thought importing
 android.provider.Contacts is a good idea.

 So i can probably figure out the menu's and selecting contacts and
 inputting numbers but i need help figuring out how to read the
 sender's number from an SMS.

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



[android-beginners] Terminal Emulation

2008-09-24 Thread Matt

I've searched all the SDK help pages  the group messages, all I find
about Telnet are posts about telnetting to the phone emulator.

Anyone know if it's possible to use Telnet on Android?

Specifically, I'd like to be able to open a Telnet session to an IBM
AS/400 (or iSeries or IBMi or whatever they're calling them this
month).  Then I'd like to be able to show a 25x80 screen with some F-
keys, Reset, Field Exit, etc around it.  I just can't find any way to
open the Telnet.  It could be as simple as telnet://ip.address but
that hasn't worked for me.

Any help would be greatly appreciated.

Thanks!


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



[android-beginners] Interesting Project

2008-09-24 Thread Svetzy

I have a very interesting app that I would like to get created. I am
not a programmer and, having just started a new job, do not have time
to learn. I was wondering if anyone was looking for a good project and
would be interested in taking it on.

In short, it's an alarm clock add-on that uses the microphone of the
phone to start monitoring your level of restlessness as you near your
pre-set wake time in order to awaken you when you're in the lightest
possible part of your sleep rhythm. The idea came from a site called
happywakeup dot com, where they have developed a similar application
for Nokia phones that sells for 50 euros. The logic behind the app is
fairly straightforward, but I don't know how difficult it would be in
execution.

If nobody here could create this, is there a better place for me to
post this request?

Thanks,

Svetzy

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



[android-beginners] inability to access XML resources (R.string.xxx) outside of main activity...

2008-09-24 Thread gymshoe



I am having trouble accessing my XML resources from outside my main
activity. I suspect this is easy to do, but I am a novice to android/
java and this is driving me crazy.

I want to declare a class so it is not nested, but rather public to
all other classes in my program. However, when I create this class, I
cannot access the XML resources, like I could in my main Activity.
While getString(R.string.def_id) works fine in my main Activity, if
I try this in my non-main class, Eclipse tells me getString is not
defined for this class.  I tried using
getResources().getString(R.string.def_id) but it said getResources()
cannot be resolved.  I even created a dummy ContextWrapper so I could
access resources that way:
ContextWrapper context = new ContextWrapper(null);
this.setId(context.getResources().getString(R.string.def_id), true);
When I do this, the contextWrapper is created OK, but I get a null
pointer exception thrown at the second line
(this.setId(context...).

I have looked for similar problems on the web and forums but to no
avail. Somebody posted that they were unable to use their resources in
the initialization block of their main Activity, and could only use
them in (or after) their onCreate() method where they worked fine.  I
suspect this is part of the same problem, but there was no solution
posted to that thread...

Any help would be greatly appreciated.  Full code below:

This works:

DEFAULTS.XML:
?xml version=1.0 encoding=UTF-8?
resources
string name=def_id007/string
/resources


RESOURCEQUESTION.JAVA:
package com.northwestradiology.com;

import android.app.ListActivity;
import android.os.Bundle;
import android.util.Log;

public class ResourceQuestion extends ListActivity  {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Log.v(onCreate, entering on create);
Person1 me = new Person1();
Log.v(onCreate, def_id =  + getString(R.string.def_id));

}
}

PERSON1.JAVA
package com.northwestradiology.com;

public class Person1 {
public String Id;
public Person1() {
super();
}
}



This doesn't work:

DEFAULTS.XML:
?xml version=1.0 encoding=UTF-8?
resources
string name=def_id007/string
/resources

RESOURCEQUESTION.JAVA
package com.northwestradiology.com;

import android.app.ListActivity;
import android.os.Bundle;
import android.util.Log;

public class ResourceQuestion extends ListActivity  {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Log.v(onCreate, entering on create);
Person1 me = new Person1();
}
}


PERSON1.JAVA
package com.northwestradiology.com;

import android.content.ContextWrapper;
import android.util.Log;

public class Person1 {
public String Id;
public Person1() {
super();
ContextWrapper context = new ContextWrapper(null);
Log.v(person construct, after context wrapper...);
this.Id = (context.getResources().getString(R.string.def_id));
Log.v(person construct, after getResources...);

}
}


ERROR LOG:
09-24 01:28:56.985: VERBOSE/onCreate(2789): entering on create

09-24 01:28:56.985: VERBOSE/person construct(2789): after context
wrapper...

09-24 01:28:56.985: DEBUG/AndroidRuntime(2789): Shutting down VM

09-24 01:28:56.997: WARN/dalvikvm(2789): threadid=3: thread exiting
with uncaught exception (group=0x40010e28)
09-24 01:28:56.997: ERROR/AndroidRuntime(2789): Uncaught handler:
thread main exiting due to uncaught exception

09-24 01:28:57.007: ERROR/AndroidRuntime(2789):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.northwestradiology.com/
com.northwestradiology.com.ResourceQuestion}:
java.lang.NullPointerException

etc...

Thanks,
Jim

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



[android-beginners] Re: : Help Needed

2008-09-24 Thread sukanto

Hi Jaideep / Imran,
I believe this this kind of system is not possible to build without
any hardware, even that will not be legal , at least in India. (no
idea about laws in other countries)
Actually initially i was planning to build some sort of software
similar to yours. But we can't access the location library of BTS. All
operator will have the location information in their BTS which general
public have no access. You have to have some extra hardware ( i forgot
the name ) which traces the call location and gives u the longitude
and latitude.
Moreover consider this scenario -
A Vodaphone customer calling an Airtel customer,
The call first goes to Vodaphone BTS which forwards the call to a
Airtel switch without any location information..

soo . as far as my knowledge
is concerned this kind of software is not possible to build ,
But i believe we all have the same interest to build somewhat like a
tracer,
may be we can work together, for something better.
May be we can host an open source project  what u guys
say ?

if interested plz ping me

regards,
Sukanta Maikap
[EMAIL PROTECTED]

On Sep 20, 6:41 pm, jaideep [EMAIL PROTECTED] wrote:
 hi i too have the same doubt .. what all exactly we need to build such
 an application ...
 where to start with..?and what all requirements we need?

 On Sep 19, 2:14 pm, Imran [EMAIL PROTECTED] wrote:

   Hi All...!!!

          Hey i want to write a application in which i  can know the
  location of  my friend when he is calling me
           and the distance between us

         To write this kind application do i require any other extra
  Configuration to be done (or) any extra plugins...( such
          as any kind  server, (or) GPS settings... etc )

         Thanks  in Advance for any Replays

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