[android-developers] Use AndroidDebugBridge and ddmlib in my own desktop application

2011-03-03 Thread Panayotis Katsaloulis
Hello all! I am trying to use AndroidDebugBridge in my desktop application but I fail. Namely, although I am able to get a list of devices currently attached to my system, I am not able get a list of Clients (the running applications and especially my running application). Here is a minimal

Re: [android-developers] Use AndroidDebugBridge and ddmlib in my own desktop application

2011-03-03 Thread Xavier Ducrohet
does DDMS show those clients? ddms/lib will only show clients that are debuggable (or all of them on the emulator). Also doing a sleep and getting the device list is not the way to go. You should register listener on the bridge to be notified as devices get discovered/disconnected and clients are

Re: [android-developers] Use AndroidDebugBridge and ddmlib in my own desktop application

2011-03-03 Thread Panayotis Katsaloulis
On 03 Μαρ 2011, at 10:33 π.μ., Xavier Ducrohet wrote: does DDMS show those clients? ddms/lib will only show clients that are debuggable (or all of them on the emulator). Yes it does. I can see it with a bug icon next to it. What I did (and forgive me if I am wrong), is to start it with a

[android-developers] Re: Announcing: The Android Developers Union

2011-03-03 Thread JAlexoid (Aleksandr Panzin)
Yes it was really funny. But there is a grain of joke in every joke. On 2 мар, 23:38, TreKing treking...@gmail.com wrote: 2011/3/2 JAlexoid (Aleksandr Panzin) jalex...@gmail.com H  who do I really hate? Ironically, the fact that you have written this, makes it more obvious what

[android-developers] Re: Announcing: The Android Developers Union

2011-03-03 Thread JAlexoid (Aleksandr Panzin)
Is there a list for Market similar to this one? On 3 мар, 08:12, Dianne Hackborn hack...@android.com wrote: Do I not count as a response from Google? Oh you mean a response answering question about Market?  As I said there, nobody from the Market team is on this list, so you shouldn't be

[android-developers] facebook cache

2011-03-03 Thread yanamala siddaiah
I want to cache for facebook friends data storage . Every time send request get the friends dat , it takes much time if we are having many friends. so until log out the use get the friends data and store one simple cache get the friends data from cache..only... is it possible , if give me help

[android-developers] Re: Detect Gestures Left-Right/Right-Left

2011-03-03 Thread JAlexoid (Aleksandr Panzin)
People fail to notice that there is a Gesture Demo and Gesture Builder in the samples with the SDK. On 3 мар, 06:28, Justin Anderson magouyaw...@gmail.com wrote: Have you done anything at all to help yourself get started?  Like maybe a google search looking for a tutorial that does just that?

[android-developers] how to understand when I am at the bottom of a page in WebView

2011-03-03 Thread Mincho Kolev
Hi All, How can i understand if when I am at the bottom of a web page? When scrolling down i need to find out when i am at the bottom or very close to it, but that proves to be a challenge. I use onScrollChanged method /@Override protected void onScrollChanged(int x, int y, int oldx, int oldy)/ ,

[android-developers] Re: Announcing: The Android Developers Union

2011-03-03 Thread Peter Sinnott
Does http://www.google.com/support/forum/p/Android+Market count? On Mar 3, 9:18 am, JAlexoid (Aleksandr Panzin) jalex...@gmail.com wrote: Is there a list for Market similar to this one? On 3 мар, 08:12, Dianne Hackborn hack...@android.com wrote: Do I not count as a response from Google?

Re: [android-developers] Question on layouts

2011-03-03 Thread Patrick
I tried your suggestions but still no result: The header layout is set to android:layout_weight=0 and the list to android:layout_weight=1. In addition I exchanged the android:layout_height=fill_parent of the list to android:layout_height=wrap_content. The new XML looks like this, but still

[android-developers] Re: Clear recent apps stack

2011-03-03 Thread Tom
Hi, I don't want to override it, just to clear apps list. The only way to clear it is to turn off the mobile? On 2 mar, 17:11, Justin Anderson magouyaw...@gmail.com wrote: No.  This is internal to the OS and cannot be overridden... On Wed, Mar 2, 2011 at 9:09 AM, Tom

