Re: [android-developers] Simultaneous access to wifi and data connection

2012-06-21 Thread Ralf
Hi Robert, Thanks for taking the time to reply. Will give that a try. Ralf -- 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

[android-developers] Simultaneous access to wifi and data connection

2012-06-12 Thread Ralf
that this is currently not possible, are there any plans to change future releases of android to have this functionality? Thanks for any input, Ralf -- 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] NFC foreground didspatch issue

2012-04-26 Thread Ralf Wondratschek
Hi, I have a specific problem with Android tasks and the NFC foreground dispatch behavior. My app has a MainActivity with other activities, which is straightforward. Next to it, I have another activity (I call it activity B), which can only be launched from a specific URI (in general launched

Re: [android-developers] Nightmare loading mask bitmap

2011-05-13 Thread Ralf Schneider
Your image is probably convert to 565 and the back to 24bits. This thread discusses a related problem: http://groups.google.com/group/android-developers/browse_thread/thread/e7ce1bec8f97a78b 2011/5/13 delta42 delt...@gmail.com I need to load in a 24-bit PNG mask image into my Android, and it

Re: [android-developers] Why did you chose this OS platform over other ones?

2011-05-02 Thread Ralf Schneider
I don't have an apple computer, so I decided for Android. I'm considering a Windows Phone 7 or an IPhone for my next phone. I'm not impressed by Android. 2011/4/28 Theo Sam soccerw...@gmail.com Hey guys, I am considering developing for a mobile OS and I am not sure which one to choose out of

Re: [android-developers] Re: Paypal Contest

2011-03-23 Thread Ralf Schneider
Is it allowed on the Amazon Appstore to include In-App payments (via PayPal)? I haven't found anything regarding this topic on their site... 2011/3/23 TomTasche tomtas...@gmail.com I've already contacted the PayPal support about theirs contest violating Android Market's terms (more or less).

Re: [android-developers] Amazon Appmarket is now open!

2011-03-22 Thread Ralf Schneider
The Amazon Appstore for Android is not yet available in your region. Beside the small problem I can not install an app it looks great! My first impression is very positive.I like the user interface on the phone and on the website. Now the Android Market sucks even more. 2011/3/22 Zsolt Vasvari

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-22 Thread Ralf Schneider
for 30 minutes as a trial. Don't know how I feel about this. On Tue, Mar 22, 2011 at 7:33 AM, Ralf Schneider li...@gestaltgeber.com wrote: The Amazon Appstore for Android is not yet available in your region. Beside the small problem I can not install an app it looks great! My

[android-developers] Android 2.3.3 on N1 - Slow bitmap blitting?

2011-02-25 Thread Ralf Schneider
. I think the native code is probably running as fast as before. So the slow down is probably caused by a slower blitt function or the screen composition has become slower. Does someone else see similar problems with Android 2.3? Any slow downs in other apps? My regards, Ralf -- You received

Re: [android-developers] Re: Android 2.3.3 on N1 - Slow bitmap blitting?

2011-02-25 Thread Ralf Schneider
and reinstall it? I guess I have to google for it... Regards, Ralf 2011/2/25 Zsolt Vasvari zvasv...@gmail.com The Quadrant score has dropped by about 200 in 2.3.3 vs. 2.2 On Feb 25, 9:37 pm, Ralf Schneider li...@gestaltgeber.com wrote: Hi, I have updated my Nexus One (not rooted) to stock

Re: [android-developers] Re: Android 2.3.3 on N1 - Slow bitmap blitting?

2011-02-25 Thread Ralf Schneider
It's like windows! A reboot solved the market problem! - But not the slow down... 2011/2/25 Ralf Schneider li...@gestaltgeber.com Ok, thanks for the info. But I recognized I have an even worse problem: The Market App is gone!!! If I click on the Market icon it tells me: Not installed

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Ralf Schneider
sucks? Do you back this up in some way? Java is a very good language. I am curious what you find so bad, what languages you think are vastly superior? ... it sucks. Anyway.. I am not opposed to other languages.. NDK.. as soon as it allows for direct audio and video access.. will be the

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Ralf Schneider
...@android.com: On Fri, Aug 13, 2010 at 1:34 AM, Ralf Schneider li...@gestaltgeber.com wrote: If Java is so great, why will the NDK(C/C++) become the language of choice - as soon as google provides a useable API? The language of choice for what?  Not most app developers.  Except for certain apps

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Ralf Schneider
I forget! There is hope: NaCl is doing it right (IMHO)! May be Android will one day get fast apps via PNaCl ( nativeclient.googlecode.com/svn/data/site/pnacl.pdf) 2010/8/13 Ralf Schneider li...@gestaltgeber.com: I was just pointing out a logical flaw in another post: The poster was defending

[android-developers] Re: file size limit on sdcard in emulator

2010-07-07 Thread Ralf Baumbach
not aware of? I couldn't find anything on this. When I try the same with a smaller file it works without problems. I have configured the sdcard of the emulator device to have a size of 512MB and when I check with adb shell df I see that there is enough space. best regards, Ralf -- You

Re: [android-developers] Re: About to release first app to market.

2010-05-18 Thread Ralf Schneider
Or put a post on here and see if a fellow dev can test it for you. I have set up a google group: %20http://groups.google.com/group/android-app-testing-circle http://groups.google.com/group/android-app-testing-circle Unfortunately there are currently only six (including me) people

[android-developers] Created google group android-app-testing-circle for application testing on different devices

2010-05-01 Thread Ralf Schneider
. A secondary goal of this group is to discuss device specific issues and workarounds. Since my native language is not english corrections are welcome. Kind Regards, Ralf -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

Re: [android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-28 Thread Ralf Schneider
a 5 star rating for any reason should also be. On Apr 26, 12:57 pm, Ralf Schneider li...@gestaltgeber.com wrote: I installed the game. After installation there was a text box suggesting to give 5 stars for the game to be the first game to have a 5 star rating

Re: [android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-28 Thread Ralf Schneider
: Theres your 220, keep up the good work The quotes are from here - http://www.google.com/support/forum/p/Android+Market/thread?tid=173b4... On Apr 28, 11:19 am, Ralf Schneider li...@gestaltgeber.com wrote: The referall system together with users spamming other apps seems

Re: [android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-26 Thread Ralf Schneider
I installed the game. After installation there was a text box suggesting to give 5 stars for the game to be the first game to have a 5 star rating. I gave 1 star. I don't like to be manipulated to giva a good rating. Uninstalled it. 2010/4/26 Mike michaeldouglaskra...@gmail.com Hey Zero, Any

Re: [android-developers] Re: Is the bad MotionEvent/Touch slowdown stuff actually fixed on first-gen 2.1 updates?

2010-04-18 Thread Ralf Schneider
this i would consider slow. Anyway, this time I resist to go into a deeper rant. Kind Regards, Ralf 2010/4/18 Robert Green rbgrn@gmail.com I've tried sleep() and have switched to wait(1000), notify() / yield() as outlined by some other devs. I have no empirical evidence that one works

Re: [android-developers] Re: Performance comparison NDK vs SDK

2010-04-18 Thread Ralf Schneider
to render background texture(480x320 to full screen) without scale. On Apr 7, 5:28 am, Ralf Schneider li...@gestaltgeber.com wrote: If your performance problem is only related to putting sprites on the screen, don't expect an improvement by witching to the NDK. I don't know how you

Re: [android-developers] Re: Performance comparison NDK vs SDK

2010-04-08 Thread Ralf Schneider
. On Apr 7, 6:26 pm, Ralf Schneider li...@gestaltgeber.com wrote: There exists (GL_UNSIGNED_SHORT_4_4_4_4) Textures. May be this helps a litle bit. I'm not sure but switching to VBOs might not bring an improvement. My observation on a Nexus One is: VBOs are great if there are many tris

Re: [android-developers] Re: Performance comparison NDK vs SDK

2010-04-07 Thread Ralf Schneider
There exists (GL_UNSIGNED_SHORT_4_4_4_4) Textures. May be this helps a litle bit. I'm not sure but switching to VBOs might not bring an improvement. My observation on a Nexus One is: VBOs are great if there are many tris (250) to render per call. For billboards it really doesn't matter that

Re: RE : [android-developers] Re: Droid 2.1-update1 EGL10.eglCreateWindowSurface() deadlocks intermittently

2010-04-07 Thread Ralf Schneider
) { } } } } return eglSurface; } I'd like to know if unixseb's fix works for others. I still cannot test. On Apr 6, 11:00 am, Ralf Schneider li...@gestaltgeber.com wrote: I'm also interested

