[android-beginners] How do I import to eclipse projects that come with the android source?

2010-04-08 Thread Chi Zhang
Hello I downloaded the sourcecode of the android platform, and when I try to build the sourcecode of projects, say, packages/apps/AlarmClock I selected creating an Android project using existing code in Eclipse, but I encountered the following problem: Invalid project description.

[android-beginners] How to avoid jarring effect when launching an activity

2010-04-08 Thread vinu
Hi group, When my app icon is clicked , a black screen is displayed for a split second before my main activity comes to foreground .After goggling i found out to use Theme to avoid back screen or jarring effect .It worked out fine.Here i can display the background of my home screen for that split

[android-beginners] Re: How to display 'Column title' on the top of List ?

2010-04-08 Thread Javacoffee
Hi a2ronus, I mean both cases. Would it be possible? Ciao, On Apr 7, 10:33 pm, a2ronus aaron.jan...@gmail.com wrote: Do you mean a fixed header that always stays on top? Or a header that moves with the content? On 5 apr, 13:09, Javacoffee dear.jinhy...@gmail.com wrote: Hi guys, I'm

[android-beginners] Re: How do I import to eclipse projects that come with the android source?

2010-04-08 Thread Gibson
Is it caused by you have already create a project called AlarmClock under your eclipse workspace. From my experience that when import another Android project you cannot put the project into eclipse workspace. It will cause this project. You can try like this. Put your project under folder

[android-beginners] Re: What does `adb install' do under the hood?

2010-04-08 Thread Gibson
No stupid questions. Everyone is from fresh man. 1, adb install will install your application under folder /data/app/ with your application package name. For example, you application is MainApplication.apk and its package name is com.android.mainapplication. After install it use this command,

[android-beginners] Re: Can you add buttons to dialogue?

2010-04-08 Thread Gibson
You can even create a custom view and set into the dialog. On Apr 7, 11:05 pm, TimX ttb...@gmail.com wrote: I am trying to add an [add] button to dialog so I can save whatever the info that is shown on dialog to a list, but can't find much from API about buttons on dialog. Should I somehow

[android-beginners] Re: Registering a reciever for the BOOT_COMPLETE and android:exported attribute

2010-04-08 Thread alexk-il
Hi, Thank you for your reply. As for the reason for asking this question - I'm trying to find the most robust (future proof) way to implement the BOOT_COMPLETE receiver. And I am really muzzled by the two common ways of implementing the service - one it to specify exported=false, the second is

[android-beginners] Re: eclipse problem

2010-04-08 Thread Neo
On Apr 8, 5:45 am, davemac davemac...@gmail.com wrote: Did you install the JDK? Did you modify your PATH to include not only the JDK bin directory but also the Android SDK tools directory? I'm assuming you've installed the Android ADT into Eclipse. Our new book Pro Android 2 covers setup of

[android-beginners] Re: Having some trouble with ADT

2010-04-08 Thread g1
Hi Xavier, Thanks for the help. Here's the log file (let me know if you need older entries): !SESSION 2010-04-06 22:05:45.174 --- eclipse.buildId=M20090917-0800 java.version=1.6.0_18 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32,

[android-beginners] Re: XML Parser example problems

2010-04-08 Thread MartinM
OK, got SAX working nicely thanks. All I need to do now is work out how to loop for multiple tags the same, e.g. all the 'name's startoffile namebob/name namejim/name namejon/name namefrank/name /startoffile as I'm only getting bob. The code I'm using : URL url;

[android-beginners] Re: Bluetooth on/off in Android 1.5+

2010-04-08 Thread DonFrench
Try this: Intent enableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE); startActivityForResult(enableIntent, REQUEST_ENABLE_BT); On Apr 7, 11:46 am, NoImJosh josh.n.willi...@gmail.com wrote: I have been searching for weeks for a way to turn on and off the bluetooth for any

[android-beginners] Re: Bluetooth on/off in Android 1.5+

2010-04-08 Thread NoImJosh
While this does work for Android 2.x, since there is no BluetoothAdapter class in the 1.5 API, it does not compile correctly. Also, this pops up an alert dialog that asks if the user wants to turn bluetooth on or off, but it does nothing without user interaction, which is what I'm trying to

Re: [android-beginners] What does `adb install' do under the hood?

2010-04-08 Thread Xavier Ducrohet
adb install does the equivalent of: adb push yourapp.apk /some/temp/location/yourapp.apk adb shell pm install /some/temp/location/yourapp.apk adb shell rm /some/temp/location/yourapp.apk regarding (3), I think the package Manager monitor changes in those folder and is able to automatically

[android-beginners] Re: Bluetooth on/off in Android 1.5+

2010-04-08 Thread DonFrench
Right, I am only familiar with Bluetooth in 2.x. Do you know of any apps in 2.x that can turn on the BT radio without displaying this dialog? I have a feeling that it might not be possible. On Apr 8, 9:44 am, NoImJosh josh.n.willi...@gmail.com wrote: While this does work for Android 2.x,

[android-beginners] Android applications monitoring and profiling

2010-04-08 Thread prajakta choudhari
Dear All: I need to write a tool that will monitor all the applications on the phone and record its usage times. I am thinking of using Activity Monitor. Please send me some suggestions. Thank you, Prajakta -- You received this message because you are subscribed to the Google Groups Android

[android-beginners] Any on-phone help?

2010-04-08 Thread Alan Gauld
I've been through the fairly pathetic user manual provided by Samsung but there are a few things still puzzling me about my phone and Android. Is there an online (ie on phone) help facility or tutorial that I can use? Failing that, any recommended user oriented Android help web pages or as a

Re: [android-beginners] Any on-phone help?

2010-04-08 Thread Justin Anderson
One particular app I am fond of for switching between running apps is AppSwipe! on the market... The guy who wrote the app is a beginner (me!) but still I think it does the job well. -- There are only 10 types of people in the

[android-beginners] Re: Any on-phone help?

2010-04-08 Thread Alan Gauld
Mark Murphy mmur...@commonsware.com wrote There are several books on the market for Android device users. With luck, one is available in EPUB. Maybe I'm searching with the wrong keywords but I could only find one user focused book on Amazon.co.uk and it was very basic. Thanks to TreKing

Re: [android-beginners] Re: Any on-phone help?

2010-04-08 Thread Mark Murphy
Alan Gauld wrote: Mark Murphy mmur...@commonsware.com wrote There are several books on the market for Android device users. With luck, one is available in EPUB. Maybe I'm searching with the wrong keywords but I could only find one user focused book on Amazon.co.uk and it was very basic.

Re: [android-beginners] Android applications monitoring and profiling

2010-04-08 Thread prajakta choudhari
The tool will monitor the number of times the application was used and the duration of time the application was used by the user. Is activity monitor used only as a part of test case or can i use activity monitor in my application. I am not getting a good example of use of Activity Monitor apart

[android-beginners] Need suggestions about testing Android applications using JPF

2010-04-08 Thread Amruta
Hello, I would be grateful if I get any suggestions about the feasibility of a project that I am trying. I am trying to test a sample android application using another tool, namely, Java Path Finder(JPF), which is a open source model checker for verifying programs and detecting errors in the

[android-beginners] disabling GMail access ... changing GMail password doesn't

2010-04-08 Thread Richard Schilling
I have GMail synched up with my Android. When I change my password in GMail, how come the Android continues to get access? How do I tell GMail to stop giving my Android access to my GMail account without using the Android phone ... that is, log into mail.google.com on the website and tell GMail