[android-beginners] adding Scroll bar

2008-09-04 Thread Imran

Hi
   How to add Scroll Bar to TextView. ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: connection to a distant socket server

2008-09-04 Thread Megha Joshi
2008/9/4 v3n3 <[EMAIL PROTECTED]>

>
> thank for your reply,
> i can connect to internet without anyproblem and without any proxy.
> when i set the android.permision.INTERNET,  i've got those line in the
> log :
>
> 09-05 11:10:52.561: ERROR/AndroidRuntime(169): Uncaught handler:
> thread main exiting due to uncaught exception
> 09-05 11:10:52.561: ERROR/AndroidRuntime(169): *** EXCEPTION IN SYSTEM
> PROCESS.  System will crash.
> 09-05 11:10:52.581: ERROR/AndroidRuntime(169):
> java.lang.SecurityException: Permission Denial: starting Intent
> { flags=0x1000 comp={com.android.test.socket/
> com.android.test.socket.socketTest} } from null (pid=-1, uid=-1)
> requires android.permission.INTERNET
> 09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
> android.os.Parcel.readException(Parcel.java:1066)
> 09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
> android.os.Parcel.readException(Parcel.java:1054)
> 09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
> android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:
> 961)
> 09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
> com.android.commands.am.Am.runStart(Am.java:194)
> 09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
> com.android.commands.am.Am.run(Am.java:73)
> 09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
> com.android.commands.am.Am.main(Am.java:51)
> 09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
> com.android.internal.os.RuntimeInit.finishInit(Native Method)
> 09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
> com.android.internal.os.RuntimeInit.main(RuntimeInit.java:184)
> 09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
> dalvik.system.NativeStart.main(Native Method)
> 09-05 11:10:52.621: ERROR/JavaBinder(169): Unknown binder error code.
> 0xfff7
> 09-05 11:10:52.621: ERROR/AndroidRuntime(169): Crash logging skipped,
> no checkin service
>
> here is a copy of the AndroidManifest.xml :
>
> 
> http://schemas.android.com/apk/res/android";
>package="com.android.test.socket">
> android:permission="android.permission.INTERNET">


android:permission is used to enforce a permission for your app...instead
you want to request a permission..so you should use  tag.
Add this 
above your application tag and remove the android:permission attribute.
See the permissions explanation below:
http://code.google.com/android/devel/security.html


>
>
>
> android:name="android.intent.category.LAUNCHER" />
>
>
>
>
>
> 
>
>
> On 4 sep, 05:38, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> > First, can your browser app on the emulator connect to the internet? If
> not,
> > check your proxy settings, there are quite a few threads on the forum on
> > setting emulator proxy.
> > Next, did you add  > android:name="android.permission.INTERNET" /> tag to your app's
> > AndroidManifest.xml?
> > The new SDK requires that permission for network calls.
> >
> > 2008/9/3 Julien veneziano <[EMAIL PROTECTED]>
> >
> > > Hi all,
> > > I tried to connect to a distant socket server and i've got this error
> > > message :
> >
> > > ERROR/OSNetworkSystem(458): unknown socket error -1
> >
> > > Since i just do :
> >
> > > Socket conn = new Socket(my.distant.server.ip, my_distant_server_port);
> >
> > > I don't think the code is the problem (on top of that, it work when a
> > > launch this command throught a java). Then I thought it would be an
> emulator
> > > setting problem. I used this redir cmd but didn't work. If somebody
> know
> > > about 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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: connection to a distant socket server

2008-09-04 Thread v3n3

thank for your reply,
i can connect to internet without anyproblem and without any proxy.
when i set the android.permision.INTERNET,  i've got those line in the
log :

09-05 11:10:52.561: ERROR/AndroidRuntime(169): Uncaught handler:
thread main exiting due to uncaught exception
09-05 11:10:52.561: ERROR/AndroidRuntime(169): *** EXCEPTION IN SYSTEM
PROCESS.  System will crash.
09-05 11:10:52.581: ERROR/AndroidRuntime(169):
java.lang.SecurityException: Permission Denial: starting Intent
{ flags=0x1000 comp={com.android.test.socket/
com.android.test.socket.socketTest} } from null (pid=-1, uid=-1)
requires android.permission.INTERNET
09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
android.os.Parcel.readException(Parcel.java:1066)
09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
android.os.Parcel.readException(Parcel.java:1054)
09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:
961)
09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
com.android.commands.am.Am.runStart(Am.java:194)
09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
com.android.commands.am.Am.run(Am.java:73)
09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
com.android.commands.am.Am.main(Am.java:51)
09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
com.android.internal.os.RuntimeInit.finishInit(Native Method)
09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
com.android.internal.os.RuntimeInit.main(RuntimeInit.java:184)
09-05 11:10:52.581: ERROR/AndroidRuntime(169): at
dalvik.system.NativeStart.main(Native Method)
09-05 11:10:52.621: ERROR/JavaBinder(169): Unknown binder error code.
0xfff7
09-05 11:10:52.621: ERROR/AndroidRuntime(169): Crash logging skipped,
no checkin service

