[android-beginners] Re: HTC Hero

2009-09-29 Thread Chi Kit Leung
They are using same version of Android and even the hardware specifications are similar identical. Only it has SenseUI in front end. I don't think there will be any different between those two phones On Tue, Sep 29, 2009 at 9:22 AM, Eros Stein eros.st...@gmail.com wrote: Thank you all for the

[android-beginners] Re: Problem with ADT plugin in Eclipse Galileo

2009-09-29 Thread Andre Wichmann
Hi, On Sep 27, 9:11 pm, Stéphane Bruno sbrun...@gmail.com wrote: It is as if the ADT plugin and the Google plugins cannot coexist in Eclipse The same is true for the subclipse and subversion plugins - as soon as either one of them is installed, the ADT plugin stops working, at least when

[android-beginners] Golf App for Android

2009-09-29 Thread Maxood
Could someone provide me a link on a good Golf application on android? I am interested to look at the screenshots and its flow. Wonder if we are able to find out elevation and/or wind speed through a device. Is it possible with any of the phones in the market running on android?

[android-beginners] Re: android service repaint

2009-09-29 Thread lei
Thanks Mark, this app only has one view, and many custom UI components which is about to draw on screen. A UI component has properties like x,y,width,height and so on. The events and actions that are produced by UI components are placed into event thread. This thread will response to execute each

[android-beginners] Re: Playing video in Android not showing the video, playing sound only with a still image

2009-09-29 Thread Mark Murphy
shobhit kasliwal wrote: I tried the DemoApi's that come's with the sdk but still no luck. I am still getting a still image with audio if I try to run teh Wmv file and for 3gp and mp4 I am not getting anything. WMV is not supported on Android generally. WMV may be supported on select devices

[android-beginners] Open Source Android Apps

2009-09-29 Thread jbrohan
Hello It seems to me that along with many people on this list we are often struggling to do the same things, maybe with just a different twist here and there. In my case taking pictures, recording comments and uploading these to a web site. I have found several examples of each of these and they

[android-beginners] Re: HTC Hero

2009-09-29 Thread Shawn Brown
Will the app I wrote for G2 work the same way on a Hero? It may. If you are using bluetooth, it may not. I am not sure why -- other than to say bluetooth is not finalize as an api -- but there are differences in the G2 and Hero. Apps that work on the G1, and G2 fail under Hero. This is

[android-beginners] Re: Should anyone be allowed to alter Android OS and Applications?

2009-09-29 Thread Fugita
Funny this is a topic that deals with something all Developers should know about. On Sep 27, 2:53 am, Mark Murphy mmur...@commonsware.com wrote: Jeffrey Blattman wrote: the big deal is that the license does not grant the right to re-distribute. this is pretty standard for a closed source

[android-beginners] problem occurred installing ADT plugin

2009-09-29 Thread phil
i am using Eclipse 3.5 (Galileo) and during installation of the ADT plugin, I get -- An error occurred while collecting items to be installed session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=). No

[android-beginners] conference call

2009-09-29 Thread Nemat
Hi, is it possible to add an incoming call with current call to make it as a conference call programmatically? Thanks in advance Nemat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post

[android-beginners] question: adp1 images on a t-mobile g1?

2009-09-29 Thread Jeffrey Blattman
what is special about the adp1 images that makes them only flashable on an adp1? that's what htc claims. is it something for subtle, for example, root access is required? or is there something special about the adp1's hardware that really prevents it from being installed on a g1? i ask

[android-beginners] Re: real-time audio transfer over Wi-Fi

2009-09-29 Thread Roman ( T-Mobile USA)
Based on your description there are no problems writing such an application. My understanding is that your connection is only half-duplex, means you send the traffic only in one direction. When I mentioned that with mixing Voip and data traffic in a Wifi network the quality of your connection

[android-beginners] Re: problem installing a .apk file

