[android-developers] Re: Connect MediaRecorder to MediaPlayer

2012-03-17 Thread Doug
Generally speaking, video streams need to be seekable in order to play. The exception to this is video streams that were specially constructed to be streamable, which I'm pretty sure you will not get out of a MediaRecorder. Doug On Tuesday, March 13, 2012 2:40:38 PM UTC-7, Jeff wrote:

[android-developers] Re: Parcelable : Passing object from one activity to another activity

2012-03-15 Thread Doug
You can save yourself the trouble of writing serializing and deserializing code using a library such as XStream which will do all that for you using reflection. Just don't try to send big objects that way. Doug On Sunday, March 11, 2012 6:45:20 PM UTC-7, kahou wrote: > > Hi, >

[android-developers] Re: Lock-unlock device during audio recording

2012-03-15 Thread Doug
Read up on the broadcast intent ACTION_USER_PRESENT to know if the user is actively using the app. Doug On Monday, March 12, 2012 3:10:20 AM UTC-7, rachana govilkar wrote: > > Hello all, > I am developing an application inside which i need to record audio. > I implemented co

[android-developers] Re: Selling an app: Sales Tax and Tax Returns?

2012-03-08 Thread Doug
Now is great time for you to start learning about your local and federal tax laws. :-) If you generate income at all, you should be thinking about these things even if you don't cross whatever threshold the government will start caring about the taxes they can collect on it. Doug On S

[android-developers] Re: Same java package in multiple applications

2012-03-08 Thread Doug
Individual app installations on the same device are completely sandboxed from each other. It's not possible for namespaces to collide for either java or C code between apps. Doug On Mar 5, 10:04 pm, Omri wrote: > Hey All, >    So I'm developing a mixed Java/C++ JNI based app

[android-developers] Does Market Recognize Internationalization?

2012-02-27 Thread Doug Gordon
the Market description? Doug Gordon GHCS Software -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android

[android-developers] Re: ADB over WiFi

2012-02-23 Thread Doug
le to use other adb commands in the same way you would normally expect. Doug -- 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

[android-developers] Re: MOTODEV Studio?

2012-02-23 Thread Doug
I avoid any software that has the word "MOTO" in it. I should know -- I used to work for Motorola. Doug On Feb 22, 7:11 am, bob wrote: > Just wondering - is it easier to use MOTODEV Studio or install the > pieces separately?  While I like the all-in-one idea, I'm having s

[android-developers] Re: how can i post jsonarray at the end of requeseted url?

2012-02-23 Thread Doug
Like any query string value string, you have to "url escape" it so it's valid to send. Doug On Feb 21, 10:50 pm, Mulsaniya Bhadresh wrote: > http://192.168.1.4:55106/Waiter_json.aspx?MethodName=InsertOrderForTa...[{ > "commej":"","id":1,"

[android-developers] Re: Get the PCM data of the songs currently playing in the android phone

2012-02-23 Thread Doug
think it's just detailed enough to show a coarse view of what's being played. I think there is an ApiDemos sample that demonstrates this. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: Get the PCM data of the songs currently playing in the android phone

2012-02-18 Thread Doug
Try Google. I don't think you will find much that is not JavaSound native, though. Doug -- 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

[android-developers] Re: Extracting AMR data from RTP payload

2012-02-14 Thread Doug
Why are you asking here? What you are trying to do doesn't really have anything to do with Android application development. You might be better off asking in a forum that deals with pcap data in general. Doug On Feb 13, 7:04 am, NITIN wrote: > Hi > > I ave captured a pcap f

[android-developers] Re: What is wrong with Android Adapters?

2012-02-14 Thread Doug
is getting refreshed somehow, it may be getting rebuilt. You could also try starting with a sample from ApiDemos and building from there. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Re: Why are new apps not featured on Android market anymore?

2012-02-13 Thread Doug
ur app that don't involve getting it done for free because you happened to upload a new APK. You can research that. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Re: DLL equivalent in android

2012-02-13 Thread Doug
h I think that you probably meant through an abstraction layer > such as AIDL or something.. No, I do mean literally load another application's classes directly. http://groups.google.com/group/android-developers/browse_thread/thread/261ce958a8599bfc Doug -- You received this message becau

[android-developers] Re: How to create multiple ListViews with fragments in Android

