Re: [android-developers] Advertising opt out

2012-09-18 Thread Francisco M. Marzoa Alonso
I see this was not only the same discussion, but also the same users: https://groups.google.com/forum/?fromgroups=#!searchin/android-developers/CTR/android-developers/CycndZ5BH1c/1VkYuh4LlCEJ

Re: [android-developers] Advertising opt out

2012-09-18 Thread Francisco M. Marzoa Alonso
What has no sense at all is to say that the higher the CTR, the higher the income. Please, let me quote myself on this very same subject on the third of July: You get income for each click, whatever the CTR is. Please, bear in mind that the CTR is the resulting proportion of dividing clicks by

[android-developers] How to deal with random hangs without stack dump?

2012-07-31 Thread Francisco M. Marzoa Alonso
Hi there, I am facing some random hangs without neither stack dump or force close message. My app is simply closed without no message about. I am even using critercism for reporting crashes, but in these situations there is even no report. My guess is that something is crashing below Dalvik, at

[android-developers] How to deal with random hangs without stack dump?

2012-07-31 Thread Francisco M. Marzoa Alonso
Hi there, I am facing some random hangs without neither stack dump or force close message. My app is simply closed without no message about. I am even using critercism for reporting crashes, but in these situations there is even no report. My guess is that something is crashing below Dalvik, at

Re: [android-developers] Getting android device Information

2012-07-26 Thread Francisco M. Marzoa Alonso
AFAIK there is no way you could be sure that you are in front of a table or a phone (or a TV). Bear in mind that in the future there may be even other different device types. You better rely on screen density and/or resolution to calculate the font size. That's what I do on my last casual game

Re: [android-developers] mono for android

2012-07-26 Thread Francisco M. Marzoa Alonso
Hi, When I started Android development, just three months ago, I have more knowledge on C# than in Java -I used Java about more than 15 years ago, while I have been doing things in C# just until one year ago or so-, and given this experience I think that is better to learn Java than trying to use

[android-developers] Problem getting id of a resource when using a Library project

2012-07-24 Thread Francisco M. Marzoa Alonso
Hi there, I am facing problems getting the id of a resource by name when using a library project: int resId = context.getResources().getIdentifier(myresname, drawable, net.iberdroid.mygamecore); It seems like this always returns 0 when using the project as a library, but it were working

[android-developers] Re: Problem getting id of a resource when using a Library project

2012-07-24 Thread Francisco M. Marzoa Alonso
) { String pn = context.getPackageName(); int resId = context.getResources().getIdentifier(dname, drawable, pn); return resId; } | On 24/07/12 12:53, Francisco M. Marzoa Alonso wrote: Hi there, I am facing problems getting the id of a resource by name when using a library project

Re: [android-developers] Problem getting id of a resource when using a Library project

2012-07-24 Thread Francisco M. Marzoa Alonso
Hi Mark, I did not read your answer, that was the point, but using directly the main project package name creates a new problem. See my other answer for the solution I finally reach. Thank you very much, On 24/07/12 13:06, Mark Murphy wrote: On Tue, Jul 24, 2012 at 6:53 AM, Francisco M

Re: [android-developers] open database mysql files in android using intent

2012-07-19 Thread Francisco M. Marzoa Alonso
Explain it better. You didn't even tell where these files are stored or how do you access them. El 19/07/2012 11:09, Laras ervhint.hun...@gmail.com escribió: hi all, i have database and using mysql, in my database i store files, but only the file path, the file it self was moved to the folder i

Re: [android-developers] Re: Forcing lower resolution drawables on phones with big screens and small RAM

2012-07-19 Thread Francisco M. Marzoa Alonso
I used to use BitmapFactory.decodeStream for creating Bitmaps from raw assets. Just guessing, may be you can load each bit map, show it in the fly, and recycle it before loading next one. El 19/07/2012 04:12, Matt Schoen mtsch...@gmail.com escribió: Drat. I was able to get this to work, but

Re: [android-developers] Is possible to change required features once the apk was published?

2012-07-19 Thread Francisco M. Marzoa Alonso
I assume you are talking about Google Play, and what you mean is that in your AndroidManifest.xml file you put wrong requirements. In that case, I am afraid you need to publish a new version of your apk file with those requirements corrected, because Google Play gets those from the apk itself and

Re: [android-developers] Re: Someone stole my sound effects

2012-07-19 Thread Francisco M. Marzoa Alonso
Well, if it were so easy the other guy could have recorded them by himself instead of stole others work. It depends on which birds and where. Is also rather difficult to find the place and time to record some of them and also avoiding other noises. I would complain to Google at least. It is

