[android-developers] Re: How to mix or append mp3 or wave files one after the other and save the resulting file onto the SD card in android?

2011-09-27 Thread Doug
You won't be able to do this with the API that Android gives you. Hopefully some day they will give us a better multimedia framework. Doug On Sep 26, 9:11 am, Raj wrote: > I have some mp3 files in my /res/raw folder. What I am doing is that, > whenever a user clicks on a button a

[android-developers] Install % statistic removed, replaced with "users" and "devices"

2011-09-26 Thread Doug
oogle account. Anyone know if I am reading this correctly? 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 emai

[android-developers] Re: Frame Drop Management in Video Player

2011-09-26 Thread Doug
ahead in the video stream to try to process video frames ahead of the current audio. To skip ahead in the video, you would also have to skip ahead in the audio which would result in both audio and video frames dropped. Doug -- You received this message because you are subscribed to the Google

[android-developers] Re: how to implement ffmpeg video codec for video player +android

2011-09-22 Thread Doug
is forum. You are asking something extremely complicated. 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] Re: Does it possible to use multiple jni(.so) library in one SDK project?

2011-09-22 Thread Doug
e with the setting 'property > > builder > add cmd line'. I expect that possible. Does it possible? It does possible. Build them on your command line outside of eclipse. > - and how to package multiple shared library in one apk? possible? Give them different names and load th

[android-developers] Re: Record audio stream before it reaches speakerphone or headset. (Not a noob question.)

2011-09-22 Thread Doug
ve to provide and handle the raw PCM. Doug On Sep 20, 8:48 am, Raj wrote: > Hello all, > I googled a lot for this and went through all possible forums but I couldn't > find any solution so I thought of giving it a last try here. Coming back to > the point- > > In my app,

[android-developers] Re: BitmapFactory 's decodeByteArray and decodeStream returns null

2011-09-22 Thread Doug
The API is declared in bitmap.h. You will have to learn how to use it on your own. Just make sure you have a Bitmap object and can set its pixels directly using the config it was created with. Your pixels array must exactly match what the config demands. Doug On Sep 19, 10:32 pm, Siji T G

[android-developers] Re: How to set selected color effect when click on any image button or image view same as iphone?

2011-09-20 Thread Doug
that state or use an image. 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...@g

[android-developers] Re: Frame Drop Management in Video Player

2011-09-20 Thread Doug
7;t decode in time. V takes a whole lot more processing power, so it will always fall behind if there is not enough CPU to process both. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] Re: BitmapFactory 's decodeByteArray and decodeStream returns null

2011-09-16 Thread Doug
Create the Bitmap in native code and return it to the java layer. The NDK supports this starting beginning with Android 2.2. Doug On Sep 16, 12:02 am, Siji T G wrote: > Thanks for the reply Zsolt. > My data stream comes from h264 video decoder , which is native. > Format of this data

[android-developers] Re: How is RockPlayer doing hardware decoding?

2011-09-15 Thread Doug
If authentication over rtsp is a documented standard, then you could file a bug with details and hope that it gets resolved in a future version. Doug On Sep 15, 12:17 am, "B.Arunkumar" wrote: > Hi, > >      Regarding your question, MediaPlayer supports RTSP streaming but

[android-developers] Re: Android, MediaRecorder, Native API

2011-09-15 Thread Doug
I'm sorry, I mean to say: how about AudioRecord? It gives you access to raw PCM from your recording source. Doug On Sep 13, 10:15 am, Nadav wrote: > Playing with the MediaRecorder Java code I have found the > MediaRecorder class to be quite limited, there is no way to control

[android-developers] Re: Android, MediaRecorder, Native API

2011-09-15 Thread Doug
How about AudioTrack? Doug On Sep 13, 10:15 am, Nadav wrote: > Playing with the MediaRecorder Java code I have found the > MediaRecorder class to be quite limited, there is no way to control > the media before it is encoded/compressed, and, there is no way to > control the result,

[android-developers] Changing the "scaled pixel" size

2011-09-13 Thread Doug Gordon
't see any way to change that value. Am I missing something? 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 unsub

