[android-developers] Re: "2x"/stretched resources in honeycomb

2011-07-16 Thread Alec B. Plumb
ul 15, 11:59 pm, keyboardr wrote: > /res/drawable-xlarge > > On Jul 15, 8:27 pm, "Alec B. Plumb" wrote: > > > > > > > > > With 3.2, honeycomb devices now have the option to have an application > > "Stretch to fill screen". In my opinion, m

[android-developers] "2x"/stretched resources in honeycomb

2011-07-15 Thread Alec B. Plumb
acceptable experience for the time being. Is there any way to do it? Alec -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this grou

[android-developers] AAPT Fatal Crash - library project enum attributes

2010-08-20 Thread Alec B. Plumb
I spent quite a while troubleshooting this, not helped by the fact that AAPT was just dying silently, but i've narrowed my problem down to the following. When an Android application project in Eclipse uses an Android library project, and that library project declares (e.g. in "attr.xml") an eleme

[android-developers] Re: Eclipse/Android environment issues

2010-07-23 Thread Alec B. Plumb
If you select "Run" while you have an XML file (like a layout or strings file) open, then you will get this error. If you did this one a file called "layout.xml", for example, you may have also created a file called "layout.xml.out" which you will need to delete. On Jul 23, 11:33 am, "jack.n" wro

[android-developers] Re: How to detect is Activity started from Service

