[android-beginners] Re: prting procedure for Android on SMDK2440 board

2009-08-11 Thread prasad NSRS
thanks for the reply but can u tell me to which mail id i need to port this query as i snd to the mail id android-port...@googlegroups.com but it is gvn no reply i.e no group like that exits... plz make me clear to post this query... On Tue, Aug 11, 2009 at 11:09 AM, Jack Ha jack...@t-mobile.com

[android-beginners] Re: Let a view bigger than screen

2009-08-11 Thread whitech
Thank you~~ On 8月10日, 下午9时00分, Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de wrote: I use a ScrollView to do things like that. I don't know what type of view you use so this is an example for a   TextView: ScrollView android:layout_height=fill_parent  

[android-beginners] Cache the event of soft-keyboard pop up

2009-08-11 Thread whitech
Hi there, I've met a problem here. I've got a control bar align-bottom at the screen, when I click a editText, the soft-keyboard popup and push the control bar up. But I don't want it like that. How can I catch the event of soft-keyboard popup? Or let the control bar invisible when the keyboard

[android-beginners] Re: Cache the event of soft-keyboard pop up

2009-08-11 Thread whitech
And there is another problem. If I want to input something into a non- edittext view, how should I call up the soft-keyboard(virtual keyboard) and get the message input from the keyboard? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Re: Android SDK

2009-08-11 Thread Sean Hodges
You have not downloaded the Android SDK. You have downloaded some random Java applet called Anfy that has something to do with manipulating images. Please download the *Android* SDK from here: http://developer.android.com/sdk/1.5_r3/index.html Regards, Sean On Fri, Aug 7, 2009 at 9:07 PM,

[android-beginners] Re: prting procedure for Android on SMDK2440 board

2009-08-11 Thread Mark Murphy
prasad NSRS wrote: thanks for the reply but can u tell me to which mail id i need to port this query as i snd to the mail id android-port...@googlegroups.com mailto:android-port...@googlegroups.com but it is gvn no reply i.e no group like that exits...

[android-beginners] String.xml

2009-08-11 Thread Liviu Ungureanu
Hi! Is posible to get,fom code, value of a string from string.xml? Thank you! --~--~-~--~~~---~--~~ 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: String.xml

2009-08-11 Thread Liviu Ungureanu
Thank you! Do you know how to set value of a string in string.xml?i want to share a string between 2 activities because if the first activity will open the second and when i press back button to go back to the first i want to start a function...thank you! On Aug 11, 2009 12:57 PM, Naveen Krishna

[android-beginners] Re: String.xml

2009-08-11 Thread Naveen Krishna Ch
2009/8/11 Liviu Ungureanu smartli...@gmail.com Hi! Is posible to get,fom code, value of a string from string.xml? getText(The ID of the string); Should be helpful. Thank you! -- Shine bright, (: Naveen Krishna Ch :) ~~Forgiveness is the economy of the heart... forgiveness saves the

[android-beginners] Re: String.xml

2009-08-11 Thread Mark Murphy
Liviu Ungureanu wrote: Thank you! Do you know how to set value of a string in string.xml? You cannot change string resources from within your application. want to share a string between 2 activities because if the first activity will open the second and when i press back button to go back

[android-beginners] Re: String.xml

2009-08-11 Thread Liviu Ungureanu
Thank you very much..finally i used and bundle with an intent...but when the activity is show after i press back button on other activity ,is not call onCreate or on resume?thank you! On Aug 11, 2009 1:12 PM, Mark Murphy mmur...@commonsware.com wrote: Liviu Ungureanu wrote: Thank you! Do you

[android-beginners] Re: Struggling with google maps

2009-08-11 Thread Mike Wolfson
NoClassDef always points me to think about Classpath, or inconsistencies between packages on your system (perhaps you are running a different version of Android out of eclipse, and linking to a different library package on your system). Maybe not that helpful, but something I was thinking about

[android-beginners] Automatic Import causes crash ?

2009-08-11 Thread jbrohan
org.example.sudoko/android.provider.Settings I'm not sure how it got there, but I had an Import for android.provider.Settings which was causing problems in the Sudoko program in Hello Android (excellent so far) book. It was giving a crash when the settings menu was chosen. The clue came in the

[android-beginners] WifiReceiver not part of SDK 1.5???

2009-08-11 Thread Abhi
I don't see this in the list of WiFi classes on the latest documentation found here http://developer.android.com/reference/android/net/wifi/package-summary.html I am refering to a WifiScanner code (snippet below) to scan wireless networks public class WifiTester extends Activity { TextView

