[android-developers] Re: Content rendering for WebView

2009-07-15 Thread Jason Proctor
Hi Can anyone help me to understand how WebView decided which content it can render and which it can't? For example I am inside a webview select a link and if the link sends an XML file I want my application to handle to data instead of WebView, Is this possible? Thanks, -Amit install a

[android-developers] Unable to write text file to sdcard on physical G1 device

2009-07-15 Thread Jason Proctor
making a File object does not create the actual file. usually it's created with a FileOutputStream or File.createNewFile() or somesuch. as always, reading the docs pays dividends :-) also i'd recommend writing some little Java command line programs to get the feel of things. that way you

[android-developers] how to find out the percentage of memory used by each process in the android

2009-07-15 Thread Jason Proctor
i've not looked at the NDK, but would it be possible to JNI to the regular Linux process APIs? You could run the top command in the adb shell. The command comes with busybox. The memory information include: Statistics on memory usage, including total available memory, free memory, used

[android-developers] Dose Android sdk 1.5 allow to create our own screen when a call is in or out

2009-07-15 Thread Jason Proctor
ISTR a response from Dianne not so long ago which said that the in-call experience is not currently changeable via the Java API. so in other words you'd have to modify the native parts of Android (the firmware) and then ship your own Android distribution. probably more work than you want to

[android-developers] Dose Android sdk 1.5 allow to create our own screen when a call is in or out

2009-07-15 Thread Jason Proctor
if you bring up an Activity with UI when the phone state listener goes off, the call UI appears on top of it. you can hit the back button to get back to your Activity, but, again, there is no current way to override the call UI. you have to live with it for now. Could i just intercept the

[android-developers] accessing local content from webview

2009-07-13 Thread Jason Proctor
i realise there's plenty of prior art around the network on this one, i'd like the official line if possible. i'm wondering why i can't reference static local content in a page which is coming in off the network. the specific situation i have is that my application's HTML depends on fairly

[android-developers] weird behaviour with WebView.loadDataWithBaseURL

2009-07-07 Thread Jason Proctor
i install a WebViewClient to intercept links using shouldOverrideUrlLoading(). i fetch the URL content myself, preprocess it, then feed it to the browser using loadDataWithBaseURL(). as the base URL, i use the original URL of the request. this mechanism has been working reliably for a while,

[android-developers] problem debugging /w eclipse

2009-07-04 Thread jason...@spy.net
I can no longer run/debug my application in eclipse, when I attempt to I get the following error in the console : Installation error: INSTALL_PARSE_FAILED_NO_CERTIFICATES and this is in logcat.. E/PackageParser( 65): Package com.example.foo no certificates at entry

[android-developers] Re: Attempting to pass data via NotificationManager - Seeking Help/Advice

2009-06-26 Thread Jason Van Anden
If I understand you correctly, you just need to call Activity.getIntent () within Activity.onCreate(). Thing is that onCreate does not get called. That activity starts, resume gets called. At the point when resume gets called the intent has changed from my intent with extras to the

[android-developers] Re: Attempting to pass data via NotificationManager - Seeking Help/Advice

2009-06-26 Thread Jason Van Anden
some additional details in case someone here does not go there ...from logcat ... Starting activity: Intent { comp={com.blah.blahs/com.blah.blahs.Blahs} (has extras) } *** notice ... this is my intent called from the status bar *** startActivity called from non-Activity context; forcing

[android-developers] Re: Attempting to pass data via NotificationManager - Seeking Help/Advice

2009-06-26 Thread Jason Van Anden
. I am a professional software engineer with around 20 years of experience. I was still stumped! A cookbook of examples using different launchModes may have helped me out in this case. Thank You, Jason Van Anden http://www.smileproject.com

[android-developers] Re: How can I give my paid app away for free to some users?

2009-06-18 Thread Jason Van Anden
+1 On Thu, Jun 18, 2009 at 1:52 PM, Anna PSannapowellsm...@googlemail.com wrote: Ah - that's a shame. Discount coupons would definitely be a nice feature to have on the Market... On Jun 18, 12:06 am, Yuri Ammosov - Sadko Mobile y...@sadko.mobi wrote: DO NOT REFUND. Refund UNINSTALLS the