Re: [android-developers] Performance comparison NDK vs SDK

2010-04-06 Thread Ralf Schneider
You will probably not get a clear anwser from anyone. The questions is far more complex than it looks like. It is no problem to put the same number of polys out in OpenGL be it with the NDK or SDK. After all it's just same OpenGL calls. The time to render the polys (in a batch) exeeds the time of

Re: [android-developers] Re: Droid 2.1-update1 EGL10.eglCreateWindowSurface() deadlocks intermittently

2010-04-06 Thread Ralf Schneider
I'm also interested in this topic. I got an 404 on the link: This seems to work: http://code.google.com/p/earth-live-wallpaper/ Thank you for sharing your code! 2010/4/6 unixseb unix...@gmail.com have a look at the svn repository on code.google.com/project/earth- live-wallpaper

Re: [android-developers] Re: Performance comparison NDK vs SDK

2010-04-06 Thread Ralf Schneider
If your performance problem is only related to putting sprites on the screen, don't expect an improvement by witching to the NDK. I don't know how you are currently doint it, but these are some general remarks: Use OpenGL ES to draw the sprites. Limit your textures to 256x256. 512x512 seems to

Re: [android-developers] Re: Droid 2.1-update1 EGL10.eglCreateWindowSurface() deadlocks intermittently

