[android-beginners] Re: Unlock Motorola Cliq and use with ATT?

2009-10-18 Thread Vladimir Kelman
Thanks Jeffrey! I think... I'll wait for next more advanced phones... people say Cliq is similar in its hardware to g1, while forthcoming Sholes is more advanced. What I consider a must is a physical keyboard... On Oct 17, 7:35 pm, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: that's how

[android-beginners] Music: file names, album recognition, etc?

2009-10-18 Thread Vladimir Kelman
Is it only my experience, or Android (I have 1.6 installed) has very buggy and ... strange music support? I don't know what to start from... 1) Is it true, that mp3 files with names starting from a digit are not recognizable? It seems that Android phone simply do not see them. Is it maybe a Linux

[android-beginners] Re: Music: file names, album recognition, etc?

2009-10-18 Thread Vladimir Kelman
OK, I found first answers on how to edit mp3 tags in here: http://handphone-solution.blogspot.com/2008/09/add-album-art-and-edit-mp3-tags.html. By its recommendation I also installed http://www.mp3tag.de/en/ which seems to work well. On Oct 18, 3:07 am, Vladimir Kelman vkel...@gmail.com wrote:

[android-beginners] Separate AndroidManifest for tests?

2009-10-18 Thread Yasser
Hi, Currently in our app, the unit tests (ActivityInstrumentationTestCase2) and the app code both share the same AndroidManifest.xml. Is it possible to have a separate manifest file which the tests can use i.e. having 2 manifest files in a package? Thanks Yasser

[android-beginners] MULTIPLE CONTROLS IN SINGLE LINE:

2009-10-18 Thread Clave Yard
ALL, CAN SOME ONE TELL ME HOW TO MAKE THREE CONTROLS IN A SINGLE LINE USING LAYOUT? I WANT TO SHOW AN IMABE, A BUTTON AND TEXT LABEL IN A SINGLE LINE. I TRIED THAT ON LAYOUT IN ECLIPSE. BUT IT ACCEPTS ONLY ONE CONTROL FOR ONE LINE, IF ADD NEXT CONTROL IT GOES TO NEXT LINE(ROW). I WANT TO MAKE

[android-beginners] Re: MULTIPLE CONTROLS IN SINGLE LINE:

2009-10-18 Thread Jeffrey Blattman
i assume you mean you want your list view's rows to be complex. in summary, 1. create a custom adapter 2. in the adapter's getView(), inflate your custom view and populate it as you wish On 10/18/09 1:03 AM, Clave Yard wrote: ALL, CAN SOME ONE TELL ME HOW TO

[android-beginners] Re: MULTIPLE CONTROLS IN SINGLE LINE:

2009-10-18 Thread Clave Yard
Do you mean, using layout we can't achieve this? Is there any sample provided by Android team to do such thing, creating custom controls?--- On Sun, 10/18/09, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote:From: Jeffrey Blattman jeffrey.blatt...@gmail.comSubject: [android-beginners] Re:

[android-beginners] Re: MULTIPLE CONTROLS IN SINGLE LINE:

2009-10-18 Thread Jeffrey Blattman
are you using a listview or no? i'll assume no ... yes, to get three views positioned horizontally across the page, you would use a LinearLayout and specify android:orientation="horizontal". On 10/18/09 2:00 AM, Clave Yard wrote: Do you mean, using layout we can't

[android-beginners] Re: MULTIPLE CONTROLS IN SINGLE LINE:

2009-10-18 Thread Clave Yard
Yes. You are right. android:orientation="horizontal" is helping a lot. But i want to keep three controls(image, button and text) on Top in a single line. And one slider control in the second line, below of that three controls. For ex: If you see built-in Volume control, there will be Volume

[android-beginners] R class outside of activity

2009-10-18 Thread jax
I have made a regular class that needs to use string from the R class. I have imported the R class into the activity and am able to access all the variables. My Question is, how do you convert them to string, For example: If I access R.string.myString it will return as an int not a String

[android-beginners] Re: R class outside of activity