[android-developers] Attempting to pass data via NotificationManager - Seeking Help/Advice

2009-06-17 Thread Jason Van Anden
- but no sign of data (and I am frankly a little unclear as to where to retrieve it). If someone out there can either suggest something or tell me I am headed down a dead end I would be grateful. Thank You, Jason --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Attempting to pass data via NotificationManager - Seeking Help/Advice

2009-06-17 Thread Jason Van Anden
is that I want to have to get focus and then change based upon the info in extra. I cannot figure out where to receive the intent data in this situation. Thanks On Wed, Jun 17, 2009 at 9:18 PM, Jason Van Andenjason.van.an...@gmail.com wrote: I am stuck - or perhaps I am trying to do something

[android-developers] Re: How to force hierarchy change to PreferenceActivity?

2009-06-13 Thread Jason Parekh
The preference framework will refresh the UI when a preference has a UI-visible attribute changed, for example the summary. So, you can just do myPreference.setSummary(myPreference.getValue()) (assuming you want to show the selected item as the summary of the preference). On Fri, Jun 12, 2009 at

[android-developers] Re: httpclient multipart form upload

2009-06-09 Thread Jason Proctor
Urs Grob wrote -- HttpClient 4 doesn't have that included anymore. The upstream project didn't integrate it from the 3.x client. I had to do exactly the same today. Basically I solved it by including some additional jars: mime4j httpmime This question was already on the list and there's some

[android-developers] Re: httpclient multipart form upload

2009-06-09 Thread Jason Proctor
a kind soul has forwarded the jars on. community rules. -- jason.software.particle --~--~-~--~~~---~--~~ 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] webview tel: URLs

2009-06-08 Thread Jason Proctor
(can someone respond if they see this? i don't seem to be able to subscribe reliably.) i'm noticing that the regular browser calls numbers when a tel: URL is clicked, but webviews embedded in applications don't - at least mine doesn't. i have the required permissions -- is there something

[android-developers] httpclient multipart form upload

2009-06-04 Thread Jason Proctor
i'm trying to do multipart form upload using the 4.x httpclient on android. all the 4.x code samples i'm seeing use org.apache.http.entity.mime.MultipartEntity, but i'm running into a roadblock trying to find it. it's supposed to be in the httpmime project, but the download link for that

[android-developers] build system issues

2009-06-04 Thread Jason Proctor
i started a thread on build issues a while back, and no longer have it available here. i remember a reply from Romain saying that ant handled dependencies. i don't think it does, and i know that javac doesn't do either. unless a .java file is itself dirty, it is not recompiled. i just tested

[android-developers] Re: is upgrade to 1.5 safe???

2009-06-03 Thread Jason Van Anden
Just updated to it. So far so good. Jason Van Anden http://www.bubblebeats.com On Wed, Jun 3, 2009 at 11:29 AM, Mike Wolfson mwolf...@gmail.com wrote: You will need to recompile your applications (make sure to switch the project properties to target 1.5 release) before redeploying them

[android-developers] Re: is upgrade to 1.5 safe???

2009-06-03 Thread Jason Van Anden
Now that I have been using it this AM - I must say ... sweet! The interface adjustments are great. j On Wed, Jun 3, 2009 at 11:39 AM, Mike Garcia sddm...@gmail.com wrote: Yes.  I have had the OTA update now for over a week and it is working as I would expect.  If you are developing in the

[android-developers] android alarm manager alarm

2009-06-01 Thread Jason Proctor
i thought this list had erratic delivery because each post had to be moderated...? -- jason.software.particle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Help for decoding the camera data from the PreviewCallback

2009-05-27 Thread Jason Proctor
sorry man, the data from the camera preview is encoded in raw YCbCr from the camera hardware, it's not readable in any sensible time frame by anything available in the Android SDK. Sujay has the wrong end of the stick again, he's talking about the image that's captured when the camera

[android-developers] finding content providers

2009-05-26 Thread Jason Proctor
you want to receive The data types for those fields this is frm http://developer.android.com/guide/topics/providers/content-providers.htmlhttp://developer.android.com/guide/topics/providers/content-providers.html On Tue, May 26, 2009 at 11:02 AM, Jason Proctor mailto:ja...@particularplace.comja

[android-developers] finding content providers

2009-05-26 Thread Jason Proctor
that's it -- thanks! This might be what you want:

[android-developers] dexer inner class errors

2009-05-25 Thread Jason Proctor
cool, thanks for the response. i cranked the heap and i now get a build. i did see some other dexer errors -- [apply] [apply] trouble processing: [apply] bad utf-8 byte a0 at offset 0004 [apply] ...while parsing cst 00bf at offset 08dd [apply] ...while parsing

[android-developers] Android DOM implementation issues

2009-05-25 Thread Jason Proctor
configuration possibilities are not implemented (yet?). For the SaxParserFactory it would be following property: javax.xml.parsers.SAXParserFactory -- Urs On Fri, May 22, 2009 at 1:46 AM, Jason Proctor ja...@particularplace.com wrote: fix them upstream then ship a forked copy until a new Android release

[android-developers] Whole lotta garbage collecting going on.... How do I find out what is being collected?

2009-05-25 Thread Jason Proctor
i think Mark is saying that you could redraw the score separately from the label, potentially saving an implicit new StringBuffer (stuff).toString () ? if score is a number, then it will need to make a new String anyway. but you could cache the string of the score until the score changes, so

[android-developers] Whole lotta garbage collecting going on.... How do I find out what is being collected?

2009-05-25 Thread Jason Proctor
and holding my own char[] for the converted int, is there a clean way to handle that without new allocations? On May 25, 4:29 pm, Jason Proctor ja...@particularplace.com wrote: i think Mark is saying that you could redraw the score separately from the label, potentially saving an implicit new

[android-developers] finding content providers

2009-05-25 Thread Jason Proctor
can i programmatically get a list of content providers extant on the system? tx -- jason.software.particle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] finding content providers