here is a copy of the AndroidManifest.xml :


http://schemas.android.com/apk/res/android";
package="com.android.test.socket">













On 4 sep, 05:38, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> First, can your browser app on the emulator connect to the internet? If not,
> check your proxy settings, there are quite a few threads on the forum on
> setting emulator proxy.
> Next, did you add  android:name="android.permission.INTERNET" /> tag to your app's
> AndroidManifest.xml?
> The new SDK requires that permission for network calls.
>
> 2008/9/3 Julien veneziano <[EMAIL PROTECTED]>
>
> > Hi all,
> > I tried to connect to a distant socket server and i've got this error
> > message :
>
> > ERROR/OSNetworkSystem(458): unknown socket error -1
>
> > Since i just do :
>
> > Socket conn = new Socket(my.distant.server.ip, my_distant_server_port);
>
> > I don't think the code is the problem (on top of that, it work when a
> > launch this command throught a java). Then I thought it would be an emulator
> > setting problem. I used this redir cmd but didn't work. If somebody know
> > about 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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: problem about linux (ubuntu) develop android with Eclispe

2008-09-04 Thread Linuxemacs

anderson 写道:
> i have some problem with linux (ubuntu)
> when use "apt-get install eclipse " , that will install eclipse
> 3.2.2-5ubuntu2
>
> but it's recommand to use  Eclipse 3.3 (Europa), 3.4 (Ganymede)
>
> http://code.google.com/android/intro/installing.html
> supported Development Environments:
> * Eclipse IDE
> o Eclipse 3.3 (Europa), 3.4 (Ganymede)
>
> so i download Eclipse 3.4 unzip it and follow the document
>
> i open the project that already in "sample/Snake "
> but cant find Snake.apk
>
> eclipse console message :
>
> - Snake] Android Launch!
> - Snake] adb is running normally.
> - Snake] Could not find Snake.apk!
>
> so i try to use command line
>
> " ./activitycreator --out ../samples/Snake/ com.android.snake.Snake "
> then u get sample/Snake/build.xml
> then run ant
> it shows
> ---
>
> Buildfile: build.xml
>
> dirs:
>  [echo] Creating output directories if needed...
> [mkdir] Created dir: /home/test/android-sdk-linux_x86-0.9_beta/
> samples/Snake/bin/classes
>
> resource-src:
>  [echo] Generating R.java / Manifest.java from the resources...
>
> aidl:
>  [echo] Compiling aidl files into Java classes...
>
> compile:
> [javac] Compiling 4 source files to /home/test/android-sdk-
> linux_x86-0.9_beta/samples/Snake/bin/classes
>
> dex:
>  [echo] Converting compiled files and external libraries into bin/
> classes.dex...
>
> package-res:
>
> package-res-and-assets:
>  [echo] Packaging resources and assets...
>
> debug:
>  [echo] Packaging bin/Snake-debug.apk, and signing it with a debug
> key...
>  [exec] null
>
> BUILD FAILED
> /home/test/android-sdk-linux_x86-0.9_beta/samples/Snake/build.xml:210:
> exec returned: 1
>
> ---
>
> but
> at " ~/android-sdk-linux_x86-0.9_beta/samples/Snake/bin"
> Snake-debug.apk exists
>
> but "file Snake-debug.apk "
>
> it shows : Snake-debug.apk: empty
>
> i dont know why ? it's a problem with ubuntu enviroment setting or
> eclipse setting ?
>
>
> >
>
>   

Hi guy,
Don't use apt command to install eclipse.You can download it from above
url. And directly perform eclipse file.
The download url is:
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-linux-gtk.tar.gz

Installation steps:
1. download eclipse tar compress file from above url.
2. decompress it by tar command
3. perform eclispe in the installation directory.

ps: you must install java runtime environment, you can use apt install
it first.;)

-- 
Thanks & Regards
Jiang Jiang
E-mail: [EMAIL PROTECTED]



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: linux(u buntu) 利用eclipse 開發 環境設定問題 ?