2009-10-18 Thread Jeffrey Blattman
Context.getResources().getString(int id). so yes, you need to pass around a Context. i think android is deficient here. for example, i like to separate the data model from the UI classes. what if the data model needs a resource string? it can't use android's resource mechanism, it has to fall

[android-beginners] Re: R class outside of activity

2009-10-18 Thread RichardC
Try this: http://developer.android.com/guide/topics/resources/index.html -- RichardC On Oct 18, 10:48 am, jax jackma...@gmail.com wrote: I have made a regular class that needs to use string from the R class. I have imported the R class into the activity and am able to access all the

[android-beginners] Re: MULTIPLE CONTROLS IN SINGLE LINE:

2009-10-18 Thread Jeffrey Blattman
well ... i don't want to write the code for you, but what you are asking for is possible. if you aren't using the eclipse plugin, do that. it gives an okay GUI editor for layouts ... so you can try things out quickly and see what looks correct. some things to watch out for are setting weights,

[android-beginners] Re: R class outside of activity

2009-10-18 Thread RichardC
The need to pass the context around is because your strings (and all resources) may be different for localization, layout, screen size etc. So accessing a string (resource) without an application context does not make sence. -- RichardC On Oct 18, 11:04 am, RichardC

[android-beginners] Re: R class outside of activity

2009-10-18 Thread jax
ok thanks I modified to class to accept a Context On Oct 18, 5:06 pm, RichardC richard.crit...@googlemail.com wrote: The need to pass the context around is because your strings (and all resources) may be different for localization, layout, screen size etc. So accessing a string (resource)

[android-beginners] Re: R class outside of activity

2009-10-18 Thread Jeffrey Blattman
yes of course that's the whole point of resources ... there's better ways to do it. Context is a massive class with UI-centric functionality. even the android Resources class has UI functionality. localization could have been factored out into a smaller non-UI class. in std Java i have Locale

[android-beginners] Re: R class outside of activity

2009-10-18 Thread RichardC
What you say is very true for just localization but with the Android approach I can have different resources (string, layouts, etc) for portrate, landscape, local, even screen size and DPI etc. In my opinion the current resouce implementation is there to enable the evolution of the Android

[android-beginners] Android Getting started

2009-10-18 Thread Niamathullah sharief
Hi i am new to android. I am having some doubt when i tried to do my first project in android. When i select new new project in eclipse. Is ask some details. In that i saw one option called package name..I don't know what to give in that field. Can anyone help me. I am not much expert in Java.

[android-beginners] Re: Android Getting started

2009-10-18 Thread Mark Murphy
Niamathullah sharief wrote: Hi i am new to android. I am having some doubt when i tried to do my first project in android. When i select new new project in eclipse. Is ask some details. In that i saw one option called package name..I don't know what to give in that field. Can anyone help me.

[android-beginners] Is Android really open platform or not?

2009-10-18 Thread f...@r@0n
Hello everyone! I want to discuss a bit about open philosophy and level of openness provided by Android. If Android is really open platform, why it doesn't provide source code of middleware and built-in apps with SDK? And why Google doesn't provide also tools for image creation, so I can create

[android-beginners] Re: Is Android really open platform or not?

2009-10-18 Thread Mark Murphy
I want to discuss a bit about open philosophy and level of openness provided by Android. If Android is really open platform, why it doesn't provide source code of middleware and built-in apps with SDK? The purpose of the SDK is to build applications. You do not need the source code of

[android-beginners] Refractoring XML in eclipse

2009-10-18 Thread jax
Hi, the development environment in eclipse is quite good but I the XML support seems a little limited. For example, I can't refractor properly. For example, if I rename a string in my resources it doesn't change throughout the project like java code would do. Does anyone have any tips or

[android-beginners] Run application at device startup:

2009-10-18 Thread Clave Yard
Hi All, If i want to run my application at device startup immediately, what are things that i need be taken care of. Is there any tutorial or sample or help on this? Clave/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Controlling who and when can access for a Service and Waiting for Android Threads to finish

2009-10-18 Thread jax
A couple of questions 1. I have a service that needs to restrict access to it's methods at certain times. What is the best way to implement this. My activity binds to the service initially. 2. I am using the TTS (Text to Speech) library but I have noticed that is takes a little while to