[android-developers] Is it possible to limit/prevent screen projection in Android?

2011-03-03 Thread Samuh
Hi: We are attempting to play certain live content on Android clients that are protected using some DRM scheme. Not sure how foolproof DRM is or will be; is it possible to restrict projection of display by blocking USB or HDMI ports if available on device? Is this even allowed? Are there any

[android-developers] wbxml parser

2011-03-03 Thread Praneeth
Hi, There is a wbxml parser in IM application in android code base. I want to know which version of SYNCML does the parser follow. Could anyone help me on this? Thanks Praneeth -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: How to set ImageView from internal storage (or SDCard)

2011-03-03 Thread Doug
Use BitmapFactory and feed it the path of the file you saved, wherever you saved it. On Mar 2, 2:15 am, Stephan Wiesner testexpe...@googlemail.com wrote: Hi, my app displays some pictures I want to replace at certain intervals by downloading them from a webpage. I can set the image from my

[android-developers] Lock status bar

2011-03-03 Thread Tom
Hi, I know there is a way to expand/collapse and hide status bar. But is it possible to lock it? I would keep status bar visible (with time, battery informations) and disable the manual expandable/collapsable. best regards -- You received this message because you are subscribed to the Google

[android-developers] Developers beware - Advanced Mobile Solutions, UK publisher, does not pay royalties to developers

2011-03-03 Thread Mobile
I've had a terrible experience with the UK publisher Advanced Mobile Solutions - http://advancedmobilesolutions.com/ We' signed an agreement in May 2010, they got my app, sent me one royalty report for June (no money, only a report) and then disappeared. They can ignore my emails for months, and

[android-developers] Re: HELP: App wont open on selected mobiles (LG Ally, Dell Streak 7, Xperia X10 mini)

2011-03-03 Thread fully
String thanks again for any advice. as mentioned Im new to android, there are no stack traces for this error by the looks of it. if you mean by the term recycled bitmaps, is using the bitmaps again in the res folder then yes that does apply, I shall have to get more graphics made up for the

Re: [android-developers] Question on layouts

2011-03-03 Thread Kostya Vasilyev
FrameLayout only shows one child at a time. You probably meant your top-level layout to be a LinearLayout (judging by the orientation attribute). -- Kostya 03.03.2011 12:54, Patrick пишет: I tried your suggestions but still no result: The header layout is set to android:layout_weight=0 and

Re: [android-developers] Lock status bar

2011-03-03 Thread Marcin Orlowski
On 3 March 2011 11:27, Tom thomas.coz...@gmail.com wrote: I know there is a way to expand/collapse and hide status bar. But is it possible to lock it? Phone app locks, so definitely there is, but doubt it's public -- Regards, Marcin -- You received this message because you are subscribed

[android-developers] Hi, all. Hope someone could give me a hand.

2011-03-03 Thread 刘思聪
Hi: I was wondering, how to send registration_id (of c2dm) to a certain server? I looked up the Android google documentation, but still confused. We should send our own information, such as username, together with registeration_id, right? If so, we should put those Java codes in

Re: [android-developers] Question on layouts

2011-03-03 Thread paulb
G;day mate, FrameLayouts are usually only used forshowing one item at a time. You can layout multiple views, but they will all be laid on top of each other. There is a use for this, but I suspect not for your description of the problem. I would use a RelativeLayout - they make my life so much

[android-developers] Re: Wifi sleeps... even with lock

2011-03-03 Thread bruce
Grab a screen lock as a work around. Nexus One has some issues with the low-power mode. Unfortunately, from my wireshark traces it basically fails to wakeup for multicast events due to aggressive power saving. Other devices will perform differently. It would be better if they released a patch

[android-developers] ListView update problem.

