[android-developers] Re: How to start a launcher directly (without FallbackHome) in AndroidN

2017-01-25 Thread kai zhao
or encryption but FallbackHome still > starts. > Did you solve that issue for you? > Thanks > > понедельник, 22 августа 2016 г., 7:22:12 UTC-4 пользователь kai zhao > написал: >> >> I try to run AndroidN on my device. The device *doesn't need any lock or >> encr

[android-developers] How to start a launcher directly (without FallbackHome) in AndroidN

2016-08-22 Thread kai zhao
I try to run AndroidN on my device. The device *doesn't need any lock or encryption.* Issue: I find that ActivityManagerService starts Settings.FallbackHome before real Launcher. This process takes more than 1000ms, so I wanna remove FallbackHome process for quick-startup. Modify: original:

[android-developers] FragmentGridPagerAdapter (wearable) together with support fragment

2016-07-11 Thread Kai Schlamp
)? I also thought about wrapping a android.support.v4.app.Fragment inside android.app.Fragment (using a XML layout) and that with FragmentGridPagerAdapter, but this throws a runtime error. Best regards, Kai -- You received this message because you are subscribed to the Google Groups "An

Re: [android-developers] Re: Why my service in Broadcast Receiver gone in seconds.

2016-03-25 Thread Kai Zhang
for your reply. Thanks, zhangkai 2016-03-22 6:31 GMT+08:00 'Indicator Veritatis' via Android Developers < android-developers@googlegroups.com>: > Hi, Kai- > > We cannot tell from what you posted what is going on. Please take a look > at how and when you create the Application, the

Re: [android-developers] Re: When I get gps location in background.I got ANR

2016-03-21 Thread Kai Zhang
.com/guide/components/services.html > Regards > > > > On Sunday, March 20, 2016 at 11:22:07 PM UTC+11, Kai Zhang wrote: >> >> Hello, >> I start a service from broadcast receiver.Then use thread.sleep in >> service's onStartCommand function.Then the ANR shows.

Re: [android-developers] Re: When I get gps location in background.I got ANR

2016-03-20 Thread Kai Zhang
https://github.com/GisKook/testservice 2016-03-20 20:17 GMT+08:00 Kai Zhang <zhangkai@gmail.com>: > Hello, > I start a service from broadcast receiver.Then use thread.sleep in > service's onStartCommand function.Then the ANR shows.the code is here( > https://

Re: [android-developers] Re: When I get gps location in background.I got ANR

2016-03-20 Thread Kai Zhang
ssi...@gmail.com>: > Hi, > > ANR usually means you are doing too much work on a UI thread, long running > tasks should be run on other non UI threads. > > Regards > > On Saturday, March 19, 2016 at 5:43:30 PM UTC+11, Kai Zhang wrote: >> >> Hello, >> I start a servi

[android-developers] Why my service in Broadcast Receiver gone in seconds.

2016-03-19 Thread Kai Zhang
Hello all, My app runs in background. I use alarmmanager to trig a alarm every minutes.When my Broadcast receiver receive the alarm I start a service.But I found that the service only last for about 4~5 seconds.I think every time the alarmmanager trig a alarm and a new Broadcast receiver

[android-developers] When I get gps location in background.I got ANR

2016-03-19 Thread Kai Zhang
Hello, I start a service(main service) from broadcast receiver(No 1).I know that If I do things more than 10s android will pop a ANR window.In case of this happen.I only request gps location for 6s.But only 6s I can not get gps location.So I register 3 broadcast receiver.The others(broadcast

[android-developers] HTML Pagination

2012-05-09 Thread kai
Hi guys, hope you are all doing fine. I need to convert a pdf document into android standalone application. I had the options of just using texts views and just copy paste the text of that document in text views. But then I came to know that applications can be made using only HTML and CSS and

[android-developers] HTML Pagination

2012-05-09 Thread kai
Hi guys, hope you are all doing fine. I need to convert a pdf document into android standalone application. I had the options of just using texts views and just copy paste the text of that document in text views. But then I came to know that applications can be made using only HTML and CSS and

Re: [android-developers] Using an adapter from another class/activity

2012-01-11 Thread Kai Cui
hi, Have you try to create a singleton model for ArrayAdapter? All your ArrayAdapters in different activities can share the same model. Kai, On Jan 11, 2012, at 4:19 PM, galapogos wrote: Hi, How can I use an ArrayAdapter from another activity? I tried doing the following

[android-developers] video codec on device

2011-07-25 Thread kai
Hi all, Is there a way to query what media format is supported on a particular device running android (1.6+)? For example, I would like to know determine whether a device is capable of playing H.263 and/or H.264 media. Then serve the best quality video to the user. Thanks, Allen -- You

[android-developers] Re: let users select a audio file on tmobile mytouch 4g - activity not found exception

2011-02-16 Thread Kai
why are the activities only not found on mytouch 4g? what can I do to make it work on mytouch 4g? On Feb 16, 10:56 am, TreKing treking...@gmail.com wrote: On Tue, Feb 15, 2011 at 8:50 AM, Kai snowst...@gmail.com wrote: what's going on here? An activity is not found to handle the intent

[android-developers] let users select a audio file on tmobile mytouch 4g - activity not found exception

2011-02-15 Thread Kai
); parent.startActivityForResult(intent, req_song_pic); } what's going on here? Kai -- 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

