[android-developers] Update version android studio from 1.2 to 1.5 problem with project

2015-12-18 Thread Andrea Bo
Hi All, I have a problem after install android studio 1.5 , I have import a project but now i can see only .idea folder and i dont find other folders of this project on my pc. Other problem is gradle give me error connection time out ( proxy setting ) but the ide's updates working. Someone say i

[android-developers] RenderScript Only Runs On Rooted Device ?

2013-04-22 Thread Bo Zhou
Hi folks, I'm dealing with a strange problem about RenderScript. I made several simple RenderScript module for computation, and all of them could be executed on emulator and rooted device except unrooted 4.2 device, a mobile phone, the LogCat showed the following info (modified), "Adreno200-EG

[android-developers] Does Android OS have APIs to support VoLTE (VoIP) call application?

2012-09-14 Thread Bo
Hi : I want to develop a VoLTE call application. However, I did not find any information about which android API I can use to develop it. May I know if Android OS have APIs to support VoLTE (VoIP) call application? Thank you! -- You received this message because you are subscribed to the Goo

[android-developers] Expand/Collapse doesn't work on checkable customized view

2012-07-10 Thread Bo Fu
ed in section 2.2. After searching online, I found someone else has the exactly the same issue: http://stackoverflow.com/questions/8549397/setchecked-method-in-in-checkable-view-fires-twice-every-time-messing-with-the Sorry for the long story. Any suggestion or help will be greatly appreciated. Thank

Re: [android-developers] Control colors in openGL

2012-03-07 Thread Yang Bo
OpenGL is a state machine,when you dont need the texture,try to disable it before draw other primitives. Regards! Bo Yang -- Sent from my Android! 在 2012-3-8 上午12:07,"Rikki" 写道: > Hi, > > Want to draw bars of different colors. The background(bitmap image) > for ea

Re: [android-developers] Advanced Touch Control: passing touch event from one view to another

2012-01-01 Thread Yang Bo
Sorry,I donnot quite get you. Are the views in the same activity? 在 2011-12-30 上午10:31,"Sky" 写道: > I have one custom made view that I can drag across the screen > horizontally. Within this view is a ScrollView. I already have it so I > can decide whether the user is dragging across the screen hori

Re: [android-developers] Problem in getting Android source code from Google repo

2011-12-26 Thread Yang Bo
Try android.googlesource.com. 在 2011-12-26 下午6:48,"srinivasan shanmugam" 写道: > Hi, > > > When i was getting android source code by executing the following > commands: > >$ curl http://android.git.kernel.org/repo > ./repo > >$ chmod a+x ./repo > >$ ./repo init -u git://android.git.kerne

Re: [android-developers] Re: The accelerometer reading looks odd

2011-12-23 Thread Yang Bo
May not possible,there are several games using it in my phone... 在 2011-12-23 下午1:53,"Christopher Van Kirk" 写道: > Seems like your device is broken. > > On 12/23/2011 11:26 AM, Yang Bo wrote: > > Could anyone help on this ? Thanks > 在 2011-12-22 下午5:02,"Yang Bo&q

[android-developers] Re: The accelerometer reading looks odd