2011-03-03 Thread Namit Rana
I have a ListView with a custom BaseAdapter. in getView(...) in CustomBaseAdapter class... I have specified gray color in the 1st row and white color in all other rows. if(position==0){ holder.text1.setBackGroundColor(Color.gray) // same for next 2 TextView views. }else{ //set the

[android-developers] Re: Contacts.NAME_RAW_CONTACT_ID cant be edited, bug or a future feature?

2011-03-03 Thread Jens
You cannot. First, look at the code for the provider, http://www.google.com/codesearch/p?hl=en#cbQwy62oRIQ/src/com/android/providers/contacts/ContactsProvider2.javaq=ContactsProvider2.javal=3887 and you'll notice that it only allows updates for the non-managed fields on Contacts, i.e. the

[android-developers] Re: Try to implement coverflow animation using Gallery

2011-03-03 Thread monty
What does the getItemText(int pos) method in your code do? On Mar 1, 7:26 pm, Justin Anderson magouyaw...@gmail.com wrote: The way I implemented mine in AppSwipe! is a little complex...  Here is a quick overview of what I did: - I subclassed RelativeLayout and created a new class called

[android-developers] Re: Two activities in one window

2011-03-03 Thread Mika
Thanks for all the suggestions. Might be that I'll try to do this with putting the values to a notification as TreKing suggested. David I'll check the app you mentioned. In the Android API APN settings are Secure Settings, which means that 3rd party apps are not allowed to write them. But if

[android-developers] Re: Fast way to save images in lossless format?

2011-03-03 Thread RyanMcNally
Take a look at the TGA image format - it can be boiled down to an 18 byte header and then a simple dump of pixel data. I can't see any other formats being much faster than that. On Mar 2, 8:14 pm, spaceraiders spaceraid...@gmail.com wrote: My app involves saving 480x854 ARGB images (1.6Mb of

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread Mark Carter
Thanks Rob but what I'm thinking about goes beyond an alternative UI. At the moment my app supports 1.5+ and has reached a very good level of stability. The sort of changes I have in mind for a Honeycomb version would probably be combined with a complete rewrite. If I do a complete rewrite then

Re: [android-developers] Re: Fast way to save images in lossless format?

2011-03-03 Thread Marcin Orlowski
On 3 March 2011 13:16, RyanMcNally therealr...@gmail.com wrote: Take a look at the TGA image format - it can be boiled down to an 18 byte header and then a simple dump of pixel data. I can't see any other formats being much faster than that. Any compressionless would do. i.e. BMP. --

[android-developers] Re: Fast way to save images in lossless format?

2011-03-03 Thread Streets Of Boston
(Lossless) compression is not necessarily faster than writing larger files. The speed you gain by not using compression may be lost because you need to write larger files (IO is not that fast). But you could experiment and see what's faster. If you don't want to use compression at all, you

[android-developers] Paid promotions of my Application on Market

2011-03-03 Thread Amit
Hi All, Is there a possibility in Android Market where I can do some PAID promotions of My Application? Thanks Best Regards Amit -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread Streets Of Boston
I don't know how your app declares your activities, if they are public to be used by any other component/app installed on the phone. Let's assume your activities are all private, then there is a way to deliver 2 apps in one APK. You could do this by creating two separate code-paths for the 2

Re: [android-developers] Re: Two activities in one window

2011-03-03 Thread David Caunt
Hi Mika, In my case the GiffGaffAPN app actually doesn't seem to have added an APN successfully, though other users report success in reviews. I'm running a HTC Desire with a Sense ROM (rooted) so perhaps it requires a stock Google-experience or AOSP. I'd be interested to know what you find.

[android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread J
I was also thinking about different resources in different devices. Example: imagine I have a game with different resolution resources: highly pixeled for low-density screens, average quality for mid- density screens and ultrarealistic for superhigh-density tablets. The res- solution allows

[android-developers] How do you exclude sales to a specific country?

2011-03-03 Thread gcstang
If you have an application that you want to be sold in all countries except for say one how can you do this? Is this done in the Developer Console, AndroidManifest, or something else? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread Mark Carter
That's an interesting idea: at each entry point, have a layer that delegates according to the SDK level. My app has a reasonably complex architecture involving multiple entry-point activities (although only one launcher icon), a few services, a content provider and some widgets. Inter-app

[android-developers] Re: Announcing: The Android Developers Union

2011-03-03 Thread JAlexoid (Aleksandr Panzin)
Support specialists are not developers. There is also a support forum for Android and Google Mobile, but I meant like it is here. Where developers are communicating on equal grounds, not Resuest Support/Wait For support/Get or Not Get support. On 3 мар, 11:40, Peter Sinnott psinn...@gmail.com

Re: [android-developers] Re: Announcing: The Android Developers Union

2011-03-03 Thread TreKing
On Thu, Mar 3, 2011 at 12:12 AM, Dianne Hackborn hack...@android.com wrote: Do I not count as a response from Google? Of course! Probably more so than most. However, you didn't respond to the thread I linked to, so my statement still stands. Oh you mean a response answering question about

Re: [android-developers] Paid promotions of my Application on Market

2011-03-03 Thread TreKing
On Thu, Mar 3, 2011 at 6:36 AM, Amit amitmishr...@gmail.com wrote: Is there a possibility in Android Market where I can do some PAID promotions of My Application? By ad-space in other apps? -

Re: [android-developers] Re: Try to implement coverflow animation using Gallery

2011-03-03 Thread Justin Anderson
It returns the text that should be displayed displayed for the item at the given position On Mar 3, 2011 4:27 AM, monty neilm30s...@gmail.com wrote: What does the getItemText(int pos) method in your code do? On Mar 1, 7:26 pm, Justin Anderson magouyaw...@gmail.com wrote: The way I implemented

Re: [android-developers] How do you exclude sales to a specific country?

2011-03-03 Thread TreKing
On Thu, Mar 3, 2011 at 7:22 AM, gcstang gcst...@gmail.com wrote: If you have an application that you want to be sold in all countries except for say one how can you do this? Is this done in the Developer Console, AndroidManifest, or something else?

Re: [android-developers] ListView update problem.

2011-03-03 Thread Justin Anderson
This sounds like it could be a view recycling issue On Mar 3, 2011 3:42 AM, Namit Rana namit...@gmail.com wrote: I have a ListView with a custom BaseAdapter. in getView(...) in CustomBaseAdapter class... I have specified gray color in the 1st row and white color in all other rows.

Re: [android-developers] Re: Announcing: The Android Developers Union

2011-03-03 Thread Chris Stewart
Agree with everything you said TreKing. While I really appreciate the effort Dianne shows towards this list, I wish there were more Android developers putting the same effort out in other areas of the Android ecosystem. Having such insight into the Market would be a very welcome addition. --

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread TreKing
On Thu, Mar 3, 2011 at 6:33 AM, Mark Carter mjc1...@googlemail.com wrote: Therefore, in an ideal world (!), I would like the 1.5/1.6 users to use the existing, well-tested version and the other users will get the newer stuff. This is particularly problematic for paid apps. If you increase the

[android-developers] Re: Detecting Package Update

2011-03-03 Thread Jake Colman
JA == Justin Anderson magouyaw...@gmail.com writes: JA Are you talking about the widget here or the app? If you are JA talking about the widget then the next time the provider is JA called it will automatically call the new code and, as long as JA changes weren't too drastic,

Re: [android-developers] Paid promotions of my Application on Market

2011-03-03 Thread Chris Stewart
I assume you mean pay Google to feature your app. If that's the case, no, there's nothing like that available. Building the best app you can and having it spread organically is likely the avenue you'll need to explore, assuming you don't have deep pockets to advertise on various websites around

Re: [android-developers] How to implement Calendar App in Android

2011-03-03 Thread Prakash Iyer
There isn't any. Every few weeks or so such a question will come up and while I jumped up and answered, usually Mark Murphy or Dianne Hackabod will come back with this is not supported and by using any private API just because some code does it might will cause your code to break. This group is

Re: [android-developers] How do you exclude sales to a specific country?

2011-03-03 Thread brian purgert
Lol On Mar 3, 2011 9:56 AM, TreKing treking...@gmail.com wrote: On Thu, Mar 3, 2011 at 7:22 AM, gcstang gcst...@gmail.com wrote: If you have an application that you want to be sold in all countries except for say one how can you do this? Is this done in the Developer Console,

Re: [android-developers] How to implement Calendar App in Android

2011-03-03 Thread Marcin Orlowski
missing some packages (android.provider.calendar), It's ther, in /packages/providers/CalendarProvider -- Regards, Marcin -- 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] Packaging an App and Widget in one APK

2011-03-03 Thread Jake Colman
I am probably looking for an RTFM pointer but maybe not... 1) I know how to create an APK that contains just an appwidget. But can I create an APK that contains an appwidget AND a standalone app in one downloadable package? 2) Users download my widget and then tell me it's not listed in