Re: [android-developers] sqlite database growing

2012-07-19 Thread Francisco M. Marzoa Alonso
Afaik there is no explicit limit, so it can grow while there is space on the device. El 19/07/2012 11:09, Atul Darne atulmaharash...@gmail.com escribió: Hi, I have an app, which stores its data to sqlite db, and it keeps growing as i insert records, i would like to know how much is the max

Re: [android-developers] Android Development Issues

2012-07-19 Thread Francisco M. Marzoa Alonso
You will have better chance of getting an useful answer on that issue in Eclipse ADT forum. El 19/07/2012 11:09, Riftwalker ercf...@gmail.com escribió: Hello, I have been trying to get into android development and I have experience programming with Java, so it's not too beyond what I already

Re: [android-developers] Re: Forcing lower resolution drawables on phones with big screens and small RAM

2012-07-18 Thread Francisco M. Marzoa Alonso
Use they Assets folder instead. Take a look on AssetManager docs. El 17/07/2012 22:00, Matt Schoen mtsch...@gmail.com escribió: Unfortunately I've already done your last suggestion. The images are pretty small already. I'm still not convinced that the streaming would work. For one thing,

Re: [android-developers] File location of database file by using SQLiteDatabase

2012-07-17 Thread Francisco M. Marzoa Alonso
These are under /data/db/packagename or something similar. You cannot access to database files straightforward on a real device if it is not chrooted. On Jul 16, 2012 2:53 PM, Alok Yadav er.al...@gmail.com wrote: Hi All, In SQLiteDatabase, Table and its rows and columns are saved in a file.

Re: [android-developers] Re: Handling Bitmap Out of Memory Error

2012-07-17 Thread Francisco M. Marzoa Alonso
really need to recycle bitmaps or can we assume that the Garbage Collector would take care of disposing bitmaps? Thank you, B.Arunkumar On Jul 17, 6:49 am, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: Hi, I bet that Motorola has android 2.1 or 2.1.-update1 I'm fed up of OOM

Re: [android-developers] session mangement

2012-07-17 Thread Francisco M. Marzoa Alonso
Go to your bank, withdraw about $3000 and use them top pay someone that actually know how to do that work. On Jul 16, 2012 10:35 AM, laxman k laxman.k1...@gmail.com wrote: how to mange session..plz tell m. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Audio Stream buffers within 8 secs on Emulator but takes almost 50 secs to buffer on a Phone

2012-07-17 Thread Francisco M. Marzoa Alonso
Look for related messages on Logcat. On Jul 17, 2012 8:51 AM, Zoheb Rahman zoh...@gmail.com wrote: On Monday, July 16, 2012 11:00:07 AM UTC+5:30, Zoheb Rahman wrote: I have tried the code on the emulator using Platform 2.2 API level 8 as well as an Emulator using Platform 4.0.3 using API

Re: [android-developers] Re: Handling Bitmap Out of Memory Error

2012-07-17 Thread Francisco M. Marzoa Alonso
:-X On Jul 17, 2012 10:29 AM, Ralph Bergmann | the4thFloor.eu ra...@the4thfloor.eu wrote: Am 17.07.12 09:22, schrieb Francisco M. Marzoa Alonso: GC does NOT take care of recycling Bitmaps, so the answer is that YOU should do that. public void recycle () ... This is an advanced call

Re: [android-developers] Run application with system / root permissions.

2012-07-17 Thread Francisco M. Marzoa Alonso
You simply cannot do that without a chrooted device. Each app runs within its own sandbox and one application cannot do nothing on other app. On Jul 14, 2012 8:32 PM, Jordi Sayeras jsayer...@gmail.com wrote: Hi, I've been searching about this topic but I haven't found a clear solution yet.

Re: [android-developers] Run application with system / root permissions.

2012-07-17 Thread Francisco M. Marzoa Alonso
s/chrooted/rooted/g On Jul 17, 2012 3:12 PM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: You simply cannot do that without a chrooted device. Each app runs within its own sandbox and one application cannot do nothing on other app. On Jul 14, 2012 8:32 PM, Jordi Sayeras jsayer

Re: [android-developers] Re: Forcing lower resolution drawables on phones with big screens and small RAM

2012-07-17 Thread Francisco M. Marzoa Alonso
Maybe I'm wrong, but I think he pointed that the frame sequence depends on user input, so he cannot preload a series of frames because each next frame varies with user interaction on previous one. On Jul 17, 2012 6:51 PM, Nobu Games dev.nobu.ga...@gmail.com wrote: You still could go with the