2009-09-29 Thread wahib haq
yes exactly i see this error message. what does it mean ??? On 9/29/09, Jack Ha jack...@t-mobile.com wrote: Run adb logcat and you should see the error message: W/PackageParser( 582): /data/app/vmdl43410.tmp (at Binary XML file line #10): provider does not specify android:name -- Jack

[android-beginners] Re: problem installing a .apk file

2009-09-29 Thread Sean Hodges
It means that there is a content provider specified in the apps AndroidManifest.xml file that has not been given an android:name attribute. As described in the docs (http://developer.android.com/guide/topics/manifest/provider-element.html) the android:name attribute is mandatory. My guess is that

[android-beginners] Placing Layouts in a Relative Layout

2009-09-29 Thread Grinarn
Hi folks, i just started developing Android apps and i got a first question while designing the screen. What i want to do is do build a login screen. So i arranged my Labels and Editfields with a TableLayout in Rows. Below the fields, i want to place a Login Button and a below that, an image

[android-beginners] AD HOC

2009-09-29 Thread FARAZ
http://hydtech.wordpress.com/2009/09/14/how-to-connect-to-ad-hoc-networks-using-tmobile-g1-android/ --~--~-~--~~~---~--~~ 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] Is LayoutParams activity centric?

2009-09-29 Thread Chris
I am using WindowManager.LayoutParams to set the brightness of my actvity. My question is, is this activity centric, app centric or does this change the current system brightness meaning I need to clean up the brightness back to what it was in my onPause?

[android-beginners] Get next Alarm

2009-09-29 Thread Mark
Hi there, Both as an exercise and because I've not yet found a simple app that does this already, I'm trying to develop a widget that displays the next alarm set by the standard Alarm Clock application. I've found that you can get an already formatted String of this time using:

[android-beginners] Run the same applications that are running J2ME

2009-09-29 Thread Ray da Costa
A helping hand, I have an Android G2 and would like to run the same applications that are running J2ME on my other cell E62. Is it possible? What is the procedure? -- Ray da Costa The best way to predict the future is to invent it. Alan Kay --~--~-~--~~~---~--~~

[android-beginners] onscreen keyboard on/off?

2009-09-29 Thread Walery Strauch
Is it possible to find out whether onscreen keyboard is present or not? THX Walery ;o) -- Follow me: http://twitter.com/walery --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to

[android-beginners] Pushing application from foregound to background

2009-09-29 Thread Safy
Hi, How can I push application from foreground to background on keyevent. In Blackberry you have a function called request background which pushes the UI application from foreground to background. How can I achieve this functionality in Android, is this possible ? Thanks...

[android-beginners] Re: HTC Hero

2009-09-29 Thread SANTA CLAUS
If hardware support ;) 28 сент., 2009 11:25 PM пользователь Jeffrey Blattman jeffrey.blatt...@gmail.com написал: android apps are write once run anywhere (in theory). On 9/28/09 12:16 PM, Eros Stein wrote: Hi everyone. Does anyone know if there are difference... --

[android-beginners] Re: HTC Hero

2009-09-29 Thread Jerome Clarke
I got the g2 touch and there are some difference. Unless i'm blind... where is the dictionary so i can remove my own words instead of adding only Numerous developers and customers complaining about UDP protocol issues. Where is the default android virtual keyboard. I have google default home

[android-beginners] Pass data between activitys

2009-09-29 Thread DWischer
Hi, in my app, i got a login screen and a screen, where the user information should be displayed. So, when the button is pressed, a login request will be made and in case of sucess, a new activity should be displayed. For later requests, i need the entered login data from the login screen in my

[android-beginners] Android as a Universal Remote for CE/HA? (ab)

2009-09-29 Thread Jed
Hi All, I was wondering if there's any good Universal Remote software for CE or HA being developed in the Android ecosystem? Does anyone know of anything under way or a related Linux project that could be re-adapted for Android? I have something roughly like this visualised... (see attached txt

[android-beginners] Re: Android 1.6 SDK is here!

2009-09-29 Thread Shreyas
I've tried to download the SDK many times but it just doesn't seem to start. Can someone help me out here? I read somewhere that downloads may be restricted based on geographical location, is this true? I am from NZ. - Shreyas On Sep 16, 11:22 am, Xavier Ducrohet x...@android.com wrote:

[android-beginners] Android Emulator and compiled source.

2009-09-29 Thread Lee Wilson
I know its a silly question, but I cant seem to find the answer. Is it possible to run code i have compiled on the emulator ? I cant work out how to do it. I am happier using the command line if that helps. I just want to compile my own rom and play about with it, but it would be easier to

[android-beginners] Re: Pushing application from foregound to background

2009-09-29 Thread Mark Murphy
Safy wrote: How can I push application from foreground to background on keyevent. In Blackberry you have a function called request background which pushes the UI application from foreground to background. How can I achieve this functionality in Android, is this possible ? Have the user

[android-beginners] Re: Android Emulator and compiled source.

2009-09-29 Thread Mark Murphy
Lee Wilson wrote: I know its a silly question, but I cant seem to find the answer. Is it possible to run code i have compiled on the emulator ? I cant work out how to do it. I am happier using the command line if that helps. I just want to compile my own rom and play about with it, but

[android-beginners] Changing the Build Target

2009-09-29 Thread gmseed
I have 2 versions of a Hello,World project. Both were newly built. One I built with Android 1.5-API Level 3 and one with Android1.6-API Level 4. If I run them as initially setup then they both run fine. I then changed the build target of the 1.6-API Level 4 down to 1.5-API Level 3 via right

