[android-developers] Re: Multicast Receive

2012-01-19 Thread Dalvin
Did you get the solution for this ?

-- 
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 Package_replace intent

2011-06-17 Thread Dalvin


In my application I am listening for following 3 intents by using broadcast 
receiver. ACTION_PACKAGE_REPLACED ACTION_PACKAGE_REMOVED 
ACTION_PACKAGE_ADDED

The problem is that whenever I reinstall some application First I get 
ACTION_PACKAGE_REMOVED then i get ACTION_PACKAGE_ADDED then i get 
ACTION_PACKAGE_REPLACED.

Is there any way to know that in reinstallation of application the 
ACTION_PACKAGE_REMOVED and ACTION_PACKAGE_ADDED intents belongs to 
ACTION_PACKAGE_REPLACED. I mean these are not the intents when only 
application is removed and installed respectively.

Thx Dalvin

-- 
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] Android application pause/resume state.

2011-06-06 Thread Dalvin
Hi TreKing

In my application I want to log how many times my application gets paused 
i.e. some outside activity appears on the top of it.

Thanks
Dalvin

-- 
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: Android application pause/resume state.

2011-06-03 Thread Dalvin
Thanks a lot ...

-- 
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 application pause/resume state.

2011-06-03 Thread Dalvin
Hi

My question is can i get to know when the entire application gets 
paused/resumed start/stop etc.
For example if i have 5 activities in my application. Whenever any activity 
gets paused/resumed android notify the activity by calling the 
onPause/onResume methods.

So there are two possible scenarios when my activity gets paused.
1. My activity-2 gets paused because my activity-3 gets invoked.
2. My activity-2 gets paused because of some outside activity like incoming 
call.

Here I am interested only tracking when my activity gets paused by outside 
activities not my own application activities.

So is there any android provided solution for this or do I have to write my 
customized solution.

Thanks
Dalvin

-- 
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] OpenFileInput

2011-04-24 Thread Dalvin
Hi

I am trying to read a simple text file in my sample Android Application. I 
am using the below written code for reading the simple text file.

1. InputStream inputStream = openFileInput("test.txt");
2. InputStreamReader inputStreamReader = new InputStreamReader(inputStream);
3. BufferedReader bufferedReader = new BufferedReader(inputStreamReader);

My questions is :
Where should I place this "test.txt" file in my project. I have tried 
putting the file under "res/raw" and "asset" folder but I get the exception 
"FileNotFound" when first live of the code written above gets executed.

Thanks
Dalvinder Singh

-- 
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] Voice Recognition

2011-04-13 Thread Dalvin
Hi All

Before experimenting the voice recognition feature of Android I read the 
documentation provided by Android Developer site. Which tells us how to 
initiate the voice recognition activity for result which will return the 
result back in a callback. But what I have not implemented any such thing. 
what I have done is described below.

1. Create a simple EditText in an activity.
2. Now tap that EditText and keypad will appear.
3. Now tap the speak button on keypad.
4. Voice recognition activity will be started.
5. For example I speak "hello"
6. Voice recognition activity recognized my "hello" and this "hello" word is 
appeared in my EditText in my activity.
7. Could some please explain my how does it happened. how android put the 
corresponding word into my EditText where i did not do any voice recognition 
coding.

Thanks
Dalvin

-- 
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] Unlocked Android Phones

2011-03-19 Thread Dalvin
Hi All

I am looking for an unlocked Android phone in India on which I can install 
custom Android builds.
My questions is:
Are android phones sell by manufacturers like Samsung galaxy and HTC 
unlocked or not. 


Thanks
Dalvin

-- 
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 see Android Manifest.xml

2010-12-14 Thread Dalvin
Hi

My requirement is to see the Android Manifest.xml file after
extracting from APK file.

For e.g.
I have an Apk file -> I unzip the Apk file into a folder -> now this
folder contains Android Manifest file -> But when i try to see this
file it shows the content in some binary format instead of xml format.

My question is can i see this Android Manifest file in readable form
after extracting it from APK.


Thanks
Dalvin

-- 
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 Service Distribution

2010-10-01 Thread Dalvin
Hi Everybody

My question about android service is about its distribution. My
requirement is that suppose i have developed an Android Service which
provides some kind of news updates. Any application can use it's API's
to get news updates. Now my question is how will i distribute my
Android Service ?
1. Will i simply put this in Android market and if any android
application developer wants to use its API he will download this on
the phone.
2. What if at run time the application try to use my Service and
Service is not installed on phone, Will Android system try to download
that service from android market ?


Thanks
Dalvin

-- 
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