[android-beginners] Re: How do I import to eclipse projects that come with the android source?
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 home/eshock/android/AlarmClock/ and try it again. Hope this can help you. On Apr 8, 8:13 am, Chi Zhang elecpa...@gmail.com wrote: 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. /home/eshock/android/workspace/AlarmClock overlaps the location of another project: 'AlarmClock' Any suggestions? -- Sincerely Yours, Chi Zhang elecpa...@gmail.com College of Computer Science and Technology, Zhejiang University -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using remove me as the subject.
[android-beginners] Re: What does `adb install' do under the hood?
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, there will be an apk under folder /data/app/ and its name is com.android.mainapplication.apk. 2, not sure about command adb shell pm install . I have never use that before. 3, adb push is to push the apk file directly into folder system/app/ and data/app/ and it is mostly like install. but with name different. For example, adb push MainApplication.apk will create a file like / data/app/MainApplication.apk. On Apr 8, 5:01 am, Chi Zhang elecpa...@gmail.com wrote: Hi everybody, this is my first post ever. I hope this is not a stupid question :-) I noticed that there are three ways to install an app in an android device: 1. adb install some-app 2. adb shell pm install some-app 3. you can manually push the apk file to /system/app or /data/app Are there differences among these three methods? I used to believe that the android package manager keeps a list of apps installed on the device, and thus can quickly locate an app for intents. But option 3 above seems to suggest that it doesn't. So what does `adb install' really do? -- Sincerely Yours, Chi Zhang elecpa...@gmail.com College of Computer Science and Technology, Zhejiang University -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using remove me as the subject.
[android-beginners] Re: Can you add buttons to dialogue?
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 modify the dialog layout for this? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using remove me as the subject.
[android-beginners] Selecting which applications load on power-up
Whenever I start up my HTC Hero, many applications start automatically. How do I select/deselect which ones do this? -- 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 options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Help me in Creating a AVD
I think the easiest way is to use ADT. Do you know the ADT installed in Eclipse. Using it is quite easy and you don't have to remember the so long command parameters. On Aug 6, 11:52 am, AndroidDev santhoshreddygang...@gmail.com wrote: Hi there... I am quiet new to the Android platform. I am unable to create an AVD ( Command not found error when i execute create AVD Command), I followed the steps shown in Developer Guide. I work on Os X 10.5.7. Please help me in this regard. Thanks A Bunch. --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: showing error while adding editview in linearlayout.
The error is because you defined a TextView inside a ListView. You know ListView first is an AdapterView. You cannot add a view into AdapterView because it is not supported. What you can do is to define an Adapter(such as ArrayAdapter) then set the adapter into the ListView. Hope this can help you. On Aug 7, 12:57 pm, Shalin smehta...@yahoo.com wrote: Hello friend, when I am adding editview in linearlayout I am getting an error like this. My XML file as under. I am trying to add editview above listview. Error is UnsupportedOperatioException: addView(View,LayoutParams) is not supported in adapterview. XMLfile: ListView android:id=@+id/android:list android:layout_width=fill_parent android:layout_height=100dp android:background=#ff android:layout_weight=3 TextView android:id=@+id/str android:layout_width=fill_parent android:layout_height=wrap_content android:layout_weight=1 android:background=#ecff20 /TextView TextView android:id=@+id/count android:layout_width=fill_parent android:layout_height=wrap_content android:layout_weight=1 android:background=#2f116f /TextView LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=horizontal android:layout_width=fill_parent android:layout_height=wrap_content android:background=#cc android:textColor=#ff android:padding=3dp android:gravity=bottom android:layout_weight=1 EditText android:id=@+id/txt android:layout_width=fill_parent android:layout_height=fill_parent android:background=@android:drawable/editbox_background android:hint=Type to compose android:minHeight=30dp android:maxHeight=100dp android:layout_weight=1 / Button android:id=@+id/btn android:layout_width=120dp android:layout_height=fill_parent android:layout_weight=1 android:text=Send SMS / /LinearLayout /LinearLayout Thanks in advance --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---