2008-09-04 Thread Linuxemacs

anderson 写道:
> ubuntu上開發android出現一點問題
> 直接利用apt-get install eclipse
> 會安裝 eclipse 3.2.2-5ubuntu2
>
> 但好像需要比較新的版本
> http://code.google.com/android/intro/installing.html
> supported Development Environments:
> * Eclipse IDE
> o Eclipse 3.3 (Europa), 3.4 (Ganymede)
>
> 於是就自己去下載了Eclipse 3.4
> 跟著google 網頁上的步驟之後
> 打開現有的sample/Snake
> 直接run卻發生cant find Snake.apk
>
> console出現的訊息如下:
>
> - Snake] Android Launch!
> - Snake] adb is running normally.
> - Snake] Could not find Snake.apk!
>
> 會是什麼問題呢?
> 還需要另外設定ant ?
>
> 希望有在linux平台開發的朋友提供點方向
> 感謝
>
> --
> 環境:
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
>
> --
>
> 打command line 直接利用
> ./activitycreator --out ../samples/Snake/ com.android.snake.Snake
> 之後得到Snake/build.xml 執行ant 卻
> 出現 :
>
> Buildfile: build.xml
>
> dirs:
>  [echo] Creating output directories if needed...
> [mkdir] Created dir: /home/test/android-sdk-linux_x86-0.9_beta/
> samples/Snake/bin/classes
>
> resource-src:
>  [echo] Generating R.java / Manifest.java from the resources...
>
> aidl:
>  [echo] Compiling aidl files into Java classes...
>
> compile:
> [javac] Compiling 4 source files to /home/test/android-sdk-
> linux_x86-0.9_beta/samples/Snake/bin/classes
>
> dex:
>  [echo] Converting compiled files and external libraries into bin/
> classes.dex...
>
> package-res:
>
> package-res-and-assets:
>  [echo] Packaging resources and assets...
>
> debug:
>  [echo] Packaging bin/Snake-debug.apk, and signing it with a debug
> key...
>  [exec] null
>
> BUILD FAILED
> /home/test/android-sdk-linux_x86-0.9_beta/samples/Snake/build.xml:210:
> exec returned: 1
>
>
> --
>
> 但在 ~/android-sdk-linux_x86-0.9_beta/samples/Snake/bin 下有看到
> 但是用file指令查詢
> file Snake-debug.apk
>
> 結果
> Snake-debug.apk: empty
>
> 所以他有產生 但是沒有東西@@
>
>
>
>
>
> >
>
>   
Hi guy,
Don't use apt command to install eclipse.You can download it from above
url. And directly perform eclipse file.
The download url is:
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-linux-gtk.tar.gz

Installation steps:
1. download eclipse tar compress file from above url.
2. decompress it by tar command
3. perform eclispe in the installation directory.

ps: you must install java runtime environment, you can use apt install
it first.;)


-- 
Thanks & Regards
Jiang Jiang
E-mail: [EMAIL PROTECTED]



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] porting from m5 to 0.9: app fails to start Activity

2008-09-04 Thread [EMAIL PROTECTED]

Hi all,

I'm porting an app which runs well under  m5 to 0.9 using Eclipse with
ADT on Mac OSX 10.5.4
I appear to have made all necessary changes to get the app to compile
and link: Eclipse doesn't complain.
The bad behavior symptom is that the app basically fails to start.
It simply hangs up before getting the Activity started in the
debugger, displaying ActivityThread.class in Eclipse.
Here's the DDL trace (sans datetime):

 Android Launch!
 adb is running normally.
 Launching: com.herenow.android.quester.Quester
 Automatic Target Mode: launching new emulator.
 Launching a new emulator.
 emulator: warning: cannot load emulator configuration at '/Users/
ken/.android/emulator.cfg'

 emulator: broken configuration file doesn't have 'window' element
 New emulator found: emulator-5554
 Warning once: This application, or a library it uses, is using
NSQuickDrawView, which has been deprecated. Apps should cease use of
QuickDraw and move to Quartz.
 HOME is up on device 'emulator-5554'
 Uploading Quester.apk onto device 'emulator-5554'
 Installing Quester.apk...
 Success!
 Starting activity com.herenow.android.quester.Quester on device
 ActivityManager: Starting: Intent { comp={com.herenow.android.quester/
com.herenow.android.quester.Quester} }

