[android-beginners] Re: Treo Pro skin now available for Android Emulator!

2008-08-27 Thread Tony S.

Thanks!


On Aug 27, 6:27 am, Tea Vui Huang <[EMAIL PROTECTED]> wrote:
> Treo Pro skin now available for Android 
> Emulator!http://teavuihuang.com/android
>
> To install, download and unzip "QVGA-L-TreoPro.zip" to the Android
> skin directory, e.g. "C:\android-sdk-windows-0.9_beta\tools\lib\images
> \skins". To run the Android emulator with this Treo Pro skin, enter
> this on the command line: "emulator -skin QVGA-L-TreoPro".
--~--~-~--~~~---~--~~
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: how to use webview to show lcoal javascript

2008-08-27 Thread Mark Murphy

anderson wrote:
> my main.xml :
> 
>  
>.
>.
> and my code :
> 
>  webView1 = (WebView) findViewById(R.id.mywebview);
> 
> there is an error message : R.id can't be solved
> i dont know why, since i already "import android.view.View"

R.id is referring to the R.java class that should be built for you 
automatically by the Android SDK build tools. Do you have an R.java 
class in your project, in the same Java package as the class where 
you're referring to R.id?

If the class does not exist anywhere, there may be a problem in how you 
are compiling the code.

If the class exists but is in a different package, and that is not what 
you intended, determine which is incorrect (the R.java location or the 
location of your source code) and adjust your file locations and 
AndroidManifest.xml and build.xml/your Eclipse project to match.

If the class exists and is in the same package, but the compiler isn't 
finding it...I'm not sure what would cause that.

> in the html i should write
> 

[android-beginners] problems executing shell commands

2008-08-27 Thread spinifu

Hello,

Executing "sqlite3" command doesn't do anything. I execute it from the
adb shell after the application has been launched, isn't that right?
also i try ".databases" but it won't work either. I´m programming on
Windows, so i guess that .databases should be databases, which won't
work.
Do i have to configure something? These commands don't show up in the
bin folder...i don't know if they should,  i just let you know.

Thanks a lot in advance, cheers.

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

2008-08-27 Thread Sylvester Steele

thanks

Megha Joshi wrote:
> 2008/8/26 Sylvester Steele <[EMAIL PROTECTED]>
>
> >
> > Hi,
> > this might seem silly, but I can't get the SMS app to work. Issues:
> >
> > 1. Can't type in the "To" field. Worked around by selecting a contact
> > from the addressbook.
> > 2. Can't type a message! How do I select the "Open keyboard to compose
> > message" and actually type in?
>
>
> For both issues, the answer is you need to press KEYPAD_7, F11, KEYPAD_9 or
> F12 key to simulate opening the keyboard before you can type anything ...
>
>
>
>
> >
> > Thanks,
> > Sylvester
> > >
> >
--~--~-~--~~~---~--~~
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 SMS

2008-08-27 Thread Sylvester Steele

is there a way to type, while keeping it vertical?

Sylvester

On Aug 27, 8:36 pm, Sylvester Steele <[EMAIL PROTECTED]>
wrote:
> thanks
>
> Megha Joshi wrote:
> > 2008/8/26 Sylvester Steele <[EMAIL PROTECTED]>
>
> > > Hi,
> > > this might seem silly, but I can't get the SMS app to work. Issues:
>
> > > 1. Can't type in the "To" field. Worked around by selecting a contact
> > > from the addressbook.
> > > 2. Can't type a message! How do I select the "Open keyboard to compose
> > > message" and actually type in?
>
> > For both issues, the answer is you need to press KEYPAD_7, F11, KEYPAD_9 or
> > F12 key to simulate opening the keyboard before you can type anything ...
>
> > > Thanks,
> > > Sylvester
--~--~-~--~~~---~--~~
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] problem wid the sdcard

2008-08-27 Thread immu

Hi
  i have add some files(jpeg/mp3) in sdcard image, but  i am
unable to see them from Emulator

 can any one  help me...plzz

--~--~-~--~~~---~--~~
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 installing apk files into emulator

2008-08-27 Thread [EMAIL PROTECTED]

hi
i have the same error ... i cant figure it out ... "installing" a self
made app with eclips works fine ...
the sdk is a clean install ...
i am runing linux (ubuntu 8.04)
any help would be greate

lad

D/AndroidRuntime(  172):
D/AndroidRuntime(  172): >> AndroidRuntime START
<<
D/AndroidRuntime(  172): CheckJNI is ON
D/AndroidRuntime(  172): --- registering native functions ---
D/PackageParser(   48): Scanning package: /data/app/vmdl21575.tmp
W/PackageParser(   48): /data/app/vmdl21575.tmp (at Binary XML file
line #5):  does not specify android:name
D/AndroidRuntime(  172): Shutting down VM
D/dalvikvm(  172): DestroyJavaVM waiting for non-daemon threads to
exit
I/dalvikvm(  172): DestroyJavaVM shutting VM down
D/dalvikvm(  172): HeapWorker thread shutting down
D/dalvikvm(  172): HeapWorker thread has shut down
D/jdwp(  172): JDWP shutting down net...
D/dalvikvm(  172): VM cleaning up
D/dalvikvm(  172): LinearAlloc 0x0 used 525260 of 4194304 (12%)
D/dalvikvm(   48): GC freed 1561 objects / 76464 bytes in 165ms


On Aug 27, 1:28 am, MSW <[EMAIL PROTECTED]> wrote:
> I did not capture this output.  I will have to try and reinstall from
> scratch (I had the previous version installed previously).
>
> Will report back, but I assume a fresh install will resolve my
> problem.
>
> On Aug 22, 12:25 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote:
>
> > can you provide us with the output of logcat during the install?
>
> > thanks
> > Xav
>
> > On Fri, Aug 22, 2008 at 9:13 AM, MSW <[EMAIL PROTECTED]> wrote:
>
> > > (Using the latest SDK).
>
> > > Downloaded two different applications, and trying to install them in
> > > the emulator.
>
> > > (My server and emulator are running)
> > > When I issue the command: adb install application.apk
>
> > > I get this error:
> > > pkg: /data/local/tmp/MemoGame.apk
> > > Failure: [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
>
> > > Anyone have any idea what this means?  I currently have the "Hello
> > > Android" application I created (in Eclipse running on the emulator,
> > > deployed from Eclipse).  I am trying to install these applications
> > > from the command line.
>
> > > I am a newbie, and have searched for this error everywhere, but can't
> > > find any references to it.  Thanks in advance for any help.
>
>

--~--~-~--~~~---~--~~
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] DataBase problems