[android-developers] redirct the an alert or replay to the device that send sms

2011-03-03 Thread vineeshkc
HAi ALL OF YOU Is it possible to either redirect incoming messages to another application or allow the other application to receive the sms as well or redirct the sms to the save device that send -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread Streets Of Boston
From that link: Oh and I believe on Market that if you put up a new version of your app with a higher minSdkVersion, the most recent older version will still be visible to older devices. That is, the .apks you upload are never deleted; a new version just supersedes an older one for the devices

Re: [android-developers] Detecting Package Update

2011-03-03 Thread TreKing
On Wed, Mar 2, 2011 at 10:51 PM, Justin Anderson magouyaw...@gmail.comwrote: * How can a package determine that it has been updated and that it, therefore, must stop and restart itself?* According to this, you can't:

[android-developers] wbxml Parser available through IM app

2011-03-03 Thread Praneeth
Hi, I am trying to use the library available in IM application to parse the Wbxml data that I have. I am able to parse the data only half the way because device info parsing is not supported by the external library. Even the page switching happens properly but when devinfo comes into picture,

[android-developers] MediaRecorder errors

2011-03-03 Thread chcat
i am using MediaRecorder object class to record media stream on Nexus One phone ( Froyo 2.2.1). I see the following errors in LogCat MediaRecorder m_mediaRecorder; mediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); m_mediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);

