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,

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

2012-06-12 Thread Ralf
at 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 t

[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 from

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 > I need to load in a 24-bit PNG mask image into my Android, and it > being a mask,

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 > Hey guys, > > I am considering developing for a mobile OS and I am not sure which one to > choose out of BlackBerry Windo

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 > I've already contacted the PayPal support about theirs contest violating > Android Market's terms (more or less). > They told me to r

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

2011-03-22 Thread Ralf Schneider
web based emulator to run your app 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 >wrote: > > > > > > > > > The Amazon Appstore for Android is not yet available in your regi

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: 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 > 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 >

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

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

[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 this

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 : > I was just pointing out a logical flaw in another post: The poster was > defending Java and in th

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

2010-08-13 Thread Ralf Schneider
n : > On Fri, Aug 13, 2010 at 1:34 AM, Ralf Schneider > 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 >

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 l

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

2010-07-07 Thread Ralf Baumbach
the sdcard adb hangs and the emulator > > freezes. Is there a file limitation that I am 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 h

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 subs

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

2010-05-01 Thread Ralf Schneider
our code. 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

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

2010-04-28 Thread Ralf Schneider
t Play: You have to rate it first > > [4/18/2010 9:12:56 PM] Pocket Play: Rate everything you comment on 5 > > stars > > [4/18/2010 9:26:02 PM] Pocket Play: all good. > > [4/18/2010 9:26:10 PM] Pocket Play: Theres your 220, keep up the good > > work > > > &

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

2010-04-28 Thread Ralf Schneider
gt; > > Can anyone at Google that can speak to this please do so? > > > > > > > Regards, > > > > > > > - Mike > > > > > > > On Apr 26, 1:19 pm, Robert Green wrote: > > > > > > > > Ok, just like how telling peo

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 > Hey Zero, > > Any idea on how Pocket Empi

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 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&#

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
ds - and even this i would consider slow. Anyway, this time I resist to go into a deeper rant. Kind Regards, Ralf 2010/4/18 Robert Green > 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 >

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

2010-04-08 Thread Ralf Schneider
) and new results > Java: 4700ms > C : 1600ms > > so ... these are facts. I'm not really experienced with C, but this > seems for me as very objective test. > > > On Apr 7, 6:26 pm, Ralf Schneider wrote: > > There exists (GL_UNSIGNED_SHORT_4_4_4_4) Textur

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

2010-04-07 Thread Ralf Schneider
due to uncaught exception > > > > > > E/AndroidRuntime( 5769): java.lang.IllegalArgumentException > > > > > > E/AndroidRuntime( 5769):at > > > > > > com.google.android.gles_jni.EGLImpl.eglGetConfigAttrib(Native > Method) > > > > > > E/AndroidRuntime( 5769):at android.opengl.EglHelper > > > > > > $ComponentSizeChooser.findC

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: [android-developers] Re: Droid 2.1-update1 EGL10.eglCreateWindowSurface() deadlocks intermittently

2010-04-06 Thread Ralf Schneider
gt; wallpaper but then it doesn't happen again for a while. > > > > > Thanks guys for all your help! > > > > > On Apr 6, 11:29 am, shaun wrote: > > > > > > Assuming I correctly identified the code that unixseb uses as the > > > > work

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 be

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 > have a look at the svn repository on code.google.com/project/earth- > live-wallpaper

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: 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 battery

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

2010-03-14 Thread Ralf Schneider
around as good as we can. There is also the irrational hope Google will care and do something about 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 IP

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

2010-03-11 Thread Ralf Schneider
ying "Jehova". I thought 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 > Ralf, I certainly agree that there are differences between lone-wolf > programming and for

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

2010-03-11 Thread Ralf Schneider
you finish your project you will be judged by your game and not by your source code and how much test 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 > H

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

2010-02-24 Thread Ralf Schneider
data available. These are just general advices 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 un

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 > Thanks for your feedback :) > > Do you push optimized triangle lis

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

2010-02-14 Thread Ralf Schneider
OG_MODE, GL_LINEAR ); glHint(GL_FOG_HINT, GL_NICEST); ... I know 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

