[android-developers] Problem of Installation ADP Plugininto Eclipse

2010-03-15 Thread Hao
(com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) Missing requirement: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found best hao -- You rec

[android-developers] android.provider.Settings.System.AUTO_TIME

2009-10-15 Thread Hao
I am trying to use android.provider.Settings.System.getInt and putInt to enable and disable network time as follows: android.provider.Settings.System.putInt(getContentResolver(), android.provider.Settings.System.AUTO_TIME, 1); However this does not seem to be working, does anyone have some advic

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread Hao
Me t!! Thanks a lot! On Oct 16, 5:41 am, Kenneth Adam Miller wrote: > Who wants to be in Google wave? > I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] Re: android.provider.Settings.System.AUTO_TIME

2009-10-20 Thread Hao
I fix it with in manifest file. On Oct 15, 9:15 pm, Hao wrote: > I am trying to use android.provider.Settings.System.getInt and putInt > to enable and disable network time as follows: > > android.provider.Settings.System.putInt(getCon

[android-developers] can i use google data apis with Android SDK?

2009-07-20 Thread hao
I plan to use google data api to store (insert) some data on the browser side, and then get these data on Android phone. can i use google data api to get these data on Android? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

[android-developers] How to add exchange activesync account programmatically?

2011-07-11 Thread Hao
I can do is on Nexus S manually through settings->Account&sync->add account->Corporate. Can I use AccountManager to make it automatically? Thanks for any hint. cheers -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] how to stay in webview without opening new browser window

2008-10-27 Thread hao
if i make the webview load a web page, and in that web page i press on a form submit button, then another browser window is open. How can i make everything stay in my app instead of opening a new browser window? --~--~-~--~~~---~--~~ You received this message becau

[android-developers] Uploads disabled in browser

2008-10-27 Thread hao
hey guys, is there anyway to upload an image from android/simulator through a web page? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develope

[android-developers] Re: how to stay in webview without opening new browser window

2008-11-03 Thread hao
anyone? On Oct 26, 8:55 pm, hao <[EMAIL PROTECTED]> wrote: > if i make the webview load a web page, and in that web page i press on > a form submit button, then another browser window is open. How can i > make everything stay in my app instead of opening a new

[android-developers] Device keyboard backlight

2009-08-03 Thread Shang Hao
Hi, I want to create a menu which would help to alter the timeout of the back-light of the device keyboard.. So, if i know where exactly we are setting the device-keyboard value most of my problem can be solved PLease let me know if any clues u have. Thanks. --~--~-~--~~-

[android-developers] GoogleLognServiceHelper

2009-08-10 Thread Shang Hao
Hi, To login to a google account I use, GoogleLoginServiceHelper.getCredentials( this, GET_ACCOUNT_REQUEST, bundle, GoogleLoginServiceConstants.PREFER_HOSTED, Gmail.GMAIL_AUTH_SERVICE,

[android-developers] Re: Why calendar APP don't run in Android 1.5?

2009-08-13 Thread Shang Hao
Connect ur emulator to internet and make sure u are able to browse the internet.. once this is done, u can use the caendar application. On Aug 13, 5:32 pm, luggie wrote: > Thank you,Jack Ha. > And how to start Google Service ? > > On 8月13日, 下午2时03分, Jack Ha wrote: > > > Assuming you are ref

[android-developers] disable HOME key and right soft key

2009-08-22 Thread Shang Hao
Hi, dis I m making a test application and want to able all keys excluding the back button.. Using below code i am not able to disable HOME key and right soft key. Please suggest what to do. @Override public boolean onKeyDown(int keyCode, KeyEvent event) { i

[android-developers] Re: disable HOME key and right soft key

2009-08-23 Thread Shang Hao
Hi Mark, Thanks for your reply.. I actually meant the home key and the End call button on the device. For home key i have found a solution at PhoneWindowManager.java @framework Any idea about the End call button?? Thanks. On Aug 22, 4:03 am, Mark Murphy wrote: > Shang Hao wrote: >

[android-developers] Re: disable HOME key and right soft key

2009-08-23 Thread Shang Hao
. On Aug 23, 7:42 pm, Romain Guy wrote: > You cannot disabled these keys from an application. > > > > On Sun, Aug 23, 2009 at 6:53 PM, Shang Hao wrote: > > > Hi Mark, > > > Thanks for your reply.. I actually meant the home key and the End call > > button on

[android-developers] value @ "/sys/class/lightsensor/switch_cmd/lightsensor_file_cmd" is getting lost

2009-06-26 Thread Shang Hao
Hi, I am storing a byte stream @ "/sys/class/lightsensor/switch_cmd/lightsensor_file_cmd" but on reboot, the value over here is getting lost. How do i recover Xie xie. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread Shang Hao
Firstly, openIntents sensor simulator is a very good tool for compass applications. I have used it without any breakage.. Further,, the compass bug in 1.5 r1 is FIXED in SDK 1.5 r2. Go ahead, there's no breakage now. Cheers. Peli wrote: > Unless of course one has a sensor simulator

[android-developers] Re: value @ "/sys/class/lightsensor/switch_cmd/lightsensor_file_cmd" is getting lost

2009-06-26 Thread Shang Hao
ould be ON even if I reboot. BUt since data in the file is getting deleted, auto brightness feature is failing.. How can i overcome this Xie xie. Diego Torres Milano wrote: > /sys is a virtual filesystem, it doesn't persist reboots. > > On Jun 26, 12:18 pm, Shang Hao wro

[android-developers] Re: value @ "/sys/class/lightsensor/switch_cmd/lightsensor_file_cmd" is getting lost

2009-06-30 Thread Shang Hao
){ e.printStackTrace(); Log.d(TAG,"Problem in Writing in the Virtual file"); } * Dianne Hackborn wrote: > Hi, this is way outside of the SDK; applications should not be touching such > things. Please move to a

[android-developers] translatable

2009-07-09 Thread Shang Hao
Hi, What do we mean when we declare something as "translatable" in xml files?? eg. "0" "1" "2" "3" Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Refreshing an activity

2009-07-22 Thread Shang Hao
What is the way to fresh an activity without calling finish- >startActivity all over again?? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Re: Refreshing an activity

2009-07-23 Thread Shang Hao
resume() does not seem to exist?? On Jul 22, 1:42 am, XC He wrote: > resume()?? > > 2009/7/22 Shang Hao > > > > > What is the way to fresh an activity without calling finish- > > >startActivity all over again?? > > > Thanks. > > --~--~---

[android-developers] Automatic Scrolling view

2009-07-23 Thread Shang Hao
Hi, I am trying to make a view which has 50 lines of text. Instead of manual scroll, I want to make scrolling automated... How can i do this?? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] Re: Transforming password text field