Re: [android-developers] Packaging an App and Widget in one APK

2011-03-03 Thread Justin Anderson
Yes and yes... On Thu, Mar 3, 2011 at 8:27 AM, Jake Colman col...@ppllc.com wrote: I am probably looking for an RTFM pointer but maybe not... 1) I know how to create an APK that contains just an appwidget. But can I create an APK that contains an appwidget AND a standalone app in one

Re: [android-developers] Packaging an App and Widget in one APK

2011-03-03 Thread Kostya Vasilyev
03.03.2011 18:27, Jake Colman пишет: I am probably looking for an RTFM pointer but maybe not... 1) I know how to create an APK that contains just an appwidget. But can I create an APK that contains an appwidget AND a standalone app in one downloadable package? Yes, a package can

Re: [android-developers] Detecting Package Update

2011-03-03 Thread Justin Anderson
Try this one: http://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_REPLACED Ahh... didn't notice that one when I was looking at the docs. Does the replaced package get the notification though? The docs don't say anything about that... Let's say v1.0 was

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread Kostya Vasilyev
03.03.2011 18:12, TreKing ?: On Thu, Mar 3, 2011 at 6:33 AM, Mark Carter mjc1...@googlemail.com mailto:mjc1...@googlemail.com wrote: Therefore, in an ideal world (!), I would like the 1.5/1.6 users to use the existing, well-tested version and the other users will get the newer

[android-developers] can you set dns-server in avd config.ini?

2011-03-03 Thread tedx
Is it possible to set the dns-server option in an avd config.ini file? I've been looking for a description of the setting that can be made in a config.ini but haven't come across anything yet. Ted -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Packaging an App and Widget in one APK

2011-03-03 Thread Marcin Orlowski
Eventually, I implemented a launcher activity for my widget, almost exactly like you describe, except used different wording and provided a link to a web site that has visual step by step instructions on how to add a widget. I add such step-by-step info in the app itself. It's usually just

Re: [android-developers] SimpleOnGestureListener code not working in Android 2.2...

2011-03-03 Thread Justin Anderson
Has no one ever tried to get swipe gestures and clicks working together on the same view? Pre-Android 2 everything worked fine. Starting with Android 2 I can only seem to get one or the other but not both... On Wed, Mar 2, 2011 at 12:22 AM, MagouyaWare magouyaw...@gmail.com wrote: I have some

Re: [android-developers] redirct the an alert or replay to the device that send sms