2009-05-25 Thread Jason Proctor
well, i thought the question was fairly clear :-) i don't want a list of the content, i want a list of the *providers*. wat kinda content??? media or contacts or wat??? On Tue, May 26, 2009 at 10:46 AM, Jason Proctor mailto:ja...@particularplace.comja...@particularplace.com wrote: can i

[android-developers] onResume after NotificationShade Pulled

2009-05-24 Thread Jason Van Anden
My activity does not seem to trigger onResume after the notification shade is pulled down. Anyone else have this problem (or had and sorted out how to fix it)? Thanks, Jason Van Anden --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: onResume after NotificationShade Pulled

2009-05-24 Thread Jason Van Anden
Figured out something using onWindowFocusChanged. Don't know what I'd do without me! j On Sun, May 24, 2009 at 5:55 PM, Jason Van Anden jason.van.an...@gmail.com wrote: My activity does not seem to trigger onResume after the notification shade is pulled down.  Anyone else have this problem

[android-developers] Android Loading listview items from service results in hang

2009-05-23 Thread Jason Proctor
If I do this, then I lose the benefits of running it in the UI thread. I want to hang my application until it gets these items, because if not, my view with id=android:empty shows up for a second, and that looks ugly. So put in another view, one that's not ugly. how about some kind of progress

[android-developers] database table design problem

2009-05-22 Thread Jason Proctor
i think maybe you should read the DDL again. There is something wrong with your database designing. And you need to add a table storing note type. 2009/5/22 Jason Proctor mailto:ja...@particularplace.comja...@particularplace.com you basically have a one (note) to many (note type

[android-developers] Video with MediaRecorder

2009-05-22 Thread Jason Proctor
can you log the exception and post it? thanks. I am trying to capture video with the same code above but it crash at - recorder.prepare(); cant track what is the problem, does anybody come across similar problem ; any hint? On May 7, 11:50 pm, Jason Proctor ja...@particularplace.com wrote

[android-developers] Android DOM implementation issues

2009-05-22 Thread Jason Proctor
it would be following property: javax.xml.parsers.SAXParserFactory -- Urs On Fri, May 22, 2009 at 1:46 AM, Jason Proctor ja...@particularplace.com wrote: fix them upstream then ship a forked copy until a new Android release re-merges, or use a different dom implementation. seems i'm up against

[android-developers] dexer inner class errors

2009-05-22 Thread Jason Proctor
i'm getting a *lot* of this kind of error from the dexer when trying to use 3rd party libraries or even after compiling innocent-looking source. is this a problem with the dexer, or a problem with my JDK? i'm using - Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237) -