[android-developers] Re: Barcode Reader and Soft Input

2011-01-05 Thread Kai Sam
Update: 2.3 does not work as well. -- 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] Barcode Reader and Soft Input

2010-12-28 Thread Kai Sam
are very welcome. Thanks in advance. Cheers, Kai -- 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

[android-developers] in-app purchase with single-click checkout service?

2010-11-10 Thread Kai
(such as buying music, ringtone, app upgrades, virtual goods). any thought? Kai -- 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

[android-developers] SimpleCursorAdapter and database update

2010-08-18 Thread Kai
would be the best practice to update the database in a CurserAdapter and get the changes reflected immediately in the view? Thanks Kai -- 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

[android-developers] Re: how to detect if a phone is running HTC sense UI

2010-08-03 Thread Kai
I need a way to programatically determine if a HTC device runs sense UI. maybe use reflection to determine if some Sense UI packages exist? but what are the names of these packages? On Aug 1, 9:21 pm, YuviDroid yuvidr...@gmail.com wrote: On the HTC Desire the standard android home is not

[android-developers] how to detect if a phone is running HTC sense UI

2010-07-31 Thread Kai
Hi, I need to detect if a phone is running HTC sense UI. is there a way to do it? I can't just blindly assume every HTC device runs sense UI(eg: nexus one doesn't run it). Kai -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] paypal mobile payment allowed?

2010-07-05 Thread Kai
Paypal recently released a mobile payment library for android. see news at http://www.intomobile.com/2010/05/22/paypals-mobile-payments-library-now-available-for-android-too/ https://www.x.com/community/ppx/xspaces/mobile/mep I recalled that the android market TOS doesn't allow non-google

[android-developers] Re: Problematic HTTPS Posts, help needed

2010-01-29 Thread Kai
Thank you very much for those suggestions, I will definitely take a look at them. Have your worked at all with httpS though? and if so, are there any differences in the implementation. As mentioned in the original post, I have no problem getting HTTP to work, it is only when I switch to HTTPS

[android-developers] Problematic HTTPS Posts, help needed

2010-01-27 Thread Kai
Hi all, I'm in the middle of developing my first android application and have finally hit a significant roadblock that I can't seem to figure a way around. The application involves HTTPS posting from an activity within the app to my test server. While I've worked around accepting the self-signed

[android-developers] extra space/padding around imageview?

2010-01-25 Thread Kai
Hi, I am trying to get the image to consume just enough space and get last_line to be just below the image. but it seems that the image always have some extra space/padding on top and below. Why? ?xml version=1.0 encoding=utf-8? LinearLayout

[android-developers] rename a app's name after it's installed

2009-12-14 Thread Kai
Hi, is it possible to let users rename the app's name as it appears in the app menu? Some users want to make my app appear on a different name of their choice. Thanks, Kai -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] need help in getting screenshots on HTC Hero/Droid Eris, Samsung Moment and Moto CLIQ

2009-12-03 Thread Kai
to his/her Hero/Eris, Samsung Moment or Moto CLIQ and take screenshots of the real incoming-call screen, call-in-progress screen? In return, I will give you fake-call me pro for free(refund you the fee you pay via android market). Thanks, Kai -- You received this message because you are subscribed

[android-developers] Call Webservice From Android

2009-12-02 Thread kai bian
Hi, I need to call a webservice from Android,the webservcie was created by Axis.I make a simple client to invoke the webservice on computer,get right response.But when I move the project to Android.there is one error:java.rmi; I dont's know where use this library. How can I do ? Please help me ,