Re: [android-developers] Forcing lower resolution drawables on phones with big screens and small RAM

2012-07-17 Thread Francisco M. Marzoa Alonso
Yes, it is possible since AFAIK you can access diretly to any resource by itself path, instead of using th resource id. I am connected through my phone now and have no time to find the exact method, but googling a bit you should find it fast, probably on Stackoverflow and/or Android development

Re: [android-developers] Jelly Bean Crash with Bitmap Recycle Sorry, an error has occurred: bitmap is recycled

2012-07-16 Thread Francisco M. Marzoa Alonso
I have had the same problem with some devices, but I did not study the case in deep, just applied this workaround directly: if ( ! oldBitmap.isRecycled()) oldBitmap.recycle(); It may be faster than comparing one bitmap to another, but to be honest I did not try the other method. Regards,

Re: [android-developers] Your Registration to Google Play is still being processed.

2012-07-16 Thread Francisco M. Marzoa Alonso
Hi, 24 hours ago were weekend... give it some more time. And if you think 24 hours is too much, do not even try Amazon market, you can be waiting for WEEKS for a single app approval. Regards, On 16/07/12 08:20, elirev4 wrote: I registered to the Google Play Developers 24 hours ago and this

Re: [android-developers] Alternative ad provider to Admob

2012-07-16 Thread Francisco M. Marzoa Alonso
http://lmgtfy.com/?q=admob+alternatives On 14/07/12 04:20, Zaid wrote: I am looking for an alternative ad provider for android, i am currently using admob banner ads for my android applications. i know this question has been asked before, but there are many new ad networks popping up and

Re: [android-developers] Tip: don't load PNGs with transparency using RGB_565 in Jelly Bean

2012-07-16 Thread Francisco M. Marzoa Alonso
ARGB_ is discouraged in google development docs as it produces very poor quality with some bitmaps. And I have checked that it is true. If you have a bitmap with a gradient or something similar, it will look really crappy with ARGB_. On 16/07/12 12:37, String wrote: Okay, I'll say right

Re: [android-developers] Handling Bitmap Out of Memory Error

2012-07-16 Thread Francisco M. Marzoa Alonso
Hi, I bet that Motorola has android 2.1 or 2.1.-update1 I'm fed up of OOM problems with these, and have not found a solution after lot of tries, including changing several bitmaps by graphic primitives drawn on the fly to use less memory, so I just assumed that there is something I must live

[android-developers] Facebook clipping my share text

2012-07-15 Thread Francisco M. Marzoa Alonso
Hi there, I am adding social sharing of highscores to my app. It works fine on Google+, but when sharing in facebook the text is clipped, showing only the link to the application and the text it gathers from google play, and also an image icon that has nothing to see with my app but it is also

[android-developers] Re: Facebook clipping my share text

2012-07-15 Thread Francisco M. Marzoa Alonso
JFTR I also tested with WhatsUp and it works fine also with this service, so it is pretty clear that the problem is just with FaceBook. On 15/07/12 14:07, Francisco M. Marzoa Alonso wrote: Hi there, I am adding social sharing of highscores to my app. It works fine on Google+, but when

[android-developers] Re: Facebook clipping my share text

2012-07-15 Thread Francisco M. Marzoa Alonso
This seems to be a recurrent problem with Facebook. I have found a lot of messages of people that can share links but not text through a SEND_ACTION intent. And some of those messages are older than one year... it seems like FB guys are not very interested on its Android app. It's a pitty.

Re: [android-developers] Re: MediaPlayer.isPlaying() question

2012-07-13 Thread Francisco M. Marzoa Alonso
He didn't tell that, so... On Jul 10, 2012 7:50 PM, Innovation1 john.warm...@gmail.com wrote: That doesn't answer the question. If isPlaying() returns false, all that says is the media player is currently stopped or paused, it does not tell you that the player IS actually paused. On Monday,

Re: [android-developers] Re: MediaPlayer.isPlaying() question

2012-07-13 Thread Francisco M. Marzoa Alonso
Btw, the question in this thread was if isPlaying could return true on pause, so I couldn't imagine a better answer. Apart from No, of course. On Jul 10, 2012 7:50 PM, Innovation1 john.warm...@gmail.com wrote: That doesn't answer the question. If isPlaying() returns false, all that says is the

Re: [android-developers] Android ADT r20 Bug with Eclipse