2011-03-03 Thread Marcin Orlowski
On 3 March 2011 16:29, vineeshkc kcvine...@gmail.com wrote: Is it possible to either redirect incoming messages to another application or allow the other application to receive the sms as well You can register for broadcast message when SMS comes. It was discussed a few days ago, so search the

Re: [android-developers] can you set dns-server in avd config.ini?

2011-03-03 Thread Kostya Vasilyev
Have you tried -dns-server servers ? http://developer.android.com/guide/developing/tools/emulator.html 03.03.2011 18:57, tedx пишет: Is it possible to set the dns-server option in an avd config.ini file? I've been looking for a description of the setting that can be made in a config.ini but

Re: [android-developers] Detecting Package Update

2011-03-03 Thread TreKing
On Thu, Mar 3, 2011 at 9:55 AM, Justin Anderson magouyaw...@gmail.comwrote: Try this one: http://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_REPLACED Ahh... didn't notice that one when I was looking at the docs. Does the replaced package get the notification

Re: [android-developers] Packaging an App and Widget in one APK

2011-03-03 Thread TreKing
2) Users download my widget and then tell me it's not listed in their list of downloaded application. Use this so it shows up in the Market download list, but not the Launcher. http://developer.android.com/reference/android/content/Intent.html#CATEGORY_BROWSABLE

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread Mark Carter
Well, I was pretty stunned just now when I read that post from Dianne. Partly because I didn't know about it before. Partly because I didn't believe it. But mostly because of a huge can of nasty worms it could open, should it be true. So, I just tried it with one of my not-so-important apps on

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread Kostya Vasilyev
Wow, you can type fast :) Wonder if it will show up a little later, as the Market infrastructure caches up. -- Kostya 03.03.2011 19:07, Mark Carter пишет: Well, I was pretty stunned just now when I read that post from Dianne. Partly because I didn't know about it before. Partly because I

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread TreKing
On Thu, Mar 3, 2011 at 10:07 AM, Mark Carter mjc1...@googlemail.com wrote: Well, I was pretty stunned just now when I read that post from Dianne. Partly because I didn't know about it before. Partly because I didn't believe it. But mostly because of a huge can of nasty worms it could open,

[android-developers] Re: can you set dns-server in avd config.ini?

2011-03-03 Thread tedx
Sure that works but I want to use the AVD Manager so am looking for a way to configure the avd. Ted On Mar 3, 10:02 am, Kostya Vasilyev kmans...@gmail.com wrote: Have you tried -dns-server servers ? http://developer.android.com/guide/developing/tools/emulator.html 03.03.2011 18:57, tedx

[android-developers] getBestProvider returning null?

2011-03-03 Thread Jake Colman
I am using the following code to get a list of all available providers, so I can see what's out there, and to select the best provider based on my criteria. Why would this code return a list of [network gps] for all providers but still return null for best provider? ListString all =

[android-developers] emulator spikes pulseAudio on Linux?

2011-03-03 Thread Jake Colman
It seems to that whenever my emulator is running , pulseAudio starts chewing up CPU. Is there a way for me to control that or shut it down. I don't need sound in my emulator if that's the issue. -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the

Re: [android-developers] using setIcon to specify icon in assets w/o XML?

2011-03-03 Thread TreKing
On Mon, Feb 28, 2011 at 9:46 AM, Joseph S joseph.santanie...@gmail.comwrote: But I would like to use my own icons from my res drawable images. How would I refer to them directly from the Java source? http://developer.android.com/guide/topics/resources/accessing-resources.html

Re: [android-developers] Opinions on updating a seasonal app; new app or in-app billing?

2011-03-03 Thread TreKing
On Mon, Feb 28, 2011 at 8:40 AM, Chris Stewart cstewart...@gmail.comwrote: For those that have implemented in-app billing, how much of a pain is it? I don't think anyone's implemented this yet - it doesn't work from the Market side of things, AFAIK. How much of a pain? Well it deals with the

Re: [android-developers]

2011-03-03 Thread Abhilash baddam
Hi, *Yappaaa..*Well r u using listview or autocompletetextview to search the items. Try to refresh the the listview if u r using ListView. Send some code snippet so that we can try to resolve ur problem. On Thu, Mar 3, 2011 at 1:12 PM, vani reddy vani.redd...@gmail.com wrote: Hi,