Re: [android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 19 Topics

2009-12-02 Thread Kai
android-developers@googlegroups.com wrote: = Today's Topic Summary = Group: android-developers@googlegroups.com Url:

[android-developers] why isn't there a easy way to let users take screenshots

2009-11-20 Thread Kai
Users report problems. I need them to take some screenshots and email to me. But most users don't know or have the needs to install the dev. env to just take screenshots. It's just too hard for them. Why can't Android make it as easy as on iPhone(pushing two buttons together)? -- You

[android-developers] Re: building for 1.5 using 2.0...

2009-11-17 Thread Kai
I have the same question. 1.5 compiler is having problem with the new layout directories that I need for 1.6 and 2.0 how can I support 1.5, 1.6 and 2.0 at the same time? On Nov 3, 9:50 pm, sdphil phil.pellouch...@gmail.com wrote: i need my app to support1.5and above. i noticed that if I

[android-developers] Re: building for 1.5 using 2.0...

2009-11-17 Thread Kai
it goes to execute, it won't need it anyway).  somewhat annoying, and it sure would have been nice if the android folks had just provided a big reflection abstraction layer for all new SDK features... On Nov 17, 1:23 pm, Kai snowst...@gmail.com wrote:  I have the same question.  1.5 compiler

[android-developers] Android Market and Application Add-ons

2009-11-13 Thread Kai
How do you guys usually deploy add-ons (like sound packs) to your apps? Does android allow a resource-only install to an existing application directory? Do you make the sound add-ons another application that's basically just a provider? Thanks in advance! -- You received this message because

[android-developers] Missed Calls - Notification

2009-09-08 Thread kai
Hi I'm trying to received missed call notifications to my application, however I cant find one which is a specific listener for a missed call, I could poll/use the TelephonyManager.GetCall() method for a CALL_STATE_RINGING which then turns to CALL_STATE_IDLE without a CALL_STATE_OFFHOOK in

[android-developers] Re: How to block incoming call?

2009-09-07 Thread Kai
I tried Panda firewall. The call blocking works. My G1 doesn't even ring. The call goes straight to voicemail. so there must be a way to do it. On Sep 6, 10:18 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: I am not aware that you can intercept an incoming call only from

[android-developers] easy way to synchronize data between phone and server

2009-09-07 Thread Kai
online. One example is that you have address book data on a server and a android client. what's the best way to keep the data synchronized and detect conflicts? Thanks Kai --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: China to have there own Android Market?

2009-08-29 Thread Kai
Kai On Aug 25, 2:23 pm, CraigsRace craig...@gmail.com wrote: Thanks for the info.  Going to stay well clear of them.  Cheers. On Aug 26, 1:04 am, Hong lordh...@gmail.com wrote: They also operate jailbreak iPhone apps and pirated iPhone apps, if you so care

[android-developers] Andriod Market in China: Ouch! China Mobile’s (Messy) Mobile Market(App Store Clone) Stum bling Out of Gate

2009-08-28 Thread Kai
-of-gate/ In theory, you can easily port your apps to OPhone. But right now, it's just too easy to get your apps pirated there, and there are not enough OPhones out there. so be really careful of dealing anyone promosing to help you sell your apps in China. Kai

[android-developers] Re: Send combination key events

2009-05-12 Thread Kai Hu
the key-down and key-up events yourself, e.g. search-down, e-down, e-up, search-up. This should be interpreted by the application in the same way as pressing search+e on the keyboard. On Mon, May 11, 2009 at 2:32 PM, Kai Hu leon.k...@gmail.com wrote: Hi there, I am sending key events using

[android-developers] KeyEvent.KEYCODE_ENDCALL doesn't work

2009-05-11 Thread Kai Hu
Hi there, I am doing an experimental project and I found I couldn't make KeyEvent.KEYCODE_ENDCALL work for me. I could inject KeyEvent.KEYCODE_CALL, KeyEvent.KEYCODE_DPAD_CENTER and so on, but not for KeyEvent.KEYCODE_ENDCALL. Anybody could help me on that? Thanks for your time. Thanks, Kai

[android-developers] Anyway to bypass permission checking

2009-05-07 Thread Kai Hu
into the WindowManagerService class and made some modifications but it seems not working for me. Anybody could help me? Thanks for your time. - Kai --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Anyway to bypass permission checking

2009-05-07 Thread Kai Hu
Thanks for your comment, Mark. On May 7, 10:20 am, Mark Murphy mmur...@commonsware.com wrote: I am doing an experimental project and want to send key events from one application to another. I know android doesn't allow applications to interfere each other in this way due to security

[android-developers] How to create a native c process from android java program

2009-02-19 Thread Chun-Kai Hwang
Hi, I write a jni so file which can be called from the android java program. This so file will use execl to create a native c process. However from adb logcat, it says execl error with Bad address(errno 14) Is it possible to create a native c process from android java program Thanks for any help