2012-07-13 Thread Francisco M. Marzoa Alonso
Its clearly a bug on last ADT update. You can safely remove those error messages either from the Problems view, or clicking on one with right button and selecting Clear lint messages. It is a bit annoying, but a reasonable workaround while they release a fixed version. On Jul 13, 2012 2:28 AM,

Re: [android-developers] newbie question

2012-07-12 Thread Francisco M. Marzoa Alonso
R is an autogenerated class. You should have a gen folder inmediatly below your project, and an R.java file there below your project's package name. If the file is not being generated, may be there is some other problem with your installation. Google for R cannot be resolved into a variable,

Re: [android-developers] connectivity of android appliacation with sqllite

2012-07-12 Thread Francisco M. Marzoa Alonso
On 02/07/12 13:34, Ashu wrote: can we connect a android application to sqlite database just like a connectivity of mysql to java code,, No plz help me ,i am new to android -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Some Silly error, tailed with a huge headache.

2012-07-12 Thread Francisco M. Marzoa Alonso
On 11/07/12 21:37, Cythes wrote: For some reason eclipse thinks the ()'s are wrong. Here is the code for that part... notifyDetails.setLatestEvent(Infocontext, contentTitle, contentText, intent); mNotificationManager.notify(SIMPLE_NOTFICATION_ID, notifyDetails); Any idea

Re: [android-developers] building a Dictionary....need help

2012-07-12 Thread Francisco M. Marzoa Alonso
So, as far as I have understood you want that some other do your work for free, and then you get the money. Hmmm... Each one takes 50% of the effort. A fair trade, indeed... If you find someone so stupid let me know, please. I have a lot of work on my TODO list that I have not been able to do

Re: [android-developers] Re: Tools for porting MFC code

2012-07-12 Thread Francisco M. Marzoa Alonso
On 12/07/12 10:01, MMM wrote: It means I can not port my MFC code. Only the solution is I need to rewrite the code for android? YES -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-12 Thread Francisco M. Marzoa Alonso
I experimented same issue using Crittercism, that I rather liked to use that permission for debugging crashes. After seeing that it was not working, I simply desist and rely on other debugging information. I was not sure if the fail was on Android side or Crittercism one, but reading your message

Re: [android-developers] Localization support of messages coming from server

2012-07-11 Thread Francisco M. Marzoa Alonso
Probably the best way is to do l10n in the server side also as Justin suggest. But if you can't, you may try another approach if messages from server are limited and has no variable parameters, using a HashMapString, Integer so each server string message is mapped to a resource id. But note this

Re: [android-developers] Storing downloaded files into local db??

2012-07-11 Thread Francisco M. Marzoa Alonso
I agree with Kaiser. Better to store those files outside, in the SDCard for example, and save only file path and metadata in the DB. I have done things like that on them past with PostgreSQL and MySQL and I do not found a real advantage and several complications. You can use binary columns (BLOB)

[android-developers] Payment issue

2012-07-08 Thread Francisco M. Marzoa Alonso
Hi there, I know this may not be the best place for this question, but I do not know a better one. Feel free of redirect me to such place if exists. I sent it also to the Admob group on google but no answer yet. Anyway I would like to read other developers opinions on this issue, as this is my

Re: [android-developers] Is it possible to Canvas.drawBitmap() directly to a file?

2012-07-08 Thread Francisco M. Marzoa Alonso
I do not think so, at least not straight forward. On 08/07/12 16:50, Guilherme Utrabo wrote: I'm trying to reduce memory consuption of my app. It uses Canvas.drawBitmap on a bitmap in memory, and when the drawing is complete, saves it to the sdcard. I'm wondering if there is any way to append

[android-developers] Easy and fast String obfuscation?

2012-07-06 Thread Francisco M. Marzoa Alonso
Hi there, I am looking for a way to obfuscate some strings in a way that they may be unobfuscated later. The point is that my app -a casual game- will take some lines from a file on an http server, and I do not want to have it as readable plain text. Please, note that I do not care if a user

[android-developers] Re: Easy and fast String obfuscation?

2012-07-06 Thread Francisco M. Marzoa Alonso
alphabetic characters, so I will create my own implementation with same char mapping as in the Java class. Best regards, On 06/07/12 12:47, Francisco M. Marzoa Alonso wrote: Hi there, I am looking for a way to obfuscate some strings in a way that they may be unobfuscated later. The point

Re: [android-developers] help me plz.

2012-07-06 Thread Francisco M. Marzoa Alonso
AFAIK you need to create a service for that. Anyway why you not look for something easier for the first exercise? Regards, On 06/07/12 18:26, Aashish kumar wrote: I am making a app similar to a Alarm Clock as the first exercise. I would like to let my app start up itself in the specified