[android-developers] Re: info about ARMV6 processor type and phone model

2011-09-13 Thread Doug
Android only gives you the ability to detect the platform ABI as armeabi or armeabi-v7a. You can also detect neon extensions to v7a. That's pretty much it, unless you want to take a non-standard unsupported approach. You should read the NDK docs for more info. Doug On Sep 10, 7:

[android-developers] Re: Android audio control

2011-09-13 Thread Doug
What do you mean by "manually control"? Doug On Sep 10, 1:51 pm, 3ast wrote: > I am a beginner programmer in Android and I would like to create an > app that will act as an audio control. The main goal is to be able to > manually control the output of audio to the headse

[android-developers] Re: How is RockPlayer doing hardware decoding?

2011-09-10 Thread Doug
ediaPlayer to get more improvements than the > MediaPlayer (support more RTSP Url formats) and things like that? Why do you say that MediaPlayer does not support rtsp? I ask this because it does support rtsp. It's documented. The audio/video format of the stream still has to be supporte

[android-developers] Re: java Thread class vs Android HanderThread: which is better?

2011-09-09 Thread Doug
e) a thread with a Handler attached to it to process the messages in the thread's Looper. If you don't need or use a Handler for processing messages, then you don't need HandlerThread. Doug -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: FFMPEG Question

2011-09-09 Thread Doug
On Sep 7, 10:08 am, dani maoz wrote: > Can i  ffmpeg on Android Emulator? Yes, and you can use Google to find out more information. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] onLayout not always called after onMeasure

2011-09-07 Thread Doug Gordon
r this, but I'm wondering if it would be OK to call layout() on my child views from within onDraw instead of within onLayout. The parent view does get drawn first, so I would guess that this wouldn't hurt anything. Doug Gordon GHCS Software -- You received this message because you are

[android-developers] Re: How do I change android to 24 bpp?

2011-08-30 Thread Doug
w.curious-creature.org/2010/12/08/bitmap-quality-banding-and-dithering/ 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, se

[android-developers] Re: Large bitmap under a ListView/ScrollViews slows the scrolling

2011-08-30 Thread Doug
w, if you can to better suit the actual size of the ImageView. Otherwise your views will have to do a lot more computation than need be every time the bitmap needs to be drawn to screen. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Re: G1

2011-08-30 Thread Doug
a G1. The hardware is obsolete; the software requirements quickly outpace old hardware. Welcome to the wold of fast-paced mobile development. Doug On Aug 27, 11:20 am, bob wrote: > i have a G1,and the sim was put in the 1.5 mb200 cliq,i had activation > until 04/10/2009,when the price of t

[android-developers] Re: Eclipse not generating R.java files when import an android project

2011-08-25 Thread Doug
ut then it doesnt update. when i > create a new android app from scratch it works. Try closing the project (right click -> Close Project) then open it again. That might help rebuild R.java. Sometimes ADT isn't too smart when there are library project dependencies. Someone should

[android-developers] Re: Position of GONE Views

2011-08-25 Thread Doug
offset. You may have to delay the scroll even later -- I'm not certain. 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 t

[android-developers] Re: Obfuscated for Android lib project.

2011-08-25 Thread Doug
"can't be obfuscated"? 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+

[android-developers] Re: Determining audio decoders available

2011-08-25 Thread Doug
work there. Motorola has highly modified the internals of things too. Maybe I'm just skeptical. 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 uns

[android-developers] Re: what are the best practices for good coding skills and classes, methods, and variables naming +android

2011-08-25 Thread Doug
On Aug 24, 5:23 am, Naveen wrote: > what are the best practices for good coding skills and classes, > methods, and variables  naming  +android There are two: 1. Whatever has already been defined for Java 2. Whatever suits you personally Doug -- You received this message because y

[android-developers] Re: how to get the view size after orientation changed

2011-08-25 Thread Doug
m just going about this the wrong way and that there is a more elegant solution. In the absence of that, having a hook into a view's onSizeChanged would be a huge win, IMO. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: Determining audio decoders available

