[android-developers] how to use SERVICE_TYPE_VENDOR_SPECIFIC

2012-09-20 Thread HK
Hi* *How do we register a vendor specific wifi direct service in 4.1 ? More specifically how do we use WifiP2pServiceInfo? And how or where do we use SERVICE_TYPE_VENDOR_SPECIFIC

[android-developers] Re: WiFi Direct sample code issue

2012-09-06 Thread HK
Is onPause/onStop ending the connection ? On Thursday, September 6, 2012 8:12:07 PM UTC+9, Arijit Das wrote: > > I am testing the sample code for wifi direct that comes with SDK. I am > using two Galaxy Note devices (both with 4.0.4 ICS). The app runs fine till > discovering and connecting peers

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-06 Thread HK
27;t match your needs precisely, tough >> luck, you don't get to harness the app developers out there >> to create something beyond what Google provides. >> >> Unless your company has some bizarre change request process, >> you'll be much happier having activity

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-06 Thread HK
on't get to harness the app developers out there > to create something beyond what Google provides. > > Unless your company has some bizarre change request process, > you'll be much happier having activity A do some IPC you can > count on. > > On Tuesday, September

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-06 Thread HK
Thanks. On Wednesday, September 5, 2012 9:29:47 PM UTC+9, Mark Murphy (a Commons Guy) wrote: > > On Tue, Sep 4, 2012 at 10:24 PM, HK > > wrote: > > Yes, Activity A belongs to a different team. I can ask for change > request if > > possible. > > If Activity A

[android-developers] Re: display TYPE_SYSTEM_DIALOG

2012-09-05 Thread HK
Because, this is in the other post, I wanted to display without interrupting current activity i.e., without its onPause getting hit. On Wednesday, September 5, 2012 3:21:53 PM UTC+9, Pent wrote: > > > Does anybody know this ? thanks. > > The police will be here soon with 'it has SYSTEM in the na

[android-developers] Re: display TYPE_SYSTEM_DIALOG