[android-beginners] Using ExpandableListView inside a Dialog

2009-08-11 Thread Steve Hall
Hi, I am new to Android and Java. The answer is not obvious (to me) I have been using ExpandableListView inside an activity quite happily. so... public class PaymentList extends ExpandableListActivity{ ExpandableListAdapter mAdapter; ... mAdapter = new

[android-beginners] How to access Response / Request objects in WebView

2009-08-11 Thread mahsa
Hi, I am using webview for showing HTML pages and communication with my client. But somehow, i need to have access to the response object in order to analyze it and making proper decisions. Could you help me how I can do that. Or is any other method to handle such problems. In fact, I would like

[android-beginners] Operating Systems supported by Android Apps

2009-08-11 Thread Maxood
What operating systems are supported by Android Operating Systems? On what platforms we can deploy Android apps Thanks Maxood --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this

[android-beginners] Re: Using ExpandableListView inside a Dialog

2009-08-11 Thread Balwinder Kaur (T-Mobile)
Steve, setListAdapter() and getExpandableListView() are methods that belong to the ExpandableListActivity class hence are not available when you extend the Dialog class. You could create a Custom Dialog and Use the ExpandableListView as its view.

[android-beginners] Re: Automatic Import causes crash ?

2009-08-11 Thread Balwinder Kaur (T-Mobile)
If your logcat output for the crash indicated that an Intent was not found, then your problem is in the AndroidManifest.xml file. You were trying to access an Intent that you hadn't declared in the manifest file. I use automatic imports (cmd-shift-o or ctrl-shift-o) all the time and it works

[android-beginners] Multi-threading

2009-08-11 Thread Maxood
Does Android support multi-threading? --~--~-~--~~~---~--~~ 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,

[android-beginners] Re: Multi-threading

2009-08-11 Thread Balwinder Kaur (T-Mobile)
Yes. http://developer.android.com is a good place to find information such as this. Balwinder Kaur Open Source Development Center ·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

[android-beginners] Re: AppWidget Initialization. How to do it properly.

2009-08-11 Thread alkar
Any views? :) On Aug 8, 4:51 am, alkar alcarlo...@gmail.com wrote: I'm trying to figure out how to do some initialization for a widget I'm developing. What I want to do is perform some actions as soon as the device boots. The preferable means would be to do it just before the phone shuts

[android-beginners] Re: WifiReceiver not part of SDK 1.5???

2009-08-11 Thread Jack Ha
WifiReceiver is not part of the SDK. Are you referring to the following example? You'll see WifiReceiver extends BroadcastReceiver. http://www.androidsnippets.org/snippets/9/ -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in

[android-beginners] RuntimeException -

2009-08-11 Thread phil . pellouchoud
Hi All, Everything was going great, then all of a sudden this morning, I am getting this -- ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord) line: 2194 ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord) line: 2284

[android-beginners] Re: Operating Systems supported by Android Apps

2009-08-11 Thread midtoad
Maybe I'm missing something, but... your Android apps run on the Android operating system. While there are some experimental releases of 'live Android' CDs that allow you to boot up a regular PC into the Android OS, up to now the only commercially available devices that run Android are

[android-beginners] Re: Automatic Import causes crash ?

2009-08-11 Thread midtoad
This problem was also discussed in the on-line forum for the book Hello, Android. As Balwinder says, doing an automatic import can be a problem when your class has the same name as a built-in class. Ed Burnette, the book author, says he will change the name of Settings to something like

[android-beginners] Re: Is there a simple way to...

2009-08-11 Thread Balwinder Kaur (T-Mobile)
Sorry, the design requirements of the problem are not very clear from the description of the post. Do you want to run the loop for a finite for every push down or only while the button is pushed down. Here are some ideas if they help solve your issue. You can add View.OnKeyListener and

[android-beginners] Re: Operating Systems supported by Android Apps

2009-08-11 Thread Roman
There was already a thread about this topic http://groups.google.com/group/android-developers/browse_thread/thread/800057cdc8bcc299/a08a9e68fdd9bc5a?lnk=raot If you download the Android source you can find the compiler for x86 and arm environment under ./prebuilt/linux-x86/toolchain or

[android-beginners] Re: RuntimeException -

2009-08-11 Thread Yusuf T. Mobile
I don't see an error in your call stack, did it not mention one? the problem could be anything, but when I read a call stack that says, SDK can't start running an app perhaps your SDK was corrupted. I suggest reinstalling it. Yusuf Saib Android ·T· · ·Mobile· stick together The views,