2011-08-24 Thread Doug
ome activities could declare that they accept "audio/*" which matches "audio/wma", without actually doing WMA decoding. Or maybe it does WMA, but not the version expected (7? 8? 9?). Doug -- You received this message because you are subscribed to the Google Groups "Andro

[android-developers] Re: BitmapFactory.decodeStream() blocking

2011-08-24 Thread Doug
Also, don't forget to consumeContent() on the HttpEntity you're reading. The doc suggests that it's required. 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-de

[android-developers] Re: Active install percent metric: now it's just ridiculous!

2011-08-16 Thread Doug
n't be trusted. I think I started the very first thread here about install % over a year ago (back when I was easily incensed over these kinds of things) but now it's just plain comical! Doug -- You received this message because you are subscribed to the Google Groups "Android De

[android-developers] Active install percent metric: now it's just ridiculous!

2011-08-14 Thread Doug
umber ratio reported is 179686 total to 187915 active (so, actually 105%?). Unbelievable. :-) 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 un

[android-developers] Re: inApp soundgeneration possible without heavy use of CPU ?

2011-08-07 Thread Doug
ling rate so your synthesis can process more information on limited mobile devices. 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

[android-developers] Re: At what point does android know the exact key that was pressed?

2011-08-07 Thread Doug
e you might have third party apps logging your keypresses and possibly stealing your passwords. 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 f

[android-developers] Re: onDraw() causing "flicker" when drawing new images

2011-08-07 Thread Doug
ering because Android will try to optimize away any part of the drawing that lies outside the dirty rect. If you're allowing every pixel in view to update on every call to onDraw, well, that can be expensive. Doug On Aug 6, 3:59 pm, Jeffrey wrote: > The problem isn't tearing, as the i

[android-developers] Do you want your large Android project builds to complete faster?

2011-08-06 Thread Doug
If so, please consider starring and commenting on the following bug report to give it attention: http://code.google.com/p/android/issues/detail?id=16263 Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

[android-developers] Re: AudioTrack: changing audio while playing

2011-08-02 Thread Doug
You probably just need to google for libraries that process PCM data to apply effects. What you're asking is not specific to Android, since AudioTrack and AudioRecord just deal with raw PCM data. Doug On Aug 2, 6:17 am, nicoletto wrote: > Hi there, > I've spent days already tr

[android-developers] Re: custom events in android

2011-08-01 Thread Doug
t think it would be in your best interest to bind yourself to to the event bus concept, as handy as it may be. 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

[android-developers] Re: Curious NPE

2011-08-01 Thread Doug
them, so complaining about the system rarely sees anything get done. It's like complaining about government without being an activist. 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] Re: Curious NPE

2011-08-01 Thread Doug
and you'd retain all your data types. You could also put bundles within bundles in you need to handle nesting/ recursion. And Bundles don't throw checked exceptions. :-) Doug -- You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] Re: Curious NPE

2011-07-31 Thread Doug
N serialization library. But I am curious why you're serializing to JSON but not sending or saving it anywhere, unless I'm misunderstood your previous message? Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Re: Strange behavior after signing build with release keystore

2011-07-30 Thread Doug
uard unless you are using java reflection APIs or anything that depends on a java class name. Sometimes there are launch problems if you have multiple activities that want to handle MAIN and LAUNCHER intents without sorting that out properly. Doug -- You received this message because you are su

[android-developers] Re: Calibrating Audio Frequencies

2011-07-30 Thread Doug
isn't very robust and I imagine you'll have a hard time getting "precision" out of it, if that's what your app requires. I'd be interested to know if you are able to work around this in any way. Doug -- You received this message because you are subscribed to the Go

[android-developers] Re: Curious NPE

2011-07-30 Thread Doug
s to know what was in the 95% that you got rid of and what you did to deal with what were previously checked exceptions? 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-develop

[android-developers] Re: Curious NPE

2011-07-30 Thread Doug
t to be clear, I'm not just a "java guy". I'm totally a current technology chaser with fairly broad experience whot has happened to make great use of checked exceptions to create bulletproof Android and web applications. I'm open to seeing any alternatives toward that