[android-developers] Re: emulator spikes pulseAudio on Linux?

2011-03-03 Thread niko20
I believe you can turn sound off in the emulator if you run it from a command line. See the emulator reference on the Google android dev website. -nik On Mar 3, 10:43 am, Jake Colman col...@ppllc.com wrote: It seems to that whenever my emulator is running , pulseAudio starts chewing up CPU.  

[android-developers] Questions about the Platform SDK

2011-03-03 Thread Michael
I have questions about using the Platform SDK (the code under ROOT/ device/sample. Is this the right group for that? Thanks, Michael -- 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] Re: Authenticate Non-AppEngine Webservice using Google Account

2011-03-03 Thread Jesse
I really need to find an answer to this question. Anyone? Bueller? -- 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] Uid mismatch

2011-03-03 Thread Demetris
No problem Dianne I certainly understand and I still appreciate the help so far anyway. I am primarily working with 2.2 and 2.3 versions of the OS but there was a requirement to use these older phones for now so I need to dig in the ancient world a bit ;) I did uninstall and install the app

[android-developers] Add a new item on Browser Share menu | Then access current browser window url from my app on clicking of that menu item

2011-03-03 Thread Sravan
Hi, I wanted add a new Item to the browser's share menu/submenu when the user does an action on my app (not when user installs my app). From there on, when the user clicks on my Item on the browser's share menu, my app should be able to pick the current URL/link of the browser. Here the link to

Re: [android-developers] Question on layouts