2008-08-27 Thread spinifu

Hello ppl:

I'm having a lot of trouble with the database code that worked
perfectly with the older SDK, 0.5.
For now i'll just ask you whats your approach when creating a
database, are you using context.openOrCreateDatabase(), or are you
creating it directly from the database object, like
SQLiteDatabase.openOrCreateDatabase()?  and finally, do you have to
open the database from every activity that uses it?  is there a way to
hook to the database without opening so many times?

Thanks a lot, Marcos.
--~--~-~--~~~---~--~~
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: How to start

2008-08-27 Thread Shuvo

Dear Mark Murphy
Thanks a lot.It was helpful.
Shuvo

On Aug 26, 10:54 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
> > Do you have any reference to any book ??
>
> Links to the currently-available books on Android can be found in my
> Android Programming Knol:
>
> http://knol.google.com/k/mark-murphy/android-programming/20nbq3zttfl8v/2
>
> At the moment, there are three books in print:
>
> -- The Busy Coder's Guide to Android Development (by Mark Murphy,
> published by CommonsWare) [full disclosure: he's the guy writing this
> post]
>
> -- Android Essentials (by Chris Haseman, published by APress)
>
> -- Android: A Programmer's Guide (by Jerome DiMarzio, published by
> McGraw-Hill Osborne Media)
>
> Note that those three books are written for the M5 SDK, not the 0.9 SDK
> that was released a week ago. I should have an update to mine by September
> 7th; I don't know what the schedules are for the others.
>
> There are others, such as Ed Burnette's _Hello, Android_, which are
> available as "beta books" from their publishers. Search "Android
> programming" or "Android development" on Amazon to find other books not
> yet in print.
>
> --
> 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 installing apk files into emulator

2008-08-27 Thread Xavier Ducrohet
On Wed, Aug 27, 2008 at 8:11 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

> W/PackageParser(   48): /data/app/vmdl21575.tmp (at Binary XML file
> line #5):  does not specify android:name
>

This looks like your problem.

Xav

--~--~-~--~~~---~--~~
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 wid the sdcard

2008-08-27 Thread Megha Joshi
Did you load the sdcard to emulator? for detailed instructions see the link
below:
http://code.google.com/android/reference/emulator.html#sdcard

How do you view the files in emulator?
The emulator does not have a file browser...you will have to use File
Explorer in DDMS:
http://code.google.com/android/reference/ddms.html

2008/8/27 immu <[EMAIL PROTECTED]>

>
> Hi
>  i have add some files(jpeg/mp3) in sdcard image, but  i am
> unable to see them from Emulator
>
> can any one  help me...plzz
>
> >
>

--~--~-~--~~~---~--~~
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: DataBase problems

2008-08-27 Thread Megha Joshi
2008/8/27 spinifu <[EMAIL PROTECTED]>

>
> Hello ppl:
>
> I'm having a lot of trouble with the database code that worked
> perfectly with the older SDK, 0.5.
> For now i'll just ask you whats your approach when creating a
> database, are you using context.openOrCreateDatabase(), or are you
> creating it directly from the database object, like
> SQLiteDatabase.openOrCreateDatabase()?


You should not use openOrCreateDatabase() directly, instead use
SQLiteOpenHelper for opening and creating databases.
See the NotePad tutorial code, it has been updated to use SQLiteOpenHelper.

 and finally, do you have to
> open the database from every activity that uses it?  is there a way to
> hook to the database without opening so many times?
>



>
> Thanks a lot, Marcos.
> >
>

--~--~-~--~~~---~--~~
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: problems executing shell commands

2008-08-27 Thread Megha Joshi
2008/8/27 spinifu <[EMAIL PROTECTED]>

>
> Hello,
>
> Executing "sqlite3" command doesn't do anything. I execute it from the
> adb shell after the application has been launched, isn't that right?
> also i try ".databases" but it won't work either. I´m programming on
> Windows, so i guess that .databases should be databases, which won't
> work.


adb shell sqlite3 does not work in the current sdk...try the workarounds
suggested in the thread below:
http://groups.google.com/group/android-developers/browse_thread/thread/8be1419bef6fe2e2/6d4123a4a7b206a9




> Do i have to configure something? These commands don't show up in the
> bin folder...i don't know if they should,  i just let you know.
>
> Thanks a lot in advance, cheers.
>
> >
>

--~--~-~--~~~---~--~~
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 installing apk files into emulator

2008-08-27 Thread Ralf

Is this by any chance a package compiled for M3 or M5 that you're
trying to deploy on the 0.9 SDK?

R/

On Wed, Aug 27, 2008 at 1:10 PM, Xavier Ducrohet <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 27, 2008 at 8:11 AM, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
>>
>> W/PackageParser(   48): /data/app/vmdl21575.tmp (at Binary XML file
>> line #5):  does not specify android:name
>
> This looks like your problem.
>
> Xav
>
>
> >
>

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