The file /Users/ken/.android/emulator.cfg mentioned above does not
exist.
If I attempt to restart the app by clicking the Eclipse debug icon, I
get the following:

 Android Launch!
 adb is running normally.
 Launching: com.herenow.android.quester.Quester
 Automatic Target Mode: using existing emulator: emulator-5554
 Uploading Quester.apk onto device 'emulator-5554'
 Installing Quester.apk...
 Application already exists. Attempting to re-install instead...
 Success!
 Starting activity com.herenow.android.quester.Quester on device
 ActivityManager: Starting: Intent { comp={com.herenow.android.quester/
com.herenow.android.quester.Quester} }
 Attempting to connect debugger to 'com.herenow.android.quester' on
port 8611

...Nothing more.

Here's my AndroidManifest.xml:


http://schemas.android.com/apk/res/android";
package="com.herenow.android.quester">












^M
^M
^M
^M




The file Quester.java contains the onCreate menthod beginning as
follows:

@Override
public void onCreate(Bundle icicle)
{
super.onCreate(icicle);
setContentView(R.layout.main);
_mapView = new MapView(this, GOOGLE_MAP_API_KEY);
 blah..blah...

There is a debug breakpoint set on super.onCreate(icicle);

I will //GREATLY// appreciate pointers/suggestions for getting this
running.
Thanks in advance,
Ken


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Style vs. Styleable

2008-09-04 Thread DavidN

A nonexpert guess:

android.R.style appears to be values that can be assigned to something
to set its value. For instance, android.text.style.TextAppearanceSpan
method constructor TextAppearanceSpan(Context context, int
appearance), the appearance parameter is taken from android.R.style.

android.R.styleable appears to be attribute values that are associated
with things that may be set to different values (the styleable
aspect). For instance, android.text.style.TextAppearanceSpan method
constructor public TextAppearanceSpan(Context context, int appearance,
int colorList), the colorList is taken from android.R.styleable.

On Sep 4, 9:16 am, jtaylor <[EMAIL PROTECTED]> wrote:
> What is the difference between Style and Styleable in Android.R?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android compatibility on Symbian 60 ?

2008-09-04 Thread Mark Murphy

codergeek82 wrote:
> If I already have an industry class mobile phone with Symbian why
> would i need to go for Android and android application.

If you like your Symbian phone, by all means, keep it. However, people 
upgrade or replace phones all the time. Those people have a choice of 
smartphones between Symbian, Blackberry, Windows Mobile, iPhone, and now 
Android.

> Tell me one
> good reason to develop all the available applications on Android

Number of applications available on Symbian, after a decade of being 
available in the marketplace: 9,282.

(http://www.symbian.com/news/pr/2008/pr20089950.html)

Number of applications submitted to the Android Developer Challenge, for 
  a device that doesn't even exist yet, with an SDK that had only been 
available a few months: 1,788.

(http://android-developers.blogspot.com/2008/04/android-developers-have-risen-to.html)

Suffice it to say, Android has promising early momentum, and Symbian has 
a history of being painful to develop on.

> and
> does android is a replacement of Symbian or can it overlap on Symbian.

Android is a mobile device OS. Symbian is a mobile device OS. There may 
be devices that could run either, but, generally speaking, any given 
device will likely run one or the other (or neither, if the device is 
for another mobile OS, like iPhone).

> Is it compatible to Nokia phones 

Not presently.

> or do new phones have to be developed
> by these vendors winth androud compatibility. 

http://www.openhandsetalliance.com/oha_members.html

This is not significantly different than the new phones being developed 
all the time for Symbian, Blackberry, and Windows Mobile.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.1 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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Android compatibility on Symbian 60 ?

2008-09-04 Thread codergeek82

Ok ok ok, I understand Android is a software stack for mobile devices
that includes an operating system, middleware and key applications.
But what about those mobile phones like nokia N 95 8GB which is
running on Symbian S60 3rd edition, do we need to replace the
operating system of the phone?  I don't think i will do.

Please correct me here, i am confused on the concept of Android as a
whole.
If I already have an industry class mobile phone with Symbian why
would i need to go for Android and android application. Tell me one
good reason to develop all the available applications on Android and
does android is a replacement of Symbian or can it overlap on Symbian.

Is it compatible to Nokia phones or do new phones have to be developed
by these vendors winth androud compatibility. i am little confused
here.

Your comments would be highly appreciated.
Thanks in Advance.

codergeek82

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: ActivityCreator

2008-09-04 Thread Devesh

i have tried on windows with 0.9, and activitycreator works.

On Sep 3, 1:31 pm, JK <[EMAIL PROTECTED]> wrote:
> There seems to be an error on the 
> online-tutorial:http://code.google.com/android/intro/hello-android.html#upgrading
> Section: Creating the Project without Eclipse
>
> activitycreator.py --out HelloAndroid com.android.hello.HelloAndroid
>
> For 0.9-beta it seems to be working with:
> activitycreator.bat --out HelloAndroid com.android.hello.HelloAndroid
>
> for m5 with:
> activitycreator.exe --out HelloAndroid com.android.hello.HelloAndroid
>
> Can somebody confirm ?
>
> Is this going to be corrected ?
>
> JK

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Style vs. Styleable

2008-09-04 Thread jtaylor

What is the difference between Style and Styleable in Android.R?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Special tutorials

2008-09-04 Thread Mark Murphy

shank586 wrote:
> Hi all is there any special tutorial for Android new SDk apart from
> DOC by google, if there send me its URL ..

http://anddev.org

http://www.planetandroid.com/ (blog planet for Android, which 
incorporates tutorial blogs like 
http://androidguys.com/category/building-droids/ )

http://knol.google.com/k/mark-murphy/android-programming (contains links 
to other resources)

And that's just for starters. If you run into a question with a 
particular Android class, for example, searching "android X" (where X is 
the class) on your favorite search engine frequently turns up code 
snippets or tutorials.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.1 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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: problem about linux (ubuntu) develop android with Eclispe

2008-09-04 Thread anderson

finally solve the problem

what i do :

rm -rf ~/.android
apt-get remove sun-java5-jdk
apt-get remove sun-java6-jdk
download eclipse3.4 from www.eclipse.org
adt setting ..  sdk setting  ...
and the problem still exist

so i close eclipse and try to  build up project by use command :

~/android_sdk/tools/./activityCreator.py --out ./workspace/
myproject your.package.name.ActivityName
~/workspace/myproject/  ant
~/android_sdk/tools/  ./adb install ~/workspace/myproject/bin
myproject-debug.apk

it works !

then i open eclipse again
write another project
the problem is gone 
and what i build is myproject2.apk not myproject2-debug.apk

a little strange

but i think it's because when i build up project by use command,
android sdk make some record in ~/.android
and when  start to work on elipse it will read the record  in
~/.android  first !

thanks you all !^^







On 9月4日, 下午4時06分, anderson <[EMAIL PROTECTED]> wrote:
> so iis there any setting about eclipse i should do ?
> since i use command line and try to follow the document
> i do success with making *.apk by use activitycreator, but it's name
> project-debug.apk !
>
> On 9月4日, 下午3時32分, anderson <[EMAIL PROTECTED]> wrote:
>
> > yes i try eclipse 3.2 (apt-get by ubuntu)
> > eclipse 3.3 eclispe 3.4
> > all have the some problem
>
> > but
> > at " ~/android-sdk-linux_x86-0.9_beta/samples/Snake/bin"
> > Snake-debug.apk exists
>
> > - Snake] Android Launch!
> > - Snake] adb is running normally.
> > - Snake] Could not find Snake.apk!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: problem about linux (ubuntu) develop android with Eclispe

