[android-beginners] Launch App on bootup?

2009-11-03 Thread Justin
Hi all, I'm still a rookie here. I'm looking to write an application that sit in front of the home screen on boot up and restrict user from returning home screen to access system settings. Is this even possible on SDK 1.5/1.6? Thanks ahead. BR Thanks Justin -- You received this message

[android-beginners] Rotate Activity screen

2009-11-03 Thread Batuka
Hi all pls help me i wont to rotate My activity screen 90 and after screen shold be no rotating but how help me examp code pls -- 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: how to type in a webview

2009-11-03 Thread Indicator Veritatis
I'm a Facebook 'refusenik', so I am not in a position to be very helpful on Facebook specific issues. But concerning your other question, see http://developer.android.com/intl/fr/guide/developing/tools/emulator.html#controlling which lists two columns in a table: they are Emulated Device Key and

[android-beginners] Manage the Wifi connection from an applicacion

2009-11-03 Thread Urizev
Hello, I have some troubles connecting to a wireless network. I enable Wifi, start the scan, and when it is ready I search for the network I am finding. When I have found it, I create a configuration with every parameter and it goes properly but when I try to enable it (disabling the others), it

[android-beginners] Change ListView Color

2009-11-03 Thread Nemat
Hi I want to set the background color of ListView as white.I tried this: getListView().setBackgroundColor(color.white); getListView().setCacheColorHint(color.transparent); But it doesnt change the color.What should I do? Thanks in advance Nemat -- You received this message because you

[android-beginners] android audio issue

2009-11-03 Thread raghu
Hi, i am using android SDK 1.5, below is the code where i am recording voice from mic and playing it. problems i am facing are : voice quality is not good, some background voice is there, write is getting blocked. i have set the permission in .xml file also like :

[android-beginners] Listview allocates too many objects

2009-11-03 Thread manigault
Hi, I have an activity with simple ListView with about 2500 items, a SimpleCursorAdapter i used to populate the view. Each item of the list view contains about 5-6 simple widgets everything is pretty standard for now but when i start scrolling the ListView i got this on the LogCat 11-03

[android-beginners] Re: android audio issue

2009-11-03 Thread niko20
Also noticed in your code you are doing SizeSoFar +=. That is not good. You will overrun the buffer eventually I think... On Nov 3, 6:46 am, raghu 13ra...@gmail.com wrote: Hi,    i am using android SDK 1.5, below is the code where i am recording voice from mic and playing it. problems i am

[android-beginners] Repeating Drawables on Scroll Event

2009-11-03 Thread Maxood
I have 27 drawables in my res folder. I am using these drawables as backgrounds for views. Is it possible to repeat these drawables after every 1 cycle(27 views) on scroll event?If yes then how? Thanks, Maqsood -- You received this message because you are subscribed to the Google Groups

[android-beginners] Re: R.layout.main Not Found when running WebView Tutorial

2009-11-03 Thread Lance Nanek
import android.R; That actually has to be removed for your purposes. The android.R class is for built-in stuff, like android.R.drawable.ic_menu_edit. The R class with your layout and other things from your app will be in the package declared in your AndroidManifest.xml. I've seen cases where

[android-beginners] Re: TimePicker Hour Dissapears on Rotate

2009-11-03 Thread Veyette Software
Any help? On Oct 23, 10:09 am, Veyette Software mark.veye...@gmail.com wrote: I have 2 timePickers declared in the xml layout file and defined in an onClick method for a submit button. When I run the app and rotate the screen, the hour text box in both timePickers goes blank. It still

Re: [android-beginners] Re: I need to talk to a LIVE PERSON

2009-11-03 Thread Justin Anderson
I may be wrong but I am pretty sure that Apple charges just as much, if not more, for applications sold on their store. Plus their initial developer fee is 4 times as much at $99! Good luck with that... -- There are only 10

Re: [android-beginners] Re: how to type in a webview