2009-07-29 Thread Shang Hao
Hi, It is observed that while entering text in password mode, first the text is displayed and then after 1-2 seconds the asterisk (star) is displayed Is there no way to directly display the asterisk?? Thanks. On Jul 29, 1:26 pm, Jack Ha wrote: > Have you tried removing the setInputType() c

[android-developers] password mode

2009-07-29 Thread Shang Hao
Hi, It is observed that while entering text in password mode, first the text is displayed and then after 1 second the asterisk (star) is displayed Is there no way to directly display the asterisk?? code: mInputPwd.setTransformationMethod (android.text.method.PasswordTransformationMethod.getI

[android-developers] android-sdk dose not running on win8

2012-08-29 Thread Wei Hao
I installed win8 yesterday, and of course I setup android sdk immediately. But it cannot run. After double-click it SDK.exe or AVD.exe, it activates a cmd window and disappear right away. That is all. it was not running.T_T . who knows how to solve this issue? -- You received this message beca

[android-developers] how can i play music in call

2012-06-28 Thread zhiguo hao
how can i play music in call? SOS -- 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...@go

[android-developers] How to build android.jar without throw new RuntimeException(“Stub!”);

2017-02-08 Thread Hao Yang
As we know, the default android.jar only contains stub implementations of the SDK classes( throw new RuntimeException("Stub!") ), not the real implementations that are found on the devices (or emulator). However, for some reason, I want to build android.jar, which contains the real implementa

[android-developers]How to get the data from LBS?

2010-12-21 Thread kevens hao
Use LBS, how to get the data? For example, hotel, restaurant, groggery info and so on. -- 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,

Re: [android-developers]How to get the data from LBS?

2010-12-21 Thread kevens hao
> > Like Foursquare, I want to develop an application which can get the > location and get the useful info(hotel, restaurant, groggery info and so on) > around the location. So how to get the useful info? -- You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] [Android] If modify framework layer code, how to debug it validly?

2010-11-25 Thread kevens hao
Now i modify framework code in source code, so every time i must rebuild the whole source code and view the result. Any debug skill to improve the effect? Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] How to remove Android sms notification?

2010-12-03 Thread kevens hao
I want to remove notification when SMS comes in general inbox. Is it possible... If yes then how... I got many site where is metion this is not possible through code... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] VM aborting on MediaScannerService scan

2010-09-27 Thread kevens hao
When I query the media store database, sometimes occur VM aborting on MediaScannerService. Please refer the attched log info. Version: android 2.2 [Log] 12-31 15:30:15.239: INFO/ActivityManager(1280): Start proc android.process.media for service com.android.providers.media/.MediaScannerService: p

[android-developers] Cannot share audio file by MMS, and how to solve this case?