2011-12-22 Thread Yang Bo
Could anyone help on this ? Thanks 在 2011-12-22 下午5:02,"Yang Bo" 写道: > Hi, > I am trying to read the device accelerometer when the phone is placed > on a desk with screen up,I expect 0 on the x-axis and y-axis,-9.8 at > z-axis. But I get > x:11,y:-37,z:-24(decimal

[android-developers] The accelerometer reading looks odd

2011-12-22 Thread Yang Bo
Hi, I am trying to read the device accelerometer when the phone is placed on a desk with screen up,I expect 0 on the x-axis and y-axis,-9.8 at z-axis. But I get x:11,y:-37,z:-24(decimal part ignore) What is this? I read the doc of accelerometer, does not make it clear. Could you please

Re: [android-developers] Emulator takes 15 minutes to start an app, something wrong ?

2011-12-13 Thread Yang Bo
I think it is normal,it start very slow in my laptop (2G cpu,3G RAM) either... 在 2011-12-14 上午10:35,"SL@maxis" 写道: > > I am just playing with some sample applications, eg LunarLander. > > It takes about 10-15 minutes to start when run the application. Have I > missed something ? > > My machine: X

Re: [android-developers] Android web development guide..(beginner question..)

2011-12-13 Thread Yang Bo
If you are developing web app,it will run in browser installed in user phone. Why do you care Android SDK api ? 在 2011-12-13 下午7:43,"sathyashrayan" 写道: > Developers, > I have been in web developments with php/mysql.. Now a days learning > the basics of android developments. My requirements is to

[android-developers] Detect touch event in service

2011-12-09 Thread Bo Yang
Hi, I search in google without any useful finding, just want capture all touch event, can I do this in Android service ?If not,is there any other way to achieve this? btw,I tried to use another gmail account(which just registered) to send to this group but get moderate,how can make that account p

Re: [android-developers] How to monitor screen touch event in service

2011-12-08 Thread Yang Bo
Ok,I know this may sound malicious,maybe Android never want developer to do this... 在 2011-12-8 下午5:52,"Miguel Morales" 写道: > Or steal any phone numbers I dial? > > On Thu, Dec 8, 2011 at 1:48 AM, Yang Bo wrote: > >> Because that may be very useful,if you want implem

Re: [android-developers] How to monitor screen touch event in service

2011-12-08 Thread Yang Bo
Because that may be very useful,if you want implement a system wide gesture, or do something interesting accounting like how many times you hit the phone screen every day 在 2011-12-8 下午5:29,"Oli Wright" 写道: > The first question you're likely to get from anyone is "why". Smells of > malice. >

Re: [android-developers] Checkout seems broken again

2011-12-07 Thread bo yang
hmm,as to checkout,I always wonder when can it support China mainland 在 2011-12-7 下午5:58,"John Huang" 写道: > From 12 hours ago, a lot orders uncharged, a lot orders cancelled and > declined, use may cancelled the order because of uncharged issue :( > > John > > -- > You received this message be

[android-developers] How to monitor screen touch event in service

2011-12-07 Thread bo yang
Hi, I search in google without any useful finding, just want capture all touch event, can I do this in Android service ? If not,is there any other way to achieve this? Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

Re: [android-developers] New mobile number | Neue Handynummer

2011-01-04 Thread Bo Ma
who the hell are you 2011/1/4 Simon Broenner > Hi everyone, > > As of today, I've got a new mobile number: +49 176 39160894 > Home number: +49 241 53808454 > > Kind regards, > Simon > > > > - > > Hallo in die Runde, > > Ab heute habe ich eine neue Handynummer: +49

[android-developers] Re: MediaPlayer makes me crazy.

2011-01-01 Thread Bo Huang
This log file: /VideoMio34xx( 1199): Vendor(34xx) Specific CloseFrameBuf I/720p_Video_Decoder( 1199): StateSet command to 1 received D/BufferAllocOmap34xx( 1199): BufferAllocOmap34xx::removeRef() D/720p_Video_Decoder( 1199): Component Thread exits D/TIOverlay( 1199): hardware/ti/omap3/liboverl

[android-developers] Re: MediaPlayer makes me crazy.

2011-01-01 Thread Bo Huang
This is the On Sat, Jan 1, 2011 at 5:34 AM, bobo123 wrote: > Hi All, > > My application use MediaPlayer component to auto play 2 video files > in the SD card. > and it continue to play these 2 video files until user touch the > screen then it will quit this activity. > > > At the beginning, T

[android-developers] Is it possibile to setup a short-cut key to an android application.

2010-11-18 Thread Bo Huang
Hi all. Recently I was asked to add a short-key feature to an Android application which allow to directly launch an application. The short key can be back-button, or whatever any hard buttons. Thank in addvance. Regards, Bo Huang -- You received this message because you are subscribed to

Re: [android-developers] How to write screen saver in Android

2010-11-11 Thread Bo Huang
it. On Thu, Nov 11, 2010 at 6:57 PM, Bo Huang wrote: > actually I want to display some pictures in the screen when no user touch > screen or push hard buttons for a some time. > >The difficulty is that how to know the useless time. > > > > > On Wed, Nov 10, 2010 at

Re: [android-developers] How to write screen saver in Android

2010-11-11 Thread Bo Huang
actually I want to display some pictures in the screen when no user touch screen or push hard buttons for a some time. The difficulty is that how to know the useless time. On Wed, Nov 10, 2010 at 7:01 AM, Mark Murphy wrote: > On Tue, Nov 9, 2010 at 10:50 PM, Bo Huang wrote: > >

[android-developers] How to write screen saver in Android

2010-11-09 Thread Bo Huang
Hi All, I am writing an application which requires screen saver. when the application runs in foreground and no body touch it for a while, it will automatically launch screen saver. I have no idea how to do it, anybody can give some tips, thanks. Bo -- You received this message because

[android-developers] Is it able to customize soft keyboard?

2010-11-04 Thread Bo Huang
Hi all, In my android application, I need number and letter key in the same view, not need number and letter switch key. for example let it looks like computer keyboard, Is it possible to do it? Bo -- You received this message because you are subscribed to the Google Groups "An

[android-developers] Re: AlarmManger service callback to main activity.

2010-10-30 Thread Bo Huang
pelase help On Sat, Oct 30, 2010 at 6:23 PM, Bo Huang wrote: > Hi All, > >In my application, there is a service which has a running thread to > capture data from remote server, and also this service is triggered by > AlarmManager, for example let 1:00 am to start the ser

[android-developers] AlarmManger service callback to main activity.

2010-10-30 Thread Bo Huang
update GUI. I don't know how to let the main activity know when the the service stopped, so that the main thread can update GUI. Thanks. Bo -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Re: Even with Min SDK version, building app against 2.2 breaks 1.5?

2010-06-12 Thread Bo
Did you try changing the name "drawable-mpi" to "drawable"? I believe that will work On Jun 12, 8:42 pm, beemer wrote: > Same here. I've spended two hour until I've figured out why my app had > stopped working on 1.5 > > I'm using three folders drawable-hdpi, drawable-mdpi, and drawable- > ldpi.

[android-developers] Visit Installed App Details Page on Android 2.2

2010-06-11 Thread Bo
Hi All, I was using this method to show users the installed app details page Intent i = new Intent(Intent.ACTION_VIEW); i.setClassName("com.android.settings", "com.android.settings.InstalledAppDetails"); i.putExtra("com.android.settings.ApplicationPkgName", mAppContextPackageName); // sta

[android-developers] Re: Contact shortcuts in Android 2.2: Missing anchor rectangle

2010-05-27 Thread Bo
Ah, I see, thank you~ intent.setSourceBounds API level 7 On May 27, 6:12 pm, Romain Guy wrote: > The rect is part of the Intent itself, it's not an extra. And it's not > new in Froyo, it was added for 2.1. > > > > > > On Thu, May 27, 2010 at 5:28 AM, Bo wrot

[android-developers] Contact shortcuts in Android 2.2: Missing anchor rectangle

2010-05-27 Thread Bo
on to this? Thank you and best regards, Bo -- 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

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-29 Thread Bo
On Apr 29, 10:34 am, Joël Bourquard wrote: > Yesss !  Just received the package by FedEx Express in Geneva, > Switzerland. Still waiting in Zurich... > > I'm adding it to the map, too :-) > > Thank you Google !  You rock :-D > > On Apr 29, 10:30 am, Paul wrote: > > > > > > > \o/ > > > Just go

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-23 Thread Bo
On Apr 23, 4:07 pm, Kevin Gaudin wrote: > Having them SAY that they sent the devices doesn't mean they DID... if > something bigger needs to be hidden this is just a partial lie. What I > understood is that they sent all the devices... to their logistic > partner. This partner may still have the

[android-developers] How to get Application Label in different languages

2010-03-05 Thread Bo Yan
Hi everyone, Is there a way to get the application label in different languages according to locale? For example, I can get the application label "Settings" of package com.android.settings in English, "Ajustes" in Spanish. -- You received this message because you are subscribed to the Google Gro

[android-developers] Re: Is it possible to set minimum heap size for each application.?

2010-03-04 Thread Bo
check out the Launcher in Android source tree pay special attention to LauncherApplication.java and how it was mentioned in the manifest.xml On Mar 4, 2:34 pm, mycall wrote: > Thanks for your help. It is very useful for me. > > But I am beginner so I don't know that my understanding is correct >

[android-developers] Re: How to Clear Activity stack if using same activity multiple times?

2010-03-03 Thread Bo
Did you try singleTop, singleTask or singleInstance? In your situation, you may need to maintain an intent stack all by yourself from A1 through A3, and handle the BACK key event respectively http://d.android.com/guide/topics/manifest/activity-element.html#lmode On Mar 3, 11:58 pm, Sam wrote: >

[android-developers] Re: Unexpected Resumes Running Under 2.0

2009-11-20 Thread Bo
Stock Launcher has the very same problem as well... On Oct 29, 5:06 pm, Nmix wrote: > I just installed SDK 2.0 and tested a stable app on a 2.0 AVD to make > sure it's still ok. It isn't. I'm trying to debug this, but the > problem, whatever it is, looks to be happening in Android, not in my > ap

[android-developers] Re: Alarm is canceled if app is stopped

2009-11-17 Thread Bo
I think it would be nice if the to-be-killed/restarted apps/services get a chance to say what it is doing. It's normal apps/services obligation to provide such information; it's task manager apps obligation to collect them and present to users. Or make it a system service (may be some dialogs) to

[android-developers] Re: Android 2.0 SDK is here!

2009-10-27 Thread Bo
wow~ Now we have bluetooth! On Oct 27, 5:45 pm, Xavier Ducrohet wrote: > Hello everyone! > > We've just announced the Android 2.0 > SDKhttp://android-developers.blogspot.com/2009/10/announcing-android-20-... > > If you already have the 1.6 SDK, note that you can simply use the SDK > Manager to

[android-developers] Cannot see Android Debug log

2009-10-19 Thread bo huang
Hello all, I tried using Log.i(tag, message) to log information used for debug. But I cannot see log printed out in logcat while debugging with a virtual device in eclipse. Anybody knows where the problem lies? Other logs like these can be printed out successfully: 10-19 05:27:01.066: DEBUG/da

[android-developers] Re: Now ADC2 judging has begun.

2009-09-24 Thread Bo
and good luck everyone! On Sep 24, 10:53 pm, Bo wrote: > Will developers get an instant feedback about how their applications > were rated? > > Best regards, > > Bo --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Now ADC2 judging has begun.

2009-09-24 Thread Bo
Will developers get an instant feedback about how their applications were rated? Best regards, Bo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] Get the View info from process ID?

2009-09-08 Thread Bo Yan
Hi, I know the process ID(pid) of my application which is running now. Is there a way to get the view information (such as width, height, title, and layout) of my application from its pid? Best Regards, Bob --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Android emulator window small size

2009-09-07 Thread Bo Yan
Hi, please try to modify configuration file ${WORKSPACE}/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.android.ide.eclipse.adt.prefs and delete the following line: com.android.ide.eclipse.adt.emuOptions=-scale 0.2 Bob On Fri, Sep 4, 2009 at 11:06 PM, tim wrote: > > Hello, > > I adde

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-27 Thread Bo
d entries... > so what should I do??? Unsubmit and start over? Best, Bo > > Wesley. > > On Thu, Aug 27, 2009 at 6:02 AM, Houba wrote: > > > Hello, > > > Please could you explain what Eric Chou means here when he says: > > > From Eric Chou's blog: &g

[android-developers] Re: How/where to submit the apps to ADC2?

2009-08-20 Thread Bo
So am I~ On Aug 19, 10:28 pm, an0 wrote: > I'm concerned with this, too. > It is almost end of August, but there is no entry to submit yet. > Did I miss something??? > > On Aug 11, 11:08 am, Khurram Samad wrote: > > > Any update as whats going on ? > > > On Aug 10, 8:44 pm, manoj wrote: > > >

[android-developers] The FTP uploading program does not work on Android Emulator

2009-07-22 Thread Bo
oke (Method.java:521) E/AndroidRuntime( 719): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:782) E/AndroidRuntime( 719): at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:540) E/AndroidRuntime( 719):