[android-beginners] Re: Pass data between activitys

2009-09-29 Thread Mark Murphy
DWischer wrote: Hi, in my app, i got a login screen and a screen, where the user information should be displayed. So, when the button is pressed, a login request will be made and in case of sucess, a new activity should be displayed. For later requests, i need the entered login data from

[android-beginners] Re: Android Emulator and compiled source.

2009-09-29 Thread Lee Wilson
Cheers i will give that a go, sorry for the wrong section I figured as it was part of the SDK and a beginner question it should go here. On Sep 29, 7:13 pm, Mark Murphy mmur...@commonsware.com wrote: Lee Wilson wrote: I know its a silly question, but I cant seem to find the answer. Is it

[android-beginners] Re: Android Emulator and compiled source.

2009-09-29 Thread Mark Murphy
Lee Wilson wrote: Cheers i will give that a go, sorry for the wrong section I figured as it was part of the SDK and a beginner question it should go here. Understood. You'll have access to more targeted experts in those other forums, which is why I'm steering you that way, that's all. Sorry

[android-beginners] Re: Is LayoutParams activity centric?

2009-09-29 Thread Justin Anderson
Have you tried some testing to see what behavior you get? Also, in my opinion, I wouldn't be messing with the screen brightness unless there is a real good reason to. I have my phone settings set exactly how I want them. If an app changed them without a VERY good reason I would be extremely

[android-beginners] Re: Pushing application from foregound to background

2009-09-29 Thread Yusuf Saib (T-Mobile USA)
It depends on what you mean by background. If you want the Activity to disappear and not to anything until next time, save your state and call finish(). OTOH, if you want it to continue doing something in the background, you can run a Service as part of your app. Yusuf Saib Android ·T· ·

[android-beginners] Re: Run the same applications that are running J2ME

2009-09-29 Thread Yusuf Saib (T-Mobile USA)
There are a number of efforts in bridging J2ME-Android. These links may be of use, although I've not tried them out: http://www.netmite.com/android/ http://www.assembla.com/wiki/show/j2ab http://microemu.blogspot.com/2008/11/running-java-me-applications-on-android.html Yusuf Saib Android ·T·

[android-beginners] Re: Golf App for Android

2009-09-29 Thread Yusuf Saib (T-Mobile USA)
There's more than one Golf app. Golfzilla is one: http://asia.cnet.com/crave/2008/07/08/google-maps-android-golf-golfzilla/ You can find elevation from the GPS, windspeed would have to come from a weather web service, which in theory you could access programmatically. Yusuf Saib Android ·T· ·

[android-beginners] Re: conference call

2009-09-29 Thread Yusuf Saib (T-Mobile USA)
No AFAIK. Yusuf Saib Android ·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 necessarily represent those of T-Mobile USA, Inc. On Sep 29, 5:26 am, Nemat nemate...@gmail.com wrote: Hi, is

[android-beginners] Doc and Samples typos and suggestions?

2009-09-29 Thread gmseed
Hi I've found a couple of typos in the dev guide and samples. Does anyone know how to pass these onto the Google Android doc team? Graham --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To

[android-beginners] Re: Handling focus in ExpandableListView