[android-beginners] Re: MULTIPLE CONTROLS IN SINGLE LINE:

2009-10-18 Thread jax
Hi Clave If you press the Caps Lock key to the left of the keyboard near the 'A' key IT WILL STOP YOU WRITING LIKE THIS. On Oct 18, 5:06 pm, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: well ... i don't want to write the code for you, but what you are asking for is possible. if you

[android-beginners] Re: Configuring widgets

2009-10-18 Thread nishiyath NAZER
: i want to unjoined from android-beginners group and here after dont send me messages. --~--~-~--~~~---~--~~ 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] Full scree Video View..

2009-10-18 Thread Prabakar
Hi, I am playing a Video using VideoView in my program. I used android:screenOrientation=landscape in AndroidManifest xml and android:layout_gravity=center android:fitsSystemWindows=true android:theme=@android:style/Theme.NoTitleBar.Fullscreen in main.xml file. I used

[android-beginners] Re: Problems with WakeLock

2009-10-18 Thread Chris
Is there perhaps a way I can force the action? or perhaps there is a better event to use than onPause? On Oct 16, 7:03 pm, Balwinder Kaur (T-Mobile USA) balwinder.k...@t- mobile.com wrote: Ok. I was able to reproduce the problem, but it happened only twice ( I must have tried it about 12~15

[android-beginners] Re: 2 O/S on same mobile?

2009-10-18 Thread James Ausmus
On Thu, Oct 15, 2009 at 8:32 AM, P B belgrad...@googlemail.com wrote: I'm buying a phone (the acer neotouch (a.k.a the F1 or s200)) which has windows mobile 6.5 preinstalled. Is it possible to install the Android O/S onto the same phone and be able to choose which O/S to use whenever -

[android-beginners] Re: Is Android really open platform or not?

2009-10-18 Thread VY
How difficult is it to port Android onto novel hardware? On Sun, Oct 18, 2009 at 6:06 AM, Mark Murphy mmur...@commonsware.comwrote: I want to discuss a bit about open philosophy and level of openness provided by Android. If Android is really open platform, why it doesn't provide source

[android-beginners] Dynamic text movement

2009-10-18 Thread vamsee
hai all, I am developing an application which would look like microsoft power point application. I had a problem while writing and moving the text dynamically. I have tried with edit text box, but was not able to move it and can not resize it. Can any one help me. thanks in advance.

[android-beginners] Radio Transmitter

2009-10-18 Thread aggie_hellcat2009
I'm interested in developing a program that pages another device other than a phone using radio signals. The program would also need to listen for these signals back. Does Android support this or should I be looking at the mobile devices capability? If either support this how do I get access and

[android-beginners] Re: How to make a child activity?

2009-10-18 Thread niko20
I dont understand why everyone makes this so complicated. First of all, this is a phone, you don't want to be using tons of data structures. There is nothing wrong with some global variables/ functions. If you want to store data that will be shared between activities, just simply use a static

[android-beginners] Porting Android

2009-10-18 Thread VY
Hi: Are there resources/documents showing how to port the Android platform onto other hardware platforms? Any tips/pointers much appreciated. --Vincent --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-beginners] Re: Error when starting the AVD

2009-10-18 Thread stan8688
you can use android list target , will show target list and see them's id. android list avd to show avd list and see them's name android create avd -t targetid -n avdname to create avd your create android list avd show again emulator -avd avdname to start your avd. On Oct 16, 3:10 am,

[android-beginners] Android App Marketing Opportunity

2009-10-18 Thread Pete C.
Hello - I have an interesting marketing opportunity for all you Android app developers. I work for the advertising agency for the Sprint/Nextel Corporation. We recently launched a microsite at now.sprint.com/android to promote all the Android apps that are available on Sprint's Now Network. We

[android-beginners] AlertDialog won't disappear immediately when calling dismiss()

