[android-developers] Re: how can I catch deadlock or hang of process?

2015-11-14 Thread Nobu Games
Maybe a static analysis tool for Java can help you: - http://stackoverflow.com/questions/8942658/static-analysis-tool-to-detect-multithreading-problems-deadlocks-race-conditio - https://github.com/flurry/checkthread-android-example On Friday, November 13, 2015 at 3:12:29 AM UTC-8,

[android-developers] Re: Moved to Android Studio - how do I migrate my publishing key?

2015-10-09 Thread Nobu Games
Maybe this question on Stackoverflow helps: http://stackoverflow.com/questions/7112392/keystore-eclipse-adt-file-location On Friday, October 9, 2015 at 12:28:01 PM UTC-7, Tobiah wrote: > > I've published under Eclipse (quite some time ago) but now I've > switched to Studio and need to update

[android-developers] Re: Why different icon sizes?

2015-06-16 Thread Nobu Games
Yes, this is how the system works for drawables. Here a quote from the Android documentation: The system handles most of the work to render your application properly on each screen configuration by scaling layouts to fit the screen size/density and *scaling bitmap drawables for the screen

[android-developers] Re: About Application promotion

2015-05-19 Thread Nobu Games
I guess key in 3) is without informed user action. In your scenario tapping a banner ad is a user action. What appears to me as legal grey area is the informed user bit. How can we possibly know that the user is informed and does in fact know that they are clicking a banner ad for an app, that

[android-developers] Re: SQLite case insensitive matching

2015-04-18 Thread Nobu Games
There rings a bell with your problem description. It's a while ago, but I remember now that I'm having similar problems with one of my apps and non-ASCII characters. Since you are using the MATCH operator I assume you are also using the FTS3 extension. I just found this piece of information on

Re: [android-developers] App Updation from playstore

2015-02-12 Thread Nobu Games
In your original post you said that you lost your keystore and that you had to create a new one. Did you find your old keystore again or are you talking about a new keystore now? On Wednesday, February 11, 2015 at 9:50:48 PM UTC-8, rahul kaushik wrote: I am using the same version in both and

[android-developers] Re: Android Studio needs create library function! And Android needs a different OS Name!

