[android-developers] Re: New Android Market Client Update

2010-12-14 Thread tobias429
Unless your app is Smart phones for Complete Morons in 3 easy words, then chances are you don't want that person anyway as someone you'd have to support. It would cost you more than they paid for the app. First time I see a developer stating that certain customers are below his dignity level

[android-developers] Re: Support Large Screen

2010-12-09 Thread tobias429
There is a new feature in Android 2.3 which lets you specify whether your app supports extra large screens. Quote from the 2.3 release notes: Extra Large Screens The platform now supports extra large screen sizes, such as those that might be found on tablet devices. Developers can indicate that

[android-developers] Re: Android 2.3 not handling orientation change properly - screen is not redrawn

2010-12-06 Thread tobias429
I'm having exactly the same issue in my App. Worked fine in all other Android versions before. It also seems to be for the change from landscape to portrait only. The other way around works fine. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: android:layout_alignParentBottom=true on code

2010-10-28 Thread tobias429
You can do this via the LayoutParams. E.g. like below: RelativeLayout relativeLayout = new RelativeLayout(this); RelativeLayout.LayoutParams relativeParams = new RelativeLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);

[android-developers] Re: Regarding the surfaceview

2010-07-27 Thread tobias429
/browse_thread/thread/3514e1890ed958e2/8874eff5e487553a?hl=enlnk=gstq=tobias429#8874eff5e487553a On Jul 26, 3:30 pm, ameya dandekar ameya...@gmail.com wrote: Hi,    I am currently working on the app in which my media player class is singleton, and i want to play the video files. I use surfaceView

[android-developers] Re: canvas problem

