[android-beginners] Re: How to log test results in a file? - logcat error

2009-07-14 Thread Brett Chabot
If this helps, you can run the instrumentation from the command line with the "-r" option specified. ie adb shell am instrument -w -r .android.test.InstrumentationTestRunner This will output the test results in a format that is intended to be parseable. This is how the Android plugin to Eclipse r

[android-beginners] Re: Install Android on my pocket pc

2009-07-14 Thread Ước Nguyễn
Thanks! On Fri, Jul 10, 2009 at 11:49 PM, Yusuf T. Mobile wrote: > > The short answer is: yes, if you have access to the device bootloader > as well as device drivers that Android can use. > > The other short answer (at no additional cost!) is: there is a > wonderful forum for precisely these que

[android-beginners] Compiling and running modified code

2009-07-14 Thread LG
Hi All, once i do some changes to the android source code and compile in linux. it generates the img files how do i test my code. i am using ubuntu linux Thanks LG --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[android-beginners] Re: WebView Text Color

2009-07-14 Thread linuxemacs
On Tue, 14 Jul 2009 14:37:06 -0700 (PDT) CaseyB wrote: Hi CaseyB > > I can change the background color of the WebView but I can't find > where to change the default text color. It always defaults to black > and black text on a black background is hard to read! You can use following methods to

[android-beginners] Re: How to pass User created object between two Activity in same Application?

2009-07-14 Thread Carmen Delessio
This concept comes from the book* Unlocking Android*. http://www.manning.com/ableson/ Create an object for your your application that extends the android.app.Application class *import android.app.Application; public class MyApplication extends Application { ... } * Provide access to ClassA in the

[android-beginners] How to pass User created object between two Activity in same Application?

2009-07-14 Thread Mapara,Harshit Nitinkumar
Hi All, Let say I have one class : Class A { int id; String name; public A(int id, String name) { this.id = id; this.name = name;} } How do I pass object of A between two Activity classes in a same application ? I came across the Parcelable interface, but I couldn't find good example.

[android-beginners] Re: Creating an avd?

2009-07-14 Thread Yusuf T. Mobile
Did you send this via twitter? I'm not perceptive enough to grasp what is happening in your description, but I recently wrote up an extended set of steps, including with regards to the AVD. I hope it helps. How to install the Android SDK in two dozen or so easy steps (based on http://developer.a

[android-beginners] EventListener on worker thread

2009-07-14 Thread zoerb
Is there a way to setup an EventListener on a worker thread? I have a GLSurfaceView, and want the input events to be routed to the renderer thread instead. I know that you can pass events to the renderer by way of queueEvent(Runnable r), but I would like a way for the events to be passed directl

[android-beginners] WebView Text Color

2009-07-14 Thread CaseyB
I can change the background color of the WebView but I can't find where to change the default text color. It always defaults to black and black text on a black background is hard to read! --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Re: Hello Android app

2009-07-14 Thread Oliver Rennfort
I have no idea but as a tip don't close it down when you make changes to the code that saves you the long boot time. But actualy the phone takes also so long to boot. When I turn my adv on it takes up to 30 seconds or more Android Apps Developer On Jul 14, 2009 4:57 PM, "Neilz" wrote: Ah - I s

[android-beginners] Re: Hello Android app

2009-07-14 Thread Neilz
Ah - I see it now! I'm confused as to why it takes that long though - is it trying to emulate a real phone from the 90s?! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group

[android-beginners] Re: Avd issues

2009-07-14 Thread MCON Dev
What did you try, What error did you get ? Send snapshots of the result. Copy paste the code and manifest file. What do you intend to do. Give more details dude.. Siddharth On Tue, Jul 14, 2009 at 11:25 PM, stephen rigg wrote: > I need major help, I've followed all instruction all the way up til

[android-beginners] Avd issues

2009-07-14 Thread stephen rigg
I need major help, I've followed all instruction all the way up till the first cmd code nd keep receive error like messages back. Pl help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" grou

[android-beginners] Re: running android applications without using eclipse

2009-07-14 Thread Yusuf T. Mobile
You can use any IDE, or the command line, although Eclipse is "the recommended way to develop an Android application" according to http://developer.android.com/guide/developing/other-ide.html , which then goes on to tell you how how to not use Eclipse. See also http://developer.android.com/guide/

[android-beginners] getDeviceId returns null

2009-07-14 Thread MCON Dev
Hi, I am running this piece of code myDevice = Globals.getInstance().getDevice(); this.deviceID = myDevice.getDeviceId() ; with the below xml http://schemas.android.com/apk/res/android"; package="com.org.mcruiseon.client" android:versionCode="1" android:versionName="1.0">

