[android-developers] Sending office 2007/2010 files over bluetooth

2011-07-19 Thread Kacee
I am having problem with send option for Office 2007/2010 files. Mime type i am using is: String mimeType2007 = application/vnd.openxmlformats- officedocument.spreadsheetml.sheet; while it works with2003 mime type String mimeType = application/vnd.ms-excel; INTENT_ACTION=ACTION.SEND What could

[android-developers] Queries on Internal Storage - device space

2011-06-21 Thread Kacee
Hello, I explored storing temp/supporting files on Internal storage i.e. SharedPrefs (private to app) and Internal Storage of device. Now, when i try to create a file on Internal Storage, it by default creates and stores file on /data/data/app_home/files/ . My intent was to store a file on some

[android-developers] Re: How to verify whether song is playing or not

2011-06-21 Thread Kacee
If u r able to hear the song , then it is playing :D On Jun 21, 3:15 pm, Bharathiraja R bharathiraja.andr...@gmail.com wrote: Hi All, I am starting song through startActivity() method and when phone receives call how to verify whether song is playing or not. If anyone know how to verify

[android-developers] Re: Queries on Internal Storage - device space

2011-06-21 Thread Kacee
Thank you Sir. I would implement better ways as suggested :) On Jun 21, 4:48 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jun 21, 2011 at 6:42 AM, Kacee komal...@gmail.com wrote: I explored storing temp/supporting files on Internal storage i.e. SharedPrefs (private to app

[android-developers] Re: Debugging Killed Activity

2011-05-23 Thread Kacee
You said your debugger detaches as soon as your activity gets killed. Check if activity for camera and activity for your usual app runs in separate process. You can check that in DDMS view in eclipse. If thats the case, then you would need to do Debug Configurations - New remote Application - Set

[android-developers] Re: Changing application description shown in option list when multiple apps can do same job

2011-05-20 Thread Kacee
, 2011 at 5:38 AM, Kacee komal...@gmail.com wrote: Hello there, I have a viewer app. There are other apps installed on my device as well doing same job. So when i open a document, android as usual shows a list of apps that can do that job (which is file open here). In my app, along with App

[android-developers] Changing application description shown in option list when multiple apps can do same job

2011-05-13 Thread Kacee
Hello there, I have a viewer app. There are other apps installed on my device as well doing same job. So when i open a document, android as usual shows a list of apps that can do that job (which is file open here). In my app, along with App name, just beneath it, package name gets displayed. I

[android-developers] Re: Development Patterns

2011-05-12 Thread Kacee
Please read little more from http://developer.android.com Once you'll start writing Android code, these queries will go off On May 11, 2:08 pm, Cory Kaufman allspirits...@gmail.com wrote: Hi, Has anyone started cataloging common design patterns that arise when developing Android apps? For

[android-developers] Re: Failed to install xxx.apk on device emulator

2011-04-20 Thread Kacee
can u paste adb logcat here ? On Apr 17, 2:53 pm, ady ady...@gmail.com wrote: I am new to android development. I am writing Hello World program . But when i run it the emulator loads after say 5-10 mins it will give the following error  : [2011-04-17 14:26:35 - HelloAndroid] Installing

[android-developers] Re: Problem with reopening the activity

2011-04-20 Thread Kacee
Your question is though not very clear, but i am getting an impression that you are dealing with more than one activity and then facing problem on pressing back button or at re-start. If thats the case, then you can check Activity stack and see the order of activities getting launched. Use this

[android-developers] Re: help for encryption of sd card storage?

2011-04-14 Thread Kacee
I was wondering if there is any size limit for storing on shared preferences. Could not find any such info on developer.android.com. Is anyone aware of such space limit on internal storage ? On Apr 14, 12:51 am, Streets Of Boston flyingdutc...@gmail.com wrote: If your file is not huge, why not

[android-developers] Re: help for encryption of sd card storage?

2011-04-14 Thread Kacee
To answer original question of HitendraSinh - Here is one very simple encryption algo: http://www.ecestudents.ul.ie/Course_Pages/Btech_ITT/Modules/ET4263/More%20Samples/CEncrypt.java.html Simpler than you can imagine :) On Apr 14, 11:07 am, Kacee komal...@gmail.com wrote: I was wondering

[android-developers] Re: help for encryption of sd card storage?

2011-04-14 Thread Kacee
: On Thu, Apr 14, 2011 at 3:07 PM, Kacee komal...@gmail.com wrote: I was wondering if there is any size limit for storing on shared preferences. Could not find any such info on developer.android.com. Is anyone aware of such space limit on internal storage ? Interesting question. Since each app

[android-developers] Re: help for encryption of sd card storage?

2011-04-14 Thread Kacee
can't get to it) which you use to encrypt the data on external / sd card storage.  This is basically how apps on SD card works -- the system generates a random key for created encrypted filesystems on the SD card in which it installs an application. On Thu, Apr 14, 2011 at 12:17 AM, Kacee komal

[android-developers] Re: help for encryption of sd card storage?

2011-04-13 Thread Kacee
application, which has a unique UserId, is there any way to set permissions like chmod on file ? Cheers, Kacee On Apr 11, 12:17 pm, Xun Sun xun.sun...@gmail.com wrote: Hi, On Mon, Apr 11, 2011 at 2:47 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: hi, I am downloading file from

[android-developers] Re: help for encryption of sd card storage?

2011-04-13 Thread Kacee
://groups.google.com/group/android-developers/browse_thread/thread/7ca63e1dd9a71ce2 CAn anything be done with /etc/fstab ? On Apr 13, 3:56 pm, Kostya Vasilyev kmans...@gmail.com wrote: The memory card uses FAT32, which does not support Unix-style owner and permission info. -- Kostya 13.04.2011 13:35, Kacee

[android-developers] Re: Getting a delay between starting current activity after returning from startActivityForResult()

2011-04-12 Thread Kacee
Removed Cleartop flag, no luck. ... Problem is second activity is getting finished, before the first actvity can resume, which is creating a delay. Any more suggestions... On Apr 8, 9:41 pm, TreKing treking...@gmail.com wrote: On Fri, Apr 8, 2011 at 5:44 AM, Kacee komal...@gmail.com wrote

[android-developers] Re: how to change behavior of default application in android

2011-04-10 Thread Kacee
My intent is to customize an existing in-built app, say Phone app. Like when i end a call, I want to show some msgs/pictures at the end of call. I know it sounds wierd... but just giving an example. So is there any way that for such a small customization, I dont have to re- write full app and

[android-developers] Re: how to change behavior of default application in android

2011-04-10 Thread Kacee
May be customization is not the right word, but I want to perform this task. Is this thing possible ? On Apr 10, 2:50 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: * http://webnetmobile.com/twitter/* On 10 April 2011 11:31, Kacee komal...@gmail.com wrote: My intent is to customize

[android-developers] Re: how to change behavior of default application in android

2011-04-10 Thread Kacee
Sadly... I can not make such changes ... I thought with android there must be some way to do so.. Thanks for all the replies On Apr 10, 4:17 pm, Mark Murphy mmur...@commonsware.com wrote: On Sun, Apr 10, 2011 at 6:37 AM, Kacee komal...@gmail.com wrote: May be customization is not the right

[android-developers] Getting a delay between starting current activity after returning from startActivityForResult()

2011-04-08 Thread Kacee
Hello guyz, I am facing problem with starting MainActivity again and perform remaining tasks, after returning from startActvityForREsult() My code structrue goes like: MainActivity{ // this method calls different activities of my application based on the result of onActivityResult

[android-developers] how to change behavior of default application in android

2011-03-23 Thread Kacee
Hello All, I want to change default behavior of one of the in-built application like Phone/SMS/etc. I got to search on forums that there is an option in SettingsLaunch By Default There Clear defaults The Clear default button on right is disabled for both in-built and any other downloaded app.

[android-developers] Re: security of the framework

2011-03-23 Thread Kacee
Encrypting / decrypting an XML file is just as same as in Java. Get the contents of xml file , apply Encrypt algo, write back to a file named abc.xml Do reverse for Decrypting. On Mar 23, 3:06 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: On 23 March 2011 10:50, madushanka

[android-developers] Optimization - Memory - Garbage collection

2011-02-09 Thread Kacee
Hi all, I have a static instance singleton class object. I want that object to be garbage collected/null as soon as I close my application using back button. Whats happening is - My Object is alive, between two launch of application and hence retains the state. However,I am taking care of all

[android-developers] Re: R cannot be resolved

2010-07-21 Thread Kacee
Try creating a helloAndroid project in Eclipse and run it. If it runs successfully, then there is no problem with yr set up. The problem might be only with tutorial apps Let us know. Cheers, Kacee On Jul 21, 10:56 pm, Satya Komatineni satya.komatin...@gmail.com wrote: It is a basic question

[android-developers] Re: Is there a graphs utility?

2010-07-07 Thread Kacee
Seems there are no direct APIs availbale in android. One can use drawable , surface manager ,etc to draw different components of graphs. On Jul 5, 5:01 am, Dmitri Snytkine d.snytk...@gmail.com wrote: Just wondering, is there a way to create pie charts and other types of graphs in your

[android-developers] Re: Whether to use a Service or Thread for Http Connection?

2010-07-07 Thread Kacee
connection. Plz correct if requried. Kacee On Jul 5, 6:11 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: The consensus seems to be AsyncTask, try that. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Whether to use a Service or Thread for Http Connection?

2010-07-07 Thread Kacee
on the update to the UI activity for display. Please correct me if i am wrong somewhere. Thanks, Kacee On Jul 6, 3:34 pm, Sudeep sudeep.neti...@gmail.com wrote: Hi Sagar,               Use AsycTask class if u want to publish the result or response in the UI thread. i.e. from the activity u called http

[android-developers] Re: Change Text color and text size in listview

2010-07-07 Thread Kacee
You are using same color for background and text RelativeLayout android:background=#00 ListView android:textColor=#00 /ListView RelativeLayout Try changing that say to #00 Cheers, Kacee On Jul 7, 9:33 am, mike hasitharand...@gmail.com wrote: hi ena, you have to create