2008-09-04 Thread anderson

so iis there any setting about eclipse i should do ?
since i use command line and try to follow the document
i do success with making *.apk by use activitycreator, but it's name
project-debug.apk !

On 9月4日, 下午3時32分, anderson <[EMAIL PROTECTED]> wrote:
> yes i try eclipse 3.2 (apt-get by ubuntu)
> eclipse 3.3 eclispe 3.4
> all have the some problem
>
> but
> at " ~/android-sdk-linux_x86-0.9_beta/samples/Snake/bin"
> Snake-debug.apk exists
>
> - Snake] Android Launch!
> - Snake] adb is running normally.
> - Snake] Could not find Snake.apk!
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: problem about linux (ubuntu) develop android with Eclispe

2008-09-04 Thread anderson

yes i try eclipse 3.2 (apt-get by ubuntu)
eclipse 3.3 eclispe 3.4
all have the some problem

but
at " ~/android-sdk-linux_x86-0.9_beta/samples/Snake/bin"
Snake-debug.apk exists

- Snake] Android Launch!
- Snake] adb is running normally.
- Snake] Could not find Snake.apk!

--

Remove ~/.android/debug.keystore
the problem still exist ~


On 9月3日, 下午10時28分, "Chihau Chau" <[EMAIL PROTECTED]> wrote:
> Hi you can download the last version of Eclipse for Linux inwww.eclipse.org
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---