2010-04-06 Thread Ralf Schneider
) { } } } } return eglSurface; } I'd like to know if unixseb's fix works for others. I still cannot test. On Apr 6, 11:00 am, Ralf Schneider li...@gestaltgeber.com wrote: I'm also

Re: [android-developers] Re: 2-D Graphics Performance after Motorola Droid 2.1 Update

2010-04-02 Thread Ralf Schneider
UUUhh! Does this mean the Nexus One would be faster if it would use 2.0.1? Is OpenGL affected, too? This would explain why it is nearly impossible to reach 60FPS, even if only doing a glClear... ... There is so much idle time! Does Android 2.1 try to keep an upper limit of 30 FPS to save

Re: [android-developers] Re: General lag issues with real-time games

2010-03-14 Thread Ralf Schneider
it, but I have the feeling hardcore games are not the main focus. Besides this - who knows may be Microsoft really comes up with on new good mobile OS, so there is an additional alternative to the IPhone. Regards, Ralf -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Unit Testing : Who uses it ?

2010-03-11 Thread Ralf Schneider
coverage you have. This is just my very personal opinion. BTW: For projects consiting of more than three people things start to look different. Kind Regards, Ralf 2010/3/11 Yahel kaye...@gmail.com Hi everyone, Not really Android specific but : I've just read Bob Kern's answer to a vaillant

Re: [android-developers] Re: Unit Testing : Who uses it ?

2010-03-11 Thread Ralf Schneider
there will be enough pro Unit Testing comments, so my intention was to present a different view of the subject. Kind regards, Ralf 2010/3/11 Bob Kerns r...@acm.org Ralf, I certainly agree that there are differences between lone-wolf programming and for the large team. Scale, for one thing. There are also

Re: [android-developers] Re: OpenGL and the use of ByteBuffers

2010-02-24 Thread Ralf Schneider
floating in the intertubes. Regards, Ralf -- 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

Re: [android-developers] Re: Nexus 1 opengl driver problem

2010-02-15 Thread Ralf Schneider
Hi Carlo, well, I'm currently really only experimenting with zero optimizations - one could say I nearly make everything wrong regarding performance. So you can treat all my answers and numbers as a worst case. 2010/2/15 Carlo ca...@hyperdevbox.com Thanks for your feedback :) Do you push

Re: [android-developers] Nexus 1 opengl driver problem

2010-02-14 Thread Ralf Schneider
these settings cry for optimizations, but currently I'm mainly experimenting with some basic stuff. I'm still amazed by the performance. It seems you can easily push 30 lighted tris/sec. After some optimizations probably even more. Regards, Ralf -- You received this message because you

[android-developers] How to get: Angle of View of Camera

2010-02-04 Thread Ralf Schneider
Hello, is there a possibility to query the hardware specs of the camera. I'm especially interested in the AOV Angle of View[ http://en.wikipedia.org/wiki/Angle_of_view]. Regards, Ralf -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: OpenGL Fillrate Issues

2010-01-28 Thread Ralf Schneider
, but this didn't help. Anyway the effect is clearly visible with the pure Java version, too. Regards, Ralf 2010/1/28 Mario Zechner badlogicga...@gmail.com @Ralf you can find the base activity for my tutorial code at http://code.google.com/p/android-gamedev/source/browse/trunk/src/com/badlogic/gamedev

Re: [android-developers] Re: OpenGL Fillrate Issues

2010-01-28 Thread Ralf Schneider
tried it. Unfortunately it does not imporove performance significantly. I will go this route anyway. Another java codepath I can avoid... Thanks, Ralf -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

Re: [android-developers] Re: OpenGL Fillrate Issues

2010-01-28 Thread Ralf Schneider
2010/1/28 Mario Zechner badlogicga...@gmail.com @Ralf The code looks ok. The only differene to my code is that i don't overwrite GLSurfaceView but instead register an OnTouchListener with the surface view. Just in case, maybe you could try that as well? You example should be easily adaptable