[android-developers] Android DOM implementation issues

2009-05-21 Thread Jason Proctor
attributes cannot have children. So you probably mean something else, but I didn't get that. On Thu, May 21, 2009 at 1:59 AM, Jason Proctor mailto:ja...@particularplace.comja...@particularplace.com wrote: i'm porting some code which talks to the org.w3c.dom.* classes to Android, and i'm hitting some

[android-developers] Android DOM implementation issues

2009-05-21 Thread Jason Proctor
Stream / Reader / Whatever goes here)); Depends on what you're asking for. Mostly the apache stuff. On Thu, May 21, 2009 at 9:24 AM, Jason Proctor mailto:ja...@particularplace.comja...@particularplace.com wrote: thanks for the response. i use the standard (javax.xml.parser.*) SAX parser

[android-developers] Android DOM implementation issues

2009-05-21 Thread Jason Proctor
my dev environment is at work. i'll have to dig into it more in the morning. thanks for the responses. j No, not Xerces. I don't remember exactly, I think there is org.apache.harmony.something stuff and kxml. Yeah, I could dig it up, but you could probably too. You are at your machine?

[android-developers] Speed: Divide by two or multiply by .5? - I wrote a little FPS performance tester to find out.

2009-05-21 Thread Jason Proctor
These sorts of tricks are a pain in java because of the lack of signed types anyway. s/signed/unsigned ? java integers are all signed, including bytes. it's very funky that reading a byte gets you a signed value, but reading a single byte into an integer via an InputStream.read() call gets

[android-developers] Android DOM implementation issues

2009-05-21 Thread Jason Proctor
well it looks like Apache Harmony all right. any clues on where to find the source, so i can figure out why it has such big problems with basic stuff? i don't see it in the android base source distro, the source tree i get via CVS from the harmony project page itself, or the weirdly

[android-developers] How to play video file in android.

2009-05-21 Thread Jason Proctor
I'm working on video player too...My issue is I can't read a video from assets folder...Did you try this? this might be because the file:///android_asset/assetname URL format only works in the webview, an issue i reported the other day. you can open the asset with the AssetManager API, cache

[android-developers] Re: Load video from assets folder?

2009-05-21 Thread Jason Proctor
post your code? Hi, I'm trying to load a video file from assets folder, but MediaPlayer or VideoView still crashes. Somebody has an idea? Regards -- jason.software.particle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Android DOM implementation issues

2009-05-21 Thread Jason Proctor
thanks for the response. seems like i had an abbreviated source distro. i pulled the big one and found the harmony DOM source. i'm seeing problems already - confusion between a node's qualified and local names being an immediately noticeable one. yeah seems like i'll have to ship a fixed DOM

[android-developers] Android DOM implementation issues

2009-05-21 Thread Jason Proctor
seems like element.getLocalName() returns null if the node isn't namespace-aware (which is the default). that's a problem. other implementations return the name after the prefix is removed etc. code is (summarised) - Element element = document.createElement (tagname); element.cloneNode

[android-developers] Speed: Divide by two or multiply by .5? - I wrote a little FPS performance tester to find out.

2009-05-21 Thread Jason Proctor
Nitpick: char is effectively an unsigned short. while, IMHO, char != integer type, you can cast them, so you're right. The InputStream.read() unsigned result has probably saved lots of people from going insane. me, for one. On a different note, I haven't yet decided if allowing bitwise

[android-developers] Android DOM implementation issues

2009-05-21 Thread Jason Proctor
Harmony bugs and noncompliant behaviour logged as issue #2735. -- jason.software.particle --~--~-~--~~~---~--~~ 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] Android DOM implementation issues

2009-05-21 Thread Jason Proctor
fix them upstream then ship a forked copy until a new Android release re-merges, or use a different dom implementation. seems i'm up against it here too. i included a copy of the harmony DOM source in my Android project, and it builds fine, but at runtime it uses the regular one. is there a

[android-developers] Android DOM implementation issues

