[android-developers] getColumnIndex exception
Hi All, I am getting the following exception each time I am accessing the columns in Database. Though application is not crashing , but still wants to find out the reason for exception being thrown. 12-22 19:02:38.398: E/Cursor(11669): java.lang.Exception 12-22 19:02:38.398: E/Cursor(11669): at android.database.sqlite.SQLiteCursor.getColumnIndex(SQLiteCursor.java:312) Running it on android 2.3.3 emulator. Warm Regards, Sudeep -- 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] Application not found at android market on Samsung galaxy mini
Hi All, The below application is not found at Android Market on Samsung galaxy Mini.Was able to download on other Samsung galaxy phones. goog_1544198104*RAKBANK mobile bankinghttps://market.android.com/details?id=com.rakfeature=search_result * Check the device spec at below link Samsung galaxy minihttp://www.samsung.com/uk/support/detail/supportPrdDetail.do?menu=SP01prd_mdl_cd=GT-S5570EGAMETsrchword=GT-S5570 I have declared the following in app manifest file.Application must support the android OS version 1.5. uses-sdk android:minSdkVersion=3 / supports-screens android:resizeable=true android:smallScreens=true android:normalScreens=true android:largeScreens=true android:anyDensity=true / Just not able to understand the reason why it's not visible on Android Market for Samsung Galaxy mini phone. Need a solution very urgently. Warm Regards, Sudeep -- 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] For testing the apk file
Hi All, When I am putting the apk file on Windows server, testing team is able to download the file and install. But if I am putting the same on AIX server , team is able to download but can't install the application. Everytime we are getting the following error. * **“Parse Error: There is a problem parsing the package.” * Client wants us to deploy that on the AIX server for their testing team to test the same. Once the application is tested , then only we can upload the application to Android Market. This seems to be the show stopper for us. Warm Regards, Sudeep -- 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] Application not found in android market
Hi All, I have one application in android market. You can search it on android market in devices like Samsung galaxy S , Samsung-Google Nexus S but cannot search the same on Sony Ericsson xperia ,HTC Wildfire and Samsung galaxy Fit. Android OS version doesn't seem to be a problem. The only issue that I can see is different screen sizes support. Why the application is not searchable on Android Market on few devices but on others ? Quick Help is needed from you guys. Thanks and Regards, Sudeep -- 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] linking HyperLinks to an Activity
Hi All, I want to call another activity when the user clicks an hyperlink. Can anybody suggest me how to use Intent in this case? Warm Regards, Sudeep -- 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 market publishing from India
Hi All, I have developed a mobile banking product application and want to publish it to Android Market as a free app. I am unable to create my *developer profile *on android market publish. I am always getting error as wrong phone number entered .I think it is not accepting India country code. Has anybody faced the same problem? Warm Regards, Sudeep -- 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] Does your android phone support j2me?
Hi All, I can test a J2ME application on HTC Hero device but I can't do this on Sony Xperia phone. Can we list here android phones on which we can run J2ME app? Warm Regards, Sudeep -- 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] Developing HTC touchflo like inteface for android
Hi, After seeing HTC touchflo interface for windows mobile phones, I thought of building the same for my android app. Can anybody suggest how to go about this for the quick launch buttons view @bottom of screen? -- Warm Regards, Sudeep -- 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] Setting theme in an activity
Hi All, This is my themes.xml file resources style name=*Theme.Blue* parent=*android:Theme* item name=*android:windowBackground**...@drawable*/bodyimg_blue/item item name=*android:colorBackground*@color/*royalblue*/item item name=*android:textColor*@color/*midnightblue*/item item name=*android:textViewStyle*@style/TextViewBlue/item /style resources This is main activity code snippet *public* *void* onCreate(Bundle savedInstanceState) { *super*.onCreate(savedInstanceState); setTheme(R.style.Theme_Blue); setContentView(R.layout.*main_screen*); ... The background image is not getting loaded but the text color and textViewStyle got changed. The background image remains the defalult one -blank screen. If I am setting the theme in android manifest file then it works properly. Can anybody tell me the reason for this? Warm Regards, Sudeep -- 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] Digest for android-developers@googlegroups.com - 9 Messages in 7 Topics
Hi All, This is my themes.xml file resources style name=Theme.Blue parent=android:Theme item name=android:windowBackground@drawable/bodyimg_blue/item item name=android:colorBackground@color/royalblue/item item name=android:textColor@color/midnightblue/item item name=android:textViewStyle@style/TextViewBlue/item /style resources This is main activity code snippet public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setTheme(R.style.Theme_Blue); setContentView(R.layout. main_screen); ... The background image is not getting loaded but the text color and textViewStyle got changed. The background image remains the defalult one -blank screen. If I am setting the theme in android manifest file then it works properly. Can anybody tell me the reason for this? Warm Regards, Sudeep -- 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] Setting theme in an activity
Hi All, This is my themes.xml file resources style name=*Theme.Blue* parent=*android:Theme* item name=*android:windowBackground**...@drawable*/bodyimg_blue/item item name=*android:colorBackground*@color/*royalblue*/item item name=*android:textColor*@color/*midnightblue*/item item name=*android:textViewStyle*@style/TextViewBlue/item /style resources This is main activity code snippet *public* *void* onCreate(Bundle savedInstanceState) { *super*.onCreate(savedInstanceState); setTheme(R.style.Theme_Blue); setContentView(R.layout. *main_screen*); ... The background image is not getting loaded but the text color and textViewStyle got changed. The background image remains the defalult one -blank screen. If I am setting the theme in android manifest file then it works properly. Can anybody tell me the reason for this? Warm Regards, Sudeep -- Warm Regards, Sudeep -- 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
Fwd: [android-developers] Digest for android-developers@googlegroups.com - 9 Messages in 7 Topics
Hi All, This is my themes.xml file resources style name=Theme.Blue parent=android:Theme item name=android:windowBackground@drawable/bodyimg_blue/item item name=android:colorBackground@color/royalblue/item item name=android:textColor@color/midnightblue/item item name=android:textViewStyle@style/TextViewBlue/item /style resources This is main activity code snippet public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setTheme(R.style.Theme_Blue); setContentView(R.layout. main_screen); ... The background image is not getting loaded but the text color and textViewStyle got changed. The background image remains the defalult one -blank screen. If I am setting the theme in android manifest file then it works properly. Can anybody tell me the reason for this? Warm Regards, Sudeep -- Warm Regards, Sudeep -- 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] setting theme for an activity
-- Warm Regards,Hi All, This is my themes.xml file resources style name=Theme.Blue parent=android:Theme item name=android:windowBackground@drawable/bodyimg_blue/item item name=android:colorBackground@color/royalblue/item item name=android:textColor@color/midnightblue/item item name=android:textViewStyle@style/TextViewBlue/item /style resources This is main activity code snippet public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setTheme(R.style.Theme_Blue); setContentView(R.layout. main_screen); ... The background image is not getting loaded but the text color and textViewStyle got changed. The background image remains the defalult one -blank screen. If I am setting the theme in android manifest file then it works properly. Can anybody tell me the reason for this? Warm Regards, Sudeep -- 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] Setting theme for an activity
Hi All, This is my themes.xml file resources style name=Theme.Blue parent=android:Theme item name=android:windowBackground@drawable/bodyimg_blue/item item name=android:colorBackground@color/royalblue/item item name=android:textColor@color/midnightblue/item item name=android:textViewStyle@style/TextViewBlue/item /style resources This is main activity code snippet public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setTheme(R.style.Theme_Blue); setContentView(R.layout. main_screen); ... The background image is not getting loaded but the text color and textViewStyle got changed. The background image remains the defalult one -blank screen. If I am setting the theme in android manifest file then it works properly. Can anybody tell me the reason for this? I also found this issue on google code android: http://code.google.com/p/android/issues/detail?id=3793 Warm Regards, Sudeep -- Warm Regards, Sudeep -- 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] Port based sms in android
Hi , Is it possible to use port numbers(to Send SMS) in Android App like we use in J2ME. So that only those App with the same Port Number can listen to SMS’s. I don't want data message to goto the inbox. Warm Regards, Sudeep -- 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] Getting MIDlet version and CLDC version
Hi all, How to get the MIDlet and CLDC version programmatically in android? Regards, Sudeep -- Warm Regards, Sudeep -- 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] Digest for android-developers@googlegroups.com - 25 Messages in 18 Topics
Hi all, How to get the MIDlet and CLDC version programmatically in android? Regards, Sudeep -- 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] Accessing wcf service from android
Hi Droids, I want to use the WCF(.net) service for login authentication.Please tell me ASAP, the easiest way to do it. I was trying with wsdl also. Warm Regards, Sudeep -- 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] Security framework available on android??
Which security framework is available or can be ported to android ? Warm Regards, Sudeep --~--~-~--~~~---~--~~ 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] Sample mobile application query
Hi, Can you please tell me about the security management in mobile banking application? -- Warm Regards, Sudeep --~--~-~--~~~---~--~~ 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] A sample mobile banking solution
Hi all, Can anybody tell me something about the security architecture required to build a mobile banking solution in android? Warm Regards, Sudeep -- Warm Regards, Sudeep --~--~-~--~~~---~--~~ 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] AndroidIntentPlayground sourcecode
Does anybody have the source code for AndroidIntentPlayground example in Diego Torres Milano's blog http://dtmilano.blogspot.com/? -- Warm Regards, Sudeep --~--~-~--~~~---~--~~ 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] Service class
How to create a service that will post messages to an activity periodically using timer? -- Warm Regards, Sudeep --~--~-~--~~~---~--~~ 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] Re: Intent broadcasting not working
Still no broadcasting.Can anybody give me an example code on broadcasting an intent from an activity to call another application? On Wed, Jul 29, 2009 at 7:26 PM, Mark Murphy mmur...@commonsware.comwrote: Sudeep Jha wrote: In an application main activity I have the following code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button button=(Button)findViewById(R.id.Button); button.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { *Intent intent = new Intent(com.example.broadcast); Intent.putExtra(example,Broadcasting ); sendBroadcast(intent);* } }); Here is the broadcastreceiver code: public class CustomBroadCast extends BroadcastReceiver { /** * @see android.content.BroadcastReceiver#onReceive(Context,Intent) */ @Override * public void onReceive(Context context, Intent intent) { Log.i(INFORMATION,Broadcasting message); String dummyText = intent.getStringExtra(**example); Toast.makeText(context, dummyText , Toast.LENGTH_SHORT).show();* } } In manifest file of CustomBroadCast class apllication: * receiver android:name=.CustomBroadCast intent-filter action android:name=com.example.broadcast / /intent-filter /receiver* This is not working.What I am missing here?please help. I don't see anything obviously wrong, so here are some things to look at: 1. Make sure you have your receiver in the proper place in the manifest. It should be a child of application and a peer of any activity or related component elements. 2. I am not certain if a Toast will work from a BroadcastReceiver. If you are concerned that your Log statement might not be being logged, try bumping it to warning (Log.w) or error (Log.e). 3. Check LogCat for warnings. For example, if Android cannot find your BroadcastReceiver for some reason, you will get a warning in LogCat, not an error. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html -- Warm Regards, Sudeep --~--~-~--~~~---~--~~ 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] Re: Dialer
Hi Michelle, you can use the following code snippet. Intent intent = new Intent(Intent.ACTION_CALL); intent.setData(Uri.parse(tel:+yourphoneNumber)); activity.startActivity(intent); Regards, Sudeep On Wed, Jul 29, 2009 at 5:40 PM, Michelle Silva m...@cin.ufpe.br wrote: Hi, i'm beginner in Android and i'd like to know how can i access the Dialer aplication. I'd like to make a test that access dialer, dial a number, make a call and after some time, end this call. I'm using the emulator. Can somebody help me? Best regards, Michelle. -- Warm Regards, Sudeep --~--~-~--~~~---~--~~ 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] Intent broadcasting not working
In an application main activity I have the following code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button button=(Button)findViewById(R.id.Button); button.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { *Intent intent = new Intent(com.example.broadcast); Intent.putExtra(example,Broadcasting ); sendBroadcast(intent);* } }); Here is the broadcastreceiver code: public class CustomBroadCast extends BroadcastReceiver { /** * @see android.content.BroadcastReceiver#onReceive(Context,Intent) */ @Override * public void onReceive(Context context, Intent intent) { Log.i(INFORMATION,Broadcasting message); String dummyText = intent.getStringExtra(**example); Toast.makeText(context, dummyText , Toast.LENGTH_SHORT).show();* } } In manifest file of CustomBroadCast class apllication: * receiver android:name=.CustomBroadCast intent-filter action android:name=com.example.broadcast / /intent-filter /receiver* This is not working.What I am missing here?please help.[?] -- Warm Regards, Sudeep --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~--- inline: 322.png
[android-developers] Re: Dialer
Hi Michelle, Yes,you need to put this code into an activity class. Also,you need to set permission in your manifest file. uses-permission android:name=android.permission.CALL_PHONE / ... On Wed, Jul 29, 2009 at 6:00 PM, Michelle Silva m...@cin.ufpe.br wrote: Hi Sudeep, thak you for your help, but how I said i'm beginner and there are things that i can't understand yet: 1- Do I put this code inside an activity class ? 2 - What is Uri that calls this parse? Regards, Michelle. 2009/7/29 Sudeep Jha sudeep.neti...@gmail.com Hi Michelle, you can use the following code snippet. Intent intent = new Intent(Intent.ACTION_CALL); intent.setData(Uri.parse(tel:+yourphoneNumber)); activity.startActivity(intent); Regards, Sudeep On Wed, Jul 29, 2009 at 5:40 PM, Michelle Silva m...@cin.ufpe.br wrote: Hi, i'm beginner in Android and i'd like to know how can i access the Dialer aplication. I'd like to make a test that access dialer, dial a number, make a call and after some time, end this call. I'm using the emulator. Can somebody help me? Best regards, Michelle. -- Warm Regards, Sudeep -- Warm Regards, Sudeep --~--~-~--~~~---~--~~ 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] Can we modify androidminfest.xml in java program?
Hi , I want to set uses-permission tags in my java program.Is it possible?If yes,then how can we do it? -- Warm Regards, Sudeep --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---