[android-beginners] How to display icon in status pane.

2009-08-11 Thread Ramesh Anandhan
Hi, I am trying to display an icon in status pane. How I can do this? Regards, Ramesh A --~--~-~--~~~---~--~~ 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: ArrayIndexOutOfBoundsException in maps API

2009-08-11 Thread Aracos
Hi Zied Hamdi, did you call the populate method after adding your Overlays? thats what caused this exception for me, Regards, Aracos On Aug 10, 4:38 pm, Zied Hamdi zhamdi.i...@gmail.com wrote: Hi, I'm realy frustrated to see this error without being able to see what's happening in

[android-beginners] AVD extremely slow...

2009-08-11 Thread WaltFromBavaria
Dear Developpers, I created a 'Hello-World'-application on my PC and saw that the AVD is very slow. When I type text in the simulation, it takes several seconds until the text appears in the text field. Also mouse interactions are very slow. Possibly my PC is too slow. it's a single core AMD

[android-beginners] MediaPlayer and rtsp streaming problems

2009-08-11 Thread Borut
Hi I have difficulties with rtsp streaming in MediaPlayer. The code is quite straightforward: android.media.MediaPlayer player = new android.media.MediaPlayer(); player.setDataSource(rtsp://stream.xxx.xxx.xxx/link.sdp); //this link is not alive, only for demo

[android-beginners] Need way to to auto-switch layout designs

2009-08-11 Thread dawnj2sb
I don't know a lot about *.properties files, but i think that is what I'm looking for. I'm creating a project that will first be released under one company name, and then later under another company name. I have been asked to design the project in a way that all i have to do is switch out a

[android-beginners] 3D positioned sound

2009-08-11 Thread Margarita
Is there any way to use 3D positioned sound in Android apps? Ive found Java3D (https://java3d.dev.java.net/) but it has native libraries in addition to jars. Thx in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] Accessing somekind of audio device from JNI?

2009-08-11 Thread Possan
Hi Is it possible to access some audio-device or getting some lower level access to the media framework from within a JNI library, for generating lower latency audio? perhaps using something like alsa? couldn't find any audio/media references in the NDK..

[android-beginners] trying to download latest, but the downloaded doc reports it's not the latest

2009-08-11 Thread Curtis.
Hi all, excuse the doutbless newbie question .. but a quick scan of the FAQ didn't turn up a pertinent answer. I've downloaded 2 version of the dev kit now: http://developer.android.com/sdk/1.5_r2/index.html http://developer.android.com/sdk/1.5_r3/index.html When I download and unpack, and

[android-beginners] Re: XML Layout does not show AutoCompleteTextView

2009-08-11 Thread fra111
So , until the next version, there is no way to use autocompete text widget with this sdk? On Aug 5, 8:58 pm, Xavier Ducrohet x...@android.com wrote: This is a known issue which should be fixed in the next version. Xav On Wed, Aug 5, 2009 at 1:26 AM, Phill

[android-beginners] ksoap2

2009-08-11 Thread AndyAndroid43
I want to download org.ksoap2 for Android in order to design a soap envelope to access a published web service. Can anyone tell me the best / latest version of ksoap2 for Android and where to go to download it ? I'm using the Android plug-in with Eclipse Ganymede. I get rather confused with all

[android-beginners] Camera Preview on Emulator

2009-08-11 Thread swapnil kamble
Hi, I want to preview my camera on emulator. I have also written small app for that. But it only show black and white squares and gray square moving. Does anybody has any idea about this ? Thanks in advance, Swapnil --~--~-~--~~~---~--~~ You received this message

[android-beginners] Urgent Dialog probleme

2009-08-11 Thread Chaoz1336
Hi Guys, I got the following prob: -I have to implement an interface -in most methods its like show dialog and get the selected result -afaik in android there is no way to wait for such a result [short: the code should NOT proceed to the return-statement until a button is clicked!] so...

[android-beginners] Cached GPS info?

2009-08-11 Thread Andrés G. Aragoneses
Hi there, I'm thinking about buying an HTC Hero for usage in the US. I don't plan to use it with 3G so I guess I'm fine. However, then I'm wondering, can I use the GPS feature only when I'm connected via WiFi? Is there a way to download GPS maps of a certain city to have them cached in the SD

[android-beginners] Re: Camera Preview on Emulator

2009-08-11 Thread Jack Ha
The emulator doesn't support camera emulation. You may want to check out this link: http://www.tomgibara.com/android/camera-source -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their

[android-beginners] Re: WifiReceiver not part of SDK 1.5???

2009-08-11 Thread Abhi
Hi Jack, posting my reply again... dunno where my previous post went. I have the complete code now but the app force closes on my emulator. Is it because the emulator doesn't support WiFi apps? and force closes when it tries to scan for networks? I thought the emulator would just get stuck at

[android-beginners] Re: XML Layout does not show AutoCompleteTextView

2009-08-11 Thread Xavier Ducrohet
Well, you can use it. it's just not supported by the layout editor in ADT. Xav On Tue, Aug 11, 2009 at 1:02 AM, fra111fra...@gmail.com wrote: So , until the next version,  there is no way to use autocompete text widget with this sdk? On Aug 5, 8:58 pm, Xavier Ducrohet x...@android.com

[android-beginners] Re: trying to download latest, but the downloaded doc reports it's not the latest

2009-08-11 Thread Jack Ha
There is already a bug report filed against it. http://code.google.com/p/android/issues/detail?id=3424 -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and

[android-beginners] Re: Cached GPS info?

2009-08-11 Thread John P.
Hi, The GPS band and data bands are separate, so you can get GPS information for free even if you don't have any carrier data plans. Even if you don't have wifi, you can still pickup GPS information. Note that accessing websites such as Google Maps requires data plan or wifi connection.

[android-beginners] Re: WifiReceiver not part of SDK 1.5???

2009-08-11 Thread Jack Ha
Make sure you have the following line in your AndroidManifest file. uses-permission android:name=android.permission.CHANGE_WIFI_STATE/ uses-permission -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the

[android-beginners] Re: Using ExpandableListView inside a Dialog

2009-08-11 Thread Steve Hall
Thanks for the prompt reply but the complexity of defining ContextMenus and setting up the GetViews associated with the ExpandableList within a Custom Dialog are currently beyond me. However I have got Intent i = new Intent(GetFlagSet.this, PaymentList.class); startActivityForResult(i,

[android-beginners] Two questions

2009-08-11 Thread tinyang
Hello, This will sound like a dumb question, but what is the return type for Button? Second question is If I have an Application with one main activity and multiple sub-activities, The intent I have in the manifest for the main activity is: intent-filter action

[android-beginners] Re: Two questions

2009-08-11 Thread Mark Murphy
tinyang wrote: This will sound like a dumb question, but what is the return type for Button? Button is a class. Classes do not have return types, methods do. But what is the correct intent to have for a sub-activity when you want it to launch on a specific event (such as onClick)?:

[android-beginners] Re: Two questions

2009-08-11 Thread Liviu Ungureanu
Hi!first if you have 2 activities on a app and you put one intent for each one on the phone will find 2 apps with same name but which run different activity..i think is enought to put just on intent in the main activity:today i had tried that and it worked. Hope i help.you... On Aug 11, 2009

[android-beginners] Re: ksoap2

2009-08-11 Thread Yusuf T. Mobile
I heartily recommend ksoap2-android : http://code.google.com/p/ksoap2-android/ Caveat: I've not actually used it. 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

[android-beginners] Re: How to display icon in status pane.

2009-08-11 Thread Yusuf T. Mobile
http://developer.android.com/reference/android/app/NotificationManager.html 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.

[android-beginners] Re: Operating Systems supported by Android Apps

2009-08-11 Thread Yusuf T. Mobile
Also FWIW, Ubuntu plans to be able to run Android apps in their upcoming Karmic Koala release this fall. 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

[android-beginners] Re: How to display icon in status pane.

2009-08-11 Thread Roman ( T-Mobile USA)
Here is a good link which gives you an idea what to do http://developer.android.com/guide/topics/ui/notifiers/notifications.html -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their

[android-beginners] Re: Two questions

2009-08-11 Thread tinyang
Thanks Mark. So is this similar to how I should start my subActivity? public class guide extends Activity { public Button onClick(View guide){ startActivity(new Intent(this, SubActivity.class)); return guidebtn;

[android-beginners] Re: Two questions

2009-08-11 Thread Mark Murphy
tinyang wrote: Thanks Mark. So is this similar to how I should start my subActivity? public class guide extends Activity { public Button onClick(View guide){ startActivity(new Intent(this, SubActivity.class)); return

[android-beginners] Re: Two questions

2009-08-11 Thread tinyang
Well my problem now is that I am trying to start the SubActivity on the button click, but when I run it in the emulator, it does not Launch the SubActivity, and I can't figure out why. Here is all of my code: public class MainMenu extends Activity { /** Called when the activity is first

[android-beginners] Re: trying to download latest, but the downloaded doc reports it's not the latest

2009-08-11 Thread Curtis.
thankyou! On Aug 11, 11:09 am, Jack Ha jack...@t-mobile.com wrote: There is already a bug report filed against it.    http://code.google.com/p/android/issues/detail?id=3424 -- --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Re: Cached GPS info?

2009-08-11 Thread Andrés G. Aragoneses
John P. wrote: Hi, The GPS band and data bands are separate, so you can get GPS information for free even if you don't have any carrier data plans. Even if you don't have wifi, you can still pickup GPS information. Note that accessing websites such as Google Maps requires data plan or

[android-beginners] Android UI related:

2009-08-11 Thread Calve Martin
Hi, I'm new to Android development. I want to create Two rectangle button on my application. I want to apply swapping logic for that two buttons. For ex: When i press first button it should move to second button and second button will come to first button place. How to do that in Android? Can

[android-beginners] Android Developer's Guide

2009-08-11 Thread Thomas
So I just started out and I am still reading through the Developer's guide. However I will be taking a flight later on and I will not have access to the internet while flying. I was curious if there was an offline version of the guide, such as a PDF or some other file. Thanks Thomas

[android-beginners] Re: AVD extremely slow...

2009-08-11 Thread RadioNick
I am using a very slow old Gateway single core with almost no RAM and it still responds reasonably. I have slow boot up times for the emulator, but it runs fine once started. I am developing using eclipse on ubuntu, that may be part of the difference. On Aug 10, 11:36 am, WaltFromBavaria

[android-beginners] Re: Two questions

2009-08-11 Thread Mark Murphy
tinyang wrote: Well my problem now is that I am trying to start the SubActivity on the button click, but when I run it in the emulator, it does not Launch the SubActivity, and I can't figure out why. Here is all of my code: public class MainMenu extends Activity { /** Called when the

[android-beginners] Re: Android Developer's Guide

2009-08-11 Thread John P.
Sure, download the SDK and it's at $SDK/docs/guide/. On Aug 11, 5:53 pm, Thomas tot...@gmail.com wrote: So I just started out and I am still reading through the Developer's guide. However I will be taking a flight later on and I will not have access to the internet while flying. I was curious

[android-beginners] Re: Two questions

2009-08-11 Thread tinyang
Wonderful! Thanks a million :) -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Mark Murphy Sent: Tuesday, August 11, 2009 5:59 PM To: android-beginners@googlegroups.com Subject: [android-beginners] Re: Two questions

[android-beginners] saving data to text file using eclipse

2009-08-11 Thread Saeed
Hi everyone, I am trying to save data to my google phone G1. I am able to create the text file in sdcard by using the following code in eclipse : //++ try { FileWriter f = new FileWriter(/sdcard/test.txt); } catch

[android-beginners] Re: Android Developer's Guide

2009-08-11 Thread Thomas Moore
Thanks alot. On Tue, Aug 11, 2009 at 7:01 PM, John P. johnny.d.p...@gmail.com wrote: Sure, download the SDK and it's at $SDK/docs/guide/. On Aug 11, 5:53 pm, Thomas tot...@gmail.com wrote: So I just started out and I am still reading through the Developer's guide. However I will be

[android-beginners] Re: saving data to text file using eclipse

2009-08-11 Thread Jack Ha
Context.openFileOutput() opens a private file associated with this Context's application package for writing and the name of the file to open can not contain path separators. Try this: try { File root = Environment.getExternalStorageDirectory(); if

[android-beginners] Re: AVD extremely slow...

2009-08-11 Thread Roman ( T-Mobile USA)
Make sure that you have not too much running on your system. It is not necessarily the speed of your processor but the memory of your system. -- don't use firefox -- Eclipse might slow down y system (close it ... may be it helps) -- run emulator via command line -- if you run on Windows use the

[android-beginners] Re: Cached GPS info?

2009-08-11 Thread Andrés G. Aragoneses
Andrés G. Aragoneses wrote: John P. wrote: Hi, The GPS band and data bands are separate, so you can get GPS information for free even if you don't have any carrier data plans. Even if you don't have wifi, you can still pickup GPS information. Note that accessing websites such as Google

[android-beginners] App crashes when creating UI

2009-08-11 Thread kch
Hi there. I'm just starting out with android and have two questions: 1) I'm trying to invoke a UI using the following method: public class Main extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); new