[android-developers] CONTACT_ID - Keeping it in sync

2010-12-06 Thread Mak
I am interested in your opinions on the best way to keep a robust reference to a contact starting android 2.0. I have read a lot regarding this issue but i don't know which technique is advisable and if there's any new ones. Below are the 3 options i found so far: 1- Don't use your own db. Extend

[android-developers] Re: how to setViewText in SimpleCursorTreeAdapter?

2009-11-09 Thread Ronald Mak
It is supported by API level 5 i.e. Android 2.0. On 22nd October 2009, jerryfan2000 jerryfan1...@gmail.com wrote: Hi, I want to do some Local based number formatting. However, I cannot find function similar to setViewText inSimpleCursorTreeAdapter. So I am wondering is there any alternative

[android-developers] Re: Logcat View fails with Could not create the view: For input string: our

2009-10-13 Thread Mak
Okay, I got a solution for my problem. Hope this will help others with the same problem. Thanks to Misun Ryu: _ Someone replied the post that the solution was found. I have not tried it but guess it is worth to try it before re- installing eclipse.

[android-developers] Logcat View fails with Could not create the view: For input string: our

2009-09-30 Thread Mak
- adt logcat) but this is not as comfortable as using the logcat in eclipse. Does anyone know this problem and a solution? Thanks and best regards Mak More details of this failure message are: java.lang.NumberFormatException: For input string: our

[android-developers] Re: clear sms notifications

2009-08-11 Thread Mak
i think the sound notification can be switched off for all incoming sms. after filtering the control- sms you send a notification for the normal messages. but there will still be the problem of the notification on the status bar. Mak --~--~-~--~~~---~--~~ You

[android-developers] Re: Is It Possible to get Nottification

2009-08-04 Thread Mak
Maybe you will better post links, that are not as old as this and where the code is up to date and running. On 22 Jul., 17:04, iPaul Pro mr.paulbu...@gmail.com wrote: http://davanum.wordpress.com/2007/12/15/android-listen-for-incoming-s... The first link seems to be a better one.

[android-developers] How to receive events on MapView using Overlay

2009-07-03 Thread mak
Overlay Code: public class MyLocationOverlay extends com.google.android.maps.Overlay { @Override public boolean onKeyDown(int keyCode,KeyEvent event, MapView view){ System.out.println(==INSIDE onKeyDown ==); if(keyCode == KeyEvent.KEYCODE_BACK) {

[android-developers] Re: How to receive events on MapView using Overlay

2009-07-03 Thread mak
Team, Below code is working as I need to select first View by pressing left arrow key which maked MapView as Current view and then pressing back button. It is getting called. Thanks for your patience. Regards, _-_Mayank Rana_-_ On Jul 3, 11:04 am, mak mayank.rana...@gmail.com wrote: Overlay

[android-developers] About Receiving Keyboard events on MapView

2009-07-02 Thread mak
Hi All, I am developing application which is Google Map based one. I want to receive KeyPress Event on Mapview. I got OnKeyListener on it but it is not receiving any key events. Any suggestions .. Any examples. Appreciate your inputs. Thanks. Regards, _-_Mayank Rana_-_

[android-developers] GPS Enable/Disable from Settings - Race Condition / Deadlock

2009-05-04 Thread mak
Hi All, If I am enabling / disabling GPS from Settings Menu, I can see that it is calling respective APIs from GpsLocationProvider.java. But when I am trying with disable GPS from Settings Menu, it is getting block and after time out process is getting killed. I am digging out the code from

[android-developers] How to Disable GPS Provider from Application

2009-05-01 Thread mak
Hi All, In Android settings, Enable GPS Satellite menu is provided to enable / disable GPS. How to enable/disable GPS from Any android java application ? I understood that there is no api expose to do that. Any workaround or solution. --~--~-~--~~~---~--~~ You

[android-developers] Re: written file not found

2009-03-27 Thread Mak
What is the best way to create a file in my application, that I can use/ read outside of the application? Aren't i able to set a path for my file e.g. write it on the sdcard? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: written file not found

2009-03-26 Thread Mak
Probably, that is because they cannot browse /data due to security restrictions. What permissions do i need to see all files on the device? tools like ASTRO have -i hope so- the permissions for reading all self written files on my device. maybe my application has not enough permissions? i

[android-developers] written file not found

2009-03-25 Thread Mak
with Astro File Manager or LindaFileManager. Anyone any idea where to find the files of my applications? Why do i have only the folders /data, /sdcard and /system on the emulator but on the device there are much more? Thanks for an answer. Mak

[android-developers] BroadcastReceiver to log PhoneState during of my activity

2009-03-14 Thread Mak
for a broadcastReceiver? Where is my fault? Thanks for an answer. Mak --~--~-~--~~~---~--~~ 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

[android-developers] How to find a busy call

2009-02-17 Thread Mak
) { e.printStackTrace();; } } } }, PhoneStateListener.LISTEN_CALL_STATE); } Hope someone can help me. Thanks, Mak --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] webView in a loop

2009-02-17 Thread Mak
but in the thread it won't work. Thanks, Mak --~--~-~--~~~---~--~~ 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

[android-developers] Playing an audio file during a call

2009-02-04 Thread Mak
I want to accept incoming calls and play an audio file for the caller. Is there a possibility of playing an audio file during a phonecall, so that the caller hears a wav- file? It seems to me that nothing is possible during a phone call since release 1.0. Hope this is getting better in the next

[android-developers] Playing an audio file during a call

2009-01-30 Thread Mak
I want to accept incoming calls and play an audio file for the caller. Is there a possibility of playing an audio file during a phonecall, so that the caller hears a wav- file? It seems to me that nothing is possible during a phone call since release 1.0. Hope this is getting better in the next

[android-developers] About Google Map Installation Package

2009-01-28 Thread mak
Hi All, I have couple of doubts regarding Google Map Usage as below: 1. I am able to run Google Map Application on Emulator with proper API key. Google Map is not open source and not available on Target Board, so I am not able to execute this application. Does same API Key hold good for Target

[android-developers] About using findViewById

2009-01-20 Thread mak
Hi All, I am trying to create small simple application on emulator. I want to create button and display with some click event. I am not able to use findViewById method with R.id.abc. It always gives error as R.id cannot be resolved. Any working example ?? Regards, _-_Mayank Rana_-_

[android-developers] About using MAP Api

2009-01-20 Thread mak
Hi All, I am developing Google Map Application on Emulator ( I found that Google Map is not open source , but emulator has map application on it.) Can anyone explain about below things? 1, What is Google Map API Key ? I got couple of it, but it didn't help. 2, How to use MapView APIs to

[android-developers] Re: Button On Map

2009-01-20 Thread mak
As I learned from your below details that you are able to create Google Map Application. I am trying to do that but not able to use Mapview in application. Can you please give some details about how to bring up the simplest Google Map Application ? Regards, _-_Mayank Rana_-_ On Jan 21, 6:06 

[android-developers] Re: Intercept Outgoing Calls

2009-01-12 Thread Mak
Hi. I've a similar problem. I want to end a call automated after 1 minute, but don't get the task stopped. So my idea was to simulate the end_call button pressed. but if you say, that this wont work, i don't know a solution. On Jan 12, 11:45 am, Kamal Hasan kamal.hasa...@gmail.com wrote: Hi,