2010-06-25 Thread Alec B. Plumb
Actually, the better way is probably the following (from http://developer.android.com/guide/topics/fundamentals.html#lcycles): The visible lifetime of an activity happens between a call to onStart() until a corresponding call to onStop(). During this time, the user can see the activity on-screen,

[android-developers] Re: How to detect is Activity started from Service

2010-06-25 Thread Alec B. Plumb
You can define an Application subclass in your AndroidManifest.xml. Your other components can access the application from Context.getApplication(). You could have your MainActivity register itself with your Application class when it is active and unregister when it is stopped/paused. On Jun 25, 1

[android-developers] Re: ListView - Row Background Animation

2010-06-25 Thread Alec B. Plumb
ListView recycles rows by calling getView(int position, View convertView, ViewGroup parent) in the ListAdapter. The convertView argument can be an existing view that will be moved to the new position. The ListAdapter will usually keep the convertView (instead of creating a new one) and modify it t

[android-developers] Selection.moveLeft

2010-04-02 Thread alec hammond
I created my own soft keyboard. one of those keys moves the cursor left and another right. However, In the documentation for selection.moveRight, the arguments are spannable text, and Layout layout. The first argument I understand, but what is it asking for the second argument? A layout? A text lay

[android-developers] Re: MemoryFile between processes

2009-06-23 Thread Alec
ote: > > > > > On Mon, Jun 22, 2009 at 1:29 PM, Alec wrote: > > >> Hi, > > >> I've been able to send data via shared memory between threads within a > >> process using MemoryFile.  I then tried to send data between a service > >> and

[android-developers] MemoryFile between processes

2009-06-23 Thread Alec
me. Is it possible to share data between processes using a MemoryFile? Thanks, Alec --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Re: Intent to handle files opened in browser ending .droid.txt

2009-05-26 Thread Alec
ot on. Alec On May 22, 1:51 am, CaptainFanatic wrote: > I am having trouble with this too. > > I have tried using a html file with a new mime type for my > application: > > ... > > > > ... > > I have tried using .html

[android-developers] Android Browser 1.5 - Save link broken?

2009-05-05 Thread Alec
application? the error is simply that it says for the file name and then "Download unsuccessful" Anyway to get some useful feedback from the android browser as to the root of the issue? Thanks Alec --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: 1.5 SDK export unsigned application - no files inside

2009-05-01 Thread Alec
Thank you Mark I was being a bit silly. The actual issue was the corruption of files transfered onto the sdcard. I worked around it. Thank you for helping me diagnose the issue. Alec On May 1, 12:39 pm, Mark Murphy wrote: > Alec wrote: > > Hi all i really need some help this issue i

[android-developers] 1.5 SDK export unsigned application - no files inside

2009-05-01 Thread Alec
td48.png uponelevel.png ./res/layout: engine_addform.xml manualsearch.xml settingstester.xml ..etc... So as you can see ive got no classes, or files that actually do anything! please help! Alec --~--~-~--~~~---~--~~ You received this message because yo

[android-developers] Intent to handle files opened in browser ending .droid.txt

2009-04-18 Thread Alec
o far: Could anyone point out where im going wrong? At the moment the file just opens in the browser. Many thanks Alec --~--~-~--~~~---~--~~ You received this message because you are subscrib

[android-developers] Re: Launch Browser without starting a new Window

2009-03-19 Thread Alec
Hi Did you manage to find a solution? or is this still an issue? Alec On Feb 9, 7:48 pm, "mattaku.betsu...@gmail.com" wrote: > Hello, > > Let's say I have an app that has a "search on Google" button. Every > time the user choose it, I want to bring u

[android-developers] Re: Android Browser - Downloading files with square brackets in the name [ ]

2009-03-03 Thread Alec
update any time soon, or do i need to wait for cupcake for the fix? Many thanks Alec On Mar 4, 12:08 am, Jean-Baptiste Queru wrote: > Indeed. This was fixed in the source code (it's in the cupcake > development tree) and the fix will be in a future release. > > JBQ > > >

[android-developers] Re: Android Browser - Downloading files with square brackets in the name [ ]

2009-03-03 Thread Alec
As an update i just raised a bug report on the android bug tracker http://code.google.com/p/android/issues/detail?id=2127 On Mar 3, 12:41 pm, Alec wrote: > Hi > > I noticed recently that i cant download files with square brackets in. > > For instance i have uploaded two files t

[android-developers] Android Browser - Downloading files with square brackets in the name [ ]

2009-03-03 Thread Alec
can be done about this as it is quite a pain. thanks Alec --~--~-~--~~~---~--~~ 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@googlegro

[android-developers] Re: "Waiting for debugger" in release version of an application

2009-02-26 Thread Alec
Development.apk and by toggling the settings i can now use my application! Thank you so much for your advice, it helped me get to a solution!! On Feb 26, 9:21 pm, fadden wrote: > On Feb 26, 1:27 am, Alec wrote: > > > hmm, well im on the 1.0 sdk, but i dont understand what you mean by &

[android-developers] Re: "Waiting for debugger" in release version of an application

2009-02-26 Thread Alec
Dev tools externally to unset the global debug application. Thanks for your continued interest in helping me though ^_^ On Feb 26, 9:21 pm, fadden wrote: > On Feb 26, 1:27 am, Alec wrote: > > > hmm, well im on the 1.0 sdk, but i dont understand what you mean by > > dev tools

[android-developers] Re: "Waiting for debugger" in release version of an application

2009-02-26 Thread Alec
, 2:20 am, Alec wrote: > > > > > Hi i have a strange problem and cant see whats is not working. I have > > developed an app, and i have been testing it on the phone by debugging > > it and stepping through in eclipse. This works flawlessly (well it > > doesnt crash)

[android-developers] "Waiting for debugger" in release version of an application

2009-02-25 Thread Alec
InstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Intent intent = new Intent ("com.google.zxing.client.android.SCAN"); startActivityForResult(intent, 0); View scan_anything = findViewById(R.id.Scan); scan_

[android-developers] Re: using intents/intent filters and mime types

2009-02-23 Thread Alec
to create a separate activity to accept the intent, and what special requirements does this activity require (ie extends etc). Im pretty much at my witts end with this as i cant find any examples or guides online targeted towards intent-filters and mime types. Thanks Alec On Feb 23, 3:32 am, Diann

[android-developers] Re: using intents/intent filters and mime types

2009-02-22 Thread Alec
Hi I've been grappling with an issue all day. I am trying to create a program to deal with .torrent files that are clicked on and/or downloaded by the browser. Currently the downloader reports "Cannot download. the content being downloaded is not supported on the phone" Im fairly sure this is d

[android-developers] using intents/intent filters and mime types

2009-02-22 Thread Alec
Hi I've been grappling with an issue all day. I am trying to create a program to deal with .torrent files that are clicked on and/or downloaded by the browser. Currently the downloader reports "Cannot download. the content being downloaded is not supported on the phone" Im fairly sure this is d

[android-developers] Re: Problem with running emulator - my program won't show up

2008-09-04 Thread Alec
Wait, what did you do to fix the problem? I'm having the same issue. On Aug 19, 4:44 pm, maximz2005 <[EMAIL PROTECTED]> wrote: > Hi, > > Thank you! I found another solution, so my emulator works now. > Before, when I typed adb devices, it didn't show my emulator, thus > nothing worked. > > Thanks