[android-developers] Re: Admob requests jump when running just house ads

2011-05-30 Thread acr
When I run 100% house ads (ie. admob doesn't pay me to display ads) the number of requests double. How do I know the true number of requests being made by my app users? This makes absolutely no sense. anyone have an answer? -- You received this message because you are subscribed to the Google

[android-developers] Admob requests jump when running just house ads

2011-05-28 Thread acr
Hi all, I am wondering if anyone can answer this. I am going to contact admob support but don't expect to hear from them anytime soon. I have a popular android app which has been making decent monthly revenue. I decided to run all house ads for a couple days instead of actual ads and to my

[android-developers] Re: app freezes on slow connection waiting for response from mysql server

2011-03-23 Thread acr
/android/os/AsyncTask.html On Mar 22, 9:34 pm, acr acr...@gmail.com wrote: Hi all, I have an app that I set up to connect/parse json data/HttpPost to a mysql server via php.. Everything works perfectly if there is a basic connection, and if there is no connection my handlers work

[android-developers] app freezes on slow connection waiting for response from mysql server

2011-03-22 Thread acr
Hi all, I have an app that I set up to connect/parse json data/HttpPost to a mysql server via php.. Everything works perfectly if there is a basic connection, and if there is no connection my handlers work flawlessly. The problem is when the server is slow to respond like 15-30+ seconds the

[android-developers] json data to array list

2011-03-20 Thread acr
Hi, I have looked everywhere and feel like I am going in circles at this point what I am trying to do seems simple enough.. I a, trying to take json data parsed from my mysql server and send the info to an array list in android. I can return the json strings with no problem, eg.

[android-developers] No package identifier when getting value... for 1.5 on install since update

2011-03-17 Thread acr
Hi all, i am running into a problem where I am getting force closes on devices running android 1.5, it used to run fine in 1.5 and I issued an update which had nothing to do with the graphics (changed a few menu setting within the app) now my application icon is the default android icon(not my

[android-developers] Re: No package identifier when getting value... for 1.5 on install since update

2011-03-17 Thread acr
without having to reintroduce the drawable folder? thanks http://androidforums.com/developer-101/146259-1-5-compatibility-issues-new-2-2-sdk.html On Mar 17, 4:48 pm, acr acr...@gmail.com wrote: Hi all, i am running into a problem where I am getting force closes on devices running android 1.5

[android-developers] Re: No package identifier when getting value... for 1.5 on install since update

2011-03-17 Thread acr
I just changed the min SDK version from 3 to 4, if someone has a solution I'd love to still support android 1.5 like it did before. On Mar 17, 6:39 pm, acr acr...@gmail.com wrote: before my app update, i upgraded my eclipse sdk to android 2.2 (see article below) I was using drawable-hdpi

[android-developers] mySQL android php

2011-03-15 Thread acr
Hi all, I I'm trying to tackle a new area for me in the android dev which is getting/posting data to a mySql database. I am good with php and MySql just not sure how to tie in with android getting success/failure results etc. Basically what I am trying to accomplish is: 1: creating a new username

[android-developers] Re: NullPointerException onCreate for a small number of users

2011-03-14 Thread acr
com.myco.myappfree (pid 3345) has died. On Mar 14, 1:45 am, acr acr...@gmail.com wrote: makes perfect sense, thank you so much  for the help On Mar 14, 1:41 am, Dianne Hackborn hack...@android.com wrote: Screen orientation is global; there can be various ways in which an activity can run briefly

[android-developers] NullPointerException onCreate for a small number of users

2011-03-13 Thread acr
I have a relatively successful app in the android market that a very small amount of users experience force close on start up of the app. It is not happening on a specific device, im not sure if it's something these users have installed that is interfering with the app. I've tried to troubleshoot

[android-developers] Re: NullPointerException onCreate for a small number of users

2011-03-13 Thread acr
at 8:03 PM, acr acr...@gmail.com wrote: I have a relatively successful app in the android market that a very small amount of users experience force close on start up of the app. It is not happening on a specific device, im not sure if it's something these users have installed

[android-developers] Re: NullPointerException onCreate for a small number of users

2011-03-13 Thread acr
when it doesn't. - Brill Pappin On Mar 13, 11:40 pm, acr acr...@gmail.com wrote: sorry for got to add this.. 53:    howtoplayButton.setOnClickListener(this); this works on 99.9 percent of devices here's a larger snippet: @Override         public void onCreate(Bundle

[android-developers] Re: NullPointerException onCreate for a small number of users

2011-03-13 Thread acr
that forces a particular orientation (it is common on phones to force portrait), then when the device locks that will take charge of the screen orientation and force it into the mode it wants despite your wishes. On Sun, Mar 13, 2011 at 9:49 PM, acr acr...@gmail.com wrote: thanks

[android-developers] Does someone have a galaxy tab to test my game?

2010-12-21 Thread acr
Hi, My game has been on the market for a week now with no major issues. However I got an email from 2 people yesterday saying that they are having problems with the game on their Samsung Galaxy Tab If someone has a Samsung Galaxy Tab and are willing to test this for me, please send me a message. I

Re: [android-developers] Does someone have a galaxy tab to test my game?

2010-12-21 Thread ACR
if you want me to test it for you. Damien On 22/12/2010, at 10:37 AM, acr wrote: Hi, My game has been on the market for a week now with no major issues. However I got an email from 2 people yesterday saying that they are having problems with the game on their Samsung Galaxy Tab If someone has

Re: [android-developers] Re: Does someone have a galaxy tab to test my game?

2010-12-21 Thread ACR
, it is much appreciated. Albert On Dec 21, 2010 8:13 PM, Damien Cookecooke.dam...@gmail.com wrote: Yes I have one if you want me to test it for you. Damien On 22/12/2010, at 10:37 AM, acr wrote: Hi, My game has been on the market for a week now with no major issues. However I got an email from

[android-developers] disable the search key android alertdialog

2010-12-11 Thread acr
Hi, Anyone know of a way to prevent the search key from canceling an alert dialog? I have alert.setCancelable(false); and it works fine for the back button, but when i hit the search key it goes to search.. and when I close the search my NON-Cancelable dialog is gone. any way to fix this. Please

[android-developers] Re: disable the search key android alertdialog

2010-12-11 Thread acr
true; } On Dec 11, 12:49 pm, acr acr...@gmail.com wrote: Hi, Anyone know of a way to prevent the search key from canceling an alert dialog? I have alert.setCancelable(false); and it works fine for the back button, but when i hit the search key it goes to search.. and when

[android-developers] Can someone test my game LG Ally and Motorola Devour

2010-12-09 Thread acr
Hi, My game has been on the market for a week now with no issues. However I got an email from 2 people yesterday saying that they are having problems with the game on their LG Ally and Motorola Devour If someone has any one of these phones and are willing to test this for me, please send me a

[android-developers] Re: sporadic sluggish animation

2010-11-28 Thread acr
and bad runs. Please help. Thanks On Nov 27, 12:01 pm, acr acr...@gmail.com wrote: Hi, I have a game with a thread that updates physics and draws in a surface view. everything runs smooth and snappy 95 percent of the time. However sometimes when I start a new game the animations are sluggish

[android-developers] Anyone have a My Touch to test my game

2010-11-27 Thread acr
Hi, My game has been on the market for 2 weeks now with no issues. However I got an email from someone yesterday saying that they cannot install it on their my touch. If you arw willing to test this for me please send me a message. I don't want to spam the boards. It would be greatly

[android-developers] sporadic sluggish animation

2010-11-27 Thread acr
Hi, I have a game with a thread that updates physics and draws in a surface view. everything runs smooth and snappy 95 percent of the time. However sometimes when I start a new game the animations are sluggish and only when I hit the home button and the return to the same game it gets back its

[android-developers] Re: for loop drawing first graphics to x0 y0 if more than 1 iteration

2010-11-16 Thread acr
2 )      g1Left = g1Left;    // add break point here. On 10/30/2010 9:50 PM, acr wrote: Anyone have any idea why when i run this forloopto add a graphic to my screen, the first iteration coordinate get discarded if theloop runs more than once?   For Example, I have a column of 7

[android-developers] Re: Save and continue game

2010-11-13 Thread acr
on the amount of state, the complexity of the app, and how persistent the state is supposed to be. This smells like persistent storage to me: On Fri, Nov 12, 2010 at 10:29 AM, acr acr...@gmail.com wrote: For example when someone exits I want them to be able to save and exit, then come back

[android-developers] Save and continue game

2010-11-12 Thread acr
Hi everyone, I have a puzzle game with a 7x7 grid of graphics, and a timer, its just about ready to go. But I am stuck on how to go about saving/continuing game. For example when someone exits I want them to be able to save and exit, then come back and click continue to pick up where they left off

[android-developers] Re: best way to set up a timer for a game

2010-11-04 Thread acr
I ended up going the thread route and it is doing what I need, thanks for the reply On Nov 4, 10:59 am, TreKing treking...@gmail.com wrote: On Wed, Nov 3, 2010 at 9:18 PM, acr acr...@gmail.com wrote: I'm just looking for the most efficient way to accomplish this. it only needs to be every

[android-developers] Cannot stop soundpool loop even after exiting app

2010-11-04 Thread acr
I have a timer thread setup to play a loop using soundpool, but for some reason I cannot get _soundPool.stop(_playbackTimer); to stop the loop. even if I exit the application the loop keeps running. I have to physically power off the phone to get it to stop. am I missing something here? Does

[android-developers] Re: Cannot stop soundpool loop even after exiting app

2010-11-04 Thread acr
/alsa-lib/src/pcm/ pcm.c:7231:(snd_pcm_recover) underrun occured On Nov 4, 10:40 pm, acr acr...@gmail.com wrote: I have a timer thread setup to play a loop using soundpool, but for some reason  I cannot get  _soundPool.stop(_playbackTimer); to stop the loop. even if I exit the application

[android-developers] best way to set up a timer for a game

2010-11-03 Thread acr
Hi, I'm looking for the best way to setup a timer for a game. For example I want the timer to tick down, but I want to be able to add to the timer when certain levels are reached etc. I'm just looking for the most efficient way to accomplish this. it only needs to be every second or so. If anyone

[android-developers] Re: for loop drawing first graphics to x0 y0 if more than 1 iteration

2010-10-31 Thread acr
know that feeling. Have you tried calling .invalidate to force a redraw between steps, so the display and your code stay in sync? On Oct 31, 4:43 pm, acr acr...@gmail.com wrote: I am totally stumped here, any insight from anyone would be greatly appreciated. I hit a wall and am not sure

[android-developers] Re: for loop drawing first graphics to x0 y0 if more than 1 iteration

2010-10-31 Thread acr
=temp1Y*-63; graphic.getGridCoordinates().setGrid1X(x1); graphic.getGridCoordinates().setGrid1Y(y1); } _toAdd1.removeAll(_toAdd1); temp1Y=0; On Oct 31, 7:22 am, acr acr