2009-09-29 Thread Brian
Yeah - works like a charm! Thanks, Justin! Here the code snippets for others to reuse: public class ProjectList extends ExpandableListActivity implements AdapterView.OnItemSelectedListener ... @Override public void onCreate(Bundle savedInstanceState) {

[android-beginners] getting length of an EditText while entering text

2009-09-29 Thread infero
I'd like to display the length of the entered text for a EditText while the user is typing, so he/she can see when the maximum characters are reached - or the other way round how many chars are left (link for an SMS). I see that the TextView has a protected method onTextChanged, but how can I

[android-beginners] Re: Doc and Samples typos and suggestions?

2009-09-29 Thread Romain Guy
Hi, Please follow the instructions at source.android.com if you want to submit patches, or just file bugs at b.android.com. On Tue, Sep 29, 2009 at 12:20 PM, gmseed gms...@gmail.com wrote: Hi I've found a couple of typos in the dev guide and samples. Does anyone know how to pass these

[android-beginners] Re: getting length of an EditText while entering text

2009-09-29 Thread Justin Anderson
One way would be to subclass the EditText class... You would then have access to onTextChanged and could do whatever you want with it. Thanks, Justin -- There are only 10 types of people in the world... Those who know binary

[android-beginners] Re: getting length of an EditText while entering text

2009-09-29 Thread infero
One way would be to subclass the EditText class...  You would then have access to onTextChanged and could do whatever you want with it. Thanks Justin, That sounds like a big overhead :-( for something quite simple. I hope there is somehow a simpler way available... Regards infero

[android-beginners] Re: getting length of an EditText while entering text

2009-09-29 Thread Justin Anderson
And indeed there is... My last post was without referencing the docs. However there is this: addTextChangedListener(TextWatcher watcher) Hope that helps. Thanks, Justin -- There are only 10 types of people in the world... Those

[android-beginners] Re: Pass data between activitys

2009-09-29 Thread DWischer
On 29 Sep., 20:11, Mark Murphy mmur...@commonsware.com wrote: Use putExtra() on the Intent you use to launch the new Activity. The new Activity can then use getExtra() to retrieve them. Is it possible to pass complete Java objects via putExtra? I just found functions for passing simple data

[android-beginners] Re: Pass data between activitys

2009-09-29 Thread Jeffrey Blattman
yes, the object needs to be serializable or parcelable. On 9/29/09 2:22 PM, DWischer wrote: On 29 Sep., 20:11, Mark Murphy mmur...@commonsware.com wrote: Use putExtra() on the Intent you use to launch the new Activity. The new Activity can then use getExtra() to retrieve them.

[android-beginners] Flashing recovery 1.6...

2009-09-29 Thread Troglodad
Wanted to note that I screwed up in the process and it still worked... I used a miniSD to USB adapter to put the radio file on my miniSD, then booted up with home+power. Alas, instead of doing ALT+L I goofed up and ALT+S but it still worked. Rebooted (HOME+BACK) fine, and very quickly and then

[android-beginners] Re: Flashing recovery 1.6...

2009-09-29 Thread C.Martin
Whoops, put this in the wrong forum- could someone move it to the ADP update forum? --~--~-~--~~~---~--~~ 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] Re: Is LayoutParams activity centric?

2009-09-29 Thread Chris
I haven't tested as I still have a week until the phone arrives. I am doing a few learning android exercise type apps and 1 felt would be a good basis for learning the app lifecycle/structure would be a torch app with settings for things like the brightness and so on. But generally yes, I agree

[android-beginners] Re: Placing Layouts in a Relative Layout

2009-09-29 Thread iPaul Pro
Hey, I fear you are approaching Android design as if you were coding for HTML in the 90s. ;) There is no real need for a table layout here. Heres an example of a login dialog from the API Demos (samples/ApiDemos/res/layout/ alert_dialog_text_entry.xml): ?xml version=1.0 encoding=utf-8? !--

[android-beginners] Re: How can I prevent the background from fading out when I show a dialog?

2009-09-29 Thread iPaul Pro
Hi, Could you possibly have the dialog as a separate activity, with the dialog theme? This gives you full control over the window background. Hope that helps. Paul On Sep 27, 10:44 am, Christian c.braumuel...@eagle-graphics.de wrote: Hi, how can I prevent the background from fading out

[android-beginners] Re: Poor performance on my file loader (code optimization help!)

2009-09-29 Thread Glen Kimsey
Thanks to everyone for the help on this. As I mentioned, I'm rather new to Java, so things like StringTokenizer being legacy are news. Believe it or not the file format uses actual frames instead of keyframes (hence no timestamp or other indication of time or frames between each being parsed

[android-beginners] Re: Saving calculator result problem

2009-09-29 Thread bgoody
I couldn't get that one to work so I'm trying something else. Here's where the button is pressed: btnMP.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { memNum = memNum +

[android-beginners] Re: Open Source Android Apps

2009-09-29 Thread tinyang
Great idea!! I'm trying to do something similar, got about 1/3rd through my app and having serious probs moving forward now. I would fully support your idea. -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of jbrohan

[android-beginners] record and store the recording to remote server

2009-09-29 Thread Shobhit Kasliwal
Hi I am creating an application which does recording and save the file to a remote server. I recorded the file successfully on local sdcard and when I tried to convert that file to byte[] and send it via webservice I am getting runtime exception (Cannot serialize) Can anybody help me out on this

[android-beginners] Re: Golf App for Android

2009-09-29 Thread Maxood
How can we detect wind speed from a weather web service. Can you suggest some good sites? Also i have been informed that one is restricted by the United States Golf Association and the Royal and Ancient Golf Association (the ruling bodies of golf in the US and Europe) for using any device to

[android-beginners] Re: Is LayoutParams activity centric?

2009-09-29 Thread Justin Anderson
My apologies if I seemed a little curt in my original response. There are quite a few people who post questions without doing any work for themselves to find an answer... and I had already answered two other people today who fit into this category. It took me 2 minutes to look on the SDK docs to