[android-beginners] Re: Remote View setString

2009-10-02 Thread Paul Turchenko
You can set an attribute only before view's inflation. After view has been inflated, the only thing you can resort to is calling view's method that will change its state. Right now, methods offered by RemoteViews is the only way to communicate with widget. I think you can help us solve your

[android-beginners] Re: Instead of android:layout_marginLeft=100px can we mentioned it in percentage??

2009-10-02 Thread Paul Turchenko
Consider playing with layout_weight attributes. On Oct 2, 3:23 am, Kent Loobey k...@uoregon.edu wrote: On Wednesday 30 September 2009 05:12:36 Jitu wrote: Hi All, I am facing a problem on UI creation for example (android:layout_marginLeft=100px) when i switch to portrait to landscape

[android-beginners] Re: Compile C on Android Phone

2009-10-02 Thread Paul Turchenko
Doubt that. On Oct 1, 4:36 am, cookiemonsta mohamed.suh...@gmail.com wrote: i would like to know if there is a compiler that can be installed ON the android phone to be used to compile C programms. --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Re: Showing a Toast or Activity on top of another application

2009-10-02 Thread Paul Turchenko
Try using Handler: instead of showing toast from non-GUI thread, use handler.post() method to schedule toast for execution in UI thread. On Sep 30, 8:42 pm, Omer Gilad omer.gi...@gmail.com wrote: Hello, I have an application which runs a background thread which eventually updates listeners on

[android-beginners] Chosse the connection interface before sending request?

2009-10-02 Thread DWischer
Hi, what im trying to do is, to connect the phone to an adhoc wlan with no internet access. Over this connection, i connect to a printer, to print over wireless. Normal http Requests should be made over the UMTS connection of the phone. Is it possible to choose the interface which will be used

[android-beginners] Why is my file not accesible at data/data ?

2009-10-02 Thread joare...@googlemail.com
Hello, I am trying to store an xml file. When searching for solutions everyone suggests, that the just created file has to be located at /data/data/your_project_package_structure/ files/samplefile.txt Unfortunately neither on my emulator nor on the real device I can find my file at this

[android-beginners] Re: Compile C on Android Phone

2009-10-02 Thread ITWizard
Hei cookiemonsta, yes, you can! to quote somebody famous. To get it started consult the Android NDK package - http://developer.android.com/sdk/ndk/1.5_r1/index.html it also has 2 applications to get you started from the basics of it. For a more complex application including Java and C++, you

[android-beginners] Apple Mac

2009-10-02 Thread c . mcgorian
Can Android be programmed on an Apple Mac, have recently switched over. Thanks. Sent via my BlackBerry from Vodacom - let your email find you! -Original Message- From: ITWizard appw...@gmail.com Date: Fri, 2 Oct 2009 02:09:55 To: Android Beginnersandroid-beginners@googlegroups.com

[android-beginners] Re: Listen to a service installation

2009-10-02 Thread Valeriano
By service installation I mean when someone calls Context.startService (). I'd like android to call back every time someone calls this method. Is it possible? On Oct 1, 6:34 pm, Paul Turchenko paul.turche...@gmail.com wrote: Dude, there's no such thing as service installation, as for the

[android-beginners] Re: Open Source Android Apps

2009-10-02 Thread jbrohan
Thanks for the pointers. http://www.androidsnippets.org looks closest to what I am looking for. It's basically a collection of code snippets to do the kind of things that need doing. The http://groups.google.com/group/openintents project at Google Code looks like it's making a good start. This

[android-beginners] Re: Listen to a service installation

2009-10-02 Thread Mark Murphy
By service installation I mean when someone calls Context.startService (). I'd like android to call back every time someone calls this method. Is it possible? No. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html

[android-beginners] Re: Why is my file not accesible at data/data ?

2009-10-02 Thread Mark Murphy
Somehow now it works on the Emulator, but not on the real device. Does the real device lack any permissions ? You cannot access files on a normal real device from DDMS, except those on the SD card, for security reasons. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App

[android-beginners]

2009-10-02 Thread saurabh sinha
I need to to implements gtalk in android latest android sdk does not support it which android sdk supporting gtalk in android --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this

[android-beginners] Re: Web Service