[android-developers] Re: How to add a keyboard setting screen

2009-07-22 Thread Bo
oh, I found one in LatinIME On Jul 22, 6:12 pm, Bo wrote: > I'm looking for an implementation of this feature as well. > Does anyone know something about it? > > Thanks a lot, > > Bo > > On May 30, 1:01 am, Nitin67 wrote: > > > Hello, > >

[android-developers] Re: How to add a keyboard setting screen

2009-07-22 Thread Bo
I'm looking for an implementation of this feature as well. Does anyone know something about it? Thanks a lot, Bo On May 30, 1:01 am, Nitin67 wrote: > Hello, > >       The Android keyboard has a "Android KeyboardSettings" screen in > theSettings->Locale&Te

[android-developers] Re: Accordion Widget

2009-07-21 Thread bo
little easier to animate? On Jul 21, 3:08 pm, Mark Murphy wrote: > bo wrote: > > I'm looking at best way of creating Accordion-style widget such as on > > this pagehttp://is.gd/1GNI3 > > What would be the best way of achieving same effect using standard > > Andro

[android-developers] Accordion Widget

2009-07-21 Thread bo
I'm looking at best way of creating Accordion-style widget such as on this page http://is.gd/1GNI3 What would be the best way of achieving same effect using standard Android toolkit or do I need to build custom widget? If so - which one would you recommend extending if any? Thanks a lot for your

