Re: [android-developers] Exit function in android application
**try this one Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_HOME); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); On Fri, Jul 1, 2011 at 9:44 AM, nageswara rao rajana nagu.raj...@gmail.comwrote: Hi, In application i have 4 activities, and also exit in my menu option if i click exit in any activity it is destroying the current activity and displaying the previous activity. But my requirement is if i click exit in activity the application should be killed and should display the home. Please help me its urgent. Thanking you, Nagu. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] calendar
http://iamvijayakumar.blogspot.com/2011/06/android-simple-calender-in-gridview.html check this blog On Tue, Jun 28, 2011 at 3:57 PM, piyush er.piyushverm...@gmail.com wrote: Hi, I have to use a month view and day view calender binded with job shifts. I am new to android so not much aware of android sdk to build a new component for this. Could anyone please let me know how to do this or where can I get the source code for this. Thanks, Piyush -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] HELP--radiogroup inside tablerow it's not working?
Hi, radiogroup inside i added tablerow but it's not working why? plese anyone help me.. RadioGroup android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/radiogroup TableLayout android:id=@+id/advanceSearchTableLayout01 android:layout_width=wrap_content android:paddingTop=6dip android:layout_height=wrap_content android:stretchColumns=* TableRow android:id=@+id/advanceSearchTableRow01 RadioButton android:id=@+id/radiobutton1_music android:textColor=#00 android:layout_marginLeft=30dip android:layout_width=wrap_content android:layout_height=35dip android:text=Live Music /RadioButton RadioButton android:id=@+id/radiobutton2_wifi android:layout_width=wrap_content android:layout_height=35dip android:layout_marginLeft=30dip android:textColor=#00 android:text=Wifi/RadioButton /TableRow TableRow android:id=@+id/advanceSearchTableRow01 RadioButton android:id=@+id/radiobutton3_dancing android:layout_width=wrap_content android:layout_height=35dip android:layout_marginLeft=30dip android:textColor=#00 android:text=Dancing/RadioButton RadioButton android:id=@+id/radiobutton4_deliery android:layout_width=wrap_content android:layout_height=wrap_content android:layout_marginLeft=30dip android:textColor=#00 android:text=Delivery/RadioButton /TableRow -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] HELP--radiogroup inside tablerow it's not working?
Hi, radiogroup inside i added tablerow but it's not working why? plese anyone help me.. RadioGroup android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/radiogroup TableLayout android:id=@+id/advanceSearchTableLayout01 android:layout_width=wrap_content android:paddingTop=6dip android:layout_height=wrap_content android:stretchColumns=* TableRow android:id=@+id/advanceSearchTableRow01 RadioButton android:id=@+id/radiobutton1_music android:textColor=#00 android:layout_marginLeft=30dip android:layout_width=wrap_content android:layout_height=35dip android:text=Live Music /RadioButton RadioButton android:id=@+id/radiobutton2_wifi android:layout_width=wrap_content android:layout_height=35dip android:layout_marginLeft=30dip android:textColor=#00 android:text=Wifi/RadioButton /TableRow TableRow android:id=@+id/advanceSearchTableRow01 RadioButton android:id=@+id/radiobutton3_dancing android:layout_width=wrap_content android:layout_height=35dip android:layout_marginLeft=30dip android:textColor=#00 android:text=Dancing/RadioButton RadioButton android:id=@+id/radiobutton4_deliery android:layout_width=wrap_content android:layout_height=wrap_content android:layout_marginLeft=30dip android:textColor=#00 android:text=Delivery/RadioButton /TableRow -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how app billing working in android?
Hi.. how this in app billing works for android ? please tell me if anyone know mean. Thanks for advance -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Divide large video file in parts
ha ha ha On Thu, Jun 23, 2011 at 11:15 AM, JAlexoid (Aleksandr Panzin) jalex...@gmail.com wrote: At this point, what I usually do is, I tell them that my fees are $100/ hr transferred to my PayPal account upfront. Really? What a bargain! On Jun 23, 8:21 am, Zsolt Vasvari zvasv...@gmail.com wrote: Hey, India guy, I gave you ALL of the information you need to do exactly that! Or did you expect me to fly to India and do it for you? I wouldn't ask that because: 1) First you will get a Google Talk chat request 2) If you block him, you will get an e-mail asking for help At this point, what I usually do is, I tell them that my fees are $100/ hr transferred to my PayPal account upfront. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Application run on emulator but the same app dont install in real device
what's the error displaying? On Tue, Jun 21, 2011 at 2:56 PM, Goutom goutom.sust@gmail.com wrote: Hi My application run on emulator but the same app dose nto install in real device. Can any one help me why? Regards Goutom -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] UI issues
Hi, anyone know how to handle UI issue in different device ... Thanks, vijayakumar -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Shape having two sided border
remove that padding bottom and top. then check it On Thu, Jun 16, 2011 at 12:06 PM, Sapna Srivastav sapna.ari...@gmail.comwrote: Hi all. I would like to create a layout having a shape that has border only on 2 sides: left and right, i.e. I want top and bottom to be open. How can I achieve that defining shape in XML? Currently I have a normal 4 side border using the following shape XML definition: ?xml version=1.0 encoding=utf-8? shape xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent solid android:color=#FF / stroke android:width=1dp android:color=#FF / padding android:left=1dp android:top=1dp android:right=1dp android:bottom=1dp / /shape Please help, its urgent. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Application doesn't install but Icon comes in launcher
application android:icon=@drawable/icon android:label=@string/app_ name android:permission=android.permission.INTERNET android:permission=android. permission.INTERNET why u added this line here ? On Thu, Jun 16, 2011 at 1:55 PM, Raghav Sood raghavs...@gmail.com wrote: Okay now my manifest reads as follows: ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.raghavsood.quaker android:versionCode=1 android:versionName=1.0 permission android:name=android.permission.INTERNET / uses-sdk android:minSdkVersion=8 / application android:icon=@drawable/icon android:label=@string/app_name android:permission=android.permission.INTERNET activity android:name=.Quaker android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity /application /manifest Yet the problem persists. Any ideas? Logcat output is the same without the internet permission problem. As far as I can see my manifest has the required intents and code. Any ideas? On 6/16/11, Raghav Sood raghavs...@gmail.com wrote: I did but I didn't understand it clearly. Thanks. On 6/16/11, String sterling.ud...@googlemail.com wrote: On Thursday, June 16, 2011 6:57:36 AM UTC+1, Gheter wrote: String:- The logcat out put is: And did you read it? ERROR/Launcher(210): Launcher does not have the permission to launch Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=com.raghavsood.quaker/.Quaker }. Make sure to create a MAIN intent-filter for the corresponding activity or use the exported attribute for this activity. tag=ApplicationInfo(title=Quaker) intent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=com.raghavsood.quaker/.Quaker } Just like it says, sounds like you're missing the required launcher intent in your manifest. http://developer.android.com/guide/topics/intents/intents-filters.html#ccases ERROR/Launcher(210): java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=com.raghavsood.quaker/.Quaker } from ProcessRecord{44e8e070 210:com.android.launcher/10017} (pid=210, uid=10017) requires android.permission.INTERNET Again with the manifest, you need to ask for permission to access the internet. http://developer.android.com/guide/topics/security/security.html#permissions Generally, it's a good idea to read the error messages you get. :^) String -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Raghav Sood http://www.raghavsood.com/ http://www.androidappcheck.com/ http://www.telstop.tel/ -- Raghav Sood http://www.raghavsood.com/ http://www.androidappcheck.com/ http://www.telstop.tel/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] JDK Installation
you have to set environment path. On Tue, Jun 14, 2011 at 11:57 PM, Charles ccha...@gmail.com wrote: When I'm trying to install the Android SDK, I know I have to have a Java SDK installed first. I'm installing jdk-6u26-windows-i586 on an XP platform prior to installing install_r11-windows.exe. I consistently get the error that the JDK is not installed. Has anyone else run into this, and how did you resolve it (if you did)? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] jar files of packages for android.git.kernel.org applications
Hi.. goto that workspace--rightclick--build path--configure buidpath---java combilar--change that version 1.5 or 1.6 then check it. On Wed, Jun 15, 2011 at 12:12 PM, Lakshya eleksh...@gmail.com wrote: Hi, I am new to android. I downloaded most of the packages for applications from android.git.kernel, such as calculator, Calender,Phone,Telephony provider etc... But I am not able to execute them in my android workspace. Most of the applications showing some imported packages not available error-- such as for calculator application import org.javia.arity.SyntaxException;, import org.javia.arity.Symbols; etc.. . For TelephonyProvider import android.provider.Telephony.Sms;, import android.provider.Telephony.Threads;, import android.provider.Telephony.MmsSms.PendingMessages; etc... Like this for most of the packages downloaded have errors. I tried to get the jar files for these packages and classes. But it is not available. I saw the class files for Symbols and SyntaxException classes. But when tried to copy the class files into my project it again showing errors. Can anybody help me to solve this issues, such as for getting the jar files or how can remove errors ? Expecting hear from you soon Regards Lakshya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] apps inventer example
http://iamvijayakumar.blogspot.com/2011/06/app-inventor-create-your-own-android.html -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Regarding Google Maps
Hi,, in mapview you hae to give proper *api key* On Tue, Jun 14, 2011 at 4:34 PM, yogendra G yogi2...@gmail.com wrote: Hi All, In my app am using map view for displaying some locations based on longitude and latitude values but before that tried to implement basic map example but am able to get only grid lines but not displaying any map.So,please help me out in this query. My api key and other uses-permissions and uses-library are properly given. Thanx in Advance. Regards, Yogi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help
kool man On Wed, Jun 15, 2011 at 10:20 AM, n.a devuni...@gmail.com wrote: On Jun 15, 4:05 am, John Coryat cor...@gmail.com wrote: The TOC would work a lot better if people knew how it was being enforced. That's like saying I wouldn't have gotten a speeding ticket if I knew where the police were. You don't get a life sentence with the speed ticket. Google gave me a life sentence when they banned the whole account. About the problem with keywords spamming: There will always be competition in the field. The current system in the Android Market is plain wrong, because there will always be new developers, who intentionally or unintentionally will do this. How many developers will Google have to ban per week just to make the others be scared from writing anything in their descriptions? 5%? 10%? What Google has to do is to create a separate Tags input field in the market admin panel, give it some limit and then let the developers compete. This is the fair way. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to upload file?
Hi, How to upload file in android . can anyone give some example ? Thanks vijayakumar -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to upload file?
hi, any file.. imag or ideo or dec i need some example. thnx On Wed, Jun 15, 2011 at 10:49 AM, Sivasankar K sivasanka...@greatinnovus.com wrote: What you want to upload ? video or image.. 2011/6/15 νιנαソkum@r iamvijayaku...@gmail.com Hi, How to upload file in android . can anyone give some example ? Thanks vijayakumar -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- K Siva Sankar -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to customize the list view...list view resource id is invalid???
ListView lv= (ListView) findViewById(R.id.listview); lv.setAdapter(new ArrayAdapterString(this, R.id.listview, COUNTRIES)); android.R.layout.simple_list_item_1 remove* R.id.listiew* add this one* android.R.layout.simple_list_item_1* On Mon, Jun 13, 2011 at 4:24 PM, Atik atik0...@gmail.com wrote: HI All, i m developing a list view and on top, it will have a auto complete textview, when user clicks on a certain item from the list, i want to display it in that auto complete text field. but i m getting some error..pls advice me..my codes are right now i m unable to load the view..so i have just written the code for the click on list item.. Thanks **package com.example; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.TextView; import android.widget.Toast; import android.widget.AdapterView.OnItemClickListener; public class HelloListView extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); ListView lv= (ListView) findViewById(R.id.listview); lv.setAdapter(new ArrayAdapterString(this, R.id.listview, COUNTRIES)); lv.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView? parent, View view, int position, long id) { // When clicked, show a toast with the TextView text Toast.makeText(getApplicationContext(), ((TextView) view).getText(), Toast.LENGTH_SHORT).show(); } }); } static final String[] COUNTRIES = new String[] { Afghanistan, Albania, Algeria, American Samoa}; } ***xml file ?xml version=1.0 encoding=utf-8? RelativeLayout android:id=@+id/main1 xmlns:android=http://schemas.android.com/apk/res/android; android:padding=4dip android:layout_width=fill_parent android:layout_height=fill_parent AutoCompleteTextView android:id=@+id/searchText android:layout_width=fill_parent android:layout_height=wrap_content android:singleLine=true android:textSize=16sp android:autoText=false android:capitalize=none android:layout_alignParentLeft=true android:scrollHorizontally=true /AutoCompleteTextView Button android:id=@+id/searchButton android:layout_width=wrap_content android:layout_height=wrap_content android:text= android:layout_alignParentRight=true /Button ListView android:id=@+id/listview android:layout_width=fill_parent android:layout_height=fill_parent android:padding=10dp android:textSize=16sp /ListView /RelativeLayout -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Force close in example taken from book Inflation Error
hi, Check your manifest file package name On Tue, Jun 14, 2011 at 10:08 AM, Raghav Sood raghavs...@gmail.com wrote: Nope. My old package was com.ragahvsood.listdroid and now it is com.raghavsood.listdroid The xml and class files link to the correct one. Any other ideas? Thanks On Tue, Jun 14, 2011 at 2:51 AM, Bagatelle: David Lee Evans dle.ev...@gmail.com wrote: My guess, is that you forgot to change the prefix package name in your xml file to match the new package name in your class. Maybe your new package name for your class is com.ragahvsood.listdroid-1 and in your xml file you still have com.ragahvsood.listdroid.ListDroidItemView instead of com.ragahvsood.listdroid-1.ListDroidItemView. Or something like that. Thats my guess On Jun 13, 1:40 pm, Raghav Sood raghavs...@gmail.com wrote: I seem to have fixed that problem but now my app is force closing again but the error is different: 06-13 15:48:33.338: ERROR/AndroidRuntime(453): android.view.InflateException: Binary XML file line #2: Error inflating class com.raghavsood.listdroid.ListDroidItemView 06-13 15:48:33.338: ERROR/AndroidRuntime(453): Caused by: java.lang.ClassNotFoundException: com.raghavsood.listdroid.ListDroidItemView in loader dalvik.system.PathClassLoader[/data/app/com.ragahvsood.listdroid-1.apk] 06-13 17:16:09.262: ERROR/AndroidRuntime(477): android.view.InflateException: Binary XML file line #2: Error inflating class com.raghavsood.listdroid.ListDroidItemView 06-13 17:16:09.262: ERROR/AndroidRuntime(477): Caused by: java.lang.ClassNotFoundException: com.raghavsood.listdroid.ListDroidItemView in loader dalvik.system.PathClassLoader[/data/app/com.ragahvsood.listdroid-1.apk] 06-13 18:57:59.895: ERROR/AndroidRuntime(484): android.view.InflateException: Binary XML file line #2: Error inflating class com.raghavsood.listdroid.ListDroidItemView 06-13 18:57:59.895: ERROR/AndroidRuntime(484): Caused by: java.lang.ClassNotFoundException: com.raghavsood.listdroid.ListDroidItemView in loader dalvik.system.PathClassLoader[/data/app/com.ragahvsood.listdroid-1.apk] 06-13 18:58:09.745: ERROR/AndroidRuntime(491): android.view.InflateException: Binary XML file line #2: Error inflating class com.raghavsood.listdroid.ListDroidItemView 06-13 18:58:09.745: ERROR/AndroidRuntime(491): Caused by: java.lang.ClassNotFoundException: com.raghavsood.listdroid.ListDroidItemView in loader dalvik.system.PathClassLoader[/data/app/com.ragahvsood.listdroid-1.apk] The ListDroidItemView class has not changed from the mail above except I fixed a typo in the package name. Any ideas? Thanks On Mon, Jun 13, 2011 at 5:34 PM, Raghav Sood raghavs...@gmail.com wrote: That occurred to me. I opened it up and decompiled the .dex file and its quite definitely there. On Mon, Jun 13, 2011 at 5:28 PM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jun 13, 2011 at 7:53 AM, Raghav Sood raghavs...@gmail.com wrote: I was trying out an example from one of the android books I have. It worked fine earlier but when I tried to modify the textview and list view it started force closing. The logcat output is as follows (relevant part): 06-13 15:48:33.338: ERROR/AndroidRuntime(453): android.view.InflateException: Binary XML file line #2: Error inflating class com.raghavsood.listdroid.ListDroidItemView 06-13 15:48:33.338: ERROR/AndroidRuntime(453): Caused by: java.lang.ClassNotFoundException: com.raghavsood.listdroid.ListDroidItemView in loader dalvik.system.PathClassLoader[/data/app/com.ragahvsood.listdroid-1.apk] 06-13 17:16:09.262: ERROR/AndroidRuntime(477): android.view.InflateException: Binary XML file line #2: Error inflating class com.raghavsood.listdroid.ListDroidItemView 06-13 17:16:09.262: ERROR/AndroidRuntime(477): Caused by: java.lang.ClassNotFoundException: com.raghavsood.listdroid.ListDroidItemView in loader dalvik.system.PathClassLoader[/data/app/com.ragahvsood.listdroid-1.apk] As the error indicates, com.raghavsood.listdroid.ListDroidItemView is not in your APK. -- Mark Murphy (a Commons Guy) http://commonsware.com|http://github.com/commonsguy http://commonsware.com/blog|http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Raghav Sood http://www.raghavsood.com/ http://www.androidappcheck.com/ http://www.telstop.tel/ -- Raghav Soodhttp://
Re: [android-developers] How to get Map on signed Android application?
workspace--rightclick--- click export---export android apps--next--next---enter keystore file name---next---enter key alis---finish On Mon, Jun 13, 2011 at 9:59 AM, Sivasankar K sivasanka...@greatinnovus.com wrote: in my i have a map application. I have got my finger print and my api key. When i run the app from my eclipse to device straightly i am able to see the map, but when i run the app after creating as a zip aligned .apk file there is No map backgrounds Was able browse and search but still no map backgrounds. Please help me to solve my issue. -- K Siva Sankar -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] regarding code convert
Hi, Anybody know how to convert blackberry code to android code? -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:08792527827(Bglr) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Adding animation to LinearLayout
Hi, LinearLayout layout = (LinearLayout) findViewById*(R.layout.menu); (R.id.) * you have to declare layout id only na On Fri, Jun 10, 2011 at 10:44 AM, Mansoor mansoor@wipro.com wrote: hi, In your onCreate method u doing something wrong LinearLayout layout = (LinearLayout) findViewById(R.layout.menu); u have to give linear layout id instead of using R.layout.menu it should be somthing as follow: LinearLayout layout = (LinearLayout) findViewById(R.id.your linear layout id given in xml); regards Mansoor V.M -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:08792527827(Bglr) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] android wheelpicker
android wheel picker example http://iamvijayakumar.blogspot.com/2011/06/android-wheel-picker-example.html -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] need help in ListActivity
Hi Man, Create new workspace ..copy paste the code then run and check it. On Fri, Jun 10, 2011 at 3:57 PM, tekinoypi akoto1...@gmail.com wrote: I copied and paste the ListViewDemo codes from the book Beginning Android 2, page 61. There are no errors in Eclipse, BUT when it is executed in Android 2.1 Android 2.2 emulators the application displays a pop-up for a problem or crashes instantly. I am a beginner in Android Development, any help regarding this issue would be greatly appreciated. Thank you! FILENAME: ListViewDemo.java package com.commonsware.android.list; import android.app.Activity; import android.os.Bundle; import android.app.ListActivity; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.TextView; public class ListViewDemo extends ListActivity { TextView selection; String[] items={lorem, ipsum, dolor, sit, amet, consectetuer, adipiscing, elit, morbi, vel, ligula, vitae, arcu, aliquet, mollis, etiam, vel, erat, placerat, ante, porttitor, sodales, pellentesque, augue, purus}; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1, items)); selection=(TextView)findViewById(R.id.selection); } public void onListItemClick(ListView parent, View v, int position,long id) { selection.setText(items[position]); } } FILENAME: main.xml ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TextView android:id=@+id/selection android:layout_width=fill_parent android:layout_height=wrap_content/ ListView android:id=@android:id/list android:layout_width=fill_parent android:layout_height=fill_parent android:drawSelectorOnTop=false / /LinearLayout -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] In Android, how to get the keyevent of 'home Key' ?
http://iamvijayakumar.blogspot.com/ ... for android On Wed, Jun 8, 2011 at 4:49 PM, Mark Murphy mmur...@commonsware.com wrote: 2011/6/8 Rocky rkjhaw1...@gmail.com: Hi I did some thing on blog please check that - http://alltechsolution.wordpress.com/2011/04/14/how-to-controldisable-home-button/ This is horrible code. Do not request the HOME category unless *you are a home screen*. SDK applications cannot call clearPackagePreferredActivities() except for their own package. onSaveInstanceState() does not need to manually handle EditText widgets, as the built-in implementation handles those for you. And so on. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 3.0 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:08792527827(Bglr) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Create Username and password
Hi... Refer this URL... u can get idea... http://iamvijayakumar.blogspot.com/2010/12/android-customize-dialog-window.html On Wed, Jun 8, 2011 at 5:37 PM, cibin cibin.p.oom...@gmail.com wrote: Can anyone help me in creating username and password in an pop up window(Dialog Box). -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:08792527827(Bglr) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] PDF viewer
Hi... Anybody know android PDF viewersource code -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:08792527827(Bglr) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en