[android-beginners] Re: Is it possible to append a value to R.string or any resource under R.?

2009-10-25 Thread Jeffrey Blattman
On 10/24/09 5:10 PM, David wrote: @Farproc Ah yes, the R.xx.xx are integer constants created automatically in the R.java file (i.e., h1=0x7f050002, h2=0x7f050003, etc.). Now it makes sense why constructing a string to reference them does not work. @Jeffrey I have a couple of

[android-beginners] 1.6 (donut) in Canada? is rooting the only option?

2009-10-25 Thread droidnoob
hey there quick question im a bit of a beginner when it comes to android. im wondering if anyone knows if there's going to be an OTA update for rogers Dream users or should i just root my phone to enjoy all of the benefits of a US G1 owner. if anyone knows how to root a rogers htc dream would be

[android-beginners] Accidentaly flashed my G1 to an ADP phone

2009-10-25 Thread Roland Guba
Hello guys! I'm new with the android OS, so I would like to ask your help with my problem. My intention was originally to flash Cyanogen mod to my newly bought phone. I succesfully rooted my 1.1 firmware G1, and after that, I managed to replace the original recovery console with CyanogenMod

[android-beginners] Android Emulator

2009-10-25 Thread Nat M
Hi, My android emulator on eclipse takes = (Equal to) sign in its default google toolbar and doesnt allows any of my activities/projects to load. Does anyone know about this issue?? If so please tell me what am I doing wrong? Thanks in Advance.

[android-beginners] Problem with installing the Composite ADB interface

2009-10-25 Thread Jay
I am trying to install contacts2sim_pro.apk to my phone. Does anyone can tell me or show me on how to do the installation or any proper file that I can used to get the HTC dream working. I have tried the latest version android-sdk-windows-1.6_r1. But windows comes out an error message device

[android-beginners] Is there a visual guide to Android components?

2009-10-25 Thread Brian
Hello As someone who is fairly new to Java I use online documentation and other resources very often to either to jog my memory or to learn something new. As a visual learner and frequent user of Sun's Java tutorials I find a lot of comfort in images and diagrams. Sun has a great section titled

[android-beginners] Problem with installing the Composite ADB interface

2009-10-25 Thread Jay
I am trying to install contacts2sim_pro.apk to my phone. Does anyone can tell me or show me on how to do the installation or any proper file that I can used to get the HTC dream working. I have tried the latest version android-sdk-windows-1.6_r1. But windows comes out an error message device

[android-beginners] How do I get a view's height to fill the space in between two other views?

2009-10-25 Thread launchpadtt
Hello, I'm learning android and I have extremely limited programming experience or skills. Basically I want to have an activity whose layout kinda looks like the gmail inbox's layout. I want a textview on top, and a radio group of radio buttons in the middle and a row of buttons at the bottom,

[android-beginners] Change Android Language

2009-10-25 Thread Memes
I am living in China and I bought a HTC Hero with Chinese version of Android. Can anyone help me to change back the language to english, I can not read the caracters, but if you give it to me, I can identify them and change the settings. Thanks

[android-beginners] Re: Is it possible to append a value to R.string or any resource under R.?

2009-10-25 Thread m_vitaly
I would suggest to use reflection in that case. Just look for a field from R.string class named h + desiredString and pass it's value to textView.setText() Note that reflection is slower than direct access. On Oct 24, 7:48 am, David dmackle...@gmail.com wrote: @Farpoc Your solution worked

[android-beginners] including jar user libraries

2009-10-25 Thread gmseed
Hi I created an Android project that works fine. I then created a jar library in Eclipse using the User Library dialog box and added it to my Android project. When I now rebuild and rerun my application it crashes in both emulator and device modes. If I step through the debugger it's not much

[android-beginners] Re: connecting to a remote database tutorial/example?

2009-10-25 Thread jbrohan
Hello I need to look up a database in my app. I'll be doing it next week I expect. For the moment the php just returns a constant. ?php $do = $_REQUEST['do']; if ($do == groupphone){ $phone=trim($_REQUEST['phone']); $phone=str_replace(array('.','(',')','-',' ','+'),'',$phone);

[android-beginners] Re: Poor Documentation

2009-10-25 Thread Sean Hodges
I know the Android is a free system but I stand by my point that the documentation could be a lot better. The better the developer documentation, the better the take up. No. The higher the demand for the Android platform (more phones, more consumers) the better the take up. This holds true

[android-beginners] How to import an existing project into Eclipse?

2009-10-25 Thread Freeman Zhang
HI I wanna import some codes sample to the Eclipse to learn the API usage. But, when I choose import from the menu, I found there's no Android project in it. How can I import an existing project into the Eclipse? Thanks a lot. Regards, Freeman