2009-10-02 Thread Jeffrey Blattman
apparently you can use netbeans to develop android apps, but any documentation you find is going to reference eclipse ... if you google for netbeans + android you'll find one page, but other than that you are on your own. On 9/30/09 5:33 AM, Eray Ince wrote: I am newbie @Android, but I have

[android-beginners] Sockets with Android.

2009-10-02 Thread Android_n00b
Hi I'm implementing a program which uses sockets to communicate between the client and server. I am getting this to work fine with just a message. However, I want to have an EditText field in my application, which when I hit a 'Send' button, sends the text from the field to my server and logs it.

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

2009-10-02 Thread sbruno74
On Sep 29, 2:35 am, Andre Wichmann andre.wichm...@gmx.de wrote: What operating system are you using? I use Windows Vista 64-bit (Ultimate) Stéphane --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Help with error in Android code

2009-10-02 Thread sbruno74
Hello, I am working on a simple application that, for now, just presents a login page as the starting activity with username and password and a login button. When you click on the login button, it starts a new activity after verifying credentials. When I run the application in the emulator, it

[android-beginners] Re: Android as a Universal Remote for CE/HA?

2009-10-02 Thread Jed
Okay, now getting a steady stream of good ideas, thanks to everyone who's offered their thoughts (none from android sources alas). Hopefully I'll get a few more but if not, tis all good! If you look at the attached diagram I'm hoping to devise a device that acts a central controller for

[android-beginners] Re: Chosse the connection interface before sending request?

2009-10-02 Thread Roman ( T-Mobile USA)
The current SDK does not support Wifi AdHoc. You can enable Wifi-AdHoc on system level, but you would need to root the phone and write some JNI wrapper or socket communication to access this functionality from application level. Regarding to the support of two interfaces at the same time you

[android-beginners] Re: Web Service

2009-10-02 Thread Indicator Veritatis
In theory, yes, you can. But I could never get the netbeans plugin for Android to work, so I bit the bullet and installed Eclipse. Now I can get things to work. And as already pointed out, all the documentation references Eclipse. Google has made the decision to run with Eclipse, and most of the

[android-beginners] Re: Web Service

2009-10-02 Thread Eros Stein
What was your problem? I use nbAndroid (NetBeans plugin) and I have no problems... On Fri, Oct 2, 2009 at 2:36 PM, Indicator Veritatis mej1...@yahoo.comwrote: In theory, yes, you can. But I could never get the netbeans plugin for Android to work, so I bit the bullet and installed Eclipse. Now

[android-beginners] Re: Web Service

2009-10-02 Thread Eros Stein
Follow this tutorial so you can install nbAndroid (Android plugin for NetBeans). http://kenai.com/projects/nbandroid/pages/Install On Fri, Oct 2, 2009 at 2:47 PM, Eros Stein eros.st...@gmail.com wrote: What was your problem? I use nbAndroid (NetBeans plugin) and I have no problems... On

[android-beginners] Re: Web Service

2009-10-02 Thread Indicator Veritatis
The problem was as described in http://kenai.com/projects/nbandroid/forums/forum/topics/1363-The-newest-version-in-update-site-does-not-works-on-NetBeans-6-7-1- On Oct 2, 10:47 am, Eros Stein eros.st...@gmail.com wrote: What was your problem? I use nbAndroid (NetBeans plugin) and I have no

[android-beginners] Re: Web Service

2009-10-02 Thread Eros Stein
I get it. Have you tried to update to 6.7.1? On Fri, Oct 2, 2009 at 2:58 PM, Indicator Veritatis mej1...@yahoo.comwrote: The problem was as described in http://kenai.com/projects/nbandroid/forums/forum/topics/1363-The-newest-version-in-update-site-does-not-works-on-NetBeans-6-7-1- On Oct

[android-beginners] Re: Help with error in Android code

2009-10-02 Thread Justin Anderson
Look at the Logcat output... -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Fri, Oct 2, 2009 at 10:15

[android-beginners] AutoCompleteTextView and dropdown 2 lines

2009-10-02 Thread chrisonline
I use the AutoCompleteTextView and display the phone names. But i can only display 1 line in the dropdown. I want to display 1 line with the name and in the second line the phone number. How could i do this? I have only the layout android.R.layout.simple_dropdown_item_1line, but no 2line !?!?