2012-02-11 Thread Doug
It is possible. Just search for something like "android fragment example" to get started. Doug On Feb 8, 10:53 pm, Abhishek Kumar Gupta wrote: > Actually I want to create three listviews with the help of fragments. Is it > possible? if possible then please give some reference.

[android-developers] Re: Prevent image from being scaled in ImageView

2012-02-11 Thread Doug Gordon
Are you saying that the "X" gets scaled up to the full size of the ImageView as though the transparent "border" were not there? I have an ImageView that displays photos in their "native" pixel dimensions up to a max size by doing this: This does *not* scale up images that are less th

[android-developers] Re: DLL equivalent in android

2012-02-11 Thread Doug
27;t want to do that. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@goo

[android-developers] Re: Phone call error

2012-02-08 Thread Doug
No one will be able to help you because we don't know which line is 477 in your MainActivity.java file. You should probably just find that line yourself and diagnose the problem with a debugger. Doug On Feb 8, 12:52 am, Dhaval Varia wrote: > *Dear all > > I have developed my

[android-developers] Re: The apk must be signed with the same certificates as the previous

2012-02-08 Thread Doug
install one on top of the other, you will see this error. Doug -- 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 e

[android-developers] Re: how to include another listview below the default listview( created with ListFragment) in Android

2012-02-08 Thread Doug
probably don't want ListFragment any more. ListFragment is a shortcut for making simple list, so it's probably time to make your own Fragment that contains two lists and operates them the way you need. Doug -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: AudioTrack in MediaController

2012-02-08 Thread Doug
Wav files , how it is > possible to use it with MediaController? Write your own or adapt Google's source code from the component you're using. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Re: Why would PackageManager throw PackageNotFound for its own App Package?

2012-02-08 Thread Doug
impossible at that point in the code where the String method is being called. Fortunately, this firmware is not public yet! Doug On Feb 7, 5:46 am, William Ferguson wrote: > Hi Mark, > > Its on the UI thread from a button click. > > William > > On Feb 7, 11:37 pm, Mark Murphy

[android-developers] Re: Supporting Galaxy Note Issues Due To It Displaying Itself as a LARGE screen layout.

2012-02-07 Thread Doug
ints. I think Samsung was aware of the problems with the way that the Note works with some apps, because my company was directly contacted by a representative from Samsung who helped us work out the layout issue with our app on the Note. Doug -- You received this message because you are subscribed t

[android-developers] Re: speex or jspeex support on android

2012-02-04 Thread Doug
Use jspeex just like you would if you were writing a regular java problem. If you need help with jspeex, you are asking in the wrong place. You would get more help from the creators of jspeex. Doug On Jan 31, 11:31 pm, hemant metalia wrote: > Hi, > please can anybody help me how use sp

[android-developers] Re: Poll: how many of you use a backend service or roll your own

2012-01-29 Thread Doug
th backend stuff is pure java that I can use in any Java context, given HTTPClient and other pure java libs as infrastructure. The only extra stuff I have to do in the Android side is use loaders and some special configuration. Doug On Jan 28, 4:31 pm, Kristopher Micinski wrote: > All, >

[android-developers] Re: how to distribute a Library Project WITHOUT source code (as jar file) as some sort of SDK?

2012-01-29 Thread Doug
ames of the resource files -- then there will be a problem. Granted, it would be much better if Google created a full library-as- JAR solution, making AAPT smart enough to grab resources out a jar instead of looking for them in the filesystem. But this should work as long as nothing is meddled wit

[android-developers] Re: On ICS, Stopped service can't receive an intent.

2012-01-29 Thread Doug
valid intents for which the app holds permission, and I would expect that broadcast receiver be able to start a service if needed. Doug On Jan 23, 9:30 pm, Ravi Pandey wrote: > I have tried to design a Service in such a way that once it's receiver > can receive the BOOT_COMPLETED intent ,

[android-developers] Re: sqlite size capacity

2012-01-29 Thread Doug Gordon
I believe that there is a maximum file size limit of 2Gb, but this has more to do with Android in general than specifically with SQLite. Performance has more to do with your database schema than with the size of the file, but Android was not designed as a "database engine" and I had to resort to so

[android-developers] Re: Regarding integration of ffmpeg libraries with android sdk

2012-01-21 Thread Doug
will cause. The information you are looking for is out there, usually in a language that is not English. Doug On Jan 20, 1:37 am, Himanshi Saxena wrote: > Hi all, > I am doing a college project on "adaptive video streaming on android". > I need to integrate ffmpeg libraries with