[android-beginners] Selling applications from outside the approved countries

2009-10-25 Thread jax
I don't live in the approved countries supported by the Android Market...so what are my options? 1. Am I totally locked out of the android market? 2. Can anyone from any country sell on slideme.com? 3. Are there any other app stores? 4. If I sell from my website how will I control piracy?

[android-beginners] Re: How to import an existing project into Eclipse?

2009-10-25 Thread jax
File -- Import -- Existing Projects into Workspace Click browse and find the API demo directory On Oct 25, 7:53 pm, Freeman Zhang pcman.zh...@gmail.com wrote: HI I wanna import some codes sample to the Eclipse to learn the API usage. But, when I choose import from the menu, I found

[android-beginners] Re: How to import an existing project into Eclipse?

2009-10-25 Thread Freeman Zhang
Sorry, it doesn't work. But, I find the way, File - New - Android Project - Create Project form existing source Thanks a lot. 2009/10/25 jax jackma...@gmail.com File -- Import -- Existing Projects into Workspace Click browse and find the API demo directory On Oct 25, 7:53 pm, Freeman

[android-beginners] error message

2009-10-25 Thread android
if the field is empty I send the error message where wrong public class localizza extends Activity { private EditText latitudine; private EditText longitudine; private Button btnlocalizza; private static ProgressDialog pd; private Thread trovaerrore; public void

[android-beginners] Re: Is there a visual guide to Android components?

2009-10-25 Thread tinyang
Try this: http://developer.android.com/guide/topics/ui/index.html -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Brian Sent: Saturday, October 24, 2009 6:43 PM To: Android Beginners Subject: [android-beginners] Is

[android-beginners] Re: Unable to check correct row when using CheckedTextView

2009-10-25 Thread Jason Van Anden
Does anyone know if this thread ended well? I attempting to create a fancy list with a multiple selection (in 1.6). The following code give seemingly random results using a SimpleCursorAdapter ... @Override protected void onListItemClick(ListView l, View v, int position, long id) {

[android-beginners] Call URL

2009-10-25 Thread David Kebo
I am trying to call a URL for code. This URL is supposed to move a camera connected on the same network url = new URL(http://10.0.1.90/axis-cgi/com/ptz.cgi? camera=1move=home); URLConnection cameraConnection = url.openConnection(); cameraConnection.connect(); I get no response when I run this

[android-beginners] Re: Unable to check correct row when using CheckedTextView

2009-10-25 Thread Jason Van Anden
OK. I am an idiot. This was not working for me because I had left-over code in onCreate from something else I tried: //listView.setItemsCanFocus(false); //listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); In the process I learned an awful lot from Mark Murphy's examples in

[android-beginners] Re: Accidentaly flashed my G1 to an ADP phone

2009-10-25 Thread ohnoezitasploded
This is a development forum, for programmers. If you post in the XDA Developers Dream QA forum someone will help you. On Oct 24, 10:49 am, Roland Guba rol...@gmail.com wrote: Hello guys! I'm new with the android OS, so I would like to ask your help with my problem. My intention was

[android-beginners] Re: Does anyone know how to set G1 use Wi-Fi with static IP?

2009-10-25 Thread Farproc
Thank you!! On 10月24日, 下午1时21分, Michael Cheselka chese...@gmail.com wrote: Hello , Usually the router can offer the same ip based on the mac address. I use dd-wrt and there is an option to add the hostname, mac address, and ip address you wish. Regards, Michael Cheselka 650-488-4820

[android-beginners] Re: How do I get a view's height to fill the space in between two other views?

2009-10-25 Thread Justin Anderson
If you are using XML layouts, there are a couple things you could try... 1) Set the layout to use fill_parent instead of wrap_content 2) Give the layout a weight... android:layout_weight Thanks, Justin -- There are only 10

[android-beginners] video frame

2009-10-25 Thread Vinu Vijayan
Hi all, is there any api availble to get the first screen of an video file so that we can show the first frame of the videos while listing the videos. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-beginners] WebView clearHistory() problem

2009-10-25 Thread erisa
I have several buttons on a screen, each of which makes a WebView on the layout visible and loads a different Url. Pushing the back return while viewing the URl makes the WebView gone and returns the user to the button screen. My problem is that often, but not always, pressing the back button

[android-beginners] Re: Battery Usage Indicator API - JDK 1.6

2009-10-25 Thread SagarH
While continuing on my research: I am currently stuck at trying to find out which class actually modifies the values of android.os.BatteryManager (BatteryManager.java) Any ideas ? -Sagar Hatekar --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] file chooser?

2009-10-25 Thread Jeffrey Blattman
this has to be an easy one. i want to bring up a file chooser to be able to read a file from say the SD card. i'd rather not roll my own. is there some standard way to do this? --