2011-03-03 Thread Romain Guy
FrameLayout certainly does *not* show one child at a time. It is used mostly for two things: - Displaying one View that fills the screen (although if you have a layout with one child only, you are usually doing something wrong) - Display a stack of Views (it's very useful for overlays, etc.) On

[android-developers] Re: Detecting Package Update

2011-03-03 Thread Jake Colman
JA == Justin Anderson magouyaw...@gmail.com writes: Let's say v1.0 was implemented using a broadcast receiver (which is the appwidget itself) and two services. I then publish v1.1 which fixes bugs in all the components. The user updates my appwidget via the Market while the

Re: [android-developers] how can I simultaneously download files

2011-03-03 Thread TreKing
On Mon, Feb 28, 2011 at 11:34 AM, Pawel psza...@gmail.com wrote: First is to run intentservice inside AsyncTask Try the opposite. - TreKing http://sites.google.com/site/rezmobileapps/treking -

Re: [android-developers] Re: Authenticate Non-AppEngine Webservice using Google Account

2011-03-03 Thread TreKing
On Wed, Mar 2, 2011 at 3:02 PM, Jesse gotosl...@gmail.com wrote: Does anyone know why this thread no longer appears in the list of topics? The only reason I was able to get back to it was because I had it bookmarked. Google Groups is not exactly the most reliable software. On Thu, Mar 3,

Re: [android-developers] Uid mismatch

2011-03-03 Thread Dianne Hackborn
Huh, that doesn't make any sense. Uninstalling will remove all traces of the app and any uids associated with it, so when you install again it will be fresh. Could you please post: (1) The output of logcat when you are uninstalling. (2) The output of adb shell dumpsys package after

[android-developers] Items Randomly Shift in ListView

2011-03-03 Thread Robert
I'm using a custom adapter which populates a ListView with a custom widget; the list shows bluetooth devices within range. I use a BroadcastReceiver to find the bluetooth devices and dynamically populate the list when I do. I call a function, addDevice(), from my custom adapter, which updates

[android-developers] Re: Items Randomly Shift in ListView

2011-03-03 Thread Streets Of Boston
After doing a very quick read of your code snippet, move this code: // Bind the data to the new widget from the data from given list itemView.setName(device_list.get(position).getName()); itemView.setText(device_list.get(position).getText());

Re: [android-developers] Setup ADB with Elocity A7.

2011-03-03 Thread TreKing
On Mon, Feb 28, 2011 at 3:45 PM, Stephane Denis execom...@googlemail.comwrote: I just have 'list of devices attached' and an empty list. Most devices require a driver installation to work properly for development. I think the driver is in the SDK somewhere, it's been a while since I had to set

Re: [android-developers] facebook cache

2011-03-03 Thread TreKing
On Thu, Mar 3, 2011 at 3:16 AM, yanamala siddaiah siddaiahforj...@gmail.com wrote: is it possible , Yes. if give me help . What have you tried? Where are you stuck? - TreKing

[android-developers] Re: Items Randomly Shift in ListView

2011-03-03 Thread Robert
Thanks for the quick reply Streets. It worked perfectly. I still don't understand why I need to re-add the data though or why it would make a change in the order of the list. Shouldn't it be the same? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Setup ADB with Elocity A7.

2011-03-03 Thread Kostya Vasilyev
That Elocity seems to be NVIDIA Tegra based. So: http://www.addictivetips.com/mobile/enable-adb-usb-drivers-for-nvidia-tegra-based-android-tablets/ -- Kostya 03.03.2011 20:46, TreKing ?: On Mon, Feb 28, 2011 at 3:45 PM, Stephane Denis execom...@googlemail.com

Re: [android-developers] Re: Detecting Package Update

2011-03-03 Thread Justin Anderson
* Does replace equal uninstalled? If so, then maybe I don't need to worry about any of this.* I certainly hope so... otherwise Android would have all sorts of problems when updating apps. On Thu, Mar 3, 2011 at 10:10 AM, Jake Colman col...@ppllc.com wrote: JA == Justin Anderson

[android-developers] Re: Freezing When Using ActivityInstrumentationTestCase2

2011-03-03 Thread A. Elk
No, this shouldn't happen. However, to debug this, try the following: - make sure you define the startUp() method for each test case. In it, do myactivity = getActivity(); to store a handle to the activity under test. - make sure you define the tearDown() method for each test case. In it, do

[android-developers] Re: Items Randomly Shift in ListView

2011-03-03 Thread Streets Of Boston
The 'convertView' is one of the CheckBoxItemViews you created when 'convertView == null': When returning a new CheckBoxItemView, it will be used for the given 'position' and it will be re-used if the CheckBoxItemView scrolls out of sight later. When it scrolls out of sight, it can be re-used.

[android-developers] Using Restlet on Android

2011-03-03 Thread tonytony
I implemented the example on the page for testing purposes but I still have problems with @Get. (http://wiki.restlet.org/docs_2.0/13-restlet/ 21-restlet/318-restlet/303-restlet.html?showComments=true) On both Android or Java application I get a 'null' object when I do resource.retrieve(); If I

[android-developers] How to find/associate audio files to my events

2011-03-03 Thread cellurl
I want users to associate audio files to events in my app, like speeding, etc. I have my own voice prompts working, I just want the user to be able to SELECT other voice files from other applications. What is the simplest way to do that? I just want it simple for now. I tried this post. It

[android-developers] Re: Authenticate Non-AppEngine Webservice using Google Account

2011-03-03 Thread Jesse
I feel it is Android specific because the main unknown is what type of authtoken does the Android AccountManager API give us for google accounts (ClientLogin, OAuth, something else?). But, I'll try asking elsewhere. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Freezing Occurs When Executing Test Codes

2011-03-03 Thread A. Elk
Is this the same problem you reported in another message? Could you describe the evidence that suggests that something is freezing? Does the test package stop producing output? Have you tried this both in Eclipse and from the command line? I'm not sure why you say that the android test framework

Re: [android-developers] How to find/associate audio files to my events

2011-03-03 Thread Marcin Orlowski
On 3 March 2011 19:11, cellurl gpscru...@gmail.com wrote: I tried this post. It finds the SD card in my emulator, but it is empty. Did you put any files on emulated SD card? -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How to set ImageView from internal storage (or SDCard)

2011-03-03 Thread Stephan Wiesner
Thanks for your reply. Thats exactly what I need, though: The path to the internal storage. I download the files and can access them using File() of course, but how do I access them from BitmapFactory?. Probably obvious, if you know it, but I don't get it :-( Stephan On Mar 3, 10:45 am, Doug

  1   2   3   >