[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 D

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

2010-01-28 Thread Ralf Schneider
2010/1/28 Mario Zechner > @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 adaptab

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

2010-01-28 Thread Ralf Schneider
e tip! I 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

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

2010-01-28 Thread Ralf Schneider
didn't help. Anyway the effect is clearly visible with the pure Java version, too. Regards, Ralf 2010/1/28 Mario Zechner > @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/tools/Gam

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

2010-01-27 Thread Ralf Schneider
est is really simple: Take the code from: 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 > So Ralf, > > Is that really what you have for your touch handling? Nothing - and &

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

2010-01-27 Thread Ralf Schneider
2010/1/27 Mario Zechner > 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 EngineRenderer(); setRe

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

2010-01-27 Thread Ralf Schneider
2010/1/27 Mario Zechner > @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

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 43

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

2010-01-26 Thread Ralf Schneider
ll games using the touch sreen will run below 45 FPS. It's sad, anyway. Regards, Ralf This2010/1/26 Robert Green > 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

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

2010-01-26 Thread Ralf Schneider
CONFIG_CAVEAT". 2010/1/26 Robert Green > 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 Developer

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

2010-01-26 Thread Ralf Schneider
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 this

[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 receiver

[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: com.android.internal.R.styleable.TextV

[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: 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: 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: http://schemas.android.com/apk/res/android"; package="com.alfray.

[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 wrote: > > Hi, > I already know ho to hide the title bar with the > getWindow().requestFeatu

[android-developers] Re: Acessing Data in AndroidManifest

2009-04-12 Thread Ralf
Afaik, the versionName attribute is not a string you can reference from other resources. However you can programatically retrieve it like this: PackageManager pm = getPackageManager(); PackageInfo pi = pm.getPackageInfo(getPackageName(), 0); mVersion = pi.versionName; For example I do that

[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 wrote: > > Hi guys i am looking for an example th

[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 wrote: > > >    public boolean onCreateContext

[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 wrote: > > Hi , > > I can see on OMAP zoom2 platform, the moment screen timeout happen

[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 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), the app will cr

[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 P

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

2009-04-12 Thread Ralf
On Sun, Apr 12, 2009 at 6:28 PM, Todd Sjolander 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 create an Intent > for

[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, Mi

[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 > devi

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

2009-04-11 Thread Ralf
On Sat, Apr 11, 2009 at 12:34 AM, Al Sutton 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 > public "open so

[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 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 about the emulator, right?

[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 wrote: > > hi group >  i want  eclipse 3.1 , 3.2 (europa )for developing application in Android. > i searched it but i didnt get > if any one has its re

[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 ag

[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 wrote: > > Thanks Peli for

[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 wrote: > Thanks, I'll try > > On Mon, Mar 30, 2009 at 4:46 AM, Lukasz Mosdorf > wrote: >> >> Hi >> >> I guess that this would be sth like this: >> >>  addContent

[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 wrote: > > I thought this might have fixed my problem, but not quite. Since the > apk is readonly, it seems I can't put an

[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 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, Drawable bottom) >

[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 wrote: > > Asslam-u

[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 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 = pm.getPackageInfo(this.getPackageName(), 0); p

[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: Keystores

2009-03-16 Thread Ralf
On Mon, Mar 16, 2009 at 12:34 AM, Kenny 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 wrote: >> Hello yes i have forgotten the passw

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

2009-03-15 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 wrote: > > I am playing with "android.speech.action.RECOGNIZE_SPEECH" and in the > so

[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 wrote: > > Manifest for Camera.git application lists th

[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, gs

[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, javame.dev

[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, javame.dev

[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 w

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

2009-02-08 Thread Ralf
s for example the MapActivity doing some 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 Develop

[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 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 that applicati

[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: 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 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 alarm... I was > w

[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 wrote: > > Thanks. But I´m currently running Vista 64-Bit Version, but i think i > can forward usb ports i

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

2008-12-23 Thread Ralf
ಂಜುನಾಥ ಎಂ) > wrote: >> >> Can I get any examples??? >> >> On Mon, Dec 22, 2008 at 11:36 PM, Ralf wrote: >>> >>> It's called "Instrumentation" under Android: >>> >>> http://code.google.com/intl/fr/android/reference/andr

[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 wrote: > > I want to display a screen for 2 or 3 seconds only, >

[android-developers] Re: SHA1 Encryption

2008-12-22 Thread Ralf
On Mon, Dec 22, 2008 at 4:22 AM, flash 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/ > > Thanks > > >

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

2008-12-22 Thread Ralf
It's called "Instrumentation" under Android: http://code.google.com/intl/fr/android/reference/android/test/InstrumentationTestRunner.html R/ On Mon, Dec 22, 2008 at 1:54 AM, Manjunatha M (ಮಂಜುನಾಥ ಎಂ) wrote: > Hi All, > > I need your help how to test the Android application. > > I need to test ea

[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 wrote: > > Hi, > > currently I am developing a chat like appl

[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: 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 wrote: > > I've downloaded and built the entire SDK, to the

[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) 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 eclipse insta

[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 wrote:

[android-developers] Re: SubMenu MenuItem icon?

2008-12-15 Thread Ralf
008 at 10:53 AM, Ralf wrote: >> >> On Wed, Dec 10, 2008 at 3:01 PM, Jamie wrote: >> > >> > Is it by design that we can't set icons in a submenu's menu item? >> >> Yes. >> >> R/ >> >> > SubMenu sub = menu.addSubMenu

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

2008-12-15 Thread Ralf
rote: >> >> Ah... now we are talking GREAT to know... Thanks Ralf! >> >> On Dec 14, 11:33 am, Ralf wrote: >>> Once activated you don't need the sim. >>> >>> R/ >>> >>> On Sun, Dec 14, 2008 at 8:19 AM, cyntacks >>

[android-developers] Re: Does LogCat support UTF-8 to display?

2008-12-15 Thread Ralf
On Thu, Dec 11, 2008 at 11:55 PM, yukinoba wrote: > > hi all > > does anyone know that logcat supports utf-8 display or not? > I ve tried to transfer non-unicode string message objects to the Log > method, with new String(s.getBytes(""), "utf-8"), and > then put it into the Log.v(, ) > > then I f

[android-developers] Re: Using resources in WebView

2008-12-15 Thread Ralf
On Mon, Dec 15, 2008 at 9:14 AM, Eric 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 duplicatio

[android-developers] Re: How to remove a file in assets at run time?

2008-12-15 Thread Ralf
You can think of the the APK as being a read-only zip file, so I don't think you can remove anything from it. You don't really need to remove your lib from the apk anyway, do you? R/ On Mon, Dec 15, 2008 at 5:50 AM, shuoshuo wrote: > > I have made an application, it uses a C++ shared library, I

  1   2   >