[android-developers] Re: for loop drawing first graphics to x0 y0 if more than 1 iteration

2010-10-31 Thread acr
running in OnDraw(Canvas canvas) non stop bitmap = _theGrid.get(0).getBitmap(); gridcoords = _theGrid.get(0).getGridCoordinates(); canvas.drawBitmap(bitmap, gridcoords.getGrid1X(), gridcoords.getGrid1Y(), null); On Oct 31, 8:16 am, acr acr...@gmail.com wrote: Now I even

[android-developers] Re: for loop drawing first graphics to x0 y0 if more than 1 iteration

2010-10-31 Thread acr
of those values from another thread. On Oct 31, 2010 11:07 AM, acr acr...@gmail.com wrote: So, It has nothing to do with the loop if I add the images manually I get the very same result  the first graphic  is being drawn to x0 y0 in my code. what I have is a column of 7 graphics(_theGrid

[android-developers] for loop drawing first graphics to x0 y0 if more than 1 iteration

2010-10-30 Thread acr
Anyone have any idea why when i run this for loop to add a graphic to my screen, the first iteration coordinate get discarded if the loop runs more than once? For Example, I have a column of 7 graphics in a graphic array list, when I remove a graphic the code below runs to insert a new graphic,

[android-developers] Re: for loop drawing first graphics to x0 y0 if more than 1 iteration

2010-10-30 Thread acr
Thanks for the reply, I've done this and it looks like the loop is moving faster than the canvas can draw to the surface. which would explain why I get a positive result when there is only one to loop through and a positive result for the last in the loop. I even attempted to put a Thread.sleep in

[android-developers] Re: for loop drawing first graphics to x0 y0 if more than 1 iteration

2010-10-30 Thread acr
I am totally stumped here, any insight from anyone would be greatly appreciated. I hit a wall and am not sure what else to do. On Oct 31, 12:00 am, acr acr...@gmail.com wrote: Thanks for the reply, I've done this and it looks like the loop is moving faster than the canvas can draw

[android-developers] Java101 strings and ints

2010-10-29 Thread acr
Hi all, Im new to android and java but moving along at full speed. My lack of experience is making some elementary tasks too repetitive. For example I want to be able to loop through the following snipit of code.. the problem is I want i replace the number 1 in g1m0+=1; so through each iteration

[android-developers] Re: Java101 strings and ints

2010-10-29 Thread acr
if(grap.getCol()==2 grap.getRow()==5){ g2m0+=1; g2m1+=1; On Oct 29, 12:12 pm, TreKing treking...@gmail.com wrote: On Fri, Oct 29, 2010 at 10:55 AM, acr acr...@gmail.com wrote: so through each iteration g1m0 would become g2mo You can't

[android-developers] Re: Java101 strings and ints

2010-10-29 Thread acr
for you. On Oct 29, 10:55 am, acr acr...@gmail.com wrote: Hi all, Im new to android and java but moving along at full speed. My lack of experience is making some elementary tasks too repetitive. For example I want to be able to loop through the following snipit of code.. the problem is I

[android-developers] Re: Java101 strings and ints

2010-10-29 Thread acr
i got it, thanks, I think this may be what i'm looking for On Oct 29, 12:45 pm, Sebastián Treu sebastian.t...@gmail.com wrote: On Fri, Oct 29, 2010 at 1:44 PM, Sebastián Treu sebastian.t...@gmail.com wrote: How about a boolean matrix? Sry, I meant int matrix (i came from C). -- If you

[android-developers] Security unlock swipe effect

2010-10-26 Thread acr
Hi, I'm looking to mimic the swipe effect like the one used for unlocking an android phone in security settings. I have a grid of objects and I would like the straight bar to appear as I touch/move across the screen. Anyone know ho to accomplish this? Thanks -- You received this message because

[android-developers] Game grid images

2010-10-12 Thread acr
I'm in the beginning process of creating my first 2d game and it's a puzzle game (sort of like bejeweled) where I would have 7 different images randomly spread out across in a 7x7 grid totaling 49 images total. Basically there would be a way to match pieces and make them disappear, then the pieces

[android-developers] Drawing on canvas random pngs as game pieces

2010-10-08 Thread acr
Hello, I am in the beginning stages of developing my first 2d puzzle game (7x7 grid kind of like bejeweled), and looking for the best method to implement the following: draw 49 random pieces(from 7 original pngs) on the board that can be moved around without redrawing the whole board. I can get