[android-developers] Re: AudioTrack lag

2010-02-21 Thread ani
Things like ring buffers are still the same idea, but I won't explain how they're the same, because it would make the explanation more confusing. Just hold onto the core idea -- the receiver and sender of data each have their own buffers. Heartfelt thanks for this great explanation. I am a

[android-developers] Re: Android Market Changed ranking

2010-02-21 Thread Vladimir
same here - last time I checked my free app didn't even make make top 100 in its category despite 4.5* and 40k DLs, and now it's around #60. There are still apps with 2x lower rating and DL count sitting some 20-40 places above mine, but it's a nice change On Feb 19, 11:44 am, Mr Pants

Re: [android-developers] Re: Android Market Changed ranking

2010-02-21 Thread Narendra Bagade
Can I develope advertisement screen in app. Anyone knows will google allow to advertise with my app. Regards, Narendra On Sun, Feb 21, 2010 at 3:05 PM, Vladimir vladimir.funti...@gmail.comwrote: same here - last time I checked my free app didn't even make make top 100 in its category despite

[android-developers] Re: (TabActivity) How to switch tab from within a sub activity

2010-02-21 Thread ColletJb
I'm sorry, but I don't understand what you mean :( Actually, my sub activities are one MapActivity and one ListActivity... Thank you for your help On 17 fév, 17:47, Mark Murphy mmur...@commonsware.com wrote: ColletJb wrote: How can I access that method (setCurrentTab()) from a classic

[android-developers] Downloadable apks

2010-02-21 Thread André
Hi, I have noticed that some apk's that cost money on android market are available to download from some torrent sites for free. I don't think many of the developers here enjoys that very much. So my question is if there are ways in Android to get around this so that you can't copy a program from

Re: [android-developers] Layout resource: FWVGA vs. WVGA

2010-02-21 Thread freezy
Alright, thanks for the info, I'll go with a custom layout manager then. Cheers! On Sun, Feb 21, 2010 at 3:47 AM, Dianne Hackborn hack...@android.comwrote: The long qualifier is for something significantly longer than the original standard HVGA screen, nothing more than that. Absolutely

Re: [android-developers] How to start application after pressing particular key?

2010-02-21 Thread Mark Murphy
pramod.deore wrote: How can I start my android application after pressing particular key? After pressing a particular key...where? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in US: 14-18 June 2010: http://bignerdranch.com -- You

[android-developers] How to start another application from my activity.

2010-02-21 Thread aishwarya shukla
I want to know if there is any way to start another application from within my application. Specifically i am trying to a have a shortcut (button) to Google Maps Application within my application. Also is there any way to start another process from within my android appplication? Regards,

Re: [android-developers] Non-parallel construction of DatePicker and TimePicker

2010-02-21 Thread Mark Murphy
DonFrench wrote: I was surprised and dismayed to discover that the DatePicker and TimePicker classes, which are of parallel construction in almost every way, differ in one significant way. There is no setOnDateChangedListener(...) method in DatePicker while there is a

[android-developers] Re: Trouble: Windows XP detecting Nexus One by USB

2010-02-21 Thread Joerg Pleumann
Same problem here. XP32 SP3. Here's what I did/see: - I took same care to make sure no instances of older driver files were on my computer. - I then manually installed the new R3 driver that was downloaded by the SDK Manager. - I plugged in both my ADP1 and my Nexus One. Both have USB Debugging

Re: [android-developers] Downloadable apks

2010-02-21 Thread Mark Murphy
André wrote: I have noticed that some apk's that cost money on android market are available to download from some torrent sites for free. I don't think many of the developers here enjoys that very much. So my question is if there are ways in Android to get around this so that you can't copy a

[android-developers] Unexplained error from MediaPlayer

2010-02-21 Thread Omer Gilad
My code tries to play an MP3 file from res/raw. FileDescriptor fd = appContext.getResources().openRawResourceFd(R.raw.ringtone) .getFileDescriptor(); player = new MediaPlayer(); try {

[android-developers] Re: How to start another application from my activity.

2010-02-21 Thread aishwarya
Thanks a lot. It worked. Can i provide some more specific intents to the maps application? I am trying the geo: _lat _long So what other parameters can it take apart from latitude and longitude. can i send a search query (say a pointer to all the medical stores in the vicinity) to the map

Re: [android-developers] Re: How to start another application from my activity.

2010-02-21 Thread Mark Murphy
aishwarya wrote: Thanks a lot. It worked. Can i provide some more specific intents to the maps application? I am trying the geo: _lat _long So what other parameters can it take apart from latitude and longitude. can i send a search query (say a pointer to all the medical stores in the

[android-developers] Get the user name associated with the device?

2010-02-21 Thread Atif
Hi, How I can get the user name associated with the device? For example when you comment on market it aromatically use the name that is associated with the default gmail account. Is it possible to get that name? Thanks and regards, Atif -- You received this message because you are subscribed

[android-developers] Re: Downloadable apks

2010-02-21 Thread André
Thats a good solution! Thanks! On Feb 21, 2:13 pm, Mark Murphy mmur...@commonsware.com wrote: Andr wrote: I have noticed that some apk's that cost money on android market are available to download from some torrent sites for free. I don't think many of the developers here enjoys that very

[android-developers] Re: using charts in android applications

2010-02-21 Thread Paul Turchenko
The best charting component at this time is aiCharts (http:// www.artfulbits.com/Android/aiCharts.aspx). On Feb 18, 9:16 pm, Ilya ulyanov...@gmail.com wrote: Hi all!  How can I build a pie chart in my application? Thank you! -- You received this message because you are subscribed to the

[android-developers] Building a copy of a native Android system app

2010-02-21 Thread deg
I need to create a slightly modified version of one of the native Android apps (to be precise: of packages/apps/Mms). For the sake of this discussion, please ignore the fact that this is a bad thing to do; that it will be version-dependent and fragile; etc. I'm aware of these issues and need to

Re: [android-developers] Re: user agent of the device ..

2010-02-21 Thread dan raaka
I wanted to the browser ua string. i am writing an app to programmatically verify the uastring to see if the oem has changed it from the standard android ua string. -Dan On Sat, Feb 20, 2010 at 11:31 PM, Bob Kerns r...@acm.org wrote: If you're using a WebView, the answer is yes. WebView

[android-developers] Re: question regarding pv player

2010-02-21 Thread NoraBora
No. MediaPlayer.java uses PV Player internally. On Feb 20, 2:32 am, zeeshan genx...@gmail.com wrote: Hi Dear, is PV player API available at Android application level? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: getContextMenuInfo() returns null on sub-menu MenuItems

2010-02-21 Thread NoraBora
Are you using this code? AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo(); For ExpandableListView, you have to use ExpandableListContextMenuInfo. On Feb 20, 9:06 am, TreKing treking...@gmail.com wrote: Folks, I have an ExpandableListView with a registered context

Re: [android-developers] Re: user agent of the device ..

2010-02-21 Thread Mark Murphy
dan raaka wrote: I wanted to the browser ua string. i am writing an app to programmatically verify the uastring to see if the oem has changed it from the standard android ua string. Step #1: Write a rudimentary HTTP server in Android. Step #2: Point the browser to your HTTP server's port

[android-developers] Re: Using ContentResolver to add a contact in the mobile

2010-02-21 Thread LeGeNDuS
Hi, thanks for your help, but unfortunatelly it dones't work... in this line:   Uri uri = Contacts.People.createPersonInMyContactsGroup(getContentResolver(), values); I get a Security Exception on the ViewRoot.HandleMessage line 1593 The odd thing is that I have the uses-permission

[android-developers] Help with speech recognition

2010-02-21 Thread Sujay Krishna Suresh
Hi all, Is there any one who has used the RecognizerIntent API to recognize speech??? Is it available only in certain phones??? Can it be tested in the emulator??? If yes which target version should be used? Thanks, Sujay -- You received this message because you are subscribed to the

[android-developers] Add Self-Define view into layout

2010-02-21 Thread CMF
I have a self-define view class, I would like to add this view into the layout , but there is a problem 02-21 17:23:07.843: ERROR/AndroidRuntime(1253): Uncaught handler: thread main exiting due to uncaught exception 02-21 17:23:07.853: ERROR/AndroidRuntime(1253): java.lang.RuntimeException:

[android-developers] ContentProvider design question!

2010-02-21 Thread Moto
I provide a free and paid version of my app. I'm planning to have a 3rd app which is able to use the data from any of the two. I want to create a content provider to allow other apps to access their data. Now how can I handle the case when the user has the two apps free and paid installed? What

[android-developers] Re: Non-parallel construction of DatePicker and TimePicker

2010-02-21 Thread DonFrench
Well there is no functionality missing in the way it was implemented but it IS ugly. And it cost me a couple hours of head scratching and digging to figure out how to set up a DatePicker after having successfully set up a TimePicker using setOnTimeChangedListener. As to making the change myself,

Re: [android-developers] Add Self-Define view into layout

2010-02-21 Thread Mark Murphy
CMF wrote: I have a self-define view class, I would like to add this view into the layout , but there is a problem snip 02-21 17:23:07.853: ERROR/AndroidRuntime(1253): Caused by: java.lang.NullPointerException 02-21 17:23:07.853: ERROR/AndroidRuntime(1253): at

Re: [android-developers] Re: Non-parallel construction of DatePicker and TimePicker

2010-02-21 Thread Mark Murphy
DonFrench wrote: and don't know what it means to star an issue. Step #1: Click on the link I supplied Step #2: Click on the star towards the upper-left corner of the page -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books,

[android-developers] Sending email with attachment

2010-02-21 Thread Neilz
Hi. I send an email from my app with this code: final Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); emailIntent.setType(plain/text); emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[] {m...@gmail.com});

Re: [android-developers] Re: getContextMenuInfo() returns null on sub-menu MenuItems

2010-02-21 Thread TreKing
On Sun, Feb 21, 2010 at 10:30 AM, NoraBora noranb...@gmail.com wrote: Are you using this code? AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo(); For ExpandableListView, you have to use ExpandableListContextMenuInfo. Yup. Here's a sample: @Override public void

Re: [android-developers] How to save variables, even when I close the APP

2010-02-21 Thread TreKing
On Sun, Feb 21, 2010 at 11:03 AM, LeGeNDuS legen...@gmail.com wrote: Last one's settings are defined by user, and when he finish it close the activity going back to the main. But when he wants to go again to the other activity, the settings are not like the user chosen. Sounds like you

[android-developers] [java.lang.OutOfMemoryError: bitmap size exceeds VM budget] Help?

2010-02-21 Thread Moto
I got this issue that after changing orientation about 7 times I get the OutOfMemoryError. :( What's wrong!? I stripped my app to the point were it only does setContentView(...) and still I can reproduce the issue. I do use all custom graphics. Now this tells me there is a leak and a big one

[android-developers] Re: Help?

2010-02-21 Thread Lance Nanek
You might want to try calling System.gc() manually somewhere in there, like in onCreate. It has worked for me in the past to avoid that exception when recreating heavy weight activities. It's kind of an ugly hack, though. The call is documented as not even guaranteed to do anything. Also, you

[android-developers] Knowing current country

2010-02-21 Thread Albert
Hi all, Is there any way at all where you can find in which country the phone is currently in, let's say if I travel to Spain can I in code know this information somehow. Using GPS is not good for me, but I know the phone reconizes where it is, but I dont know if I can access that info in code.

[android-developers] Re: question regarding pv player

2010-02-21 Thread zeeshan
Thanks for the reply dear. actually i am interested in DRM layer over Android Media player and according to specification doc of PV player, it supports OMA. so if default MediaPlayer uses PV player, does that mean it will play OMA DRM media files? On Feb 21, 4:12 pm, NoraBora noranb...@gmail.com

[android-developers] Re: AudioTrack lag

2010-02-21 Thread Bob Kerns
I haven't read the code (not even the Java side). I can only guess that in streaming mode it allocates a buffer it manages as a ring buffer, or something like that. But I'd expect that to only happen at startup. Any delays in write() calls I'd expect to be simply waiting for room to copy the

[android-developers] Re: Android Market Changed ranking

2010-02-21 Thread srilaxmi
I see the same thing (I'm in the US). Some of my apps went up in the rankings. My top paid app fell 50 places. Previoulsy it seemed that the length of install and the amount of time the apps were available in the market played a lot of importance in their rankings. Now can't figure out what it is.

[android-developers] problem with LocationManager

2010-02-21 Thread korben...@gmail.com
I am designing a location based program for Android and I am having a problem. Right now I am just trying to retrieve the GPS coordinates and display them to the screen. I put the following code in my program and now whenever try to run it in the emulator the program crashes and I have to force

[android-developers] Re: Android Market Changed ranking

2010-02-21 Thread Michael
Every app of mine saw a significant change in ranking in the last 24 hours. I'm also seeing duplicate apps in some categories. Something definitely changed. On Feb 19, 1:44 am, Mr Pants pantssoftw...@googlemail.com wrote: Hi Erm did something happen to the ranking system today? My app seems

Re: [android-developers] Abridged summary of android-developers@googlegroups.com - 100 Messages in 66 Topics

2010-02-21 Thread Jingyu Li
Building the google CalendarAPI sample code causing error for this line: *import com.google.android.gdata.client.AndroidXmlParserFactory;* Error: *The import com.google cannot be solved* I know I need to install the google data library to my android-sdk-window directory, but I don;t know where

Re: [android-developers] WakeLock finalized while still held?

2010-02-21 Thread mehr Hanif
I am a student of degree class. I am working for special works Look me and my partner in hills. And tell me how I am looking with my ………for more detail visit here http://visitmy.webs.com On Fri, Feb 19, 2010 at 10:34 AM, Nick Owens nicow...@gmail.com wrote: For the experts listening... I

[android-developers] Soft Keyboard Shrinks Dialog Buttons

2010-02-21 Thread Todd S.
I have a full screen dialog that has a relative layout that contains a TableLayout. Whenever the soft keyboard is displayed on the screen, it shrinks these buttons. Instead of filling the bottom of the screen, they only fill a third of it. How can I keep the size of the buttons the same similar to

[android-developers] Confused about activity lifecycle usage in the notepad example

2010-02-21 Thread L.J.W
Hi all,I am confused about activity lifecycle usage in the notepad example,notepad example use edit in place user model(NoteEditor.java),inserting new record in onCreate method, saving persistent state in onPause method,and save away the original text in onSaveInstanceState method. I am a J2EE

[android-developers] Expanding the status bar from an app (android . permission . EXPAND_STATUS_BAR?)

2010-02-21 Thread a2ronus
Hi all, (I'm new to posting questions on Google Groups. Suggestions on good posting behaviour are appreciated. :) ) Hi, for good usability in an app that I'm developing I would like to expand the status bar to show the user the first time that there is more information to be found on the

[android-developers] Re: In-app payment options

2010-02-21 Thread DB
One benefit is that people would get to try your app... I've downloaded and paid for tens of apps from Android Market and had no idea that you could get a 24 hour version of any paid app for free. :) On Feb 19, 10:32 am, Carlo ca...@hyperdevbox.com wrote: can somebody explain the benefit of

[android-developers] Talking to wpa_supplicant for TTLS / PEAP / TLS (Runtime+wpa_cli / JNI / LocalSocket(Unix domain socket) / wpa_supplicant.conf?)

2010-02-21 Thread a2ronus
Hi, (I'm new to posting questions on Google Groups. Suggestions on good posting behaviour are appreciated. :) ) This is what I'm trying to achieve: I would like to write an Android app that is capable of talking to wpa_supplicant. More specifically, I would like to connect to a WPA2-EAP secured

[android-developers] Code example on possibilities of android . permission . STATUS_BAR?

2010-02-21 Thread a2ronus
Hi, The following page seems to imply that it's possible to hide icons on the status bar, but I can't seem to find information or examples that show which icons you can disable, and what is meant by opening or closing the status bar.

[android-developers] How to disable the Android device (android.permission.BRICK?)

2010-02-21 Thread a2ronus
Hi, (I'm new to posting questions on Google Groups. Suggestions on good posting behaviour are appreciated. :) ) I would like to achieve the following: I would like to temporarily disable the Android device when the user performs 3 wrong logins in a row. The login is another issue I'm not

[android-developers] Rebuilding just a single external project (wpa_supplicant) - toolchain problems

2010-02-21 Thread JoeInSF
I'm wanting to rebuild wpa_supplicant from source (http:// hostap.epitest.fi/wpa_supplicant/) and I'm having problems getting the android toolchains set up so that I can properly cross-compile with the ARM compiler and link with the proper Bionic libraries. Ideally, I'd like to only have to build

[android-developers] Re: Help?

2010-02-21 Thread Moto
Thanks Lance! Your tip about System.gc() doesn't seem to make a difference. :( Just so anyone that has this issue: I started with a stripped activity no allocations just loading my template seemed to resolve issues. From there I slowly started adding things and optimizing couple things that

[android-developers] Re: Code example on possibilities of android . permission . STATUS_BAR?

2010-02-21 Thread Moto
I'm interested on this topic too! Particularly changing the color of the status bar On Feb 19, 6:02 pm, a2ronus aaron.jan...@gmail.com wrote: Hi, The following page seems to imply that it's possible to hide icons on the status bar, but I can't seem to find information or examples that

Re: [android-developers] Abridged summary of android-developers@googlegroups.com - 100 Messages in 66 Topics

2010-02-21 Thread Mark Murphy
Jingyu Li wrote: Building the google CalendarAPI sample code causing error for this line: /import com.google.android.gdata.client.AndroidXmlParserFactory;/ Error: /The import com.google cannot be solved/ I know I need to install the google data library to my android-sdk-window

Re: [android-developers] Expanding the status bar from an app (android . permission . EXPAND_STATUS_BAR?)

2010-02-21 Thread TreKing
On Fri, Feb 19, 2010 at 3:59 PM, a2ronus aaron.jan...@gmail.com wrote: Hi, for good usability in an app that I'm developing I would like to expand the status bar to show the user the first time that there is more information to be found on the expanded status bar. I doubt you can do this and

[android-developers] Re: problem with LocationManager

2010-02-21 Thread Lance Nanek
The exception shown in logcat after the crash will tell you more information about why your app is crashing. If you are trying to use a system service before onCreate, for example, it will let you know, etc.. One way to get to logcat is to go to Logcat view in the DDMS Perspective in Eclipse. On

[android-developers] Re: Help?

2010-02-21 Thread abowman
This might be helpful. http://developer.android.com/intl/fr/resources/articles/avoiding-memory-leaks.html On Feb 21, 2:04 pm, Moto medicalsou...@gmail.com wrote: I got this issue that after changing orientation about 7 times I get the OutOfMemoryError. :( What's wrong!?  I stripped my app

Re: [android-developers] How to disable the Android device (android.permission.BRICK?)

2010-02-21 Thread Sean Hodges
I dont think I fully understand your question... Are you looking for something in the public API that will render a user's Android device useless for a period of time? Just how far do you expect this bricking to go? Will they still be able to use their phone for other purposes, e.g. making

[android-developers] Re: android play youtube

2010-02-21 Thread jagtap.jj
Is there example to upload video from android to YouTube? How we can achieve in Android to upload a video on YouTube? On Feb 12, 8:23 am, David Toledo dtole...@gmail.com wrote: I used this url for  view video youtube in android. It is OK. startActivity(new Intent(Intent.ACTION_VIEW,

[android-developers] PopupWindow on activity start

2010-02-21 Thread Chopcsu
I am trying to make a PopupWindow show straight away when an activity has started. when calling public void showAtLocation (View parent, int gravity, int x, int y) I get the exception ERROR/AndroidRuntime(2500): Caused by: android.view.WindowManager $BadTokenException: Unable to add window --

[android-developers] Re: SQLiteDiskIOException happens when querying 4000 rows data with order by japanese kanji

2010-02-21 Thread James Wang
I found another resolution for my problem. If I create an index for orderbyed column, my problem will get gone. After reading some docs about sqlite, it seems that using index to order by will remove the necessary of creating journal file. So I think creating index is a better solution. --

Re: [android-developers] PopupWindow on activity start

2010-02-21 Thread Romain Guy
You could simply post (to a View or a Handler) a Runnable from onCreate() to do this. You can also try to do it from onStart(). Activity.onWindowFocusChanged() is definitely NOT the right place. On Sun, Feb 21, 2010 at 5:00 PM, Chopcsu st...@kilsby.com.au wrote: I am trying to make a

[android-developers] Chronometer with Android 2.1 issue

2010-02-21 Thread Matthew Patience
I have an app that plays Podcasts for AndroidGuys.com. I have released it to the public via Google Code (http://code.google.com/p/android- guys/) and I have received complaints from Nexus One owners and have even confirmed myself in the 2.1 emulator, that whenever I click Play Podcast I get a

[android-developers] Re: Help?

2010-02-21 Thread Bob Kerns
Was it actually your app that was getting the error? The Launcher suffered from this problem in 2.1 on a Nexus One if you had a lot of applications; it seems fixed in 2.1 Update 1. If it's your app, you can investigate this from the DDMS perspective. Select your app, hit the Update Heap button

[android-developers] Re: Android Market Changed ranking

2010-02-21 Thread Carlo
Our recent game did also drop by from 40 to 70 rank in one night reducing the impact of our launch effort, when you work hard to bring quality and the result is a drop of 30 rank, this message is hard to understand by the customers, that is really a bad luck timing for us : ( Hope it will not

[android-developers] Re: Any way a WebView can show s context menu when not on a link

2010-02-21 Thread lordjoe
I thought it would be something like that but what sort of event - is there a long press event to detect? On Feb 19, 8:07 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: You could add a listener to the page, just like you would do with any web page and then send a request to the Java

[android-developers] Re: In-app payment options

2010-02-21 Thread Carlo
At this point, most of customers appear to refund based on their taste of the app/game and just a few on the fact that it did not work on their device (thanks to the filtering system implemented in the market and developers bringing more stable app), so it might have not been trial at the

[android-developers] User name against the default email account of Device?

2010-02-21 Thread Atif Gulzar
Hi, How can I get the user name against the default gmail account on device. For example when you comment on some application in market it automatically shows the name of commenter. Is there any way to get that name. Actually, I want to present this name while submitting the high score in my

[android-developers] Is the javax.tools and javax security available

2010-02-21 Thread lordjoe
When I try to use code similar to that in http://www.javablogging.com/dynamic-in-memory-compilation/ I find the classes will compile but get a java.lang.VerifyError on execution - the class uses javax.tools.JavaCompiler and javax.tools.ToolProvider and one supporting class uses

[android-developers] Re: Hide address bar while launching native browser

2010-02-21 Thread SAM
Thanks Mark. Yes using webView is possible as I am doing for other mobile OS(BREW/ Symbian).We considered this option before. but the issue is then I need to provide data communication layer and handling. Also I cannot provide each and every operations in Webview like Cookie/Favorites and all

[android-developers] Re: ToggleButton image

2010-02-21 Thread scastria
I found a way that works perfectly! 1. Use a regular ToggleButton 2. Set your desired drawable on the toggle button using either drawable_top or drawable_bottom. Don't use left or right as the image won't be centered. 3. Now, you have both the text and an image. I just wanted the image so I

[android-developers] Re: headset button

2010-02-21 Thread skyhigh
For a media application you need to register a broadcast receiver for Intent.ACTION_MEDIA_BUTTON and then when the callback is called you want to handle the following key codes: These key codes are sent from Bluetooth devices such as headphones and in car stereos: KEYCODE_MEDIA_PLAY_PAUSE

[android-developers] Fixed Top and Bottom

2010-02-21 Thread Beena
Hi, I have a large view. I have to show constant top and bottom in the screen. Which contain ImageView and TextView. On the screen this two remain at their position. FOY I am not using ListView. How can I do that so the the portion between the top and bottom only movable? Please reply. -- You

[android-developers] Re: Android GPS Location Problem

2010-02-21 Thread Sunny25
Hi Frank Thanks for your inputs. I dont know much about DSP processing in here. Can you send me some sample code that I can use to get exact location. Thank you Sunny On Feb 19, 11:50 pm, Frank Weiss fewe...@gmail.com wrote: AFAIK sensors have some noise. I have seen a similar issue with the

[android-developers] Is there a way to call Android Scripting Environment from Java Code

2010-02-21 Thread lordjoe
I am trying to implement a Java Interface with key functionality provided by a script read in at run time - Android Scripting Environment would be great if there were a way to create an Interpreter and pass it text to eval ASE looks great but I see no samples of how to call it from Java code --

[android-developers] how to set break points when developing Eclipse with an actual device

2010-02-21 Thread Michael Lam
hi, i am developing using Eclipse and MyTouch phone, while i can run the application fine on the device, i can't seem to set break points for debugging. is there some settings/tools i am missing? thanks. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] What does the prefix 'm' stand for ?

2010-02-21 Thread Christ
Hi guys, I saw many sample codes that each variable contains the 'm' prefix. I don't know what this m means. I have two-year experience in MFC. Each variable has 'm' prefix to tell you that I'm the one variable of MFC component. (m stands for MFC). So...can anybody answer me this question?

[android-developers] Setting Application-wide Themes

2010-02-21 Thread malandro95
I have created several files in a res/values/styles.xml file. Here's one of them: style name=BlueOnWhite parent=@android:style/TextAppearance item name=android:textColor#FF/item item name=android:background#0033FF/item /style I can apply the style to a single element

[android-developers] Re: Add Self-Define view into layout

2010-02-21 Thread CMF
I got it works however, when I change the LinearLayout to RelativeLayout the Self view cover the textview, how can I set the selfview at the bottom of the textview? On Feb 22, 1:30 am, Mark Murphy mmur...@commonsware.com wrote: CMF wrote: I have a self-define view class, I would like to add

[android-developers] about setting WindowManager.LayoutParams.screenBrightness

2010-02-21 Thread James Wang
We noticed some devices(not android's) support such feature:black out screen and turn bright when someone touches it. Our custom want us to simulate such function with android. We trid to set WindowManager.LayoutParams.screenBrightness to make screen dark enough but still knowing touch motion but

[android-developers] Re: relation between ViewRoot and View

2010-02-21 Thread Guobin
Some comments in ViewRoot.java ViewRoot: The top of a view hierarchy, implementing the needed protocol between View and the WindowManager. BRs Guobin On Feb 20, 4:53 pm, sheng wang banxia...@gmail.com wrote: Hi , Can any one give more information about ViewRoot and what's the relation

Re: [android-developers] What does the prefix 'm' stand for ?

2010-02-21 Thread Romain Guy
It stands for member. I believe the use of an m prefix with MFC has nothing to do with the name MFC either, but rather to identify variables that are class members as opposed to local variables for instance. On Sun, Feb 21, 2010 at 9:52 PM, Christ wutie...@gmail.com wrote: Hi guys, I saw many

Re: [android-developers] Re: relation between ViewRoot and View

2010-02-21 Thread Romain Guy
There's only one ViewRoot for an entire view hierarchy (one ViewRoot per window for instance.) There's certainly not one ViewRoot per View, and it's actually pretty clear when reading the code of ViewRoot and/or View. On Sun, Feb 21, 2010 at 10:03 PM, Guobin zzg...@gmail.com wrote: Some comments

Re: [android-developers] Running tests in main

2010-02-21 Thread Brett Chabot
I don't know of a way to run all tests on the main thread. But you can annotate test methods of an InstrumentationTestCase with @UIThreadTest to force them to run on main thread. http://developer.android.com/reference/android/test/UiThreadTest.html Regards, Brett. On Fri, Feb 19, 2010 at 4:46

[android-developers] Re: java.security.NoSuchAlgorithmException: SSLContext SSL implementation not found

2010-02-21 Thread Android-kums
If anybody know about this issue,give me a solution. Thanks, kums. -- 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

Re: [android-developers] how to set break points when developing Eclipse with an actual device

2010-02-21 Thread Frank Weiss
Do you have USB debugging enabled on the device? Press Home, Menu, Settings, Applications, Development. On Sun, Feb 21, 2010 at 9:48 PM, Michael Lam mmingfei...@gmail.com wrote: hi, i am developing using Eclipse and MyTouch phone, while i can run the application fine on the device, i

Re: [android-developers] What does the prefix 'm' stand for ?

2010-02-21 Thread Frank Weiss
I'm one of those guys who think scope prefixes, like m, are more trouble than they're worth. The fact that you had to explain it to a newbie makes me smile. On Sun, Feb 21, 2010 at 10:04 PM, Romain Guy romain...@android.com wrote: It stands for member. I believe the use of an m prefix with MFC

Re: [android-developers] Re: Android GPS Location Problem

2010-02-21 Thread Frank Weiss
I posted the code for the Accelerometer digital band-pass filter. There should have been a link in my reply. I'm starting work on a Location/GPS sample filtering app, but my fulltime job is getting hectic because we're going to QA. But I'm sure I'll get to it eventually. On Sun, Feb 21, 2010 at

Re: [android-developers] What does the prefix 'm' stand for ?

2010-02-21 Thread Dianne Hackborn
On Sun, Feb 21, 2010 at 10:20 PM, Frank Weiss fewe...@gmail.com wrote: I'm one of those guys who think scope prefixes, like m, are more trouble than they're worth. The fact that you had to explain it to a newbie makes me smile. Well you probably need to explain many other things to a newbie

Re: [android-developers] What does the prefix 'm' stand for ?

2010-02-21 Thread Richard S. Hall
On 2/22/10 2:20 PM, Frank Weiss wrote: I'm one of those guys who think scope prefixes, like m, are more trouble than they're worth. The fact that you had to explain it to a newbie makes me smile. I use m_ purely so I don't have to think up different names for my method parameters and to

Re: [android-developers] Re: relation between ViewRoot and View

2010-02-21 Thread Dianne Hackborn
It's also something that should not be semantically visible from the SDK; it is just an implementation detail, which should be possible to change in the future without impacting the SDK. On Sun, Feb 21, 2010 at 10:05 PM, Romain Guy romain...@android.com wrote: There's only one ViewRoot for an

[android-developers] Re: Zooming on android - google maps becomes slower

2010-02-21 Thread sheik
hi , thank you for the response, i tried the above mentioned method but it dint find much changes in the drawing on the maps . if u can fwd any worked example project , it would be more helpful .. we are drawing the tracks/routes on the map after the completion of the track . Problem exists

[android-developers] Software keyboard effecting my layout View

2010-02-21 Thread sid
Hi folks, How to design a layout when a soft keyboard is opened?? Am having a requirement that when a keyboard is opened my layout view is to be automatically changed according to the screen size. Currently in my application when soft keyboard is opened it is hiding some buttons.. so how do i

[android-developers] Stop Scrolling Gallery

2010-02-21 Thread Sasikumar.S
Hi, I'm trying to use gallery as tab bar in my application. So i will add only 5 images to gallery. How to stop scrolling in gallery ? How to make gallery in center ? Any suggestion ? -- Thanks Regards Sasikumar.S -- You received this message because you are subscribed to the Google

Re: [android-developers] Select wallpaper from..

2010-02-21 Thread Manjunatha M
Hi Dianne et al, Can any one help me on this?? regards, Manju On Thu, Feb 18, 2010 at 10:34 PM, Manjunatha M man...@gmail.com wrote: Hi, To hide my activity from the list in Select wallpaper from I have actually written a BroadcastReceiver which on boot completed, does the following.

Re: [android-developers] Abridged summary of android-developers@googlegroups.com - 80 Messages in 34 Topics

2010-02-21 Thread Alisha Alam
I have to parse an html file. Could anyone please tell me which parser to use and how to go about the whole process of parsing ? -- take care, bye. Alisha -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Broadcast intent for USB power?

2010-02-21 Thread Quartertone
Is there a Broadcast Intent that gets sent out when the device is plugged in for power? I want to create a BroadcastReceiver to detect the device's plugged in state. I've looked everywhere in the Developer's resources and reference, but I can't find anything that resembles what I'm trying to do.

[android-developers] great way to make money

2010-02-21 Thread jovanramzi
anyway i found a great way to do just what you want to do work from home and make money just copy this link http://ramzijovan.tycsh001.hop.clickbank.net -- 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] No credit card needed on the internet

2010-02-21 Thread devaraj deva
First on net, Bargain your products in online through our * http://www.shoppingreps.com?SourceId=1159*http://shoppingrepsblog.blogspot.com/ and buy it from your local shop. *No credit card needed on the internet.* It is an innovative shopping model. For more details Visit

[android-developers] how to upload an image

2010-02-21 Thread bhas
Hi to all, I am new to android ,i want upload an image from my gallery in my device,so how can i get that images from my application. Thanks in Advance . Please help me. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Problem playing audio on android

2010-02-21 Thread Alex Coventry
The following code crashes when I try to play it on my droid. The error message given in the log is Command PLAYER_INIT completed with an error or info PVMFErrNoResources. Then an IOExecption is raised. There is a file res/raw/bell.mp3 in my project directory, which I assume corresponds to

  1   2   >