2009-11-03 Thread Marton Kodok
I want my user to login to Facebook. (There is already a FacebookWebViewClient custom class that extends WebViewClient) I use this code: WebViewwebview; webview = (WebView) findViewById(R.id.facebookview); webview.getSettings().setJavaScriptEnabled(true);

Re: [android-beginners] Re: TimePicker Hour Dissapears on Rotate

2009-11-03 Thread Justin Anderson
Remember that when an orientation change occurs your app is completely destroyed and then recreated. Are you forgetting to set the text inside the textview? Can't really help out too much without seeing some code -- There

[android-beginners] Re: how to type in a webview

2009-11-03 Thread Indicator Veritatis
Another point: as I review the API doc (reference tag) on WebView, I see that it does not itself support key events or data entry. Now I don't know exactly what you are trying to do, but it sounds like you really want to use a WebViewClient object, not a WebView. This does support both. On Oct

[android-beginners] logcat - getting logs for media player,

2009-11-03 Thread guru
Hi All, I want to get call trace from application layer( Media Player) to down the audio decoder. I am using Emulator to get logs. Here is the procedure i followed: 1. Build the andorid code with logger enabled. 2. Copied system.img file to add-ons\google_apis-3\images. 3. ran the media player

[android-beginners] Re: R.layout.main Not Found when running WebView Tutorial

2009-11-03 Thread Indicator Veritatis
This is what main.xml looks like: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=wrap_content android:layout_height=wrap_content android:orientation=vertical WebView android:id=@+id/webview

[android-beginners] How do i get BackgroundColor of Button???

2009-11-03 Thread DHSoft
private View BtnTxtColor; BtnTxtColor = (View)findViewById(R.id.BtnTxt); PaintDrawable paintdrawble = (PaintDrawable)BtnTxtColor.getBackground (); -- appear exception int nTempColor = paintdrawble.getPaint().getColor(); exception message is ColorDrawable. i wanna get Background color

Re: [android-beginners] Re: TimePicker Hour Dissapears on Rotate

2009-11-03 Thread Justin Anderson
Hmm... I may be wrong but I think the activity itself is destroyed and recreated. At least, that is what I found in another thread in this group: Greg says: *When you change orientation your Activity is destroyed and then re-created *

[android-beginners] Re: TimePicker Hour Dissapears on Rotate

2009-11-03 Thread niko20
Just to clarify, your app is not destroyed and recreated, but rather, any views your app has. The app itself could continue to function, for example, if you had a thread running, it will remain running. At least I believe that is the case. -niko On Nov 3, 12:44 pm, Justin Anderson

Re: [android-beginners] R.layout.main Not Found when running WebView Tutorial

2009-11-03 Thread Justin Anderson
Do you have a res/layout/main.xml file? R.layout.main is a resource that points to a file named main.xml in the res/layout folder... If that file is named something else, say test.xml, then you need to use R.layout.test instead

[android-beginners] Serial port communication in Android OS

2009-11-03 Thread arunpv
Hi We are developing an embedded system using Android 1.5 and would like to interface with serial port communication. Hardware we are using has an serial port interface but android is unable to access it. Please let us know how we can get serial port communication working. If possible,our company

[android-beginners] Android NDK Socket programming

2009-11-03 Thread NDKSDK
Hello I have some issues with an android application. This applications consists in a server and a client using C sockets via ndk. When the server is deployed on a simulator and the client on another simulator it works fine if I set a redirection on the server to map client port and server port

[android-beginners] Re: Rotate Activity screen

2009-11-03 Thread Batuka
pls help me somebady -- 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+unsubscr...@googlegroups.com For more

[android-beginners] Re: R.layout.main Not Found when running WebView Tutorial