2009-05-21 Thread Jason Proctor
in DocumentBuilderFactory say that other configuration possibilities are not implemented (yet?). For the SaxParserFactory it would be following property: javax.xml.parsers.SAXParserFactory -- Urs On Fri, May 22, 2009 at 1:46 AM, Jason Proctor ja...@particularplace.com wrote: fix them upstream then ship a forked copy

[android-developers] Re: database table design problem

2009-05-21 Thread Jason Proctor
you basically have a one (note) to many (note type) relationship. model this with two tables -- create table notes (id integer primary key); create table note_types (note_id integer references notes, type integer); to add a type to a note, insert into note_types. to find out whether a note

[android-developers] BroadcastReceivers not receiving PendingIntents

2009-05-20 Thread Jason Proctor
a while back i posted an issue i was having when my BroadcastListener was listening for phone state and sending the info over to an Activity which would present UI. but getIntent() in the receiving Activity always brought back the initial one. should i be using something off PendingIntent in

[android-developers] Re: Bitmap from Camera Preview using BitmapFactory.decodeByteArray

2009-05-20 Thread Jason Proctor
check out the Camera SDK docs. camera previews are in raw YUV/YCbCr format. BitmapFactory won't decode that format. in the days before 1.5 brought back video recording, various intrepid 'droiders including me were doing video capture by saving preview frames, and the adventures did not always

[android-developers] Bitmap from Camera Preview using BitmapFactory.decodeByteArray

2009-05-20 Thread Jason Proctor
...and it's worse than that. there are various race conditions in the native Camera code that make VM crashes *very* likely when your onPreviewFrame() handler takes more than one squillionth of a second to do its thing. i did stuff like handing the buffer off to another thread for saving etc

[android-developers] Bitmap from Camera Preview using BitmapFactory.decodeByteArray

2009-05-20 Thread Jason Proctor
what do you want to do with the preview? if you just want to render it, then Camera will do that for you with setPreviewDisplay(). best thing to do if you want to do anything else == don't use Camera previews :-) I think I might go the offscreen buffer route and render when I can, as FPS

[android-developers] BroadcastReceivers not receiving PendingIntents

2009-05-20 Thread Jason Proctor
(). On Wed, May 20, 2009 at 10:55 AM, Jason Proctor mailto:ja...@particularplace.comja...@particularplace.com wrote: a while back i posted an issue i was having when my BroadcastListener was listening for phone state and sending the info over to an Activity which would present UI. but getIntent

[android-developers] Speed: Divide by two or multiply by .5? - I wrote a little FPS performance tester to find out.

2009-05-20 Thread Jason Proctor
maybe i'm missing the point here, but dividing by a power of 2 can be done very fast by right-shifting. hard to beat that. Romain - The idea was to see which is faster to cut an int in half - multiplying by a float (.5) or dividing by two. I've read that divides are terribly slow but

[android-developers] access to assets via URLs

2009-05-20 Thread Jason Proctor
i can get a WebView to access an asset via a URL of the form - file:///android_asset/assetname but the URL class won't retrieve an asset via the same URL, claiming that the file doesn't exist. should these behave consistently? -- jason.software.particle

[android-developers] Android DOM implementation issues

2009-05-20 Thread Jason Proctor
i'm porting some code which talks to the org.w3c.dom.* classes to Android, and i'm hitting some issues. i'm using javax.xml.parsers.SAXParser as my parser, then getting an XMLReader and setting myself up as a DefaultHandler to get notified of SAX events. first issue (minor) -- in

[android-developers] Re: Weird ringtone bug...any solutions??

2009-05-20 Thread Jason Parekh
Ah, sorry about the docs not mentioning the part about the URI needing to be pointing to the Media provider. FWIW, you shouldn't need to touch the Settings provider directly, the call to setActualDefaultRingtoneUri will do that for you. jason On Thu, May 21, 2009 at 12:26 AM, tydiz

[android-developers] Re: Setting connection priorities using WifiConfiguration.priority

2009-05-20 Thread Jason Parekh
is in http://android.git.kernel.org/?p=platform/packages/apps/Settings.git;a=blob_plain;f=src/com/android/settings/wifi/WifiLayer.java;hb=cupcake . jason On Wed, May 20, 2009 at 9:31 AM, wefi.andr...@gmail.com wefi.andr...@gmail.com wrote: I am trying to to use WiFi API to set priorities