[android-developers] Re: aapt problem!! /usr/lib/libz.so.1: no version information available

2011-07-28 Thread Doug
d > eclipse . I have searched on the Internet, and havan't found any > conclusions. > > Can anyone help me ? At the end of your build, is there something not working? I think what you're seeing is just a warning and not a significant error. Doug -- You received this mess

[android-developers] Re: Curious NPE

2011-07-28 Thread Doug
On Jul 27, 6:35 pm, Nikolay Elenkov wrote: > On Thu, Jul 28, 2011 at 3:35 AM, Doug wrote: > > On Jul 27, 1:25 am, Nikolay Elenkov wrote: > >> On Wed, Jul 27, 2011 at 5:07 PM, Doug wrote: > > > I see checked exceptions as a compile-time reminder that it's

[android-developers] Re: changing listview content in separate thread issue

2011-07-28 Thread Doug
y the list itself. Usually, one would do this through the Adapter that backs the list. You'll need some sort of bridge between the two, perhaps a listener type interface or a broadcast. Doug -- You received this message because you are subscribed to the Google Groups "Android Developer

[android-developers] Re: Curious NPE

2011-07-27 Thread Doug
On Jul 27, 1:25 am, Nikolay Elenkov wrote: > On Wed, Jul 27, 2011 at 5:07 PM, Doug wrote: > > > By the way, when you you advocate NOT checking the return value of C > > runtime functions?  You'd just write to an unknown file descriptor > > even after a failed call to

[android-developers] Re: Curious NPE

2011-07-27 Thread Doug
proof code. But then again, I actually care about my customers and the user experience of the applications I've written. My apps haven't generated any exception crash in over a year and customer satisfaction is high. Thank you, checked exceptions. Doug -- You received this message b

[android-developers] Re: Curious NPE

2011-07-26 Thread Doug
artificial. I'm sorry I missed that universal memo. Please tell me more? 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 t

[android-developers] Re: Curious NPE

2011-07-26 Thread Doug
On Jul 25, 11:23 pm, Zsolt Vasvari wrote: > > A checked exception is an exceptional state that you expect to happen, like > > the user entering some wrong values, you check that ant throw the ckecked > > exception. > > No, exceptions shouldn't be used as a program flow control mechanism, > which i

[android-developers] Re: video codec on device

2011-07-26 Thread Doug
On Jul 22, 2:20 pm, kai wrote: > Is there a way to query what media format is supported on a particular > device running android (1.6+)? Nothing built into Android, sorry. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: Curious NPE

2011-07-25 Thread Doug
er to interact with the activity at all after you show a dialog, I'd recommend putting a call to finish() in the dismiss and cancel handlers for your dialog so that the activity will be on its way out ASAP. Doug -- You received this message because you are subscribed to the Google Groups "

[android-developers] Re: Curious NPE

2011-07-25 Thread Doug
t Google's compatibility tests don't check for. Maybe they have a slower device that makes it easy to register a back button press before onCreate is called. Maybe you could dive into Android's source for Activity for some clues. Or maybe you could just check for null and be done wit

[android-developers] Re: Curious NPE

2011-07-24 Thread Doug
Sounds like it might be possible that onBackPressed can get called before onCreate in some circumstances where the device is being slow? If that is at all a possibility, maybe you should check for null in onBackPressed! :-) Doug On Jul 23, 4:00 pm, Zsolt Vasvari wrote: > I am getting s

[android-developers] Re: loading image assets

2011-07-16 Thread Doug
Use AssetManager to get an InputStream for your image, then feed that stream to the relevant method in BitmapFactory. Doug On Jul 15, 2:14 pm, bob wrote: > Can someone point me to a good example of loading a Bitmap from > assets?  It's in a PNG asset called nugget.png. -- You re

[android-developers] Re: How to know what internal process runs an application

2011-07-13 Thread Doug
postponed until the component starts (at which point you will definitely know the process)? 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 unsu

[android-developers] Re: How to know what internal process runs an application