Re: [android-developers] Re: OpenGL Fillrate Issues

2010-01-27 Thread Ralf Schneider
I definitely have this problem on the Nexus One. My OpenGL performance test (using JNI/NDK pumped by java GLSurfaceView) is drawing 3 rotating Quads(8-8-8 texture) - all covering the whole screen - with blending. And I get very constant 60 FPS. As soon as I touch the screen: Frame rate drops to

Re: [android-developers] Re: OpenGL Fillrate Issues

2010-01-27 Thread Ralf Schneider
2010/1/27 Mario Zechner badlogicga...@gmail.com @Ralf that is very strange behaviour i wouldn't expect from a Nexus One. I have to admit that i only own a Droid so i can't confirm it for the N1. Would you mind putting an apk with your test application up somewhere, for example at http

Re: [android-developers] Re: OpenGL Fillrate Issues

2010-01-27 Thread Ralf Schneider
2010/1/27 Mario Zechner badlogicga...@gmail.com How does your onTouch method look like? Are you synchronizing on som object instance? class EngineGLSurfaceView extends GLSurfaceView { public EngineGLSurfaceView(Context context) { super(context); mRenderer = new

Re: [android-developers] Re: OpenGL Fillrate Issues

2010-01-27 Thread Ralf Schneider
: http://android-developers.blogspot.com/2009/04/introducing-glsurfaceview.htmland add the log output of the frame rate. Regards, Ralf 2010/1/27 Robert Green rbgrn@gmail.com So Ralf, Is that really what you have for your touch handling? Nothing - and you get that slowdown? Can you test

Re: [android-developers] Re: OpenGL Fillrate Issues

2010-01-26 Thread Ralf Schneider
of 24 is optimum on the Droid. I was kind thrown back a bit when I picked an EGLConfig with DEPTH_SIZE of 0 or another value (16, etc.) and rendering of a simple cube was at 40FPS. With an EGLConfig that has a DEPTH_SIZE of 24 the cube was rendering at 60FPS. Regards, Ralf -- You received

Re: [android-developers] Re: OpenGL Fillrate Issues

2010-01-26 Thread Ralf Schneider
@gmail.com Ralf, That is an issue if you init EGL yourself but if you use GLSurfaceView it does get the correct value for the Droid. -- 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: [android-developers] Re: OpenGL Fillrate Issues

2010-01-26 Thread Ralf Schneider
will run below 45 FPS. It's sad, anyway. Regards, Ralf This2010/1/26 Robert Green rbgrn@gmail.com Ralf, I am sure. I test on the Droid all the time. I use GLSurfaceView and here is some evidence from my logging: I/WorldRenderer(14187): EGL_DEPTH_SIZE = 24 I/WorldRenderer(14187

[android-developers] Best way to start the Alarm Clock app?

2010-01-22 Thread ralf
I'd like to start the Alarm Clock app from one of my apps. But looking at the default Intent categories, I don't see any that defines an alarm clock. Looking at the packages/apps/AlarmClock I don't see any specific category in the manifest either. Is the correct way instead to let the user pick

[android-developers] Timezone changed intent action received too many times

2010-01-18 Thread ralf
One of my apps, Timeriffic, has a broadcast receiver on android.intent.action.TIMEZONE_CHANGED to recompute its alarms when the timezone changes. That works fine. The issue is that on some devices, the app receives just too many times this intent. I have logs of multiple users showing the

[android-developers] Please explain obtainStyledAttributes

2009-11-25 Thread Ralf Engels
Hi, I wanted to determine the default color of a text that is used inside a TextEdit. However I get confused by all the type int parameters of obtainStyledAttributes. Somehow I have to sort them in the right order but I can't figure it out. I have available:

[android-developers] Re: finish() not killing Activity

2009-04-12 Thread Ralf
On Sun, Apr 12, 2009 at 6:28 PM, Todd Sjolander guyfantas...@gmail.com wrote: Marco, your hunch was right.  I was somehow creating multiple copies of Activity C.  In case anyone can benefit from this, let me explain how it went wrong. I implemented onTouch() in Activity B, which would

[android-developers] Re: Getting errors for the source platform/packages/apps/Camera.git

2009-04-12 Thread Ralf
When you say project in Eclipse, do you mean an Android project created using the ADT plugin from the SDK? The Camera app is a system app. You can't compile its Java code using a regular SDK project since the SDK does not have access to the system's internals. R/ On Thu, Apr 9, 2009 at 1:29

[android-developers] Re: multiple successive queries to a database

2009-04-12 Thread Ralf
What kind of crash do you get? Is this a force close or an exception? R/ On Thu, Apr 9, 2009 at 9:26 PM, iki qui.af...@gmail.com wrote: Has anyone other than me needed to make consecutive queries to a sqlitedatabase? My application works sometimes but other times (about 98% of the time),

[android-developers] Re: GPS application gets killed on screen timeout

2009-04-12 Thread Ralf
You should try to post on the android-porting forum, it doesn't seem like you're targetting the G1. To be more constructive, don't you simply need to hold a WakeLock? R/ On Thu, Apr 9, 2009 at 12:33 PM, sagar saghar.ab...@gmail.com wrote: Hi , I can see on OMAP zoom2 platform, the moment

[android-developers] Re: onCreateContextMenu

2009-04-12 Thread Ralf
This method is defined in View, not Activity: http://developer.android.com/reference/android/view/View.OnCreateContextMenuListener.html Where is that tutorial that you mention? Any URL? R/ On Sat, Apr 11, 2009 at 8:06 AM, streetdestroy...@gmail.com streetdestroy...@gmail.com wrote:    public

[android-developers] Re: passing a class from one process to another

2009-04-12 Thread Ralf
You might want to read the section on the developer guide on AIDL and IPC: http://developer.android.com/guide/developing/tools/aidl.html It explains how you can send a Parceleable data via an IPC. R/ On Sun, Apr 12, 2009 at 11:41 AM, DevilMayCry cyank...@gmail.com wrote: Hi guys i am looking

[android-developers] Re: Showing/hiding dynamically the title bar

2009-04-12 Thread Ralf
What is your motivation for hiding or showing the title bar at runtime? Did you consider slicing your app in various activities, which can have different themes? R/ On Fri, Apr 10, 2009 at 1:27 AM, bonfo vale...@javaground.com wrote: Hi, I already know ho to hide the title bar with the

[android-developers] Re: How-to start service automatically on system startup and on installation

2009-04-12 Thread Ralf
All you need is to create a BroadcastReceiver that is bound to the BOOT_COMPLETED action. Tout ce que tu as a faire c'est de creer un BroadcastReceiver qui recoit l'action BOOT_COMPLETED (avec la permission qui va bien). Exemple: manifest

[android-developers] Re: Can I use UNIQUE in the query() parameter?

2009-04-12 Thread Ralf
What Mark said, you probably meant DISTINCT. For reference, the Sqlite3 doc on SELECT is here: http://www.sqlite.org/lang_select.html Also remember that you have the sqlite3 binary either in SDK/tools or via adb shell. It can be handy to simulate your select manually once before you code your

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-12 Thread Ralf
You forget that Google is a US entity and as such is bound to US laws, such as, for example, complying to US export limitations. If you don't like it, you can always create your own app store that is not bound to US laws and encourage developers to use it :-p R/ On Sun, Apr 12, 2009 at 5:32 AM,

[android-developers] Re: SDKs comparison with the iPhone

2009-04-11 Thread Ralf
On Sat, Apr 11, 2009 at 12:34 AM, Al Sutton a...@funkyandroid.com wrote: Now before I start on the iPhone comparison I'm going to pre-empt the normal But Android is open source. response by saying lets be honest and admit it as it stands Android is not an open source project because the

[android-developers] Re: adb version

2009-04-11 Thread Ralf
It means you have adb from the sdk 1.1 running in the background -- adb is also a background process. You need to kill the existing adb before switching to the m5 one by doing one of the following: - either reboot your mac - run adb kill-server from a terminal - eclipse ddms perspective devices

[android-developers] Re: draw text as big as possible inside a rectangle

2009-04-11 Thread Ralf
Are you looking for Paint.measureText? http://developer.android.com/reference/android/graphics/Paint.html#measureText(java.lang.String) Example here: http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/graphics/MeasureText.html R/ On Sat, Apr 11, 2009 at 6:42 AM,

[android-developers] Re: require eclipse 3.1 , 3.2

2009-04-10 Thread Ralf
For your information, the ADT plugin for Eclipse requires Eclipse 3.3 or 3.4 (ganymede) now. R/ On Tue, Apr 7, 2009 at 11:08 PM, harne prashant harneprashant...@gmail.com wrote: hi group  i want  eclipse 3.1 , 3.2 (europa )for developing application in Android. i searched it but i didnt get

[android-developers] Re: What happened to the HOME button in cupcake

2009-04-10 Thread Ralf
On Fri, Apr 10, 2009 at 12:24 PM, Mattaku Betsujin mattaku.betsu...@gmail.com wrote: I tried the 'unofficial' cupcake SDK and found that the hardware HOME button doesn't bring me back to the home screen anymore. Is this a conscious UI decision? What's the reason behind it? You are talking

[android-developers] Re: Asset Image in WebView

2009-03-29 Thread Ralf
In this case simply use a data URI when creating the loadData string. See 4. Examples at http://www.ietf.org/rfc/rfc2397.txt R/ On Sun, Mar 29, 2009 at 6:44 PM, Beginner ayrton.merc...@gmail.com wrote: I thought this might have fixed my problem, but not quite. Since the apk is readonly, it

[android-developers] Re: How to make translucent control just like 'zoom' in Pictures

2009-03-29 Thread Ralf
You can use a FrameLayout in your XML to layer widgets or sub-layouts on top of each others. R/ On Sun, Mar 29, 2009 at 8:54 PM, Ren rens...@gmail.com wrote: Thanks, I'll try On Mon, Mar 30, 2009 at 4:46 AM, Lukasz Mosdorf lukasz.mosd...@gmail.com wrote: Hi I guess that this would be

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-29 Thread Ralf
Did you consider simply subclassing PreferenceScreen and overriding some of its methods? There are various methods such as onClick, onAttachedToActivity, onCreateView, etc., that might give you the behavior you're looking for. R/ On Sun, Mar 29, 2009 at 8:42 PM, Noam noam.ha...@gmail.com wrote:

[android-developers] Re: Buffering Background Image - Graphics Advice Sought

2009-03-29 Thread Ralf
If you want to work with the 2d draw api (e.g. not the GL one), a typical way to organize your code is to have a view that knows how to draw your static background and all the pieces (aka sprites) that you need on top. However before drawing anything get the clip bounds and check your sprites

[android-developers] Re: Capture / Trap for ActivityNotFoundException

2009-03-16 Thread Ralf
It means you need a try..catch around the call. Try a tutorial on Java Exceptions, it might help: http://java.sun.com/docs/books/tutorial/essential/exceptions/ R/ On Sun, Mar 15, 2009 at 10:46 PM, hazlema hazl...@gmail.com wrote: I am playing with android.speech.action.RECOGNIZE_SPEECH

[android-developers] Re: Keystores

2009-03-16 Thread Ralf
On Mon, Mar 16, 2009 at 12:34 AM, Kenny yxw...@gmail.com wrote: Not helping you, but I wonder what keystore is for? where to get some docs? thank you very much, http://developer.android.com/guide/publishing/app-signing.html On Mar 14, 5:18 am, linkmaster_6 linkmast...@gmail.com wrote:

[android-developers] Re: Redistributing the eclipse plugins

2009-03-16 Thread Ralf
With the usual I'm not a lawyer disclaimer applied, I'd think yes as long as you comply with the EPL and thus redistribute that part using the EPL. However you'd have to carefully choose your wording to make it clear this is not the original plugin distributed by Google. There's a FAQ here that

[android-developers] Re: Would you like to let me know how to get SDK version in my application code?

2009-03-16 Thread Ralf
On Sun, Mar 15, 2009 at 7:51 AM, Lucky-dog honglian...@gmail.com wrote: it failed that i try to get android.R.attr.minSdkVersion. Would you like to let me know how to get SDK version in my application code? PackageManager pm = getPackageManager(); PackageInfo pi =

[android-developers] Re: Sensing The Touch Event

2009-03-16 Thread Ralf
When your second activity is running, your first one is most likely stopped. What are you trying to achieve? There might be other ways to achieve it, e.g. using a service or collecting data and passing it back to the first activity. R/ On Sun, Mar 15, 2009 at 4:31 AM, mateen abmat...@gmail.com

[android-developers] Re: Button with both Text and Image

2009-03-16 Thread Ralf
On Mon, Mar 16, 2009 at 9:50 AM, dan raaka danra...@gmail.com wrote: Button inherits from Textview .. and Textview has the ability to set drawables/images on left or bottom or right or left .. Check this setCompoundDrawablesWithIntrinsicBounds(Drawable left, Drawable top, Drawable right,

[android-developers] Re: Development Platform Compatibility

2009-03-15 Thread Ralf
I think the SDK and the Eclipse tools will work reasonably well with an XP or Vista 64 bit now. The latest SDK has the USB driver in 64 bit. However at that point Vista 7 is totally unsupported (i.e. not tested at all) and I would not recommend it. R/ On Sat, Mar 14, 2009 at 11:05 PM,

[android-developers] Re: Development Platform Compatibility

2009-03-15 Thread Ralf
I think the SDK and the Eclipse tools will work reasonably well with an XP or Vista 64 bit now. The latest SDK has the USB driver in 64 bit. However at that point Vista 7 is totally unsupported (i.e. not tested at all) and I would not recommend it. R/ On Sat, Mar 14, 2009 at 11:05 PM,

[android-developers] Re: The specified child already has a parent. You must call removeView() on the child's parent first.

2009-03-15 Thread Ralf
Random guess: you tried to add a child view in a ListView statically in your layout XML file? You can't. ListView childs must be added programmatically. And yes it would help if you told us a bit about what is your layout or what you are trying to achieve. R/ On Sun, Mar 15, 2009 at 7:18 AM,

[android-developers] Re: class com.android.camera.UploadService does not exist?

2009-03-15 Thread Ralf
Just to clarify: - is this Camera the one in the git android repository? - are you trying to build from the android repository using make or from the SDK? - what is your platform? (i.e. not windows) R/ On Sun, Mar 15, 2009 at 7:57 AM, Hans hkess...@gmail.com wrote: Manifest for Camera.git

[android-developers] Re: ADT Layout Editor

2009-03-09 Thread Ralf
The EPL license of the plugin allows you to reuse the code if you use a compatible license for your own project. That being said, the layout editor has not been designed to be re-usable as such. That means the API will surely change and you'd be basing your project on something hard to keep up

[android-developers] Rendering a map off-screen?

2009-02-08 Thread Ralf
special magic to the MapView object only when it is set on- screen through SetContentView()? Thanks, Ralf --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Manipulating the keyguard lock screen

2008-12-24 Thread Ralf
Not when using the SDK. R/ On Tue, Dec 23, 2008 at 10:43 PM, bparker cbpar...@gmail.com wrote: Is it possible to add items to the lock screen? I noticed that when setting an alarm using AlarmClock, it adds another view to the layout that has a bell icon and tells the day/time of the next

[android-developers] Re: Anyone success to build emulator for Windows?

2008-12-24 Thread Ralf
To build the SDK for Windows, look at this: http://android.git.kernel.org/?p=platform/development.git;a=blob_plain;f=tools/eclipse/README_WINDOWS.txt;hb=HEAD It's a bit old but step #2 is still mostly valid except you MUST make sure cygwin is in binary/unix mode and not text/dos mode. Also the

[android-developers] Re: Regarding .apk files

2008-12-24 Thread Ralf
There is no converter from dex to java. Feel free to write one. R/ On Wed, Dec 24, 2008 at 5:11 AM, Naina K kna...@gmail.com wrote: Hello, If I have an .apk file for android application, I would like to know how can I convert this .apk file to .java file so that I can see the code in

[android-developers] Re: Testing a Android Activity..

2008-12-23 Thread Ralf
M (ಮಂಜುನಾಥ ಎಂ) man...@gmail.com wrote: Can I get any examples??? On Mon, Dec 22, 2008 at 11:36 PM, Ralf ralfo...@gmail.com wrote: It's called Instrumentation under Android: http://code.google.com/intl/fr/android/reference/android/test/InstrumentationTestRunner.html R/ On Mon, Dec 22

[android-developers] Re: Problems running telnetd on adp1

2008-12-23 Thread Ralf
There will be an official Android driver for Vista 64 bit later. In the meantime there's an unofficial hacked one at xda. R/ On Tue, Dec 23, 2008 at 2:51 AM, onlythoughtwo...@googlemail.com onlythoughtwo...@googlemail.com wrote: Thanks. But I´m currently running Vista 64-Bit Version, but i

[android-developers] Re: SHA1 Encryption

2008-12-22 Thread Ralf
On Mon, Dec 22, 2008 at 4:22 AM, flash bennyco...@gmail.com wrote: Hi, Is there anyway in android that you can SHA1 encrypt a String? Try googling java crypto sha1 to see how to use the MessageDigest API: http://code.google.com/intl/fr/android/reference/java/security/MessageDigest.html R/

[android-developers] Re: Display a screen for 2 0r 3 seconds

2008-12-22 Thread Ralf
You can use View.postDelayed(action, delayMillis) to execute something after a delay. If you don't have a View, use the Handler class instead. See their various postXxx() methods. R/ On Mon, Dec 22, 2008 at 10:08 AM, nithin warier nithin.war...@gmail.com wrote: I want to display a screen for

[android-developers] PreferenceActivity with blur behind?

2008-12-21 Thread Ralf
I'm trying to use a PreferenceActivity with prefs inflated from XML and at the same time I'd like the window to blur whatever was behind (i.e. my previous activity where I invoked the settings from.) I tried something like this below but the background is always black (or whatever color I select)

[android-developers] Re: Identifying GUI items of the IM chat dialog

2008-12-21 Thread Ralf
FYI the SDK contains a tool called HierarchyViewer. It can connect to an emulator or actual device via adb and show you the exact UI objects used by any screen, with all its properties. R/ On Sun, Dec 21, 2008 at 4:52 AM, Falcon4ever laurence.mul...@gmail.com wrote: Hi, currently I am

[android-developers] Re: Problem setting up SDK

2008-12-20 Thread Ralf
For Eclipse you also need to install the ADT plugin. I'd recommend getting it from the official download site rather than trying to build it yourself unless you really plan to modify it. R/ On Tue, Dec 16, 2008 at 4:37 AM, Gary Thomas samoht.y...@gmail.com wrote: I've downloaded and built the

[android-developers] Re: Computer Reboots when accessing G1 through USB

2008-12-17 Thread Ralf
Did you update XP from service pack 1 to service pack 2? IIRC the base usb driver in XP from service pack 1 is buggy and updating to SP2 doesn't automatically update this driver. Forcing XP to update this driver solved the issue for someone else. R/ On Wed, Dec 17, 2008 at 11:47 AM, Urig

[android-developers] Re: getting started with eclipse

2008-12-17 Thread Ralf
FYI subclipse works just fine with Eclipse + ADT. R/ On Wed, Dec 17, 2008 at 2:45 PM, Fred Grott(shareme) fred.gr...@gmail.com wrote: I have a good setup, steps: 1. Download Eclipse-RCP-3.4.1 2 Do not install subclipse, use subversive instead 3 Install the ADT plugin right after your full

[android-developers] Re: track boor isn't working on button with has only background image

2008-12-15 Thread Ralf
Just a random thought: you could try to add android:focusable=true There's also android:focusableInTouchMode=true. That might be a moot point as I believe buttons are focusable by default. R/ On Mon, Dec 15, 2008 at 10:51 AM, cindy ypu01...@yahoo.com wrote: Hi all, I have defined a button

[android-developers] Re: Using resources in WebView

2008-12-15 Thread Ralf
On Mon, Dec 15, 2008 at 9:14 AM, Eric rellimc...@gmail.com wrote: Ralf: Thanks: I have duplicated them and it works. I don't like wasting the storage space, especially since apps need to live in internal memory. Having two copies of many icons seems very wasteful. You could avoid duplication

[android-developers] Re: Is a SIM Required for Dev 1?

2008-12-15 Thread Ralf
are talking GREAT to know... Thanks Ralf! On Dec 14, 11:33 am, Ralf ralfo...@gmail.com wrote: Once activated you don't need the sim. R/ On Sun, Dec 14, 2008 at 8:19 AM, cyntacks kevin.clout...@cyntacks.com wrote: Bummer, Looks like I am going to have to keep moving my SIM from my

[android-developers] Re: SubMenu MenuItem icon?

2008-12-15 Thread Ralf
, 2008 at 10:53 AM, Ralf ralfo...@gmail.com wrote: On Wed, Dec 10, 2008 at 3:01 PM, Jamie androidapp...@gmail.com wrote: Is it by design that we can't set icons in a submenu's menu item? Yes. R/ SubMenu sub = menu.addSubMenu(...); MenuItem item = sub.add (...); item.setIcon

[android-developers] Re: Is a SIM Required for Dev 1?

2008-12-14 Thread Ralf
Once activated you don't need the sim. R/ On Sun, Dec 14, 2008 at 8:19 AM, cyntacks kevin.clout...@cyntacks.com wrote: Bummer, Looks like I am going to have to keep moving my SIM from my iPhone to the Dev 1 each time I want to test... seems like a HUGE oversight. I'm surprised we can't

[android-developers] Re: Receiving Alarms when the program is not running

2008-12-14 Thread Ralf
What do you mean by your program might not be running when the alarm goes off? Are you using the AlarmManager and a PendingIntent? Also if you just want to get a quick display for testing purposes you can simply display a Toast from a BroadcastReceiver. R/ On Sat, Dec 13, 2008 at 9:06 PM,

[android-developers] Re: How to power off the emulator

2008-12-14 Thread Ralf
I believe that is not properly handled by the emulator. Just close the emulator window when you're done with it. Note that if you're going to relaunch an app on the emulator you don't need to stop it between. R/ On Sat, Dec 13, 2008 at 5:40 PM, Xiongzh zx.zhangxi...@gmail.com wrote: Hi

  1   2   >