[android-developers] oauth_callback is not calling the activity

2009-07-13 Thread bo
I have a Twitter app and I need user of my Android application to authorize its use. I'm at the point where I can call Twitter app page in the browser from my code and successfully authorize. However, the callback seem not to be working, I end up with the confirmation message and PIN in the brow

[android-developers] Preference#setSummary does not properly repaint

2009-06-13 Thread bo
When I use runtime Preference#setSummary(CharSequence) I see new value painted on the top of the old one. Looks very ugly. Is there any settings I'm missing? Behaves the same way in both 1.1 and 1.5 --~--~-~--~~~---~--~~ You received this message because you are sub

[android-developers] Re: Pass a javascript function to java using the webview addJavascripInterface

2009-06-04 Thread bo
You can use JSON formatted string and then eval() it in JS code On May 12, 10:56 am, "Mark Murphy" wrote: > > I made a webview.addjavascriptinterface(geo, "geo"); > > to access the geo class from javascript, > > and, in the html-javascript I write: > > - > > function successCallback(p){

[android-developers] Saving layout state on configuration change

2009-06-03 Thread bo
I have an application (DroidIn) that changes layout based on orientation. Generally UI consists of outer shell with some buttons that gets changed and then internal body area that stays the same (except width and height). So the question is how to save the state of that internal body when user fli

[android-developers] Re: Android Camera Garbage Collection.

2009-05-28 Thread Bo
7;s certainly a hack but it's > worth a shot. I don't think this option 4 really works. The surfaceholder must be set to SURFACE_TYPE_PUSH_BUFFERS to get camera preview. This would create "a surface that doesn't owns its buffers. With such a surface lockCanvas will fail

[android-developers] Re: Android Camera Garbage Collection.

2009-05-26 Thread Bo
I would like to know that as well. According to the log, garbage collector is freeing the byte array on every callback. It's a big waste of time. Best, Bo On May 26, 10:30 am, Karan Parikh wrote: > Hey All, >       I am developing acameraapplication , where the frame rate is

[android-developers] Camera preview callback and garbage collector

2009-05-25 Thread Bo
It seems that, according to the log, the garbage collector is busy at freeing passed byte arrays on every preview callback. That's a waste of time. Why don't we create an array before the preview callback is set and write that one?

[android-developers] Re: Does Camera API really works ?

2009-05-19 Thread Bo
I just removed the default screen orientation in APIDemo menifest for com.example.android.apis.graphics.CameraPreview It's still displaying a rotated view. Best, Bo On May 12, 5:30 pm, indra wrote: > Does1.5have support forcamerain portrait? Please post the code > sample. > >

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-04-24 Thread bo
> You really really should commit the data after you make each batch of > > changes, as the docs say.  It is certainly very possible for the system to > > kill your process between onPause() and onStop() if it is under memory > > pressure. > > > On Thu, Apr 23, 2009 at

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-04-23 Thread bo
I do SharedPreferences.Editor.commit() in couple of places. 1. Immediately after setting the preference. 2. in Activity#onStop. Nevertheless when I restart the app the preferences are gone. Any more ideas? I do create prefs programmaticaly after harvesting these from user (username/pwd) On Apr 21

[android-developers] Re: adb push wtf

2009-04-06 Thread Bo
On Apr 5, 8:33 am, Mark Murphy wrote: > Bowrote: > > Would you please give a little more detail about pushing files to that > > app-local file sotre? I still got the "permission denied" when I was > > trying to push a file there (My phone don't have that "files" > > subdirectory). > > Then you

[android-developers] Re: add files to data/data folder of android phone

2009-04-04 Thread Bo
On Feb 19, 8:44 pm, david liu wrote: > I can create it, there is no permission for this one. Could you please share how you create it? Thanks, ~ ~ > > On Thu, Feb 19, 2009 at 6:26 PM, Munish wrote: > > > > > Hi > > > I tried to access the data from "data/data" folder from emulator > > memory

[android-developers] Re: adb push wtf

2009-04-04 Thread Bo
Hi Mark, Would you please give a little more detail about pushing files to that app-local file sotre? I still got the "permission denied" when I was trying to push a file there (My phone don't have that "files" subdirectory). Thanks a lot, and Best regards, Bo On Apr

[android-developers] Capture POST headers

2009-03-28 Thread bo
I'm overriding WebViewClient#shouldOverrideUrlLoading(WebView view, String url) to do some aggregate loading of remote HTML. Works great for regular links and GET forms, but the loaded data may also contain POST form. Is it possible to get form field values if form method is set to POST? Or in mor

[android-developers] JUnit and ClassNotFoundException

2009-01-07 Thread Bo
I am trying to run a unit test in Eclipse. I followed Android FAQ (http://code.google.com/android/kb/troubleshooting.html#addjunit) to get JUnit working. Unfortunately, it works only if tested code does not reference any android classes. As soon as it does, I get the following exception, when runn

[android-developers] Alert on menu select

2008-12-04 Thread bo
Hi all, I'm trying to display pop-up alert when user clicks on menu option that has not been implemented yet (this is "try it" app so please do not tell me that I should hide or disable the opt). The dialog gets built fine but on dlg.show() I get the following exception android.view.WindowManager$