2009-11-03 Thread Indicator Veritatis
OK..., but if I followed the instructions at the tutorial, shouldn't it be named main.xml? What could possibly cause it to be named anything else? Now don't get me wrong, I am grateful for your reply, and will double check what it actually got named to once I am back to that partition (I run

[android-beginners] Re: Manage the Wifi connection from an applicacion

2009-11-03 Thread Roman ( T-Mobile USA)
When you add the configuration of your new Wifi network using the API addNetwork, did you make sure that this API is executed successfully? You also mentioned that you disable your previous connection. Make sure that you receive a connection state change event (for disconnecting) before you

[android-beginners] I need to talk to a LIVE PERSON

2009-11-03 Thread Ryan Rowland
I'm trying to contact a live support person about the payments I'm receiving on my application. Apparently, Google doesn't have those, just pre-written questions. I'm selling an application for $4.99. My fee is 2.9% + $0.30 per transaction. I'm getting charged a $1.50 transaction fee. Take off

[android-beginners] Re: I need to talk to a LIVE PERSON

2009-11-03 Thread Ryan Rowland
And 2 seconds later I find the page where they explain how they extort the market for 30%. Nevermind. I think I'll develop for the iPhone instead. On Tue, Nov 3, 2009 at 1:34 PM, Ryan Rowland ryan.w.rowl...@gmail.comwrote: I'm trying to contact a live support person about the payments I'm

Re: [android-beginners] Launch App on bootup?

2009-11-03 Thread swapnil kamble
I am also looking for same thing. Please let me know, if you get any information on this. Thanks, Swapnil On Tue, Nov 3, 2009 at 2:03 PM, Justin wenxinle...@gmail.com wrote: Hi all, I'm still a rookie here. I'm looking to write an application that sit in front of the home screen on boot up

[android-beginners] Viewing logs on native android

2009-11-03 Thread swapnil kamble
Hi All, As we see emulator's logs in logcat of eclipse. What is similar on native android to view these logs ? Thanks in advance -- ...Swapnil || Hare Krishna Hare Krishna Krishna Krishna Hare Hare || || Hare RamaHare Rama Rama RamaHare Hare || -- You received this

[android-beginners] Re: Wifi does not automatically connect after boot

2009-11-03 Thread Roman ( T-Mobile USA)
Could you be more specific? Are you trying to connect programmatically to the Wifi network or do you have this Wifi network configured in your Wifi settings. I noticed that after a reboot the phone automatically connects to a cellular data connectivity. After some time it connects to an already

Re: [android-beginners] alive voice

2009-11-03 Thread Justin Anderson
Could you give a little more info? I'm not sure what you are asking... -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Re: Rotate Activity screen

2009-11-03 Thread Justin Anderson
Please clarify your question... I don't really understand what you are wanting to do. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Launch App on bootup?

2009-11-03 Thread Justin Anderson
Not as an SDK app... At least not without some user interaction. You can replace the home application, but the user has to decide if they want it to be the default home app or not. If you want to modify the existing android source then you could do it. But then the question would be a better

Re: [android-beginners] Serial port communication in Android OS

2009-11-03 Thread Justin Anderson
I may be wrong, but it seems that this question would be better-suited for the Android Developers group. The beginners group is designed for SDK applications and it seems like you are working on modifying/porting the Android source.

Re: [android-beginners] Re: R.layout.main Not Found when running WebView Tutorial

2009-11-03 Thread Justin Anderson
When Eclipse gives the Your project contains errors... message when building, what shows up in the problems tab? -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] How do i get BackgroundColor of Button???

2009-11-03 Thread Justin Anderson
You are wanting to get the background color of a standard android button or some custom button that you have created? The standard android button uses a combination of a 9-patch .png image and a selector so trying to get the background color of it is probably not going to yield anything useful.

[android-beginners] Re: Wifi does not automatically connect after boot

2009-11-03 Thread Urizev
On Nov 3, 8:29 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: Could you be more specific? Are you trying to connect programmatically to the Wifi network or do you have this Wifi network configured in your Wifi settings. Firstly, I try to do that programatically but (as I ask