[android-developers] Re: Supporting Galaxy Note Issues Due To It Displaying Itself as a LARGE screen layout.

2012-01-21 Thread Doug
pace. I took it on good authority that it's a Bad Idea to target dimensions size in resource specifiers, but it's what I had to do to make it work without redesigning a very important screen in my app. Please don't email me for support! Have fun. Doug On Jan 20, 6:05 am, Ch

[android-developers] Re: Supporting Galaxy Note Issues Due To It Displaying Itself as a LARGE screen layout.

2012-01-21 Thread Doug Gordon
This is why I sometimes envy developers who write for iOS -- they have only a few well-defined form factors to consider and don't have new "surprises" coming out every few weeks! :-) Doug Gordon GHCS Software On Jan 20, 9:09 pm, jtoolsdev wrote: > I have a similar prob

[android-developers] Re: Low Latency Audio is gettting worse not better

2012-01-19 Thread Doug
What numbers? What are you running and how? Can I duplicate your findings using standard dev tools? On Jan 18, 4:04 pm, Anton Persson wrote: > Doug, the Case in point shows that hardware is not the issue... Using a > STANDARD Linux audio engine (Pulse) showed 10 times  improved l

[android-developers] Re: Low Latency Audio is gettting worse not better

2012-01-17 Thread Doug
ission both the hardware and a customized Android kernel. Doug On Dec 11 2011, 2:48 pm, Bh1 wrote: > However the real question is after three years of constant development > why has audio latency got worse across the board instead of better? Is > it even worth anyones time to try to get somet

[android-developers] Re: JNI and caching jobject "thiz"?

2012-01-17 Thread Doug
http://java.sun.com/docs/books/jni/html/jniTOC.html Doug On Jan 16, 1:34 am, M J wrote: > Hey, > > hmmm, I do not think so. I just want to know how to call a Java method > from C without having the jobject. Can I cache it when I previously > got it as parameter? > > On 16

[android-developers] Re: Hardware accleration slow down every Canvas app. Why?

2012-01-17 Thread Doug
You realize that going from 10 fps to 30 ftp is an INCREASE in performance, right? How are you measuring that? Have you instrumented your code with timing information? On Jan 16, 10:41 am, sblantipodi wrote: > Just to add some more data. > This simple app can render its UI at 60FPS on Galaxy Ne

[android-developers] How to detect if ICS device has soft buttons or not?

2012-01-11 Thread Doug
cessarily steal my events for what is essentially a no- op. Doug -- 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 em

[android-developers] Re: Difference between fragment add and replace

2012-01-10 Thread Doug Gordon
e container". In general, the Android documentation is good, but sometimes inconsistent in terminology when read closely. On Jan 9, 11:38 am, TreKing wrote: > On Mon, Jan 9, 2012 at 9:27 AM, Doug Gordon wrote: > > So what is the difference behind the scenes between these two method

[android-developers] Difference between fragment add and replace

2012-01-09 Thread Doug Gordon
in an empty frame. This is all working well, but what I've observed is that there is no visible difference in behavior whether I show frag B by calling ft.replace().addToBackStack() or ft.add().addToBackStack(). So what is the difference behind the scenes between these two methods?

[android-developers] Re: I require Code for Cloud printer

2012-01-05 Thread Doug
Please tell us more about "the cloud print facility". Doug On Jan 2, 4:10 am, aru padam wrote: > Hi All, > >        I want a help on creating an apps which support the cloud > print > facility. > Please help me. > > -- > Thanks & Regards > > Dee

[android-developers] Re: ICS/Galaxy Nexus Can't Loop Audio without GAP

2011-12-23 Thread Doug
d give you the chance to solve the issue yourself instead of waiting on all the device manufacturers to solve it for you. Doug On Dec 22, 4:39 pm, csyperski wrote: > ICS can't loop audio seamlessly with more than one core, when using > MediaPlayer->setLooping(true). -- You received

[android-developers] Re: Audio jack for other functions

2011-12-23 Thread Doug
is the small amount of card data on the magnetic strip. Doug On Dec 21, 11:00 pm, PhotoSteve wrote: > How would you get access to the audio jack to perform other > functions(aka the Square Up CC reader)? -- You received this message because you are subscribed to the Google Groups &q

[android-developers] Re: One process, two live Application objects?

2011-12-20 Thread Doug
t to establish this configuration for me or be forced to put that line of init code into every component's onCreate, which is horrible. Also, I like Application.onCreate to set up background threads to kick off work that need not impede the user's progress through the app. Again, horrible t