2011-07-12 Thread Doug
Why not query the pid of each process and keep track of them? That shouldn't be so hard. Doug On Jul 10, 11:46 pm, elDoudou wrote: > Mark, your answer does not answer to my problem. > > I am an Android advanced developer and I have a good reason to spawn a > new process. Anyon

[android-developers] Re: displaying thumbnails for the videos which are streamed from youtube

2011-07-09 Thread Doug
The documentation for ThumbnailUtils.createVideoThumbnail says it takes a file path (local) for the first argument, not a URL. I wouldn't expect it to somehow download the video and make a thumbnail out of it. Doug On Jul 8, 5:45 am, Anusha D wrote: > Hi, > > I am trying to disp

[android-developers] Re: Unable to run the streaming video - URGENT & CRITICAL

2011-07-09 Thread Doug
sue, 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 from this group, send email to android-developers+unsubscr...@googlegroups.com Fo

[android-developers] Re: How can Button clicks be sent to a View that has been disabled?

2011-07-09 Thread Doug
stuff in there, the user might have the chance to click the button again before it gets disabled. Doug On Jul 6, 5:31 pm, William Ferguson wrote: > I'm finding that some of my users are occasionally getting a button > firing twice in rapid succession (less than 100 millis) even though

[android-developers] Re: Galaxy Tab and Market filtering

2011-07-09 Thread Doug
d on that device. 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...@googleg

[android-developers] Re: MediaPlayer - Streaming

2011-07-09 Thread Doug
Is that URL a streamable media file playable by Android? It doesn't look like that to me. Doug On Jul 7, 1:51 am, Thanh Le Cong wrote: > Hello Everybody, > I want to use MediaPlayer play a file mp3 or video with Streaming. I have > code: >                try { >            

[android-developers] Re: Question about the values of the Audio Buffer

2011-07-09 Thread Doug
an Android issue because PCM is used everywhere in the world of audio. 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,

[android-developers] Converting to Fragments

2011-07-06 Thread Doug Gordon
using fragments on 3.x without having to start with too much of a clean sheet? I could see some real ugly code and kludges creeping in if I try to force fragments into what I currently have. Doug Gordon -- You received this message because you are subscribed to the Google Groups "An

[android-developers] Re: Samsung Galaxy wont let me cd or ls in the data directory

2011-07-05 Thread Doug
your device if you want to be able to see everything. Every device is different and Google will help you get more information. You will void your warranty and possibly brick your device though, so be careful. Doug -- You received this message because you are subscribed to the Google Groups &

[android-developers] Re: in-memory caching?

2011-07-05 Thread Doug
ork with. 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.co

[android-developers] Re: Tracking the finger touch using MotionEvent ?

2011-07-05 Thread Doug
> > My first question is: Does MotionEvent fit for my purpose? > If yes, Any one can give or suggest a way to do this? OnTouchListener feeds you a stream of MotionEvent callbacks describing the user's gesture on screen. It's the only way to accomplish what you're tryi

[android-developers] Re: How to set the target as ARM-v7 on eclipse under Linux

2011-07-04 Thread Doug
Start with the documentation: http://developer.android.com/sdk/ndk/overview.html Doug On Jul 4, 12:44 am, "s.rawat" wrote: > HI All, > How to set the target as ARM-v7 on eclipse for developing android > application , by default it supports ARMv5 arch.I am using Eclipse u

[android-developers] Re: Back Ground Sound in Android

2011-07-04 Thread Doug
other.So how can I do it using > SoundPool and where I have to write code to play it in my Activities. I would use MediaPlayer instead, especially if it's a long sample and you can encode it as ogg. Doug -- You received this message because you are subscribed to the Google Groups "Andr

[android-developers] Re: are ads worth the effort?

2011-07-01 Thread Doug
ds, withhold the most helpful features of your app for the paying customers. Plug the upgrade every time they try a restricted feature. That is incentive to upgrade if the missing features are really worth the money you're asking. Doug -- You received this message because you are subscribed to the

[android-developers] Re: Best third party video player api android