2010-07-08 Thread tobias429
Create your own class e.g. MyView and let it inherit the class View. Override the onDraw method of this class. public class MyView extends View { @Override protected void onDraw(Canvas canvas) { super.onDraw(canvas); //Your own code to paint a circle here } Add an

[android-developers] Re: paypal mobile payment allowed?

2010-07-07 Thread tobias429
1. Publish a paid app on the market, you get 70% of the revenue, Google (or the OHA) gets 30% 2. Only serious alternative to generate revenue: publish a free app and put advertising on. The percentage of the advertising revenue that you get is typically at the advertising-company's discretion.

[android-developers] Re: Switching GLSurface view and regular view issue.

2010-06-30 Thread tobias429
It's as per the error message that you get. When you create a view in one thread (like e.g. within your main activity), you can not change this view from another thread. There are various ways how to work around this. One is as follows: In your thread, create a sub-class: public class

[android-developers] Re: Admob ads linking to scam sites, possible additional app-security problems

2010-06-19 Thread tobias429
If you've spotted a fraudulent advertiser on AdMob, please report it to them. They have their own support forum. -- 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

[android-developers] Re: SurfaceView Lifecycle - Switching between a Layout and a SurfaceView

2010-05-29 Thread tobias429
, Did you manage to find an answer to this yet? I'm experiencing the same problem such that my surfaceview gets destroyed, (after calling setContentView to load another layout) but never gets created again! Thanks, Mun On May 9, 10:37 pm, tobias429 ecker...@gmx.de wrote: I've built

[android-developers] Re: Application losing SharedPreferences and Sqlite database on Droid

2010-05-17 Thread tobias429
I got several reports from users that my application had lost the preferences. This is more than a year ago when the G1 was most prevalent... I switched to saving preferences in a file instead, and complaints stopped. Check the following threads for similar reports:

[android-developers] SurfaceView Lifecycle - Switching between a Layout and a SurfaceView

2010-05-09 Thread tobias429
I've built an application that switches between two screens - a LinearLayout and a SurfaceView - via the application.setContentView() method. When switching between the two screens, the surface of the SurfaceView gets destroyed, and never created new again. Here is what I do: During my

[android-developers] Re: How to fix java.lang.IllegalThreadStateExeception: Thread already started.

2010-05-06 Thread tobias429
Run into the same issue. What I'm doing is to not stop the thread and restart it, but kill and rebuild it. I.e. kill the thread via: boolean retry = true; while (retry) { try { myThread.join(); retry = false; } catch

[android-developers] Re: How to see all the applicat ions in the Google Market?

2010-04-29 Thread tobias429
Try those web-sites: http://www.androlib.com http://www.cyrket.com http://www.androidpit.com http://www.androidzoom.com Anyone knows further sites? On Apr 29, 8:30 am, Grant Jia jeasun...@gmail.com wrote: Hi, friends, The official web site just show the top applications both free and paid,

[android-developers] Re: How to obtain a google developer phone in germany?

2010-04-29 Thread tobias429
Chris, You can develop on any Android phone. The Developer phones are only specific in that they are guaranteed to come without a sim-lock and can easily be rooted. AFAIK the G1 developer phone can't be upgraded to any Android version higher than 1.6. due to memory limitations, so if you want to

[android-developers] Re: Deploy a build for a specific resolution

2010-04-27 Thread tobias429
Hi Viorel, Filtering by OS is quite simple. You can specify in your application's manifest the target, minimum or maximum OS version your application needs, e.g.: uses-sdk android:minSdkVersion=3 android:targetSdkVersion=4/ The market will show your app then only to phones that have the

[android-developers] Re: Game stutters when drawing outside screen

2010-04-27 Thread tobias429
Is the image that you are drawing exactly the same size as the screen area that you are filling? I noticed in my games that resizing of images is apparently an incredibly costly operation with Android. As soon as I draw a bitmap and the OS has to adjust the size of it, the game begins to stutter

[android-developers] Re: Question for Admob users

2010-03-30 Thread tobias429
In Germany, Austria, Switzerland and France I also saw pretty much exclusively geo-targeted ads in the local language. The click-through rate with those seems to be much higher. Does anyone know though if the access_coarse_location is really required for this? After all you can get a users

[android-developers] Re: Being legally harassed, by a large iPhone developer

2010-03-25 Thread tobias429
Not a lawyer, but that's my understanding as well. Take all the Connect 4 clones on the Market. I don't think anyone has a patent on the game concept itself (according to Wikipedia it's been out since the 17th century). However Hasbro has registered the title Connect 4 as a trademark in the US.

[android-developers] Re: No stats? 0 total; 0 active installs while 5000 AdMob impressions??

2010-01-08 Thread tobias429
The update of the market stats appears to have been down for the last two days. Mine have been updated again some hours ago. If you check back on the market you might see yours to be updated now as well. On 8 Jan., 09:13, greg1x gre...@yahoo.com wrote: Hi! I have uploaded a free AdMob

[android-developers] Re: scaling game images according display sizes

2010-01-07 Thread tobias429
Hi Andrea, I also wanted to avoid compatibility mode. More for the reason of being able to actually use the higher resolution rather than out of performance concerns. For one of my games I applied a routine to scale the images myself upon start-up of the application just like you describe (I

[android-developers] Re: Start and Stop music on application launch and stop

2010-01-05 Thread tobias429
Hi Hassan, You can use the onPause() and onResume() functions for this. Just override the original functions and place the code to start your sound in onResume() and the code to stop your sound in onPause(). In case you have several activities that can be independently started and stopped, I'd

[android-developers] Re: Menu Item Name

2010-01-05 Thread tobias429
Hi, menu.add() returns the menu item that was created. You can create a global variable, assign the returned menu to this global variable, and then access this any time you like. E.g.: In your global variable definitions, add: MenuItem startMenu; in onCreateOptionsMenu() you add:

[android-developers] Re: AdSense Android - A Disappointed Developer's Rant

2009-08-25 Thread tobias429
Hi, I went through exactly the same process after doing exactly what you described you did: displaying ads on a web-page that gets opened in a webview out of an Android application. See the post - is android and adsense a valid business model for the full story. My adsense account remains

[android-developers] Re: Playing sounds multiple times using MediaPlayer

2008-11-02 Thread tobias429
Thanks for the tip! This actually does the trick. What I'm doing now is a bit more complex. I've created a helper class that multiplies the number of MediaPlayers used. So instead of using one MediaPlayer for the bingSound, I use a new class, which internally creates an array of MediaPlayers.

[android-developers] Playing sounds multiple times using MediaPlayer

2008-10-28 Thread tobias429
I am looking for a solution to play sounds multiple times in an application. In the application, as soon as a user performs operation A, the application shall respond with a *bing* sound. Performing operation B shall produce a *bong*. That means during the application life cycle, both sounds will