[android-developers] Re: Leaked window in PreferenceActivity

2009-05-19 Thread Jason Parekh
Hi all, This is a bug in the preference framework where its created windows aren't being disposed properly (something the framework should be doing). You can safely ignore the error message (this will be fixed in the future). jason 2009/5/19 Sikus sikusra...@gmail.com: I don't understand

[android-developers] Re: setBuiltInZoomControls and debugging problems

2009-05-18 Thread Jason Parekh
Hey Tim, Just those two lines of code should work--could you clarify what you mean by set the defaultzoomcontrols? The zoom controls should appear as soon as you pan the map. Also, including the stack trace from adb logcat will likely be enough to debug this problem. jason On Mon, May 18

[android-developers] loading apk resources into a WebView

2009-05-14 Thread Jason Proctor
i'm using file:///android_asset/resourcename to access apk resources, as various online resources and the WebKit doc page suggest, but i'm getting no success. the docs say that apk asset access is more restricted post-1.0, without being specific. do i need to declare a permission or

[android-developers] loading apk resources into a WebView

2009-05-14 Thread Jason Proctor
thanks for the response. do you have 1.5 versions of those projects btw? i'd just update them, but in practice i've found that the updater always complains that the projects are too old, and the creator, which pre-1.5 used to just replace the bits of the project hierarchy that were missing

[android-developers] loading apk resources into a WebView

2009-05-14 Thread Jason Proctor
thanks for the response. yeah it all works fine, i had the resources in the wrong place. btw, it is not necessary to declare internet permission in order to access stuff from the APK. nor should it be, IMHO. This works for me: E.g. In one of my apps, I load an HTML page as follows:

[android-developers] Re: Video Recorder as alternative to Camera Preview filter?

2009-05-09 Thread Jason Proctor
well as someone who was responsible for some of those posts :-) i can say that yes the G1 camera code had some interesting problems with its preview handler and yes dealing with the YUV format in Java on the phone was prohibitively expensive. the video camera interface is completely

[android-developers] Video streaming error in SDK 1.5

2009-05-08 Thread Jason Proctor
the moov and mdat atoms should already be there, (IIRC) they are required for a well-formed movie file. the moov atom provides metadata for the movie, and the mdat atom provides the actual content. however, if the file is being streamed, the client needs to know the metadata before the actual

[android-developers] Video with MediaRecorder

2009-05-07 Thread Jason Proctor
. This means I will now have two files for the same capture since the user didnt choose to stop the capture. (And I need to merge these files). Does anyone know of a way to keep the capture running when rotating the phone? Thanks, Anders On May 6, 8:11 pm, Jason Proctor ja...@particularplace.com wrote

[android-developers] Video with MediaRecorder

2009-05-07 Thread Jason Proctor
not sure how you were able to change the preview size though. I'd like to know the code sequence you used, because it's not supposed to be possible. On May 6, 11:11 am, Jason Proctor ja...@particularplace.com wrote: just a tiny fyi here is that i did manage to get video recording working fine in my

[android-developers] How to use AudioRecord and AudioTrack

2009-05-07 Thread Jason Proctor
recording ambiences doesn't work right in mono. not that phones should be able to do absolutely everything, but i don't haul my recording rig absolutely everywhere with me :-) The mic on all current Android devices, why would you want to record stereo? -- jason.software.particle

[android-developers] Video with MediaRecorder

2009-05-07 Thread Jason Proctor
mean that there's a mismatch between the metadata and the actual frame size, is that correct? On May 7, 11:17 am, Jason Proctor ja...@particularplace.com wrote: i don't change it, it gets changed by the Author Driver presumably to avoid colliding with the status bar or somesuch. here's some

[android-developers] conversion to dalvik format failed with error 1

2009-05-07 Thread Jason Proctor
as i've repeatedly repored, this list is messed up. i've not seen such random latency in a *long* time. and i'm still not seeing my posts! i used to, up until a month or so back. anyone else stop seeing their posts? This posting system is weird.. My reply to Justin about the problem, written