2011-06-24 Thread Doug
On Jun 24, 11:51 am, naveen kumar wrote: > What is best third party mediaplayer(Video) api.Which able to > interface with my own created app. Do you know what your choices are? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to th

[android-developers] Re: Need someone to test app on physical device 2.3, 3.0, 31

2011-06-24 Thread Doug
users to give feedback on your app You have now distributed and tested your app for free. Doug On Jun 23, 10:59 pm, Raghav Sood wrote: > Nikolay, I cannot pay the testers. I am 14 years old. It is unlikely that > someone would do it for free but it is worth a shot as opposed to buying the >

[android-developers] Re: App installs on emulator but not on device

2011-06-24 Thread Doug
What does logcat say? On Jun 24, 8:16 am, Raghav Sood wrote: > Yes I did. It didn't work. Any other ideas. -- 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 unsubsc

[android-developers] Re: Is ADT 11 compatible with Eclipse Indigo 3.7 ?

2011-06-23 Thread Doug
I've used it today without any trouble. Honestly, I can't tell the difference between 3.6 and 3.7 yet, other than installing some extensions. Doug On Jun 22, 1:41 pm, goosedroid wrote: > With the new release of Eclipse Indigo 3.7, does google officially > bless ADT 11 to work o

[android-developers] Re: Minimum Age?

2011-06-21 Thread Doug Gordon
I'm more concerned there will be a _maximum_ age and I'll have to drop out of the community. :-) On Jun 19, 3:07 pm, Mehwar Raza wrote: > Is there a minimum age requirement to become an android developer? I > have been trying to hunt down the answer to no avail. -- You received this message bec

[android-developers] Re: How to interrupt restarting the current application after install an apk

2011-06-20 Thread Doug
ff the activity stack). It probably had been continuing to run the whole time while the installer was working. If you want to make your app appear to have completely finished, you will have to finish ALL your activities on the stack. But there could still be other activities behind yours that would

[android-developers] Re: debugging in eclipse and CONFIRM keyword???

2011-06-19 Thread Doug
ayout work. Doug On Jun 18, 12:36 am, Budi Wibowo wrote: > Hello group, > I'm a beginner in developing in android. I'm used to using visual > studio for my IDE. > > here is a problem i'm having. When i launched an app in AVD, it keeps > on forcing me to close. i t

[android-developers] Re: AudioTrack help - pause after mute

2011-06-17 Thread Doug
Are you using stream or static mode? With stream, you need to feed the AudioTrack a stream of zeroes to get it to silence without clicking. I don't think that you can pause in stream mode, but I might be wrong. Doug On Jun 15, 5:27 pm, Stefan Alder wrote: > I need to pause the Au

[android-developers] Re: Passing Data From Javascript To Android WebView

2011-06-17 Thread Doug
What did you intend for this line to do? _webview.addJavascriptInterface(this, "Question"); Doug On Jun 15, 4:38 am, Vivek Tamrakar wrote: > I have a value inside javascript variable and would like to value of that > variable in Sting variable in Android code. I have on

[android-developers] Re: To get the position of SeekBar in video

2011-06-15 Thread Doug
You have to write code to glue the functions and callbacks of the SeekBar to the functions of the MediaPlayer. Doug On Jun 13, 4:51 am, sriramtej wrote: > Hi, > > I am using seekBar to show the progress of the video which I > implemented using Media Player / Video View. > > B

[android-developers] Re: Your Opinion between android native app or HTML-5 Web App.

2011-06-14 Thread Doug
http://www.google.com/events/io/2011/sessions/html5-versus-android-apps-or-web-for-mobile-development.html On Jun 12, 11:20 pm, Ishwar Chawla wrote: > I just want your opinion which option is better I am about to start a > project looking at ease of coding and UI which according to you is > bette

[android-developers] Re: Saving as Bitmap ".BMP" in android

2011-06-12 Thread Doug
Try using getPixels() on the bitmap and write out the array of pixels it generates. No need to use bmp if you don't absolutely need to export it to some other program that requires it. Doug On Jun 8, 9:53 pm, PMR wrote: > Hi all, > I am new to this group...sorry if I make a