Re: [android-developers] Android Carousel

2012-07-06 Thread Francisco M. Marzoa Alonso
May be the emulator and the actual device has different screen sizes? Regards, On 04/07/12 14:11, Jorge Gil Royo wrote: Using the emulator 4.x working properly. When I use the phone there is no message in the logcat containing information about the carousel. Is the first time something

Re: [android-developers] Android Carousel

2012-07-06 Thread Francisco M. Marzoa Alonso
Ok, forgot my previous message... X-D On 05/07/12 12:43, Jorge Gil Royo wrote: Problem solved. What happened was that I did not realize the resolution of the mobile screen, then the carousel buttons appear, but were covered by other layouts. Once adjusted the size and position of the

Re: [android-developers] GooglePlayStore

2012-07-04 Thread Francisco M. Marzoa Alonso
It is a one time fee to be registered on Google Play, so you must pay it. On Jul 4, 2012 8:59 AM, baturanija1 jadrankobodiroga1...@gmail.com wrote: Hey,people i made an app and i would like to place it on PlayStore.APP is free and i search on internet where to place app, and it shows me an

[android-developers] Android 2.1update-1 image for emulator?

2012-07-04 Thread Francisco M. Marzoa Alonso
Hi there, I have a recurrent Outofmemory crash when loading a Bitmap that is making me crazy. Its occurs mostly on Android 2.1-update1 devices -about 92% of crashes occurs with some device with that Android version-. Is there any manner to run this version on the emulator, so I have any chance

Re: [android-developers] GooglePlayStore

2012-07-04 Thread Francisco M. Marzoa Alonso
You should expect to recover those $25 from your application income soon. Anyway there are alternative markets that does not need to pay such fee. You may try Slideme and google a bit on alternatives to Google Play. Amazon is also free the first year, but it is limited to USA market. On Jul 4,

Re: [android-developers] My Developer account got suspended, how can I create a new one?

2012-07-03 Thread Francisco M. Marzoa Alonso
On 27/06/12 07:34, pierre1232 wrote: I have three apps got suspended, a day after, my account was suspended too. Einstein used to say that the solution to a problem was mainly in its definition. And I think you are not defining the problem right. The first question you should try to answer is:

Re: [android-developers] How to: Free to Paid App and retain preference and db files?

2012-07-03 Thread Francisco M. Marzoa Alonso
On 30/06/12 11:22, Fred Niggle wrote: as long as the .apk has the same name, i.e. com.my.app, then you wont lose the preferences and database. That's impossible, indeed. Two different applications may have different package names. And the only way of having one per pay version and another free,

Re: [android-developers] How to: Free to Paid App and retain preference and db files?

2012-07-03 Thread Francisco M. Marzoa Alonso
If you use a SQLite3 db or so for preferences, you cannot access it from different packages, but in some cases you can implement an export/import mechanism, saving the preferences in a file into the external SD card. My first app uses just a plain text file written into the SDCard and for having

Re: [android-developers] Re: How to: Free to Paid App and retain preference and db files?

2012-07-03 Thread Francisco M. Marzoa Alonso
Hi, Well, your point of view is not statistically relevant, but as android developer what I want -and I think this is actually generalizable- is the most income for my work. And my limitated experience with just one app after two months of its release in both forms, free with ads and payed

Re: [android-developers] Re: How to: Free to Paid App and retain preference and db files?

2012-07-03 Thread Francisco M. Marzoa Alonso
On 01/07/12 16:45, John Coryat wrote: The idea of irritate the user until he agrees to pay just seems wrong to me. In my opinion, it is far better to let users opt out of ads for free than use advertising as some sort of black mail to push users into paying. In our app, only 2.7% of users

Re: [android-developers] don't find my own app in play

2012-06-28 Thread Francisco M. Marzoa Alonso
Did you have a custom ROM on your device? If the answer is affirmative, then it should be the cause of the problem, specially if you enabled Copy Protection on Google Play for your app. Regards, On 27/06/12 21:46, toki wrote: Hi, i don't find my app with in play with my mobile phone. A

[android-developers] Question about this group itself

2012-06-28 Thread Francisco M. Marzoa Alonso
Hi, Well, my problem is that I do not see my own posts on this group through my Thunderbird mail client since I subscribed to it. I know they reaches the group because I receive the answers, and also they are visible through web G. groups interface. But they seem not to reach my Inbox. I do not

[android-developers] SQLite does not write inserts but does not raise error neither