[android-developers] Video with MediaRecorder

2009-05-07 Thread Jason Proctor
be fixed on the G1/ADP at least. Hi, Jason, thank you. That really helped a lot. I no longer see onDestroy being called all the time. Before setting the orientation to LANDSCAPE, the preview display was wrong. The display was rotated 90 degrees and the picture a bit distorted After setting

[android-developers] Video with MediaRecorder

2009-05-07 Thread Jason Proctor
btw, since streaming movies via HTTP requires the moov atom to be ahead of the mdat atom in the file, it would therefore be handy if MediaRecorder wrote the file like that :-) will this be fixed do you think? wondering whether i should just write that piece of code anyway. --

[android-developers] IMHO, the ant targets should clean before building

2009-05-07 Thread Jason Proctor
given that we're dealing with relatively small amounts of code, java compiles quickly, and javac doesn't properly deal with dependencies, the ant files should delete (at least) .class files before compiling. currently, to make sure everything gets built and i don't have any out of date

[android-developers] Re: sdcard - remaining space

2009-05-07 Thread Jason Proctor
there's the org.apache.commons.io.FileSystemUtils class, but offhand i don't know whether it works on Android. hello, sorry if this has already been answered (hard to search for this one).. is there any way to detect remaining space on the sdcard through the API? I prefer not to make native

[android-developers] resuming extant Activity with different intent

2009-05-06 Thread Jason Proctor
i'm seeing some weirdness and just wanted to confirm my understanding/theories about intents and activity lifetimes. i have a broadcast receiver which signs up to get phone state notifications. when the phone rings, i construct a new intent, put the phone details in its extras, set its

[android-developers] list chaos

2009-05-06 Thread Jason Proctor
anyone seeing crazy list behaviour? i'm not seeing my own posts (though others are - sometimes, and they're not in my spam folder), stuff gets delivered way out of order (but with up to date send times, so it's not a mail issue), batches of posts get released in the middle of the night or at

[android-developers] Re: Tap Outside Listener for Dialog

2009-05-02 Thread Jason Parekh
If you want your dialog to cancel when the user taps outside its area, check out Dialog.setCanceledOnTouchOutside. jason On Thu, Apr 30, 2009 at 2:46 PM, UBZack zferv...@gmail.com wrote: Hi all, I was wondering if anyone knew of an event listener that receives tap outside events

[android-developers] test post

2009-05-01 Thread Jason Proctor
guys, if you're going to filter *all* my posts, you might as well give me some idea as to why. -- jason.software.particle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] video recording in 1.5

2009-05-01 Thread Jason Proctor
() fails, with the wonderfully informative error message setVideoEncoder failed. thanks for a position on this, Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] video recording in 1.5

2009-05-01 Thread Jason Proctor
nope, never needed it. is the requirement new? i'll give it a go, thanks. (looks like my posts are going to the list then. does the list not echo them back to the poster, like it used to?) Did you include android.permission.CAMERA in your manifest? On May 1, 3:21 pm, Jason Proctor juvat

[android-developers] video recording in 1.5

2009-05-01 Thread Jason Proctor
not to labour the point, but i ask whether it was new because i didn't need it with 1.5pre and the Haykuro image. i'll give it a try when my ADP comes back, thanks. No, you have always needed a camera permission to access the camera. It's new to the MediaRecorder API because we didn't add

[android-developers] Re: 1.5 SDK problem with WebView.getZoomControls()

2009-04-29 Thread Jason Parekh
=fill_parent android:layout_height=wrap_content android:layout_centerHorizontal=true android:layout_alignParentBottom=true / jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: 1.5 SDK problem with WebView.getZoomControls()

2009-04-29 Thread Jason Parekh
On Wed, Apr 29, 2009 at 2:29 PM, Mariano Kamp mariano.k...@gmail.com wrote: Jason, thanks, I just tried that and, as you say, it works too. Regarding performance you talk about the lack of HW acceleration for the old way or is it layout performance you talk about? Not a problem. I

[android-developers] Re: 1.5 SDK problem with WebView.getZoomControls()