[android-developers] Re: How to get manifest values?

2011-06-09 Thread Doug
s to know? 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: How to make apk from .java, png files extracted from jar

2011-06-08 Thread Doug
On Jun 8, 10:33 pm, Rajender wrote: > How can i generate a build.xml ? It's created for you when you create a new android project using the latest tools. Keep reading the docs. Doug -- You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] Re: How to make apk from .java, png files extracted from jar

2011-06-08 Thread Doug
On Jun 7, 4:32 am, Rajender wrote: > I want to do all these using batch file (command line).. Use ant. http://developer.android.com/guide/developing/building/index.html Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: How the "Share" options in android Gallery app are sorted

2011-06-08 Thread Doug
t; Plz urgent help required I don't think you can change the order without changing Android or Gallery source code. 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@goo

[android-developers] Re: HTML ImageGetter not working, showing a square with text "obj"

2011-06-08 Thread Doug
ng stripped out. Strings can't contain images. You need to retain the Spannable interface and work with that or assemble the whole thing differently. Doug On Jun 7, 1:02 pm, Agnes Despicable Me wrote: > directions += Html.fromHtml("", imageGetter, null) > + " Turn t

[android-developers] Re: how would you parse this

2011-06-08 Thread Doug
I think you just need to read up on web services and JSON. Android comes with a JSON parser. On Jun 6, 11:25 pm, mike wrote: > I need to create a news feed that takes the string from the following > link and displays each on separate links, like the google news and > weather feed.  Im not sure h

[android-developers] Re: 回覆:How to draw button on canvas?

2011-06-07 Thread Doug
They should be using layouts to position views relative to each other instead of trying to draw views within other views' canvases. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to a

[android-developers] Re: Playing 3gp, mp3 and mp4 in webview

2011-06-03 Thread Doug
ng! I heard that the groups have the masterminds so please, > help me Google Jedi Order, you're my only hope. I'm not sure what about your sample code is actually trying to play music. Also, you are calling setWebViewClient twice with two different things. That's probably not doi

[android-developers] Re: Moving from free app to a paid model

2011-06-01 Thread Doug
user id, the first package will silently fail yet have a fully workable SharedPreferences object to play with that is just unable to commit changes! So yes, you do need to use sharedUserId in the manifest and use the same signature in both apps. Doug -- You received this message because you are

[android-developers] Re: Mac or PC for development

2011-05-31 Thread Doug
On May 30, 8:11 pm, Francisco Dalla Rosa soares wrote: > Funny to see how people still look at Macs like a blackbox. > > https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstall... > Mac OSX and Ubuntu That document is a little scary. I'll stick with VMware, t

[android-developers] Re: Moving from free app to a paid model

2011-05-31 Thread Doug
is going to rapidly decrease (from already small numbers) and you'll find yourself at a point of diminishing return for the effort you put into supporting them. Mobile devices aren't expected to last nearly as long as desktop computers. Doug -- You received this message because

[android-developers] Re: Moving from free app to a paid model

2011-05-31 Thread Doug
oth be installed with the same underlying linux user id. What you're talking about is what's required when you need two apps to run in the same linux process. http://developer.android.com/guide/topics/security/security.html Doug -- You received this message because you are subscribed to

[android-developers] Re: Mac or PC for development

2011-05-30 Thread Doug
hing, even NDK work. And I have never had to find and and install device drivers like my peers using Windows. One major exception is with Samsung Galaxy S products -- if you want to install a new firmware on those devices, you need Windows to run Samsung's crappy Kies software. Doug -- You

[android-developers] Re: Custom Touch on a image

2011-05-30 Thread Doug
it the screen, be able to handle that. Or subclass View and do your own image drawing and event handling in there. It is not a trivial amount of work like imagemaps in in HTML. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: Position MediaController over VideoView ?

2011-05-30 Thread Doug
troller and overriding what you did at the time you call setMediaController. I have never liked VideoView. I just copy the source and make it do what I really want. Doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

<    1   2   3   4   5   6   7   >