[android-beginners] Re: Learning? Windows or Linux?

2009-07-14 Thread MCON Dev
I have compared multiple Linux distro's before I started with Android. As of now I have a windows setup and a Fedora setup. I love the fedora setup. Windows is really slow. Fedora zips fast with android development. I have tried OpenSuse and Debian before Fedora. Siddharth On Tue, Jul 14, 2009 at

[android-beginners] Re: Hello Android app

2009-07-14 Thread Oliver Rennfort
Sounds like you don't wait long enoughf for the emulator too boot up you see the boot message and that can take several seconds. Hope this helps Android Apps Developer On Jul 14, 2009 12:29 PM, "Neilz" wrote: Hi all, I am experienced with Java and with Eclipse, so I thought it would be a bree

[android-beginners] Re: Is it permitted to run GPLv2 programs on Android?

2009-07-14 Thread David Turner
The problem related to what kind of distribution you envision for your program?. If it's a program distributed separately from the Android system image (e.g. through Market, or your own website), then you can do whatever you want as long as you make the sources available under the GPL too. If you

[android-beginners] Re: Getting Error "package file was not signed correctly" using Eclipse ADT

2009-07-14 Thread Carmen Delessio
Beth, Thanks a lot for the info. At one point I tried installing from Gmail. I'm sure I was reading the thread you mentioned. I fixed this, but I am not sure which actions corrected the problem. Here are some of the things I did. - Removed app from phone using adb: adb uninstall - Updat

[android-beginners] Creating a child to SurfaceView in main.xml

2009-07-14 Thread zmalex
Hi I am trying to create a child to my SurfaceView in main.xml. My child extends View. However the SurfaceView and my PanoramaView is inside a ViewSwitcher and I am starting to believe that this is causing the errors I get. Here is my main.xml http://schemas.android.com/apk/res/ android" an

[android-beginners] Is it permitted to run GPLv2 programs on Android?

2009-07-14 Thread Numaguchi Daisuke
Hello. I have a GPLv2 package which was originaly designed for PC and servers (and written by me). I want to make that package available on Android. Programs in that package are executed from /system/bin/sh or /init.rc and do not share memory with other applications. Information is passed via com

[android-beginners] Hello Android app

2009-07-14 Thread Neilz
Hi all, I am experienced with Java and with Eclipse, so I thought it would be a breeze getting this running. I followed the tutorial to the letter, but when I come to run the app, I get what looks like a default emulator which just says 'Android' in the middle of the screen - no sign of my HelloAn

[android-beginners] running android applications without using eclipse

2009-07-14 Thread shweta
Do we hav any way of running android applications without using eclipse..thru commad line or somthing Plz giv the procedure if yes... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" gr

[android-beginners] Android SDK in Ubuntu 8.04 and Samsung galaxy

2009-07-14 Thread Peacemoon
Hallo, i have problem to use adb in ubuntu8.04 with Samsung Galaxy i used lsusb and had something like this Bus 004 Device 004: ID 04e8:6640 Samsung Electronics Co., Ltd Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass

[android-beginners] codec

2009-07-14 Thread neeraja
H263,H264AVC & MPEG-4 SP codecs are compltetly ported to Android. In Android1.5 API , H264 AVC is only Encoder whereas its a encoder & decoder. H263 supports only few file formats in Android. Where I can get exact data of all these things --~--~-~--~~~---~--~~ You

[android-beginners] Re: HOWTO: change the xml keyboard AZERTY to QWERTZ ?

2009-07-14 Thread Sebseb01
I have a qwerty keyboard. I installed a french localized roms (with azerty keyborad) I replace the french folder /system/usr/keychars/ and /system/usr/ keylayout/ by the same foder on a us rom. it's perfectly working. Based on : http://forum.xda-developers.com/showthread.php?t=504710 I don't know

[android-beginners] Creating an avd?

2009-07-14 Thread stephen rigg
Ok I've downloaded 1.5 sdk, release 2 After that I extracted the file. It brought me to the a screen displaying add ons, docs, platforms, usb-driver, tools. Nd two links fer documenntation, release notes If im corrrect I believe I was supposed to click tools. I then proceeded back to the site nd a

[android-beginners] android plugins....

2009-07-14 Thread shweta
i couldnt download plugins frm site http://dl-ssl.google.com/android/eclipse. Thus isthere any other site? Or can we do it offline? What about the option "local" when we enter site name. How to do it locally??? --~--~-~--~~~---~--~~ You received this messag

[android-beginners] Re: DialerFilter