2009-10-18 Thread Susan
Target behavior: An AlertDialog appears. When the user presses the yes button, the dialog disappears (thus displaying what's under it), a random amount of time passes (1-5 seconds), and then a Toast message pops up. What's actually happening: The AlertDialog appears. When the user presses the

[android-beginners] onTouchEvent in emulator

2009-10-18 Thread wit
Hello there, fellow Androidevs! I am trying to test an app which relies on onTouchEvent of a custom (subclased) View. In particular I want to be able to track if the user touched an object and moves the finger across the screen (so that the object follows his finger). This app is almost

[android-beginners] Force Roaming with ServiceState class?

2009-10-18 Thread Eric Fortin
I'm trying to force Roaming on my Sprint Hero... the standard options in are Sprint Only and Auto. My area is mostly Verizon and I'd like to have a toggle to use only roaming... I'm trying to use this: import android.telephony.ServiceState; ServiceState ss = new ServiceState();

[android-beginners] Re: Android Charts

2009-10-18 Thread wit
Hello there, I think I have seen some Charting Library for Android somewhere... selling for something like $299. So if you are not willing to spend that, then I guess you are doomed indeed :-) (I'm writing my own charting library for Android myself right now) Cheers On Oct 16, 2:09 pm,

[android-beginners] AnimationDrawable programmatic example

2009-10-18 Thread alin.ciup...@yahoo.com
Hello, I encountered the same problem as many other android developers when I tried to start the AnimationDrawable from the onCreate() method of the activity. However, I found a way that you can start the frame by frame animation, from the UI thread. (Even if you exit your application, when you

[android-beginners] Re: Is Android really open platform or not?

2009-10-18 Thread Mark Murphy
VY wrote: How difficult is it to port Android onto novel hardware? Depends on how big of a team you have and their skill level. Device manufacturers do not seem to be having much trouble. On the other hand, it would be a fair amount of work for an individual, I imagine. -- Mark Murphy (a

[android-beginners] Re: MULTIPLE CONTROLS IN SINGLE LINE:

2009-10-18 Thread Clave Yard
OK. F --- On Sun, 10/18/09, jax jackma...@gmail.com wrote: From: jax jackma...@gmail.com Subject: [android-beginners] Re: MULTIPLE CONTROLS IN SINGLE LINE: To: Android Beginners android-beginners@googlegroups.com Date: Sunday, October 18, 2009, 4:05 PM Hi Clave If you press the Caps Lock key

[android-beginners] Re: Is Android really open platform or not?

2009-10-18 Thread Jeffrey Blattman
android has been around for 3 or so years now. are there any examples where individual, or small not-for-profit projects have ported android to alternative hardware? i don't know of any. the answer to that will probably give you a good idea of the difficulty VY. On 10/18/09 1:36 PM, Mark

[android-beginners] Help configuring APN for Android dev phone1

2009-10-18 Thread Vinicius Carvalho
Hello there! I live in Brazil and got a new android dev phone 1. My carrier (claro) says that in my state (Minas Gerais) they use 2100Mhz for 3G band. I have a data services packet from them (used to work on my N95), but I can't get it working on Devphone. I've registered the APN using the same

[android-beginners] Re: OnCompletion video notification on MediaController and VideView usage?

2009-10-18 Thread Roman ( T-Mobile USA)
You can use the onCompletion to restart the Video also if you use a VideoView and the MediaController (if you only want to replay the video) The method public void onCompletion(MediaPlayer arg0) { Log.d(TAG, onCompletion called); arg0.start(); // can be also executed in a loop

[android-beginners] Rooting?

2009-10-18 Thread Vinicius Carvalho
Hello there, could someone please tell me if I need rooting on Android Dev Phone? Or only locked phones? I wish to upgrade from 1.0 - 1.6 (also considering the legal version o Cyanogenmod). Regards --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Using the android logo in a paid app

2009-10-18 Thread jax
Is it OK to use the Android logo in a paid application? If not is it OK to use a modified version of the logo? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send

[android-beginners] Re: Refractoring XML in eclipse

2009-10-18 Thread Justin Anderson
Rename, build, fix the errors! ;-) On Oct 18, 2009 8:34 AM, jax jackma...@gmail.com wrote: Hi, the development environment in eclipse is quite good but I the XML support seems a little limited. For example, I can't refractor properly. For example, if I rename a string in my resources it

[android-beginners] Re: Rooting?

2009-10-18 Thread Jeffrey Blattman
you do not need to root your phone to develop applications or to upgrade to 1.6. however, you will need to root your phone to install CM or some other 3rd party dists. On 10/18/09 7:29 PM, Vinicius Carvalho wrote: Hello there, could someone please tell me if I need rooting on Android Dev

[android-beginners] Re: Android Getting started

2009-10-18 Thread Niamathullah sharief
Ok...I am using UBUNTU distribution. In that when i try to start an emulator i am getting the following error.. shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$ emulator -avd sharief bash: emulator: command not found can anyone tell me why it happens? On Sun, Oct 18,

[android-beginners] Re: Android Getting started

2009-10-18 Thread Jeffrey Blattman
that means the emulator isn't in your path. add $ANDROID_HOME/tools to your path. On 10/18/09 8:22 PM, Niamathullah sharief wrote: Ok...I am using UBUNTU distribution. In that when i try to start an emulator i am getting the following error..

[android-beginners] Re: Android Getting started

2009-10-18 Thread Niamathullah sharief
sorry jeffey. I am novice. Could you please tell me how to set the path? Could you please explain me in detail? On Mon, Oct 19, 2009 at 8:54 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: that means the emulator isn't in your path. add $ANDROID_HOME/tools to your path. On 10/18/09

[android-beginners] Re: Android Getting started

2009-10-18 Thread Jeffrey Blattman
http://www.linuxheadquarters.com/howto/basic/path.shtml On 10/18/09 8:26 PM, Niamathullah sharief wrote: sorry jeffey. I am novice. Could you please tell me how to set the path? Could you please explain me in detail? On Mon, Oct 19, 2009 at 8:54 AM, Jeffrey Blattman

[android-beginners] Re: Android Getting started

2009-10-18 Thread Niamathullah sharief
OK. and another one is, i have installed eclipse on my system. is this another way to start an android?if yes i have created ADT plugin in eclipse. now how to start an emulator in eclipse? On Mon, Oct 19, 2009 at 8:58 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote:

[android-beginners] Re: Android Getting started

2009-10-18 Thread Jeffrey Blattman
if you "run asandroid app" in eclipse, it will start the emulator, deploy your app, and run it. On 10/18/09 8:34 PM, Niamathullah sharief wrote: OK. and another one is, i have installed eclipse on my system. is this another way to start an android?if yes i have created ADT plugin in eclipse.

[android-beginners] Re: Android Getting started

2009-10-18 Thread Niamathullah sharief
No jeffrey. There is no android app in Run as.. On Mon, Oct 19, 2009 at 9:07 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: if you run asandroid app in eclipse, it will start the emulator, deploy your app, and run it. On 10/18/09 8:34 PM, Niamathullah sharief wrote: OK. and

[android-beginners] Re: Music: file names, album recognition, etc?

2009-10-18 Thread Vladimir Kelman
However, I still have troubles with Android (1.6 on Android Dev Phone 1 = HTC 1) not indexing mp3 files. Tutorial says its enough to connect USB, mount a drive and copy mp3 files directly from my PC to a chosen folder on Android's SC card. That's what I do and some files are shown in Android's

[android-beginners] Re: Android Charts

2009-10-18 Thread Desu Vinod Kumar
HI AI Charts Are there it is very nice ... ChartApi we can use directly by add (aiCharts.jar) external jar file into our project On Sat, Oct 17, 2009 at 1:04 PM, wit wital...@gmail.com wrote: Hello there, I think I have seen some Charting Library for Android somewhere... selling for

[android-beginners] Re: Android Charts

2009-10-18 Thread Marc Lester Tan
See if this will work for you: http://www.achartengine.org It's free. Marc On Fri, Oct 16, 2009 at 8:09 PM, Vinicius Carvalho viniciusccarva...@gmail.com wrote: Hello there! I'm starting with android, and the app I'm developing is gonna need some charts. I've looked and did not find any