2009-04-28 Thread Jason Parekh
of the WebView instead of software compositing. Unfortunately, I'm not sure why you're seeing layout issues with the old zoom controls. Could you try changing the LinearLayout's layout_width to fill_parent? If this does not work, could you please post a screenshot? jason On Tue, Apr 28, 2009 at 3:33

[android-developers] Re: How to start an Intent from preference page AND GET RESULTS?

2009-04-28 Thread Jason Parekh
The easiest solution for your situation is to refresh the summaries in your preference activity's onResume. Otherwise you'll have to override onPreferenceTreeClick and start the activity manually. (sent from phone) On Mar 6, 2009 7:37 PM, Xin Zhao uszhao...@gmail.com wrote: Hey guys, I am

[android-developers] runtime API level detection

2009-04-27 Thread jason...@spy.net
I'm trying to product a binary that is compatible with 1.1 and 1.5, but i'm having trouble with the ViewSwitcher class behaving different. I'd like to create a wrapper for it, but I need a way to programatically detect the api level at runtime.

[android-developers] Re: Difficulty Resuming SurfaceView

2009-04-26 Thread Jason Van Anden
and wait to use 1.5 until it is ready for release). The mis-registration of the buffers is super weird ... esp since it only occurs when started from the activity with the surfaceview. Thank you, Jason On Apr 25, 2009 3:28 PM, Mike Hearn mh.in.engl...@gmail.com wrote: Does GLSurfaceView do what

[android-developers] Re: Difficulty Resuming SurfaceView

2009-04-26 Thread Jason Van Anden
in the blog entry). Thanks, Jason Van Anden http://www.smileproject.com On Sun, Apr 26, 2009 at 6:49 AM, Jason Van Anden jason.van.an...@gmail.com wrote: This looks like it does what I have been trying to do ... except that I have no way of knowing if it will resolve the problem that occurs

[android-developers] Re: Copy protection License key management

2009-04-26 Thread Jason Van Anden
Is the copy protection in 1.5 any more robust in 1.5? On Apr 26, 2009 11:38 AM, Jean-Baptiste Queru j...@android.com wrote: The issue (1) with turning copy protection on (or off) was in Android 1.0/1.1, and there's been no fix for it made on top of those versions. I believe that it is fixed in

[android-developers] Re: Difficulty Resuming SurfaceView

2009-04-26 Thread Jason Van Anden
this helps someone else! Jason Van Anden http://www.smileproject.com On Sun, Apr 26, 2009 at 7:30 AM, Jason Van Anden jason.van.an...@gmail.com wrote: Not to beat a dead horse ... but other suggestions regarding how to deal with the mis-registered list view issue would be super appreciated

[android-developers] Seeing Double ListView

2009-04-25 Thread Jason Van Anden
the SurfaceView version draw over themselves mis-registered when I scroll long lists quickly. If anyone out there has had a similar problem and/or has an idea what might be going on and/or has a suggestion as to how to fix this, please do! Thank You, Jason Van Anden

[android-developers] Re: Seeing Double ListView

2009-04-25 Thread Jason Van Anden
... am I trying to do the impossible by using a SurfaceView and ListView in the same app? What it looks like to me is that the double buffering on the list is getting flummoxed. j On Sat, Apr 25, 2009 at 1:25 PM, Jason Van Anden jason.van.an...@gmail.com wrote: I am wondering if anyone else

[android-developers] Re: Difficulty Resuming SurfaceView

2009-04-24 Thread Jason Van Anden
Perhaps this would be a better way to inspire feedback. Is it possible to pause and resume a view based upon SurfaceView? What would be the correct way to restart the view so that the thread can begin drawing again? On Fri, Apr 24, 2009 at 1:29 PM, Jason Van Anden jason.van.an

[android-developers] dear list moderators

2009-04-24 Thread Jason Proctor
how long do i need to be on probation before my posts take less than a week to reach the list, if at all? -- jason.software.particle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: how to send mail in SDK 1.5

2009-04-22 Thread Jason Proctor
JavaMail works fine with JDK 1.5 here. what problems are you seeing? Hi All, Javamail is not compatible with SDK 1.5. Do you know other ways I can send mail automatically? Thanks, Xian -- jason.software.particle --~--~-~--~~~---~--~~ You received this

<    4   5   6   7   8   9   10   11   >