[android-developers] Re: if() Statement Not Working Correctly...

2011-12-17 Thread Doug
Don't use == on strings. Use the equals method. (pick up a java book) Doug On Dec 15, 8:17 pm, Matt Clark wrote: > I am currently writing an application to easily retrieve the bus > schedule for my school. I have a series of intents and content views > that get information from

[android-developers] Re: undefined reference to `android::AudioTrack::set(...)

2011-12-16 Thread Doug
You can pass any java object to native code and manipulate it via JNI. Doug On Dec 15, 1:46 am, JC wrote: > Hello all, > > I understood that why it is not allowed. > > So if one have achieve same, what is another method for > implementation? > > Can we pass AudioTrack o

[android-developers] Re: OT How to Automate Build Tasks in Eclipse?

2011-12-15 Thread Doug
third-party reuse is formally supported). It works with the latest SDK. I do it for lots of apps that have crazy dependencies. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] Re: Date format issue with different locale

2011-12-13 Thread Doug
Use android.text.format.DateFormat and give it a Context so it can can give you the most relevant formatter for the current locale. Doug On Dec 12, 1:11 pm, "Tool&Android" wrote: > When I change the locale from English to Espanol, issue with uppercase/ > lower case for month

[android-developers] Re: xlargeScreens ?

2011-12-13 Thread Doug Gordon
Are you sure you're using the correct symbol, i.e. Configuration.SCREENLAYOUT_SIZE_XLARGE? Doug Gordon GHCS Software On Dec 12, 7:39 pm, martypantsROK wrote: > seems to be an Eclipse problem. Build target is set to 11 but it > doesn't recognize it. > Got all the latest

[android-developers] Re: After updating sdk from r06 to r15

2011-12-08 Thread Doug
pse. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Re: Share Your Practical Experience to build Android Application with Pre-Populated Database

2011-12-08 Thread Doug
1. Create your database on your desktop or server. 2. Publish your database file at a downloadable URI (http/ftp/ whatever). 3. Have your app download the database to a suitable location. 4. Access your database from the app. Doug On Dec 6, 6:29 am, eSumit wrote: > Have you developed

[android-developers] Re: How to draw pixels?

2011-12-03 Thread Doug
Sounds like you just need to create your own subclass of View, feed it the binary data to draw as that data becomes available, and put your logic below into the onDraw method using the drawing primitive of the Canvas object it receives. Doug On Dec 3, 6:30 pm, Vincent wrote: > Thanks

[android-developers] Re: Is useful testing actually possible?

2011-12-03 Thread Doug
s just show how to get work done, not how to prove that the scaffolding works as intended. Do you have a counter example of a sample app for any API that unit tests itself independently of the APIs that it demos? Have you investigated any literature or tutorials on Android unit testing? Doug

[android-developers] Re: MP4 video not working on Google Nexus One

2011-12-03 Thread Doug
which is not part of the media support declared by Android. If you are going to distribute media for all Android devices, it needs to be in a format that is supported by core Android and not depend on manufacturer extensions. Doug On Dec 1, 7:49 pm, Ali Rangwala wrote: > Hello All, > &g

[android-developers] Re: I/O date change

2011-12-03 Thread Doug
a hat. It's not just fluff. It's a way of stimulating the development community to create great products for their platforms. I've received all kinds of stuff from Google for development both at I/O and through other channels, and it's always great to know that they a

[android-developers] Re: Is it possible to add rows to the listview from the top?

2011-12-03 Thread Doug
No, don't do this. Just change the data backing your adapter (in the main thread) and call its notifyDatasetChanged() method. That will tell the adapter to update the ListView to which it's attached. Or you could create a new adapter and set it on the ListView. Doug On Dec

[android-developers] Re: WebView Polling... Multiple Instances.... Need Some Advice

2011-12-03 Thread Doug
longer visible to the user and start it again on onStart(). Doug -- 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

[android-developers] Re: What are ideal parameters for the width & height of the layout of widget?

2011-12-03 Thread Doug Gordon
You are not very specific about what you are doing, but in general the "container" section of your layout -- the RelativeLayout part -- would be set to "match_parent", but a typical widget such as a Button would be set to "wrap_content" because you don't want it to be any larger than it has to be.

[android-developers] Re: Fragment Re-instantiation on Activity Restart

2011-11-29 Thread Doug Gordon
To wrap this up, I've found that the arguments "sent" to the fragment with setArguments are preserved when the fragment is reinstantiated by the framework. So what I'm now doing is only creating a new fragment if there is no previous one after a config-change restart. For example: mTabBar = (

[android-developers] Re: Fragment Re-instantiation on Activity Restart

2011-11-29 Thread Doug Gordon
Rony, you are correct, but of course if (savedInstanceState != null) then I'd need to use the manager findFragmentByTag call to find these recreated fragments since I need to be able to add them to their container view and also to be able to call custom methods that update the displayed data, etc.

[android-developers] Fragment Re-instantiation on Activity Restart

2011-11-28 Thread Doug Gordon
My app is built with V4 of the Compatibility Library (in case that makes a difference) and all of my fragments are "dynamic". That is, I explicitly create the fragment objects and put them in a view with an "add" or similar transaction, etc. What I have discovered is that, when my activity is

[android-developers] Re: Way to implement playing .m3u streams to my app

2011-11-18 Thread Doug
M3U is not really a "format". It's a way of expressing playlists, and it's just text. http://en.wikipedia.org/wiki/M3U You should probably read the M3U and get to the stream(s) that really matter within it. Doug On Nov 12, 12:03 pm, MarkusK wrote: > Hey everybo

[android-developers] Re: Fragment within a fragment?

2011-11-16 Thread Doug Gordon
Thanks for the confirmation; I sort of expected that. After browsing StackOverflow, one of the posts gave me an idea for an alternative design that will actually make everything much simpler and more elegant than what I was thinking of doing. So it worked out for the better. :-) Doug Gordon On

[android-developers] Fragment within a fragment?

2011-11-16 Thread Doug Gordon
t have a really good grasp on how fragments are implemented and managed. Thanks. Doug Gordon GHCS Software -- 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

[android-developers] Re: Programatically deleted files still show up in Windows Explorer

2011-11-15 Thread Doug
On Nov 12, 1:11 am, cctools wrote: > My app polls a directory on the SDcard for the appearance of new files > that where dropped there by the user from Windows file explorer over > the USB connection. When a new file appears, my app processes it, and > then deletes it, however the file still sho

[android-developers] Re: Animations in ListView (Android 3+)

2011-11-05 Thread Doug
The Gmail app may not be using a ListView, or may be using a customized derivative of ListView to achieve that effect. I imagine it's not as simple as setting a flag or writing a few lines of code to run an animation. Doug On Nov 4, 6:06 am, BoD wrote: > Hi! > > I am loo

[android-developers] Re: Layout for zero-length strings in TextView

2011-11-05 Thread Doug
change. Doug On Nov 4, 8:32 am, RLScott wrote: > The app is compiled > use API 8 for Android 2.2.  But on a Acer A100 tablet running Android > 3.2, this is not what happens.  Instead a TextView with a zero-length > text takes up no room at all and the second TextView slides up to

[android-developers] Re: Hook event listeners for activity/application lifecycle events

2011-11-04 Thread Doug
cks subclass that instead of Activity directly. There also may be some frameworks that do this for you, but you won't get it from Android directly. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

[android-developers] Re: Playing in memory WAV file

2011-11-04 Thread Doug
Find the PCM data in the WAV and write it to an AudioTrack that is configured to play the PCM data (channels, rate, etc). Doug On Nov 1, 8:22 am, Joey Studwell wrote: > I've been reading quite a bit and I can't find a great answer, but it > seems like what I want to do should

Re: [android-developers] String isEmpty()

2011-11-01 Thread Doug Gordon
On 11/1/2011 3:45 PM, Marc Petit-Huguenin wrote: The method String.isEmpty() exists only since Java 1.6/Android API 9. Thanks. That explains a lot. This was a recent change. I thought surely I'd used that method before, but when I searched my entire project, "isEmpty" was nowhere to be found!

[android-developers] String isEmpty()

2011-11-01 Thread Doug Gordon
m not pointing to a valid String object or anything. Interestingly, this only appears to happen when running it on my actual Android 2.2 phone. It works OK on a V2.3.3 emulator. It is built with the V2.3.3 SDK. What gives? Doug Gordon GHCS Software -- You received this message because you a

[android-developers] Tag and onCreateView

2011-11-01 Thread Doug Gordon
, so why these dimensions? Same thing with the fragment ID; is this the ID of the view created by the fragment, or of its container, or something else? I must be missing a concept here, but maybe I just have to start working on my own code conversion to fragments and see what happens...

[android-developers] Re: Android Tools R14 including external source?

2011-10-26 Thread Doug
I treat external source as a library project and import that into my main project. Everything just works. Doing anything like this outside the framework provided for library projects is probably going to make your job difficult. Doug On Oct 25, 7:54 pm, Neal Sanche wrote: > We need to >

[android-developers] "Recently published apps not appearing in Android Market"

2011-10-26 Thread Doug
te to push, but I'm afraid of what might happen because this message is so vauge. Anyone have more information? Doug -- 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-developers] Re: Slowdown when debugger is attached

2011-10-25 Thread Doug
Emulator or device? The emulator is already slow, and it will only get worse if you attach a debugger to it. Doug On Oct 24, 12:01 am, Pepijn Van Eeckhoudt wrote: > No suggestions at all? > > There must be a way to do this. My hunch is that debugging slowdown is > related to the am

[android-developers] Building V4 sample

2011-10-21 Thread Doug Gordon
It seems to be fixed by removing the @Override that precedes the method in the code. Anyone else had this issue? Are these methods indeed not overrides? Doug Gordon GHCS Software -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Re: WebView with rounded corners

2011-10-19 Thread Doug
I imagine the only clean-looking way you'll be able to do this to round the corers of the content inside the webview itself (css3), then make the background of document transparent and its entire contents would be an element with overflow to allow it to scroll vertically if needed. Doug O

[android-developers] Re: ADT allows me to use exact screen dimension as a resource qualifier??

2011-10-19 Thread Doug
On Oct 19, 3:25 am, Kostya Vasilyev wrote: > 19.10.2011 11:03, Doug : > > > Well, in my case, it is desirable if not perfect.  :-( > > > I work on a very high profile app and I've been in contact with a > > Samsung rep who is encouraging us to support the Galaxy N

[android-developers] Re: Android 4, still no preprocessing.

2011-10-19 Thread Doug
uild time. Android build tools will just include every resource file it finds under the res directory, so I can create new files there as much as I need. There is really no need for a preprocessor at all with intelligent use of resources. Hope this helps. Doug -- You received this messag

[android-developers] Re: ADT allows me to use exact screen dimension as a resource qualifier??

2011-10-19 Thread Doug
ll be shipping with Gingerbread and being "large". (They are also testing the app on a device that they will not share with us.) With this resource qualifier for screen dimension, does anyone know if it is width x height or the other way around, or does it matter at all? Doug On Oct 18,

[android-developers] ADT allows me to use exact screen dimension as a resource qualifier??

2011-10-18 Thread Doug
n fact, it probably shouldn't even be classified as "large" given its effective width in dp. And since the Galaxy Note doesn't target Android 3.2 so we can't use the new min width and height qualifiers. So I'd love to target just 1280x800 if possible to work around

[android-developers] Re: How to escape ampersand?

2011-10-13 Thread Doug
Your XML parser should be doing this for you automatically. Is that not the case? Normally developers don't need to write code to handle things like this. They are handled in the libraries that serialize and deserialize data. Doing all that yourself would be silly. Doug On Oct 11, 11:

[android-developers] Re: Is it possible a nested JAR in JAR?

2011-10-13 Thread Doug
It sounds like you need an ant build script or something to do stuff prior to the final packaging of your app. Jars don't ship with android (if you want them to contain code you want run). All classes need to be dex'ed by the Android build tools before the final apk is built. Doug On

[android-developers] Re: how can i pass the complicated data from java to the native code (the c language)?

2011-10-11 Thread Doug
This is not an android specific question. You just need to learn JNI, and specifically how to access java objects using the JNI api. There are lots of resources about this that have nothing to do with Android. Doug On Oct 10, 3:11 am, 杨辉 wrote: > for example,look at the following co

[android-developers] Re: Update that is "not signed appropriately"

2011-10-09 Thread Doug
happen almost instantly. Doug On Oct 8, 6:29 am, Jean-François Geyelin wrote: > Some users are reporting me that they can't update the application because > the application is not signed appropriately. > > 1/ I tried jarsigner on the new apk, and it returns "jar verified&qu

[android-developers] Re: How to implement the iphone style multitouch zoomIn zoomOut to a polygon on a GLSurfaceView?

2011-10-06 Thread Doug
I agree the easier way is to never use punctuation or explanation *lols* On Oct 5, 8:05 am, crissgoodlookingguy wrote: > There's an easier way use Adobe AIR. *Simples* -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] Re: Question about accented characters in Android Sqlite

2011-10-05 Thread Doug
Read the javadocs for SQLiteDatabase. Apparently you need to do something special for localization/collation, but they don't really help you out that much. Maybe it's time to google an answer to get your database queries to localize properly. Doug On Oct 4, 4:41 am, Jairo de Alme

[android-developers] Re: super slow code

2011-10-05 Thread Doug
On Oct 4, 9:42 am, bob wrote: > Does anyone know why this code is ridiculously slow and/or how to make > it faster? What do you mean by "ridiculously slow"? Have you considered using DataInputStream to read binary data instead of parsing string-tokenized data? Doug -- Y

[android-developers] Re: Standards/Certification available for Android Aircraft Applications

2011-10-05 Thread Doug
y are you trying to install, and on what sort of craft? I haven't heard of anyone doing this sort of thing before. Doug -- 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-developers] Re: Have you developers even attempted address why this is happening?

2011-10-05 Thread Doug
des some custom anti-piracy software in that makes updates from the Android Market incompatible. If your originally got an app from Amazon, you need to commit to installing update from only Amazon, or uninstall the Amazon app and switch to the Android Market version. Doug On Oct 4, 10:10 am, Fre

[android-developers] Re: How can I get a cach directory of all installed applications

2011-10-05 Thread Doug
That's not all apps, that's just preloaded apps (and just the apk for each one). You'd also have to look in /data/app to find the apk for downloaded apps. Or you can use PackageManager to query Android for installed apps. Doug On Oct 4, 3:00 am, "Gokul.C" wrote: >

[android-developers] Re: How to update a song title in the music app?

2011-10-03 Thread Doug
that the file has changed needs to be indexed again it. See MediaScannerConnection.scanFile. Doug On Oct 2, 5:29 am, Sabre Tooth wrote: > Can anyone tell me how to access/update the song title in the default > music app?  I have a Motorola Xoom with Android 3.2 running. If I > change

[android-developers] Re: Receive Broadcast when Media Player is open.

2011-10-03 Thread Doug
.. thanx I don't think you can do this. There is no broadcast sent when an arbitrary app is started, and not every device will have the stock media player app installed. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To p

[android-developers] Re: Loading soundpool and music in activity A and calling in Activity B

2011-10-01 Thread Doug
You can store data to share between activities in an an object using the singleton pattern. Doug On Sep 30, 7:22 pm, R S wrote: > Hi! > > Right now I am loading my tiny music clips in the same class that I am using > it

[android-developers] Re: Force the whole main activity to redraw

2011-10-01 Thread Doug
er. If you set a bitmap into an ImageView, Android will render that after your code completes its current run and allows the UI thread to process that change. You need to put each frame into the ImageView followed by some delay. You can use a Handler to schedule delays on the UI thread. Doug -- You r

[android-developers] Re: Creating database with adb

2011-10-01 Thread Doug
normally create for you. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@

[android-developers] Re: HTTP response Problem

2011-10-01 Thread Doug
o handle the exception because you declared this method as "throws Exception" (which is usually a bad idea unless you really know what you're doing). Try taking out the "throws Exception" and handling exceptions in the method itself. Doug -- You received this message becaus

[android-developers] Re: Faking Audio Recording from Microphone on Android NDK.

2011-10-01 Thread Doug
u are asking for trouble if you try to dig around in there in your app. Doug -- 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 gro

[android-developers] Re: How do I report a bug to htc?

2011-10-01 Thread Doug
olatile to keep them in sync. You are almost certainly not running into an HTC error. Doug -- 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 fr

[android-developers] Re: Is C2DM still the push option-after the discontinuance of google labs.

2011-09-29 Thread Doug
. I'm under the impression that it's not going away any time soon. I think C2DM is more closely related to Google App Engine rather than Google Labs. The presentation was about using Google App Engine with your Android apps. Doug -- You received this message because you are subscrib

[android-developers] Re: help:how to play custom encode mp3 file

2011-09-27 Thread Doug
On Sep 26, 7:33 am, kun chen wrote: > I use my algorithm encode mp3 file.Now, I want to play it with > MediaPlayer. MediaPlayer will decode and play your mp3 files directly, given that you have encoded them properly. Doug -- You received this message because you are subscribed to the

<    1   2   3   4   5   6   7   >