2010-09-30 Thread kevens hao
I use the following code to share audio file by MMS, but always show "Sorry, you cannot add this audio to your message". By blutooth, can share the audio successfully. [Code] String uriString = "file://"+fileString; Uri uri = Uri.parse(uriString); Intent it = new Intent(Intent.ACTION_SEND); it.pu

[android-developers] [Android] java.lang.RuntimeException: Unable to start activity ComponentInfo

2010-10-13 Thread kevens hao
When invoke super.onRestoreInstanceState, occur exception. [Code] @Override protected void onRestoreInstanceState(Bundle savedInstanceState) { Log.d(LOGTAG, "+ onRestoreInstanceState()"); mFrequency = savedInstanceState.getInt(Constants.CURRENT_FRE);

Re: [android-developers] [Android] java.lang.RuntimeException: Unable to start activity ComponentInfo

2010-10-13 Thread kevens hao
Hi TreKing, I do not understand your means. Can you explain it clearly? [Note] This exception occurs when run monkey test. If test it manually, cannot reproduce it. 2010/10/13 TreKing > On Wed, Oct 13, 2010 at 2:41 AM, kevens hao wrote: > >> When invoke super.onRestoreInstance

[android-developers] [android] How to wrap multi APK into one Installation package?

2010-10-13 Thread kevens hao
Now have some APKs, and want wrap these APKs into one installation package. How to do it? -- 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 grou

Re: [android-developers] [Android] java.lang.RuntimeException: Unable to start activity ComponentInfo

2010-10-13 Thread kevens hao
I cannot use debugger when run monkey test. (monkey test likes windows mobile's hopper test.) >From the log, the crashing code is super.onRestoreInstanceState(). 2010/10/14 TreKing > On Wed, Oct 13, 2010 at 8:55 PM, kevens hao wrote: > >> I do not understand your means

Re: [android-developers] [android] How to wrap multi APK into one Installation package?

2010-10-14 Thread kevens hao
Hi Marcin, I add the APKs into "assets" folder. But how to get the APK from the resource and install it? Thanks. 2010/10/14 Marcin Orlowski > On 14 October 2010 04:36, kevens hao wrote: > > Now have some APKs, and want wrap these APKs into one installation > >

Re: [android-developers] [android] How to wrap multi APK into one Installation package?

2010-10-17 Thread kevens hao
I have found the solution. (AssertsManager, InputStream, OutputStream) Thanks. 2010/10/15 kevens hao > Hi Marcin, > I add the APKs into "assets" folder. But how to get the APK from the > resource and install it? > Thanks. > > > 2010/10/14 Marcin Orlowski > &g

[android-developers] android ADT Error

2010-05-24 Thread hao zuo
https://- change force http://--- but not find address . -- 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

[android-developers] Any better way to implement the backwards notification from installd to Installer

2010-05-24 Thread Hao Feng
I plan to make some tasks like DEX file optimization be processed by installd on the background asynchronously, thus installd needs to notify the Installer of the result at some uncertain point when the request has been processed. Currently, a socket connection will be established each time when In

[android-developers] Any better way to implement the backwards notification from installd to Installer

2010-05-24 Thread Hao Feng
Hi all, I plan to make some tasks like DEX file optimization be processed by installd on the background asynchronously, thus installd needs to notify the Installer of the result at some uncertain point when the request has been processed. Currently, a socket connection will be established each t

Re: [android-developers] Re: Eclipse shows error, but no error found

2010-05-24 Thread hao wei
I have the problem too. And I tried to delete the marker then run it. The msg of console is Could not find .apk file. 2010/5/22 Ken H > Ok, I opened a Window > Show views > Problems, and it said something > about an "Unparsed aapt error(s)!..." whatever the devil that is. > > So I deleted it...a

[android-developers] Any better way to implement the backwards notification from native component to framework

2010-05-24 Thread Hao Feng
Hi, I plan to make some tasks like DEX file optimization be processed by installd on the background asynchronously, thus installd needs to notify the Installer of the result at some uncertain point when the request has been processed. Currently, a socket connection will be established each time wh

[android-developers] How to save a bitmap without compress??

2011-03-07 Thread Chi-Hao
Hello everyone. My program have some problem. I use Bitmap bm = BitmapFactory.decodeFile(...); to read image file. Then I hidden some information in this image. Now, it's a bitmap type. I want to save this coded image. But, when I use bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); Afte

[android-developers] CustomInfo cannot resolve to a type problem

2011-09-05 Thread chiew jun hao
Hi everyone, I am relatively new to Android programming. Recently, when I am doing this lab sheet about preserving state information MotoDev studio said that my the type that I am declaring cannot be resolved. Below are some parts of the code: String str; ... public void onCrea