2009-07-14 Thread kiran v
see this: http://www.netmite.com/android/mydroid/frameworks/base/core/java/android/widget/DialerFilter.java May be you will get some idea. On Jul 2, 10:00 am, BRitchie wrote: > Hello all, > > I am trying to play around with the DialerFilter layout. But I keep > getting an "I

[android-beginners] Android Benchmark Suite

2009-07-14 Thread Ram
Dear All, Are there any Android Benchmark Suites available? I attempted to download the 'droidmark' sources, but didn't find the complete sources. Thanks, Regards, - Ram --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[android-beginners] Official Google Android Developer Phone G1 (running in Canada) needs Cupcake!

2009-07-14 Thread Ben Watson (bitpakkit)
How do I best install Cupcake on my dev G1 from Google? It is the one with the Google logo on it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to androi

[android-beginners] Re: Learning? Windows or Linux?

2009-07-14 Thread mjlissner
I'd also add that if you're planning on doing much coding, in the long run knowing Linux and the way it thinks about things is pretty valuable. It reveals many of the details of how things work that Windows just doesn't do, or doesn't do as well. Again though, the sweeping generalization caveat s

[android-beginners] Improving Notepad code

2009-07-14 Thread Macarse
Hi, I've been doing the notepad tutorial @ http://developer.android.com/guide/tutorials/notepad/index.html 1) I've added a char counter on top of the body doing this: note_edit.xml => http://pastebin.com/f5fda29fe NoteEdit.java => http://pastebin.com/f4495e573 Questions with this: - Are there an

[android-beginners] Re: Question about HelloMapDemo

2009-07-14 Thread iñaki
Yes, i generated key with keytool of my java/bin, i sign up in google key correct... There are another way to confirm that my key is correct? Thanks 2009/7/14 Jack Ha > > Make sure you set the "android:apiKey" value appropriately for the > MapView in your layout file. > > -- > Jack Ha > Open So

[android-beginners] Re: Question about HelloMapDemo

2009-07-14 Thread Jack Ha
Make sure you set the "android:apiKey" value appropriately for the MapView in your layout file. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessa

[android-beginners] Disabling Screen Break with subsequent Preference Screens through XML.

2009-07-14 Thread Ravi
Hi, I need to display another PreferenceScreen through xml which occupies the full screen. Calling addPrefrencesFromResource(id) with different id results in Screen Break handled by Preference Framework. setPreferenceScreen(mPS) could be called again & it works fine but it is through code...H

[android-beginners] Another question MapView

2009-07-14 Thread iñaki
Hi again, i´m confused because i have this issue: I run app in emulator(MapView example from api´s demo) but when is load only show map with google´s logo. I see this in the log: 07-14 13:25:32.925: ERROR/ActivityThread(731): Failed to find provider info for com.google.settings 07-14 13:25:33.456:

[android-beginners] [android-beginners]Test mail From Me

2009-07-14 Thread abcdef ghijkl
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubs

[android-beginners] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-14 Thread da yang
it doesn't work. i have tried it. the devcie can be identified by system as usb mass storage though. 1500 mAh on the galaxy VS 1150 mAh, and AMOLED saves more energy, you can judge. it's OK for using but not for development, when the adb can be used. On 7月13日, 下午11时45分, Gabriel Branch wrote:

[android-beginners] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-14 Thread da yang
it doesn't work. i have tried it. the devcie can be identified by system as usb mass storage though. 1500 mAh on the galaxy vs 1150 mAh, and AMOLED saves more energy, you can judge. it's OK for using but not for develop, when the adb can be used. On 7月13日, 下午11时45分, Gabriel Branch wrote: > Tr

[android-beginners] Pick a contact and select one of the "home/mobile/work" numbers.

2009-07-14 Thread Ankit Shah
Is there a way to let user first pick a contact in one screen and then display all his numbers (home/mobile/work) in another screen and let user pick one of those numbers? I have implemented this way: Intent i = new Intent(Intent.ACTION_PICK, People.CONTENT_URI); startAct

[android-beginners] write xml file ,save in sdcard ,read form xml and print

2009-07-14 Thread sumit
can any buddy tell me how i write a xml file in android .means i want take some data from user through GUI and save in xml file in sdcard and retrieve this data form xml (sdcard )and print on emulator thanks in advance sumit --~--~-~--~~~---~--~~ You received thi

[android-beginners] Question about HelloMapDemo

2009-07-14 Thread iñaki
Hi, i have the next question with api demo hello map. I try to execute this example based in \docs\guide\tutorials\views\hello-mapview.html but when activity start don t show any map... This is the log: 07-14 08:18:39.669: INFO/MapActivity(791): Handling network change notification:CONNECTED 07-14