[android-beginners] Re: Help with error in Android code

2009-10-02 Thread Android_n00b
Try this and let me know if it works: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button loginButton = (Button) findViewById(R.id.login); EditText usernameView = (EditText)

[android-beginners] Re: How to receive callback when press and hold button for a longer time.

2009-10-02 Thread Alexander Kazanin
Hi. If I understood your intentions correctly you should set OnLongClickListener. Button button = (Button) findViewById(R.id.*channel_up*); button.setOnFocusChangeListener(new View.OnLongClickListener() { public boolean onLongClick(View

[android-beginners] Re: Getting Surface from the View

2009-10-02 Thread Denis Gladkiy
What kind of transformation do you want to perform and what for? If you are drawing on Canvas in your custom view, just use its translate/rotate/setMatrix methods. -- Regards, Denis A. Gladkiy http://sites.google.com/site/piggybanksoftwarehomepage/ On Oct 1, 8:18 am, surya Manyam

[android-beginners] Re: downloading latest SDK

2009-10-02 Thread Yusuf Saib (T-Mobile USA)
Yes, you have to click the checkbox at the bottom to accept before clicking the download button. Are you unable to go to the bottom of the web page? Which browser are you using? Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the

[android-beginners] A new Android language?

2009-10-02 Thread niksbin
Hi Everyone, This question is actually for those interested in working with another programming language which might be a little easier than Java. If it is okay with everyone, I am interested in creating this *proposed* language. Similar to the 'Simple' project, which can be found here:

[android-beginners] Re: A new Android language?

2009-10-02 Thread Mark Murphy
I am not sure if I need permission to create the language, so I am asking it here. You do not need permission to create the language. Unlike some platforms, interpreters are welcome on Android. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books:

[android-beginners] Re: Help with error in Android code

2009-10-02 Thread sbruno74
I was wondering how to access log messages of errors. I finally found out I had to activate debugging for the app and switch to the debug perspective in Eclipse. Now it seems that I have a null pointer exception on the very line where I setOnclickListener() ! There is no more information. What

[android-beginners] Re: A new Android language?

2009-10-02 Thread niksbin
Thanks. I will get right to this, and hope that it helps. Thanks, again. Sincerely, Nikhil Kulkarni On Oct 2, 5:54 pm, Mark Murphy mmur...@commonsware.com wrote: I am not sure if I need permission to create the language, so I am asking it here. You do not need permission to create the

[android-beginners] Re: Help with error in Android code

2009-10-02 Thread James Yum
Hi, Can you double-check the id of the Button? I don't think it's being found. Cheers, James On Fri, Oct 2, 2009 at 3:18 PM, sbruno74 sbrun...@gmail.com wrote: It doesn't work. And I had to declare usernameView and passwordView final in order to access them from within the inner class. It

[android-beginners] Re: Help with error in Android code

2009-10-02 Thread sbruno74
On Oct 2, 8:00 pm, James Yum j...@google.com wrote: Hi, Can you double-check the id of the Button? I don't think it's being found. I double-checked. The id of the button is effectively login. Here's the excerpt from my main.xml file: Button android.id=@+id/login

[android-beginners] Re: Help with error in Android code

2009-10-02 Thread sbruno74
Hello, guys I found the error!!! I had a syntax error in the xml file : I had android.id (point) instead of android:id (colon). Thanks, James : you put me on the right path to find why the Button could not be found! Cheers, Stéphane --~--~-~--~~~---~--~~ You

[android-beginners] Re: How to receive an incoming call programmatically?

2009-10-02 Thread Nemat
I mean when we have an incoming call,phone should not be notified and call should be received automatically On Oct 1, 11:47 am, naG mano...@gmail.com wrote: can you explain it more... On Sep 30, 4:12 am, Nemat nemate...@gmail.com wrote: is it possible to intercept an incoming call? I

[android-beginners] Re: Compile C on Android Phone

2009-10-02 Thread Clear Computers
everything is a virtuqal machin e right so you want dos box or some sh t and a liget wight c compiler like lcc or whatever, banging out, freestyling on the android phone boss man promotions style 2009/10/3 Raphael r...@android.com On Fri, Oct 2, 2009 at 5:25 PM, cookiemonsta