2012-06-26 Thread Francisco M. Marzoa Alonso
Hi there, I have a function to write scores in an SQL database table. Here is the code: public void setScores(int scores[]) { int len = (scores.length 10) ? 10 : scores.length; SQLiteDatabase db = this.getWritableDatabase(); db.beginTransaction();

[android-developers] Re: SQLite does not write inserts but does not raise error neither

2012-06-26 Thread Francisco M. Marzoa Alonso
to the DB. I have solved it yet. Best regards, On 26/06/12 13:16, Francisco M. Marzoa Alonso wrote: Hi there, I have a function to write scores in an SQL database table. Here is the code: public void setScores(int scores[]) { int len = (scores.length 10) ? 10 : scores.length

Re: [android-developers] detect if an app is launched

2012-06-26 Thread Francisco M. Marzoa Alonso
Hi, Some guys was talking yesterday or the day before about getting CPU usage of running processes on a question about how to control battery use by apps that cannot be done directly. Make some search on the forum, I think it may be useful for you. Best regards, On 26/06/12 14:04, Narendra

Re: [android-developers] detect if an app is launched

2012-06-26 Thread Francisco M. Marzoa Alonso
Hi, I have found the link, published by Nobu the day before yesterday: http://www.javachartingandroid.com/2011/04/android-get-application-process-cpu-usage-and-memory-usage/ Best regards, On 26/06/12 14:04, Narendra Singh Rathore wrote: Hi all, I want to know if it is possible to detect

Re: [android-developers]

2012-06-26 Thread Francisco M. Marzoa Alonso
Greetings, I have had a lot of those. You can reduce the sampling as told by Justin, and also use less bits per pixel: default is ARGB_, but you have also ARGB_ and ARGB_565. You should now anyway that use of ARGB_ is discouraged because it may generate a really bad quality output in

Re: [android-developers] Re: Doubt about heap size

2012-06-25 Thread Francisco M. Marzoa Alonso
Thanks a lot, I thought that something like that may be happening. But I have not very clear yet how this memory assigment works, due to the DDMS feedback: when my app runs on the 2.1 emulator it shows 3M of available heap space. In a given moment I have ~75% of that heap memory allocated.

[android-developers] l10n issue: string is not translated in es

2012-06-25 Thread Francisco M. Marzoa Alonso
Hi, I am facing a new problem when trying to export my signed application package. Android lints complains through eclipse about some strings that are not translated to Spanish. These are strings using on exception reporting that I DO NOT WANT to be translated into Spanish, so it should just use

[android-developers] Re: l10n issue: string is not translated in es

2012-06-25 Thread Francisco M. Marzoa Alonso
that is not Fatal as it were set. The problem gone. Best regards, On 25/06/12 19:34, Francisco M. Marzoa Alonso wrote: Hi, I am facing a new problem when trying to export my signed application package. Android lints complains through eclipse about some strings that are not translated

[android-developers] Doubt about heap size

2012-06-24 Thread Francisco M. Marzoa Alonso
Hi there, I have read that the maximum heap available for an app is 16M, despite that there may be higher on newer devices. Anyway on a 2.1 emulator with Eclipse/DDMS my available heap shown is just about 3M, while in my SGS2 real device shows about 5M of available heap. As you see, a lot of

Re: [android-developers] Activity Animation

2012-06-24 Thread Francisco M. Marzoa Alonso
Hi, Emulator is really slow, you should not measure your app performance based on emulator results. The speed of an animation depends on the speed of the device: the faster the device, the faster the animation. You must use some kind of method to sync your animation

Re: [android-developers] Re: l10n and coordinate mapping on an image

2012-06-23 Thread Francisco M. Marzoa Alonso
Thanks a million. Again. ;-) On 21/06/12 23:14, Nobu Games wrote: You can use a regular Java resource bundlehttp://en.wikipedia.org/wiki/.propertieswhich can be fully localized. They are a set of files ending with .properties which you can use for storing the button coordinates for each

Re: [android-developers] Formatted string and localization problem

2012-06-21 Thread Francisco M. Marzoa Alonso
file %1$s (%2$s)/string -- Tor On Wed, Jun 20, 2012 at 11:31 AM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: Hi there, I have a l10n string that I need to format later, it looks like this: string name=exception_loading_musicCouldn\'t load music file %s (%s)/string

[android-developers] ANR keyDispatching TimedOut

2012-06-21 Thread Francisco M. Marzoa Alonso
Hi, I am getting more and more of these errors from people that has installed my game on Google Play: Activity: com.marzoa.ruletafree/.RuletaAfortunadaGame Cause: ANR keyDispatchingTimedOut The weird thing is that on the stacktrace attached there is no reference to my own application or any of

Re: [android-developers] Formatted string and localization problem

2012-06-21 Thread Francisco M. Marzoa Alonso
Anderson wrote: Is there some difference with your proposal? Yes, the difference is that his fixes the problem. Did you try it? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jun 21, 2012 at 2:08 AM, Francisco M. Marzoa Alonso fmmar

Re: [android-developers] Formatted string and localization problem

2012-06-21 Thread Francisco M. Marzoa Alonso
translation could do this: Dear %2$s, %1$s. (for example when the strings represent first and last names, where there are different conventions across localizations.) -- Tor On Thu, Jun 21, 2012 at 8:24 AM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: Well, the other approach also

[android-developers] l10n and coordinate mapping on an image

2012-06-21 Thread Francisco M. Marzoa Alonso
Hi there, I am using a bitmap with several parts that can be touched by the user as they were buttons. These parts may be bigger or littler depending on the language. Currently, as I have split English and Spanish version into two different apps, I just have the coordinates hardcoded in my Java

[android-developers] How to move an app to another on Google Play

2012-06-20 Thread Francisco M. Marzoa Alonso
Greetings, Well, I know the subject sounds weird, but I do not know how to express it better in a brief. The question is that I have created an application in two languages, as it was my first one and I want to release it ASAP, I simply create two different applications for each one (Spanish and

Re: [android-developers] How to move an app to another on Google Play

2012-06-20 Thread Francisco M. Marzoa Alonso
On 20/06/12 17:40, Justin Anderson wrote: The question is that I have created an application in two languages, as it was my first one and I want to release it ASAP, I simply create two different applications for each one (Spanish and English), and uploaded them such way to Google Play. That

[android-developers] Localization doubt

2012-06-20 Thread Francisco M. Marzoa Alonso
Hi there, I am starting with l10n and I have a doubt on that. As I have read, the system will choose the l10n resources for me based on user's configuration, but I planned to give the users of my app to choose a different language from configuration one if they want. My app is a casual game for

Re: [android-developers] Re: How to move an app to another on Google Play

2012-06-20 Thread Francisco M. Marzoa Alonso
Thanks for the point, but as far as I have hardcoded strings on my Java code, I need to change my code... Also the concept of code may be understood on a wider manner that includes not only Java code, but also XML resource files and other things like that. Of course I have been reading that

Re: [android-developers] Re: Localization doubt

2012-06-20 Thread Francisco M. Marzoa Alonso
Excellent! Thanks a million. :-) On 20/06/12 18:17, Nobu Games wrote: http://stackoverflow.com/questions/2900023/change-language-programatically-in-android -- 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: Localization doubt

2012-06-20 Thread Francisco M. Marzoa Alonso
It seems not to exists an straight way to do it. That guy says this is the code, but I advice you not to use it never... And other commenters complain about it not working well. I am afraid will end implementing my own l10n handling regardless Android's one... On 20/06/12 18:17, Nobu Games

Re: [android-developers] Re: Localization doubt

2012-06-20 Thread Francisco M. Marzoa Alonso
After thinking it a bit, I will relay on system's language and so Android's l10n for user's interface, and threath the game words language independently. I think it is the better approach. Thanks for your help, it has been useful for me to find the best path. On 20/06/12 18:17, Nobu Games wrote:

[android-developers] Formatted string and localization problem

2012-06-20 Thread Francisco M. Marzoa Alonso
Hi there, I have a l10n string that I need to format later, it looks like this: string name=exception_loading_musicCouldn\'t load music file %s (%s)/string But Eclipse complains about a couple of errors on XML parsing: - error: Multiple substitutions specified in non-positional format; did

[android-developers] UTF-8 encoding and decoding

2012-06-14 Thread Francisco M. Marzoa Alonso
Hi, I am implementing an standalone client/server protocol to make one of my games online capable. One of the problems I have found is that some strings passwed between client and server may have characters that must be encoded on UTF-8 (like spanish ñ for example). The first thing I though was

Re: [android-developers] Changing hosts file on an Android device

2012-06-09 Thread Francisco M. Marzoa Alonso
the same IP address. Regards, On 08/06/12 17:30, Kristopher Micinski wrote: On Fri, Jun 8, 2012 at 11:12 AM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: Hi there, When I develop a dynamic web site I used to change the /etc/hosts file on my linux boxes and the equivalent on Windows

Re: [android-developers] Re: Data interchange with a PHP server

2012-06-09 Thread Francisco M. Marzoa Alonso
Hi, Thanks by your advices. I do not need validation against schema nor XML structure neither, so I will start directly with JSON. Thanks a lot, On 09/06/12 15:25, Chris Mawata wrote: The built in http client is the usual Apache HttpClient so it can handle the passing of a cookies for you. I

Re: [android-developers] Changing hosts file on an Android device

2012-06-09 Thread Francisco M. Marzoa Alonso
17:30, Kristopher Micinski wrote: On Fri, Jun 8, 2012 at 11:12 AM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: Hi there, When I develop a dynamic web site I used to change the /etc/hosts file on my linux boxes and the equivalent on Windows ones to test the site on different browsers

[android-developers] Data interchange with a PHP server

2012-06-08 Thread Francisco M. Marzoa Alonso
Hi there, I need to interchange data between my Android app, written in Java using eclipse, and an Apache HTTP server through some PHP scripts. What is the best way to do so? I do not know if there is some bultin functions yet on API that could make the communication easier than directly using

Re: [android-developers] Re: Data interchange with a PHP server

2012-06-08 Thread Francisco M. Marzoa Alonso
Hi, For JS it is clear that JSON will be faster, but what is the better choose in Java for Android? I mean, is it JSON parsed faster than XML on Dalvik? And for the authentication I used to use PHP sessions and cookies when developing web pagers. Will be this also the prefered way to do it with

[android-developers] Changing hosts file on an Android device

2012-06-08 Thread Francisco M. Marzoa Alonso
Hi there, When I develop a dynamic web site I used to change the /etc/hosts file on my linux boxes and the equivalent on Windows ones to test the site on different browsers, so I add a line in the way of: 192.168.1.21devel.mysite.com So when I put http://devel.mysite.com on a browser,

Re: [android-developers] want to install a software .exe from my Android App

2012-05-30 Thread Francisco M. Marzoa Alonso
On 30/05/12 12:03, Meryeme Ayache wrote: I am trying to install a .exe softaware WHAT??? -- 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

[android-developers] Google play stats stalled

2012-05-30 Thread Francisco M. Marzoa Alonso
Hi, The stats on my Google Play developer console seems to be stalled since yesterday. It has been updating between 12:00 and 13:00 GMT, but today at 15:40 GMT they are showed outdated. I have the same active install that I had yesterday, and the last day shown on graphics is 28 May. I rather

Re: [android-developers] Google play stats stalled

2012-05-30 Thread Francisco M. Marzoa Alonso
Ok, I am more confident now. Thank you very much, On 30/05/12 17:50, Kostya Vasilyev wrote: Not sure if my stats are affected, but I remember seeing a notice in the developer console about this yesterday. The notice also said they're working on a fix (as ever). -- K -- You received this

[android-developers] SoundPool error Unable to load sample: (null)

2012-05-30 Thread Francisco M. Marzoa Alonso
Hi there, I am facing an Unable to load sample: (null) error with the SoundPool, while trying to load a sample (not surprising, yeah?). I have discarded all common flaws that should raise that kind of error, so the file does exists (I can see it there), the file is readable (assets manager seems

Re: [android-developers] Google play stats stalled

2012-05-30 Thread Francisco M. Marzoa Alonso
Hmmm... I have this message on my console: Issues with statistics export Temporary issues exporting statistics Learn more https://www.google.com/support/androidmarket/developer/support/bin/answer.py?answer=2635279 It is not exactly the same, since I do not want to export stats, but may be it

Re: [android-developers] want to install a software .exe from my Android App

2012-05-30 Thread Francisco M. Marzoa Alonso
for just considering it. Maybe I am wrong anyway. Regards, On 30/05/12 13:16, Anirudh Loya wrote: Crazy ? On Wed, May 30, 2012 at 6:56 AM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: On 30/05/12 12:03, Meryeme Ayache wrote: I am trying to install a .exe softaware WHAT??? -- You

[android-developers] Re: SoundPool error Unable to load sample: (null)

2012-05-30 Thread Francisco M. Marzoa Alonso
sound sample, I just need to adjust its rate and channels with an audio editor like Audacity to solve the problem. Why it did not just work in first case? Who knows, but if I can solve it so easy... who cares at all? On 30/05/12 19:21, Francisco M. Marzoa Alonso wrote: Hi there, I am facing

[android-developers] Eclipse and DDMS

2012-05-26 Thread Francisco M. Marzoa Alonso
Hi, Is there anyway to see and edit hidden files on android devices from Eclipse/DDMS? Thanks a lot in advance, -- 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

  1   2   >