2015-02-12 Thread Nobu Games
I had a similar problem with wrapping my head around this libraries issue when I started using Android Studio and Gradle just a few weeks ago (see discussion here https://groups.google.com/forum/?fromgroupshl=en#!topic/android-developers/O1hSIbQK0SU, also for an overview of the available

Re: [android-developers] Re: What is wow factor about android studio in compare to Eclipse.

2015-02-03 Thread Nobu Games
Yesterday I tried to set up a web project in IntelliJ IDEA 14 CE and Android Studio. It did not work because all the necessary plugins are reserved for the commercial version of IntelliJ IDEA. Which is fine with me. They are running a business after all. But I guess that may prove your point.

[android-developers] Re: Android Load library from path

2015-02-03 Thread Nobu Games
Did you copy that file manually? Have you checked the ownership? I assume that the file owner must be the same that is running the app process. On Tuesday, February 3, 2015 at 5:50:58 AM UTC-8, SKore wrote: Hi, I am checking on permissive and Enforcing mechanism of selinux(SE Linux) in

[android-developers] Re: Reusable code organization with Android Studio

2015-01-24 Thread Nobu Games
On Saturday, January 24, 2015 at 1:29:10 PM UTC-8, Doug wrote: Also, learn the semantics of what having -SNAPSHOT in a maven version string means for referencing build artifacts from a repo. Thanks for the pointer. That looks like the feature I was looking for. -- You received this message

[android-developers] Re: Reusable code organization with Android Studio

2015-01-24 Thread Nobu Games
Thanks for your input! On Friday, January 23, 2015 at 7:39:51 PM UTC-8, Grunthos wrote: - I keep app projects in separate repositories and *I import my custom library modules* - *Importing a module creates a copy of the original * - This means *redundancy* and *code

[android-developers] Reusable code organization with Android Studio

2015-01-23 Thread Nobu Games
I've been pulling out my hair over this in the past two days and searched the Internet for best practices when it comes to organizing reusable code in an Android Studio project. Coming from an Eclipse development background it's not really all that intuitive to understand. This post is a bit

Re: [android-developers] BANNING APPS ON PURPOSE

2015-01-01 Thread Nobu Games
Well, it is possible to file takedown requests https://support.google.com/legal/troubleshooter/1114905?hl=enas a copyright holder. But since Michael did not publish his work before the stolen version was published this would probably stand no chance. On Thursday, January 1, 2015 9:33:12 AM

[android-developers] Re: How to implement crossfade texture effect in Opengl?

2014-12-28 Thread Nobu Games
OpenGL ES 2.x and higher are the way to go, so you probably won't get around coding your own shaders. That comes with a lot of advantages and a few problems. Yes there are some compatibility issues but they are universal and also affect desktop GPUs due to subtle inconsistencies in driver

[android-developers] Re: How to implement crossfade texture effect in Opengl?

2014-12-26 Thread Nobu Games
Never tried that myself but from OpenGL ES 2.x you could assign two textures to a fragment shader that gradually achieves that blending effect over time. The simplest blending effect would be linear, which has the basic formula: P_mix = P_a * (1 - t) + P_b * t where... - P_a would be the

Re: [android-developers] Re: Free App suspended for adding Google Analytics?

2014-11-18 Thread Nobu Games
You could in fact (try) to get around Google's payment processor if you change your donate button into an in-app purchase of a media file that can also be processed by other apps (images, videos, songs, eBook...), see Google Play Developer Policies

[android-developers] Re: insane ScrollView problems

2014-10-15 Thread Nobu Games
I'm not sure if that's just a copy paste error, but you close the LinearLayout tag prematurely. So all its attributes including layout_width just count as unexpected text: LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; *

[android-developers] Re: Physical address is required for paid apps or in-app purchases

2014-09-24 Thread Nobu Games
As far as I know, the physical address has to be specified in your Google Wallet Merchant https://wallet.google.com/merchant/ account, that you use for receiving payments from Google Play. On Wednesday, September 24, 2014 2:38:24 PM UTC-5, Jose_GD wrote: I thinks this is another sign of the

Re: [android-developers] Re: Physical address is required for paid apps or in-app purchases

2014-09-24 Thread Nobu Games
profile - Address? I'll need to use different addresses there, for personal safety. -- K 2014-09-24 23:45 GMT+04:00 Nobu Games dev.nob...@gmail.com javascript: : As far as I know, the physical address has to be specified in your Google Wallet Merchant https://wallet.google.com/merchant

[android-developers] Re: To implement Donation functionality using paypal natively

2014-09-22 Thread Nobu Games
The current Google Play Developer Program Policies https://play.google.com/about/developer-content-policy.html state the following about payment processing and monetization: *Paid and Free Apps* - *App purchases:* Developers charging for apps and downloads from Google Play must do

Re: [android-developers] Re: Save Html file Data

2014-09-19 Thread Nobu Games
Or the simpler alternative: use the HTML5 persistent local storage feature, so everything can be handled from within the same HTML page. http://stackoverflow.com/questions/5899087/android-webview-localstorage https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Storage -- You received

Re: [android-developers] need reference / example for game orientation matrix

2014-09-13 Thread Nobu Games
I can recommend this book: http://www.amazon.com/Mathematics-Programming-Computer-Graphics-Edition/dp/1435458869/ It covers various important topics in 3D game development and also explains the basics about matrices and vectors. Another great source is this website here:

[android-developers] Re: WebView.setEmbeddedTitleBar gone in Jelly Bean? Which alternatives?

2014-07-22 Thread Nobu Games
Here is a follow-up since I am still getting emails from people around the world: the *titlebar-webview hack does not work* anymore and* it cannot be fixed.* That's why I deleted the project from Google Code. It was a nasty hack that exposed a hidden interface and was actually doomed to fail

[android-developers] Re: Image captured from my app is rotated by default

2014-03-25 Thread Nobu Games
This is expected behavior, and Doug's assumption is right. JPEG images may contain EXIF http://en.wikipedia.org/wiki/Exchangeable_image_file_formatdata blocks that also specify the orientation of the image. On your server you need to read the orientation data and use it to rotate the image into

[android-developers] Re: forcing more GC_FOR_ALLOC

2014-02-12 Thread Nobu Games
Could you tell a bit more about the game: - What Android version are you testing on? - Do you draw graphics using OpenGL ES or Canvas? - How many bitmaps or textures do you use at a time? - What's the average resolution and bit depth of your bitmaps / textures? - Do you scale or process bitmaps

[android-developers] Re: ANR from internal function

2014-02-10 Thread Nobu Games
I guess the solution is trying to debug the heck out of it, that's also what the OP was basically asking for. The causes in her/his case will most likely be too different to be useful for you, since I think it's related to multithreading deadlocks due to bad locking / synchronization. I had

[android-developers] Re: Activty on orientation

2014-02-08 Thread Nobu Games
By default the activity gets recreated on certain events such as orientation change. This is, as far as I know, the preferred behavior. You can handle these so-called runtime changes (such as orientation change, but there are more events that trigger activity re-creation such as changed system

[android-developers] Re: LVL: possible to check license for a different app?

2014-02-06 Thread Nobu Games
Educated guess: the UID may be the app's user id (UID). As far as I know, Android creates a unique user for each installed app for enforcing app-specific file system permissions. The licensing service probably checks that the requesting app process' user id matches the user id for the

[android-developers] Re: Home screen icon ads

2014-02-05 Thread Nobu Games
It could be just about any app that uses some ad(ware) SDK. As far as I know doing that kind of thing also requires a specific permission ( com.android.launcher.permission.INSTALL_SHORTCUT). So you could look through your list of installed apps and look for one with that permission. Maybe there

[android-developers] Re: licensing - ServerManagedPolicy not caching

2014-02-02 Thread Nobu Games
Actually Google isn't doing their developers any favor with the LVL. The documentation reads like it is meant to serve as a drop-in solution that adds reliable DRM to your paid app. Just configure it a little bit with some policy and your app is safe. On the other hand there is that lengthy

[android-developers] Re: CSS Height % Not working in Android App Screen

2014-01-28 Thread Nobu Games
I'm not sure if this is the cause but I noticed that your sample HTML page is missing a view port meta tag, which is commonly used in mobile web pages. The rendering logic is a bit different in mobile browsers due to the smaller screen size of mobile devices. Here is an explanation of mobile

[android-developers] Re: Rating Hijacking !

2014-01-22 Thread Nobu Games
your thoughts into consideration as we work to improve Google Play. Thanks for your understanding and continued support! Fingers crossed that this issue will get sorted out soon :-) On Tuesday, January 21, 2014 1:33:59 PM UTC-6, Nobu Games wrote: I'm still far from being top or even mid-tier

[android-developers] Re: Rating Hijacking !

2014-01-21 Thread Nobu Games
I'm still far from being top or even mid-tier in terms of app downloads but this morning I also got my first 2-star mystery rating for a paid app of mine - no comment and no Google+ name I could respond to. That didn't happen to me so far since most users tried the free version first and then

[android-developers] Re: Android how we can free the RAM memory of the device.

2013-12-30 Thread Nobu Games
I could imagine that forcing the OS into a low memory situation might trigger what you want. By temporarily allocating large blocks of memory from native code (using the NDK) the OS may try to stop background apps and services which in turn will free their claimed resources and RAM. Don't

[android-developers] Re: WeakReference containing callback interface

2013-12-11 Thread Nobu Games
Why don't you check your progress bar if it's null before modifying it? If the progress bar got garbage collected it's safe to say that it is not there anymore (not visible) and any modification wouldn't make any sense at that stage. On Wednesday, December 11, 2013 8:43:56 AM UTC-6,

[android-developers] Re: Suggestion for next release of Android Studio

2013-12-01 Thread Nobu Games
You should file a feature request ticket here (if not already there): http://code.google.com/p/android/ On Saturday, November 30, 2013 8:39:11 PM UTC-6, Phil Gibbs wrote: Double clicking on a class (and everything else) brings the class into the edit area but does not bring it into the

[android-developers] Re: Fog color does not work in Jellybean!

2013-11-28 Thread Nobu Games
Try to debug by retrieving the GL error code: Log.d(GL Error, gl.getErrorCode()); When the value is non-0 then there is an error. You need to identify the GL function call causing that error state. You could for example add a logging output line after each GL function call like this:

Re: [android-developers] Re: .db files being renamed to .back

2013-11-08 Thread Nobu Games
The SQLite documentation http://www.sqlite.org/limits.htmlsays that the maximum database file size is 2,147,483,646 pages A single page can range from 512 to 65,536 bytes. So the minimum page size configuration would yield a maximum database file size of 1 TB. So something else is going wrong

[android-developers] Re: why does SharedPreferences framework allow you to insert a preference with a null key - given it can't reload the preferences afterwards?

2013-10-30 Thread Nobu Games
I quickly peeked into the source code and well, this is the way how it is programmed. When an exception occurs while the preferences data file gets read, SharedPreferences sets internally an empty map so you start from scratch. I even dug a bit deeper. The XML serializer just ignores NULL keys

[android-developers] Re: Not Licensed for this country when paid app used in another country?

2013-10-24 Thread Nobu Games
Are you sure your Australian customer had the app still installed on his phone? Maybe he tried to reinstall it during his stay in the US and the error message was actually from Google Play. What 3rd party libraries are part of your app? On Wednesday, October 23, 2013 6:52:02 PM UTC-5, Julian

[android-developers] Re: Signed APK corrupt on deploy. FC with Class Not Found exceptions

2013-10-18 Thread Nobu Games
If it just happens with the release version this may be a ProGuard misconfiguration issue. Class not found and Method not found exceptions are symptomatic for that. Check the exact exception message for the class name that couldn't be found. Make sure that your release build really contains

[android-developers] Re: NDK: faster alternative to JNI based custom rendering

2013-10-14 Thread Nobu Games
As you already pointed out, floats can be a bottleneck. In many cases it is possible to rewrite graphics algorithms in a way to make exclusive use of integers. You need to get rid of the fractional part and that can be done by scaling up all values depending on your needs for the precision.

[android-developers] Re: Activity partially offscreen

2013-10-11 Thread Nobu Games
Hm... you could get the top level container view from the Window component and transform that view. The transformation probably needs to be done with a translation animation. However, you'll also need to catch and change touch events since their coordinates will be off. On Thursday, October

[android-developers] Re: Finding Legal Fonts - best practices.

2013-10-10 Thread Nobu Games
Google Fonts http://www.google.com/fonts is a great library of Open Source Fonts. On Thursday, October 10, 2013 1:13:46 PM UTC-5, Nathan wrote: I admit, I am a bit stumped about fonts. It seems to be a legal minefield. In this case, it is not a TextView, it is a game engine that can render

[android-developers] Re: How to display in HH:MM:SS

2013-10-10 Thread Nobu Games
Take a look at the DateUtilshttp://developer.android.com/reference/android/text/format/DateUtils.htmlclass. It provides various elapsed time and time range methods On Thursday, October 10, 2013 12:21:02 PM UTC-5, abhay_401 wrote: Hi, I am having two dates with times for example:

[android-developers] Re: Show Glyph outside Unicode Range ? label:Android

2013-10-09 Thread Nobu Games
I don't think that Android's typeface component or TextView allows switching to different variants. If your font does not have a mapping from that glyph to a Unicode code point then you probably won't be able to render it. If you have a font editing application you could extract that glyph and

[android-developers] Re: Upgrading Apk

2013-10-09 Thread Nobu Games
There is no fix and no workaround. Even if Google Play would allow you to upload your APK signed with a different key, Android devices would refuse to install your update because of that mismatch. If you are really sure that you cannot find your old keystore then you have to publish your update

[android-developers] Re: Random IllegalStateException on some phone

2013-10-03 Thread Nobu Games
That crash message says that there is further information in some additional log output. What does it say? On Thursday, October 3, 2013 5:21:44 AM UTC-5, Davide Moriello wrote: Hi, some testers are reporting me this error on some smartphone and I really don't know what it is and how to fix

[android-developers] Re:  getRotationMatrixFromVector() broken on Note 3

2013-10-02 Thread Nobu Games
As a temporary fix you could just copy-paste the original source code from the Android SDK as a drop-in replacement: public static void getRotationMatrixFromVector(float[] R, float[] rotationVector) { float q0; float q1 = rotationVector[0]; float q2 =

[android-developers] Re: Xml file corrupted over sprint cellular network ?

2013-09-26 Thread Nobu Games
Could you post an example of such a corrupted version of your XML files? Maybe as a hex dump? On Thursday, September 26, 2013 4:01:31 AM UTC-5, Gaurav Sharma wrote: I am having a very strange issue in my android app. I receive xml file from server and perform operation based on xml content.

[android-developers] Re: Lower level documentation on how Google's backend starter works w/ Android devices

2013-09-21 Thread Nobu Games
I'm not sure if I understand you correctly, but the following homepage contains documentation about the Google+ API including their HTTP-based API which allows you to roll your own client implementation in any language you want: https://developers.google.com/+/api On Friday, September 20,

[android-developers] Re: Should SQLiteDatabases be limited to 2Gig?

2013-09-19 Thread Nobu Games
I just did some digging around and your error code translates into the following define constant: *SQLITE_IOERR_FSTAT*http://sqlite.org/c3ref/c_abort_rollback.html So basically it's an fstat error which according to this

[android-developers] Re: java.lang.StringIndexOutOfBoundsException while playing video in videoView : Android v 4.2.1

2013-09-18 Thread Nobu Games
I could not find any reference to String.substring in the original Android source code of VideoView. It looks like a broken device-specific customization to me. On Wednesday, September 18, 2013 4:34:02 AM UTC-5, Matt wrote: I am getting this crash when I play video on videoView in Android

[android-developers] Re: AudioTrack

2013-09-11 Thread Nobu Games
From the documentation of AudioTrackhttp://developer.android.com/reference/android/media/AudioTrack.html : It allows streaming *PCM audio buffers* to the audio hardware for playback. PCM is basically uncompressed audio data. MP3 is compressed audio that's why you hear noise. You have two

[android-developers] Re: SQLiteException: error code 5: database is locked. When accessing ContentProvider from AsyncTask

2013-09-07 Thread Nobu Games
This error can happen when you try to open the same database (file) multiple times. Which in turn can happen when you are using multiple instances of SQLiteOpenHelper. So where do you create the instance of database? On Saturday, September 7, 2013 8:52:44 AM UTC-5, Eurig Jones wrote: Quite

[android-developers] Re: can we get the time for which android device remain shut down?

2013-09-07 Thread Nobu Games
This Stackoverflow questionhttp://stackoverflow.com/questions/12891840/time-stamp-at-which-phone-turned-offgives you a solution. On Friday, September 6, 2013 3:39:03 PM UTC-5, ashish wrote: Hi, can get the time for which android device remain shutdown? -- You received this message

[android-developers] Re: android can we get current time ?

2013-09-05 Thread Nobu Games
Android provides the SystemClockhttp://developer.android.com/reference/android/os/SystemClockcomponent that gives you the elapsed milliseconds since boot. I guess that's pretty much what you want. On Thursday, September 5, 2013 3:57:34 AM UTC-5, ashish wrote: Hi, i want to perform some

[android-developers] Re: Apache License 2

2013-09-01 Thread Nobu Games
Legalese is sometimes even for native speakers hard to understand. Here is what the Apache Software Foundation has to say about the meaning of the license in layman's terms: http://www.apache.org/foundation/license-faq.html#WhatDoesItMEAN On Tuesday, August 27, 2013 12:19:49 PM UTC-5, Shubham

[android-developers] Re: Detect a gesture startet from the outside of a view

2013-08-24 Thread Nobu Games
. The problem now is that in *gestureOverlayView.setOnTouchListener,*instead of ACTION_UP, I get ACTION_CANCEL :S I don't know if it should be like that On Friday, August 23, 2013 6:17:23 PM UTC+3, Nobu Games wrote: Is it just gestures or are you trying to implement drag and drophttp

[android-developers] Re: Detect a gesture startet from the outside of a view

2013-08-23 Thread Nobu Games
Is it just gestures or are you trying to implement drag and drophttp://developer.android.com/guide/topics/ui/drag-drop.html(because it sounds like that). Either way you could just intercept motion events in the parent view group that contains your images and let it handle your gesture

[android-developers] Re: SurfaceHolder.setFormat() only working when called from the *wrong* thread?

2013-08-23 Thread Nobu Games
I'm not sure if I understand you correctly when exactly you set the format. It sounds too me as if you're setting it too late, after the OpenGL ES context has been created. What I do is setting the format in the Activity's onCreate method on the UI thread before the OpenGL context is

[android-developers] Re: Designing Help into Your App

2013-08-22 Thread Nobu Games
Personally I always go for option 2, a full screen webview in an extra activity for displaying help for the current page. I store localized HTML files in the assets directory. It's just a matter of adding some language code to the file names and loading the correct page for the current locale

[android-developers] Re: Black screen on Samsung Galaxy S4 mini

2013-08-21 Thread Nobu Games
Is it an OpenGL ES live wallpaper? Does your code check OpenGL for error codeshttp://developer.android.com/reference/android/opengl/GLES20.html#glGetError%28%29? As far as I know these errors do not get logged by default. It may be just about anything like OpenGL running out of memory while

[android-developers] Re: Add a contact via ContentProvider programmatically

2013-08-20 Thread Nobu Games
I'm not completely sure but I think you need to create separate inserts for the name and the phone number. So make a separate insert for the phone number and don't forget to set the correct mime type for that. On Tuesday, August 20, 2013 9:01:48 AM UTC-5, Greenhand wrote: I have tried to add

[android-developers] Re: NoClassDefFound Exception, when using imported jar from libs folder

2013-08-19 Thread Nobu Games
You screenshot shows that your Java library project is built using JavaSE-1.7. Unfortunately that does not work. You have to set the Java compiler version to 1.6 for that project. On Monday, August 19, 2013 8:33:44 AM UTC-5, Skip wrote: I am trying referencing a *libs* folder in my project.

[android-developers] Re: Can not debug Galaxy s4 mini

2013-08-19 Thread Nobu Games
Does your phone show some popup message when you try to debug it from your PC? Beginning with 4.2.2 there is a secure USB debugging feature. You have to explicitly authorize a host computer: http://android-developers.blogspot.com/2013/02/security-enhancements-in-jelly-bean.html If you set up

[android-developers] Re: drawBitmap Flip, Scale and Translate

2013-08-17 Thread Nobu Games
Keep in mind that the origin of a bitmap draw operation is the upper left corner of the bitmap. So is the origin of canvas (unless you change it with a transformation matrix). When you tell canvas to render everything flipped horizontally and draw the bitmap on the canvas at (0;0) the bitmap

[android-developers] Re: Which niche of Android app generates the most revenue or is likely to generate the most revenue in the future?

2013-08-16 Thread Nobu Games
Following AppBrain statistics show that the top ranking categories are personalization and entertainment: http://www.appbrain.com/stats/android-market-app-categories I'm not sure if there is any noteworthy niche in these categories. There are always trends and copy-cats of successful products.

[android-developers] Re: How to animate a bar which grows in height

2013-08-15 Thread Nobu Games
Hi Daniel, can you post the layout in which these bars are embedded? You may be able to solve it with some bottom gravity setting in the parent container layout On Thursday, August 15, 2013 9:53:29 AM UTC-5, Daniel Rindt wrote: Hello, i try to let grow a bar which actually is a simple View

Re: [android-developers] Re: How to animate a bar which grows in height

2013-08-15 Thread Nobu Games
to bite the bullet and create a custom view that just renders your bars the way you need it. But maybe someone else has a better idea. On Thursday, August 15, 2013 11:23:29 AM UTC-5, Daniel Rindt wrote: 2013/8/15 Nobu Games dev.nob...@gmail.com javascript: Hi Daniel, can you post the layout

Re: [android-developers] Re: How to animate a bar which grows in height

2013-08-15 Thread Nobu Games
Shoot! I just saw that you're using alignParentBottom... so that may answer my doubts about Animations and re-layouts. It probably doesn't work. At least not with that attribute :-/ On Thursday, August 15, 2013 1:24:48 PM UTC-5, Nobu Games wrote: I'm not sure if that really works properly

[android-developers] Re: How to animate a bar which grows in height

2013-08-15 Thread Nobu Games
Shoot! I just saw that you're using alignParentBottom... Maybe you can just tweak the ScaleAnimation and feed it with negative values or flip the from / to values On Thursday, August 15, 2013 9:53:29 AM UTC-5, Daniel Rindt wrote: Hello, i try to let grow a bar which actually is a simple

[android-developers] Re: Admob in a View

2013-08-12 Thread Nobu Games
I guess you are talking about interstitial ads. They are also sometimes called full screen ads: https://developers.google.com/mobile-ads-sdk/docs/admob/advanced On Monday, August 12, 2013 3:08:16 PM UTC-5, shiva pendem wrote: Hi, I am working on a game with a view, i would like to display

[android-developers] OpenGL ES 1.1 with alpha channel

2013-08-12 Thread Nobu Games
I have a problem with setting up OpenGL ES 1.1 with alpha channel support. First of all: I need an alpha channel within OpenGL ES for performing alpha masking and blending effects. My game uses a texture with alpha channel for masking another texture. This only happens to work when I initialize

[android-developers] Re: Need to show a dialog on top of all other Apps for a custom hardware.

2013-08-11 Thread Nobu Games
I played around with the Google Play Games Services SDK a bit and it looks like they also have such a kind of dialog that is able to be on top of everything else (and even survives activity transitions). It's the welcome log in message that pops up on top of the screen. I'm not sure where the

Re: [android-developers] Re: Gradle build is screwing up in weird ways on 5% of devices when used with Proguard -- same config and source works fine in Eclipse build

2013-08-09 Thread Nobu Games
I agree with you. And that also may be of concern for Eric Lafortune, the ProGuard developer. It could be that there is a glitch in his code obfuscation routines. On Friday, August 9, 2013 2:49:42 AM UTC-5, Daniele Segato wrote: I would write at

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Nobu Games
Could you post your Activity code? On Tuesday, August 6, 2013 11:01:17 AM UTC-5, Jay Howard wrote: I'm seeing the following behavior (on a Samsung S4, but potentially also on other Samsung devices) in an app that uses a legacy options menu: 1. User taps hardware menu button to bring up

Re: [android-developers] [Market] Commenting unpublished application

2013-08-07 Thread Nobu Games
update it. It's pretty convenient, because I can still roll out updates for an unpublished app. People are apparently not notified through the Google Play app about it, but my app has its own update notification feature, so that's no big deal. On Monday, August 5, 2013 12:31:11 PM UTC-5, Nobu Games

[android-developers] Re: How do I flip images?

2013-08-07 Thread Nobu Games
I was in the same shoes a while ago. There is no easy way to get a convincing animation. And you cannot get it at all using Android animation objects. There are a few page curl, page flip tutorials out there. It will boil down to creating your own view that renders it. And that's not really

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Nobu Games
Sorry, I did not realize, there was a ZIP file. I was thinking the download button is just some big graphic and my visual parser in my head discarded it :-D Your activity is as simple as it can get and I cannot spot any mistake. It really may be just some rare firmware glitch and nothing much

Re: [android-developers] Re: How do I flip images?

2013-08-07 Thread Nobu Games
the Play Book does, thought there would be some native method of doing this... On Wed, Aug 7, 2013 at 9:16 PM, Nobu Games dev.nob...@gmail.comjavascript: wrote: I was in the same shoes a while ago. There is no easy way to get a convincing animation. And you cannot get it at all using Android

[android-developers] Re: Gradle build is screwing up in weird ways on 5% of devices when used with Proguard -- same config and source works fine in Eclipse build

2013-08-07 Thread Nobu Games
If it is floating point related you could try adding the strictfp modifier to your methods or classes that rely on platform-independent floating point arithmetics. On Wednesday, August 7, 2013 12:02:04 PM UTC-5, Digipom wrote: I figured it out -- I seem to have run into some sort of an

Re: [android-developers] Re: example source code or tutorial on using fragments and OpenGL ES 2.0

2013-08-05 Thread Nobu Games
Fragments won't work anyway. :( Thank you. On Sun, Aug 4, 2013 at 3:13 PM, Nobu Games dev.nob...@gmail.comjavascript: wrote: Hi James, as far as I know it's not (reliably) possible to have more than one SurfaceViewhttps://groups.google.com/forum/#!msg/android-developers/fQihJKLki7M

Re: [android-developers] [Market] Commenting unpublished application

2013-08-05 Thread Nobu Games
I wonder if this is still true, since Google Play changes the rules every now and again. Unfortunately I cannot find any official statement on that matter. My problem right now is that I participated in an AppGratis campaign and I had to unpublish my app. However, people are still reporting

[android-developers] Re: Web search.

2013-08-05 Thread Nobu Games
Make yourself familiar with regular expressions and try to evaluate the input string for matching known URL address patterns. The problem here is, that your pattern matching must not be strict. So you also need to allow input like www.domain.com domain.com without http(s) protocol prefix

[android-developers] Re: No sample tutorials for Paypal Mobile Express Checkout with Button in the app?

2013-08-04 Thread Nobu Games
On Sunday, August 4, 2013 10:47:44 AM UTC-5, Polaris431 wrote: I'm not sure what you meant when you posted this, but I can't imagine Google will reject apps where the app uses in-app billing with Paypal or any other payment system. In fact, you can have an app that takes the user to the

[android-developers] Re: Fragments navigation and backstack issue

2013-08-04 Thread Nobu Games
Hi! I remember the pain with fragments and the back stack while working on an app last year. My solution was the following. In the activity's onCreate method I would do the following: FragmentManager fm = getSupportFragmentManager(); fm.addOnBackStackChangedListener(new

[android-developers] Re: example source code or tutorial on using fragments and OpenGL ES 2.0

2013-08-04 Thread Nobu Games
Hi James, as far as I know it's not (reliably) possible to have more than one SurfaceViewhttps://groups.google.com/forum/#!msg/android-developers/fQihJKLki7M/nz4QWV8eyxQJ(or GLSurfaceView) in one Activity at the same time. Since it sounds like you just want to draw graphs, it would be probably

[android-developers] Re: Do SQLiteDatabase references go stale?

2013-08-03 Thread Nobu Games
There is an old entry on Stackoverflow about SQLiteDiskIOException: http://stackoverflow.com/questions/3220482/sqlitediskioexception-in-android It also mentions the getCount method On Friday, August 2, 2013 6:55:53 PM UTC-5, Nathan wrote: I have got back two nonfatal exception reports. I

[android-developers] Re: WebView Problem showing Google Maps

2013-08-03 Thread Nobu Games
Just a guess, maybe Google Maps is trying to (incorrectly) redirect to the mobile version of the page and cannot find the correct link. Did you also enable JavaScript in your WebView? On Saturday, August 3, 2013 4:40:52 PM UTC-5, Gary Blakely wrote: Consider the following code...

[android-developers] Re: Do SQLiteDatabase references go stale?

2013-08-02 Thread Nobu Games
Oh my... when I think about that, I have a pretty old first generation Samsung Galaxy S (I9000). Its internal storage memory seems to be dying and quite a few apps behave erratically, including crashes and data loss. Sometimes it's stuck in an infinite reboot loop. So I'm pretty sure it won't

[android-developers] Yet another EGL_BAD_MATCH problem. How to do it the right way? For all devices?

2013-08-02 Thread Nobu Games
I have another rather rare problem with OpenGL ES which has to do with the dreaded EGL_BAD_MATCH problem. I do know that there is a correlation between the following factors that yield that problem and make the game crash: 1. The Android device is most of the time rather old with a dated

[android-developers] Re: ContentResolver insert return null on 4.3

2013-08-02 Thread Nobu Games
I just had a quick peek at the API level 14 source code and it looks like there are two possible reasons for that problem: 1. The actual ContentProvider the ContentResolver connected to returns null on insert (for whatever reason, that is a mystery) 2. A RemoteException was thrown during the

[android-developers] Re: GLSurfaceView lag/delay on Galaxy S3.

2013-08-02 Thread Nobu Games
Hi Edvinas, I need to ask again, because I think that may be the cause of the delay: how do you communicate the touch events to your rendering thread? Because Android can bombard your UI thread with lots of touch events in no time. But your rendering thread needs to peek before updating the

Re: [android-developers] Re: ContentResolver insert return null on 4.3

2013-08-02 Thread Nobu Games
path is the problem there? On Friday, August 2, 2013 2:20:50 PM UTC-5, eli wrote: It always return null on 4.3, and works perfectly on all other versions. On Aug 2, 2013 10:13 PM, Nobu Games dev.nob...@gmail.com javascript: wrote: I just had a quick peek at the API level 14 source code

Re: [android-developers] Re: ContentResolver insert return null on 4.3

2013-08-02 Thread Nobu Games
Is there anything in log cat related to MediaStore? On Friday, August 2, 2013 2:43:17 PM UTC-5, eli wrote: Thanks for your answer, I just entered hard coded values there to make the code more clear, this is not the issue. Eli On Aug 2, 2013 10:29 PM, Nobu Games dev.nob...@gmail.com

[android-developers] Bizarre OpenGL ES rendering artifact on Nexus 7 with Android 4.3

2013-07-31 Thread Nobu Games
I got a big problem with a game of mine and the latest version of Android. Semi-transparent pixels rendered on the OpenGL ES surface let the underlying activity shine through as following screen shot shows. This problem only appears in a new AppGratis promoted version of the game I just

Re: [android-developers] Dealing with 1000's of different devices, each one with its own bugs

2013-07-31 Thread Nobu Games
I think a central website for collecting known issues and workarounds would be a great idea. There are free wiki hosting services that could be used for that: https://en.wikipedia.org/wiki/Comparison_of_wiki_hosting_services On Wednesday, July 31, 2013 10:14:40 AM UTC-5, Omer Gilad wrote: I

[android-developers] Re: Bizarre OpenGL ES rendering artifact on Nexus 7 with Android 4.3

2013-07-31 Thread Nobu Games
Tiny update: The SHA1 digest as displayed on the Google Play developer console is identical with the one from my uploaded APK on my computer. So I just guess that the Google Play app installs things differently or it is a really bizarre device quirk. And I do hope it's a rare one because I

[android-developers] Re: Do SQLiteDatabase references go stale?

2013-07-31 Thread Nobu Games
How are you handling transactions in your queries? In later versions of Android SQLite writes by default temporary journaling data files that are not immediately merged with the actual database file (see here: http://www.sqlite.org/tempfiles.html). This might be an explanation for the reported

  1   2   3   4   >