[android-developers] Re: A discussion about the ProGuard's "dontoptimize" option when obfuscating Android code with ProGuard

2008-07-09 Thread tellme
The optimizations FAQ in ProGuard’s doc: What kind of optimizations does ProGuard support? Apart from removing unused classes, fields, and methods in the shrinking step, ProGuard can also perform optimizations at the bytecode level, inside methods. Thanks to techniques like control flow analysis,

[android-developers] A discussion about the ProGuard's "dontoptimize" option when obfuscating Android code with ProGuard

2008-07-09 Thread tellme
A discussion from the ProGuard's forum: = We have a question on the ProGuard's "dontoptimize" option. According to the ProGuard's doc's description, "-dontoptimize Specifies not to optimize the input class files. By default, optimization is

[android-developers] Re: Is a Dialog completely modal?

2008-07-09 Thread hackbod
You can do this to make it non-modal for touch events: Dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL); On Jul 9, 8:09 am, Disco Stu 010 <[EMAIL PROTECTED]> wrote: > Hi, > > Have a question w.r.t the Dialog object. Is it at all possible to have   > a Dialog object ov

[android-developers] New LinkedIn group

2008-07-09 Thread jfricci
for LinkedIn users here is a new Android Developers LinkedIn group: http://www.linkedin.com/e/gis/136638/41710D2D62A3 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, s

[android-developers] Is a Dialog completely modal?

2008-07-09 Thread Disco Stu 010
Hi, Have a question w.r.t the Dialog object. Is it at all possible to have a Dialog object overlaid on an Activity such that if a touch event is registered outside the bounds of the Dialog, then the event is sent to the View behind the Dialog. From what little experiments I have done, it

[android-developers] Howto programmatically create Buttons inside a instantiated View-Objekt?

2008-07-09 Thread [EMAIL PROTECTED]
In wrote a "CountDownView"-class (derived from View) and in my 'main'-Activity I do: CountDownView myCountDown= new CountDownView(this); setContentView(myCountDown); The "CountDownView"-class of course has an onDraw()-method, which I use to draw all sorts of stuff onto its canvas, like Text and

[android-developers] Re: play 3gp/mp4 video on activity starts and mediaplayer crashes

2008-07-09 Thread Hong
ah-oh, i found that VideoView works in onCreate()... :) On Wed, Jul 9, 2008 at 10:01 AM, Hong <[EMAIL PROTECTED]> wrote: > Hi, > > How do I play a video file (it uses SurfaceView) on Activity starts? > I can play it by pressing a button to play it, but not in methods like > onCreate() and onStart

[android-developers] play 3gp/mp4 video on activity starts and mediaplayer crashes

2008-07-09 Thread Hong
Hi, How do I play a video file (it uses SurfaceView) on Activity starts? I can play it by pressing a button to play it, but not in methods like onCreate() and onStart(). MediaPlayer.prepare() will just crash. So is there any way to auto-play a video file on Activity starts? Thanks Hong --~--~--

[android-developers] Re: MjSip authentication problem

2008-07-09 Thread Andrea Bernardi
Also I have made some changes in the code because I should use a proprietary sip network. In your case, if you pass the same user, realm and uri used by x-lite user agent and pass these values with the nonce obtained from the network value to the DigestAuthentication class, you should obtain a dige

[android-developers] Re: About running vedio file in m5 emulator

2008-07-09 Thread Fräntz Miccoli
There are some in the files of this group http://groups.google.com/group/android-developers/files?hl=en On Jul 9, 11:03 am, "Analdin Judy" <[EMAIL PROTECTED]> wrote: > Hi, > >   Can anybody please send me the code for  running vedio file in m5 > emulator. > > -- > Thanks & Regards > > Analdin Jud

[android-developers] Re: MjSip authentication problem

2008-07-09 Thread andyn
I've got it!!! The problem was the password... I entered one and this password was also saved by the application. But it wasn't used for generating the nonces etc. (don't ask me why...) So there always were contents in the several frames (udp / ip /...), but when the server compared his calculate

[android-developers] Re: MjSip authentication problem

2008-07-09 Thread andyn
I found out the same. It is automatically handled by the RegisterAgent, but there seems to be another problem at reading out some data. So the "realm" and "username" values can not be read out although they were defined. I just assigned them my standard values and will take care of that problem la

[android-developers] Re: MjSip authentication problem

2008-07-09 Thread Andrea Bernardi
Yes, is a standard procedure for digest-authentication. The MjSip MjSip should manage this situation, in the code present in RegisterAgent.java in the function onTransFailureResponse. Maybe you can debug this section to see if there is an error. Best Regards, Andrea Bernardi 2008/7/9 andyn <[EMAI

[android-developers] About running vedio file in m5 emulator

2008-07-09 Thread Analdin Judy
Hi, Can anybody please send me the code for running vedio file in m5 emulator. -- Thanks & Regards Analdin Judy.M InfoWave Knowledgeware. Beyond Multimedia Chennai | INDIA M: +91.98416.64705 www.i-waves.com "The information contained in this e-mail (including any attachments) is inten

[android-developers] Re: scalable vector graphics scalable vector graphics scalable vector graphics

2008-07-09 Thread hackbod
> if I want to take a window (with a dialog in it) and do some > transformations on it (which will have to be done in s/w since android > doesnt yet support h/w accleleration of its 2D animations) how do I > do that? Window animations can be fully hardware accelerated. And as Romain says, after

[android-developers] Re: How to make screen scroll horizontally

2008-07-09 Thread Romain Guy
You can't for now, unless you write your own scrollable view. You can however shrink your table's columns to force them to fit on screen. Use android:shrinkColumns to do this. On Tue, Jul 8, 2008 at 1:52 PM, Billsen <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a TableLayout with five columns ins

[android-developers] How to make screen scroll horizontally

2008-07-09 Thread Billsen
Hi, I have a TableLayout with five columns inside of TableRow. Since the screen is to narrow to hold all data, the data in last column can not been seen. My question is how to make screen scroll horizontally? Thanks, Senshan --~--~-~--~~~---~--~~ You received thi

[android-developers] Re: Custom Intent

2008-07-09 Thread ZaNkY
Thank you Justin and Hackbod for your quick replies! So basically, the only way for me to accomplish what I want would be to edit the actual EditText class... which can't be done since the source code has yet to be released... My end goal is an onscreen keyboard. Any ideas? --Z --~--~-

[android-developers] Re: db4o & NullPointerException

2008-07-09 Thread Ivan Mirić
OK guys, I'm real sorry for acting like a complete moron, but I found the problem. It was a simple matter of reading http://developer.db4o.com/Resources/view.aspx/Reference/Platform_Specific_Issues/Android and figuring out that I need to use db4o v1.1 instead of 5.0, like I've been using. :-s The

[android-developers] Re: MjSip authentication problem

2008-07-09 Thread andyn
Hi, yes, I've tried both the name and the id after the "@". But what I just found out: if I try the same (registering on the sip server) with x-lite, the same error comes up. So after the first request of x-lite, the response contains also a 401 error saying the same like on Android / the demo ap