2012-09-04 Thread HK
Does anybody know this ? thanks. On Tuesday, September 4, 2012 10:51:19 AM UTC+9, HK wrote: > > > HI, > > (I had posted this question in platform, but didn't get any response, so > posting here) > > I want to display TYPE_SYSTEM_DIALOG from a service: > sna

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-04 Thread HK
ice rather than an Activity. But nobody replied to this post. On Wednesday, September 5, 2012 11:18:04 AM UTC+9, Mark Murphy (a Commons Guy) wrote: > > On Tue, Sep 4, 2012 at 10:12 PM, HK > > wrote: > > So, in Activity A's onPause, is it possible to find which activ

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-04 Thread HK
te: > > On Tue, Sep 4, 2012 at 9:29 PM, HK > > wrote: > > The behavior I am looking for which I think not supported by Android: > > Activity A is running which I do not have much control, it doesn't > belong to > > me. > > I start Activity B whose only

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-04 Thread HK
und. If this is not what you are trying to do, then please > clarify... > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > On Tue, Sep 4, 2012 at 10:14 AM, TreKing > > wrote: > >> On Tue, Sep 4, 201

[android-developers] Re: how to-Start new activity with also current activity running

2012-09-04 Thread HK
ialog. Is this possible ? thanks. On Tuesday, September 4, 2012 2:26:20 PM UTC+9, HK wrote: > > Hi, > > I have activity A running. I want to start my new activity B so that > activity A is also running. Is this possible ? > > Normally, when activity B is started, act

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-04 Thread HK
I have mentioned this above. Please see above threads. This is the whole point of discussion in this post: how to avoid onPause getting called on activity A! On Tuesday, September 4, 2012 7:00:55 PM UTC+9, skink wrote: > > > > HK wrote: > > onPause of Activity A will be call

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-04 Thread HK
onPause of Activity A will be called. On Tuesday, September 4, 2012 6:34:27 PM UTC+9, skink wrote: > > > > HK wrote: > > Yes, it set in Androidmanifiest.xml: > > android:theme="@android:style/Theme.DeviceDefault.Dialog". > > > > But this

[android-developers] Re: how to-Start new activity with also current activity running

2012-09-04 Thread HK
nt to do with these two activities, do that with some > other mechanism. > > Thanks, > Arun > > On Tuesday, September 4, 2012 10:56:20 AM UTC+5:30, HK wrote: >> >> Hi, >> >> I have activity A running. I want to start my new activity B so that >> activity A

Re: [android-developers] Re: how to-Start new activity with also current activity running

2012-09-04 Thread HK
What do you mean by thread concept ? On Tuesday, September 4, 2012 4:29:39 PM UTC+9, parthi wrote: > > hi dude i dont know exactly y u ill try thread concept . > > On Tue, Sep 4, 2012 at 12:47 PM, HK >wrote: > >> Hi Seshu, >> >> This is not about ov

[android-developers] Re: how to-Start new activity with also current activity running

2012-09-04 Thread HK
No. On Tuesday, September 4, 2012 5:26:32 PM UTC+9, falcon74 wrote: > > Can't you use 'Notifications' ? > > On Tuesday, September 4, 2012 10:56:20 AM UTC+5:30, HK wrote: >> >> Hi, >> >> I have activity A running. I want to start my new activit

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-04 Thread HK
Yes, it set in Androidmanifiest.xml: android:theme="@android:style/Theme.DeviceDefault.Dialog". But this doesn't work. On Tuesday, September 4, 2012 4:29:42 PM UTC+9, skink wrote: > > > > HK wrote: > > I have tried all these. But all these will call o

[android-developers] Re: how to-Start new activity with also current activity running

2012-09-04 Thread HK
Hi Seshu, This is not about overlap. When I start activity B, then onPause of A shouldn't be called. As simple as that. On Tuesday, September 4, 2012 4:13:50 PM UTC+9, Seshu wrote: > > Hi HK, > U cannot overlap another activity in main activity. still if u > want means t

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-04 Thread HK
I have tried all these. But all these will call onPause of activity A. thanks. On Tuesday, September 4, 2012 4:13:56 PM UTC+9, skink wrote: > > > > HK wrote: > > Because, I don't want onPause to be called of the current running > activity. > > This will show ba

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-03 Thread HK
e it might be possible. If you make Activity B have a > trasparent (or semi-transparent) background then onPause() might not get > called. I have not verified that is the case, but you could try it and see. > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.g

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-03 Thread HK
On Tuesday, September 4, 2012 3:16:57 PM UTC+9, TreKing wrote: > > On Tue, Sep 4, 2012 at 1:26 AM, HK >wrote: > >> Normally, when activity B is started, activity A is put on hold and >> onPause is called. I don't

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-03 Thread HK
detail ? thanks. On Tuesday, September 4, 2012 2:33:33 PM UTC+9, jugni wrote: > > Hello HK, > > If you know the android life cycle then you may know that when we go to > next activity then first activity should be on pause.So if you want the > alert dialog then you can also show i

Re: [android-developers] how to-Start new activity with also current activity running

2012-09-03 Thread HK
ote: > > >- if you want to run activity B then do intent on A.. >- or try to read and do about intent and apply it... > > > On 4 September 2012 10:56, HK > wrote: > >> Hi, >> >> I have activity A running. I want to start my new activity B so t

[android-developers] how to-Start new activity with also current activity running

2012-09-03 Thread HK
Hi, I have activity A running. I want to start my new activity B so that activity A is also running. Is this possible ? Normally, when activity B is started, activity A is put on hold and onPause is called. I don't want this to happen. But instead I want activity A running normally and on top

[android-developers] display TYPE_SYSTEM_DIALOG

2012-09-03 Thread HK
HI, (I had posted this question in platform, but didn't get any response, so posting here) I want to display TYPE_SYSTEM_DIALOG from a service: snapshot of code: popup.getWindow().setType( WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG); popup.show(); Basically I am finding a way to display dia

[android-developers] Re: How to get the current top most activity?

2012-07-16 Thread HK
Hi, Is there a way to find current activity(activity which is on focus to the user) ? One way is: public List < ActivityManager.RunningTaskInfo> g

Re: [android-developers] Create an object class but error

2012-05-24 Thread HK Tsang
Daniel, Thank you for your kindly recommandation. Anyway, I've find what's the problem there and solved. Thank you very much. HK On Thu, May 24, 2012 at 5:29 PM, Daniel Drozdzewski < daniel.drozdzew...@gmail.com> wrote: > HK, > > I am sorry you feel this way - and

Re: [android-developers] Create an object class but error

2012-05-23 Thread HK Tsang
t; > D. > > > On Thursday, 24 May 2012, HK Tsang wrote: > > I've passed the code when I add player = new MyPlayer() in onCreate. but > next step, I change it to array: > > > > MyPlayer[] players; > > > > . > > . > > . > > . > >

Re: [android-developers] Create an object class but error

2012-05-23 Thread HK Tsang
email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > > http://groups.google.com/group/android-developers?hl=en > > > > -- > Daniel Drozdzewski > > -- > You received this message because you are subscribed

Re: [android-developers] Eclipse, ADT and opening XML files

2011-10-24 Thread hk what
OS u runnin What On 10/19/11, Kostya Vasilyev wrote: > With the two recent releases of ADT (it seems), my XML files by default > don't open with the appropriate Android editor. The editor they open > with is not the plain text editor, but rather some kind structured > editor with XML tag highlight

Re: [android-developers] Android Emulator internet connectivity Problem

2011-10-24 Thread hk what
It should work be automtic On 10/21/11, manish sandhan wrote: > I m new in android... > I m not able to connect my android emulator to internet neither from my app > nor from the android browser. > I have tried adding " android:name="android.permission.INTERNET" />" in xml..but still in did not

Re: [android-developers] Re: GPS Location

2011-10-24 Thread hk what
what is your app? On 10/22/11, John Coryat wrote: > GPS doesn't require an internet connection but it does require receiving a > very weak signal from a number of GPS satellites. That usually means a view > of the sky. > > -John Coryat > > -- > You received this message because you are subscribed

[android-developers] Re: DatabaseContentProvider got RuntimeException while getContentResolver() try to insert Email to contacts in SDK M5

2008-04-08 Thread David HK
没有人回答这个问题吗? On 3月24日, 下午8时12分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I got following codes to debug and RuntimeException is reported. > ThusEmailfailed to insert to contacts in SDK M5. I don't know if it is a > bug in this version. Would you like to give me you commets? Thanks in > ad

[android-developers] Call unblockContact(contact)

2008-03-26 Thread David HK
I have tested android-sdk_m5-rc15_windows\samples\ApiDemos\src\com \google\android\samples\app\GTalkDataMessageSender.java I have two gmail accounts: [EMAIL PROTECTED](on emulator A) ,[EMAIL PROTECTED](on emulator B) At first,I sent message from A to B,it doesn't work. Then I went to the web gm