[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

Re: [android-developers] reading pdf in android emulator

2012-06-19 Thread Deepa M
, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Regards Deepa M -- You received

[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] Printing PDF in Android

2012-06-08 Thread Carlos A. M. dos Santos
On Fri, Jun 8, 2012 at 2:44 AM, RAJESH RAJARAM rajeshrajar...@gmail.com wrote: Hi I have pdf document in my sdcard, I have to print the document from the android mobile. About this i didn't have any idea. Is it possible? This there any API in Android? and Advise and Idea's please. There are

Re: [android-developers] Re: android bindservice rotation

2012-06-04 Thread sha m
why shouldnt startservice/stopservice instead of bind/unbinding to the service On Mon, Jun 4, 2012 at 3:15 PM, Kostya Vasilyev kmans...@gmail.com wrote: 04.06.2012 13:06, Greenhand написал: I modify my code and use bindService(new Intent(getApplicationContext()**,

Re: [android-developers] HTML content on AppWidget

2012-06-04 Thread sha m
Hi, Android allows to draw remote views for widget. Remote view do not support all the view to be placed in it. On Mon, Jun 4, 2012 at 9:49 AM, zhang guichuan codeman.zh...@gmail.comwrote: i have search for a long time. some method can add a complex app widget on launcher. such as add

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

Re: [android-developers] Re: Send the user to Google Play application's page

2012-05-24 Thread Francisco M. Marzoa Alonso
That's right. Note you can use market:// url instead http:// scheme so the link is opened directly with Google Play. On 23/05/12 20:34, Bas Verhoog wrote: Hello, Good to see that you've found an answer. That means I'm most likely right :). -- You received this message because you are

Re: [android-developers] Re: Send the user to Google Play application's page

2012-05-24 Thread Francisco M. Marzoa Alonso
Nice to known that , thanks Treking. Although documentation is very vast and sometimes it is hard to find what you are looking for if you do not know where to search exactly. I agree that documentation is my friend, but most of the time discussion groups are even friendly than docs. Regards, On

[android-developers] How to force an exception?

2012-05-23 Thread Francisco M. Marzoa Alonso
Hi there, Just for debugging my code I rather like to simulate the case an exception is raised, and I do not know how to do it. The code is the following: try { AssetFileDescriptor assetDescriptor = assets.openFd(filename); return new

Re: [android-developers] How to force an exception?

2012-05-23 Thread Francisco M. Marzoa Alonso
http://sites.google.com/site/magouyaware On Wed, May 23, 2012 at 9:26 AM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: Hi there, Just for debugging my code I rather like to simulate the case an exception is raised, and I do not know how to do it. The code is the following

[android-developers] Send the user to Google Play application's page

2012-05-23 Thread Francisco M. Marzoa Alonso
Hi there, I rather like to encourage users to write reviews on my app. Is there any manner to open the Google Play app's page from within my code when the user is leaving the application? Thanks a lot in advance, -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Send the user to Google Play application's page

2012-05-23 Thread Francisco M. Marzoa Alonso
Hi, First, thanks by your fast answer. On the issue, I will try to be the less obstrusive as possible, showing the message just one time for the same user for the rest of his life, and only if the user has been playing the game for a long time, so he likes it. If it says no, I will not ask

Re: [android-developers] Re: Send the user to Google Play application's page

2012-05-23 Thread Francisco M. Marzoa Alonso
Thank you very much, Bas. In the meantime I also found this answer on stackoverflow: http://stackoverflow.com/questions/1964819/start-android-market-from-app That says the same as you. Best regards, On 23/05/12 19:07, Bas Verhoog wrote: Hello, I'm also just beginning with Android, every

[android-developers] Learing Hint

2012-05-21 Thread priyan M
Hai Guys im very new to android development. Can u guys guide me to develop an application. I have Android sdk and i have completely update upto date, and im using Eclipse Helios as an IDE and i using Windows xp os. So far instalation process is completed for. Can u guys help me to learn this

[android-developers] Ads on my game, Where to start learning?

2012-05-14 Thread Francisco M. Marzoa Alonso
Hi there, I have deployed my first casual game yet to Google Play. I planned to release also a free version with ads. So what is the fastest way to add ads to my game? Links to docs on the issue are very wellcome. Thanks a lot in advance, -- You received this message because you are

[android-developers] Changing application name for the launcher

2012-05-13 Thread Francisco M. Marzoa Alonso
Hi there, I have created a game with an Eclipse project called AwesomeGame, and the problem is that when installing it on the device it is also called AwesomeGame, but I rather like to change it to Awesome Game with an space between words. Where is the right place to change this??? Thanks a lot

[android-developers] Error in Google Play

2012-05-13 Thread Francisco M. Marzoa Alonso
May be a bit topic, but I have published my first app on Google Play about six hours ago and it seems that nobody is able to purchase it. It gives a very low informative error about that transaction could not be done and advicing to try again later. I have experiment the error trying to purchase

[android-developers] Noise between FX sounds and music

2012-05-11 Thread Francisco M. Marzoa Alonso
Hi there, I am facing problems when playing at same time music and some FX sound. The FX sound is a click similar to the click of the mouse. It sounds fine when playing alone one time, although it gets some noise at the end of the reproduction when trying to repeat it too fast. But when it is

[android-developers] have picture taken show in preview and save on request

2012-04-22 Thread K M
I have an activity that starts a camera and after the picture is taken it shows an alert dialog so user can choose save, cancel, retry. I cannot seem to delete the picture data on cancel, nor transfer the image to another activity, in the same app, on save. There is no error showing, it just

[android-developers] how to use android library project jar and resource?

2012-04-18 Thread sha m
Hi folks, I have jar and resource folder of an android library project. I wanted to refer the resources of the library project in my project from eclipse. I do not want to refer the library project source code in the application project since android has provided an option to export the library

Re: [android-developers] how to use android library project jar and resource?

2012-04-18 Thread sha m
thank you for the information. On Wed, Apr 18, 2012 at 6:28 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Apr 18, 2012 at 8:21 AM, sha m temptes...@gmail.com wrote: I do not want to refer the library project source code in the application project since android has provided an option

Re: [android-developers] How to keep activity running

2012-03-19 Thread sha m
There are four components part of application. Instead of using activity create a service and try to use it... On Mon, Mar 19, 2012 at 7:09 PM, RedBullet scottedchap...@gmail.com wrote: My application is a GPS nav type app. Needs to be running when I am doing a route. It appears that the

Re: [android-developers] Connectivity Manager does not return Active network information

2012-03-16 Thread sha m
Hi Mark and Robert , Thanks a lot for the information. I had my bluetooth active and connected to another mobile, but still returned null in API level 7. So it means this can be verified only above API level 13? My intention was to check the VPN connection. Could you please guide me on that?

Re: [android-developers] hi plz help me in push notification implementation

2012-03-15 Thread sha m
hope this tutorial helps you http://www.vogella.de/articles/AndroidCloudToDeviceMessaging/article.html regards, sha On Thu, Mar 15, 2012 at 4:45 PM, Satheesh Kumar T satheesh.androiddevelo...@gmail.com wrote: hi, how to registration id of the android app??? thank u -- You received this

[android-developers] Connectivity Manager does not return Active network information

2012-03-15 Thread sha m
Hi, I'm trying to find the current active network with the help of ConnectivityManager. ConnectivityManager.getActiveNetworkInfo() always returns null in android 2.1 device, eventhough i have enabled wifi,bluetooth. Could someone advice me on this. Regards, Sha -- You received this message

Re: [android-developers] Back button not working properly after coming out of Tabactivity

2012-03-15 Thread sha m
Why is the current process killed on back press?? On Thu, Mar 15, 2012 at 4:11 PM, vani reddy vani.reddy.bl...@gmail.comwrote: Hi friends, Under a particular tab of the tabactivity ,there are 2 activities. A and then B.From the menu of B activity when i press Logout it goes to Login

Re: [android-developers] Background and foreground image views

2012-03-08 Thread sha m
FrameLayout helps to draw one view above another On Thu, Mar 8, 2012 at 6:10 PM, Put_tiMe putt...@gmail.com wrote: I need to have a background and a foreground image views in a LinearLayout. Obviously the background has to be drawn before the foreground. How can I do it? -- You

Re: [android-developers] if condition not working in intent activity

2012-03-08 Thread sha m
pin is the edittext object. compare the value of the pin pin.getText().toString() to compare the value that u expect On Tue, Mar 6, 2012 at 12:45 AM, ~JAI~ jayakarthik2...@gmail.com wrote: hi friends, i'm new to android. i'm using the code below to create a new intent activity based on if

Re: [android-developers] how to display a text above Coverflow

2012-03-06 Thread sha m
The label of the activity can be used instead using a seperate text view. Regards, Sha On Mon, Mar 5, 2012 at 12:04 PM, ravi . ravikanth...@gmail.com wrote: I need to display a textview on the top of the coverflow of each item when i scroll

Re: [android-developers] Re: SMS Table

2012-02-22 Thread Deepa M
i want to create a own database to store all inbox messages... its my interest project..pls refer On 2/22/12, moktarul anam mokta...@gmail.com wrote: Hi Deepa, What do want to do ? already sms db table is there in android. Moktarul On Feb 22, 12:56 pm, Deepa M deepam8...@gmail.com wrote

Re: [android-developers] Re: how to create Pdf files from some data

2012-02-22 Thread Deepa M
://groups.google.com/group/android-developers?hl=en -- Thanks Regards Deepa M -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android

[android-developers] SMS Table

2012-02-21 Thread Deepa M
Dear All can any one help me to create a sms database table as sms table in android to store all iin that created database incoming messages ... -- Thanks Regards Deepa M -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] How to create a sms database table to store inbox messages in Android

2012-01-30 Thread Deepa M
hi everyone! i am going develop an android application to show all inbox messages in a own sms database table... help me pls... -- 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] put icon and text in same line in tab

2012-01-30 Thread W M
i'm new in android and want to put icon and text in same line in tab spec=t.newTabSpec(diary).setIndicator(Diary, r.getDrawable(R.drawable.diary)).setContent(intent); how can i do this ?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Flash player in background

2012-01-23 Thread M CC
Hello asxz, thank you for posting this issue of yours. Unfortunately I cannot help you with the code (I wrote a couple of apps myself a few months ago but not using Flash Player). What I can tell you is, as far as I know, the Flash player is (quite strangely) made not to play/function when in

[android-developers] Submit username and password to website

2012-01-20 Thread n3d!m
I am trying to post login and username to the website. How to do that? Here is the code: if (v.getId()==R.id.loginBtn) { HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost(http://ius.edu.ba:8080/sis/ index.php); try {

[android-developers] Force ndk-build to use c++ compiler

2012-01-20 Thread M J
Hey guys, I have another problem. I want to compile all my files (*.c and *.cpp) with a c++ compiler. How can I tell ndk-build to do that? Currently it decides to use a normal c-compiler to compile *.c files and a c++- compiler to compile *.cpp files. -- You received this message because you

[android-developers] Re: Force ndk-build to use c++ compiler

2012-01-20 Thread M J
Thanks, I will try On 20 Jan., 16:56, Mark Murphy mmur...@commonsware.com wrote: You may have better luck asking that on the android-ndk Google Group. On Fri, Jan 20, 2012 at 10:54 AM, M J fakeacc...@googlemail.com wrote: Hey guys, I have another problem. I want to compile all my

[android-developers] Http post and get

2012-01-20 Thread n3d!m
My application connects to website which requires username and password. After POST is done http GET cannot access next page after login. After searching for solution I cam e to conclusion I need to send cookie with http POST. Tried this DefaultHttpClient mHttpClient = new DefaultHttpClient();

[android-developers] Re: JNI and caching jobject thiz?

2012-01-16 Thread M J
and android related, instead more or less something related to Reflection and the Dynamic Invocation API. Good luck ! Frank On 13 Jan., 11:11, M J fakeacc...@googlemail.com wrote: Hey guys, I nned your help. I am currently developing an application which uses JNI and native sockets

[android-developers] Renderscript benchmrks

2012-01-16 Thread m lobo
Hi, I m interested in analyzing power/performance benchmarks for the platform (just like HoverJet and Taiji for OpenGL). Can anyone suggest such a benchmark or is there one in development. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] JNI and caching jobject thiz?

2012-01-13 Thread M J
Hey guys, I nned your help. I am currently developing an application which uses JNI and native sockets. The problem is that I have to call Java code if some packages arrive on the native socket connection. Currently I am using CallVoidMethod to do that. The JNIEnv cannot be cached so I get it

[android-developers] Re: Android documentation in PDF

2012-01-11 Thread Mehmet M.
I bundled each main subject on the android page to separate .pdf files . There is not index or any other kind of navigational content, though. http://hotfile.com/dl/141110161/55376ad/Android_Documentation.7z.html includes: Android Framework Topics Android Market Topics Android Developing Android

[android-developers] Re: changing ImageButton image

2012-01-06 Thread m l
Can someone give me an example? On Jan 5, 8:58 am, TreKing treking...@gmail.com wrote: On Wed, Jan 4, 2012 at 12:06 AM, m l debar...@gmail.com wrote: The first Image change ( step 2)  never happens Yes it does, but you're doing it all in the main thread, so you never see it because you

[android-developers] Re: changing ImageButton image

2012-01-06 Thread m l
Thank you On Jan 6, 8:49 am, TreKing treking...@gmail.com wrote: On Fri, Jan 6, 2012 at 8:27 AM, m l debar...@gmail.com wrote: Can someone give me an example? https://www.google.com/search?q=android+handler+example

[android-developers] changing ImageButton image

2012-01-04 Thread m l
I am trying to make this simple app. Any help would be appreciated, thank you. What I want it to do. 1: Show a clickable image ( imageButton) 2:When clicked change imageButton to second image. 3:Then play a sound. 4:Wait a few seconds ( I have been using thread sleep() ) 5:Change image back to

Re: [android-developers] Re: deletable-assets

2012-01-03 Thread Carlos A. M. dos Santos
On Mon, Jan 2, 2012 at 2:04 PM, Mark Murphy mmur...@commonsware.com wrote: You can listen for ACTION_PACKAGE_REPLACED to determine if your application has been updated. Will the replaced package itself receive the broadcast? As far as I can tell the only way to get such notification is by means

[android-developers] Re: Could not find hello-world.apk

2011-12-29 Thread Francisco M. Marzoa Alonso
My first message has not been published yet, but I answer it anyway to say that I solved the problem just by restarting Eclipse... O_o On 28/12/11 20:21, Francisco M. Marzoa Alonso wrote: Hello, I'm starting writting android games with a book called Beginning Android Games, of Mario Zechner

[android-developers] Could not find hello-world.apk

2011-12-29 Thread Francisco M. Marzoa Alonso
Hello, I'm starting writting android games with a book called Beginning Android Games, of Mario Zechner. I've written the first Hello World application after installing everything on my Ubuntu 11.10 laptop, and I doublechecked that I have followed the instructions on the book, but when I try to

[android-developers] USB communication

2011-12-20 Thread manjunath M
Hello Sir, Currently im using samsung mobile(model no:GT-I5801) with android 2.2, now i need to communicate with my PC through USB cable. The text which i type from my phone should simultaneously be visible in PC. How to go through this problem ?? Apart from android is there any

[android-developers] native udp socket sleep mode

2011-12-19 Thread M J
Hey guys, I am currently developing an app, where I need a udp connection to a server. The code which communicates with the server is written in C, so I am using the ndk and I open a posix udp socket. I send every 30 seconds a message to the server to register and to keep the connection alive.

Re: [android-developers] Android documentation in PDF

2011-12-01 Thread Carlos A. M. dos Santos
On Thu, Dec 1, 2011 at 9:42 PM, SL ecp_...@my-rialto.com wrote: Is there somewhere the online Android developer documentation in PDF format I can download ? Not in PDF. It is easier to read and search without going online, I think. You can read it in HTML:

[android-developers] Re: getdisplay width height and assign it to static int

2011-11-29 Thread Adam M
Use Display display = getWindowManager().getDefaultDisplay(); Then do int height = display.getHeight(); int weight = display.getWidth(); Now you wont be able to assign these as static, as if you try to get the width and height outside the onCreate method, and

[android-developers] Re: Slow Down In Android Emulator (AVD)

2011-11-29 Thread Adam M
Only way to get it running faster is upgrade computer I am afraid. On Nov 29, 1:26 pm, Mitul Patel mitulte...@gmail.com wrote: Hello,  I need help to get fast run time of Android AVD. It takes about 3-5 minutes. I can't able to test is fast. I have Window 7 as Operating system with Android

[android-developers] Creating a layout from XML Parsing

2011-11-29 Thread Adam M
Hi all I am trying to create an application where the widgets of the layout, that is the TextViews, EditTexts etc are all stored in an XML file, which is then parsed and added programatically. I also need to be able to set the location on screen from this XML file. Reason this is required is that

[android-developers] Re: Mysterious behavior of switch statement inside onActivityResult

2011-11-28 Thread Carlos A. M. dos Santos
On Mon, Nov 28, 2011 at 12:17 AM, Carlos A. M. dos Santos unixma...@gmail.com wrote: Hello, I have the following code in class MyActivity:    public static final int REQ_CODE = 0x7fff; ...                    startActivityForResult(intent, REQ_CODE); ...    @Override    public void

Re: [android-developers] Re: Mysterious behavior of switch statement inside onActivityResult

2011-11-28 Thread Carlos A. M. dos Santos
On Mon, Nov 28, 2011 at 2:49 PM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Nov 28, 2011 at 11:37 AM, Carlos A. M. dos Santos unixma...@gmail.com wrote: Can anybody help me to debug this? I'm whiling to fill a bug report, but I need additional information. I suspect that the problem

[android-developers] Mysterious behavior of switch statement inside onActivityResult

2011-11-27 Thread Carlos A. M. dos Santos
Hello, I have the following code in class MyActivity: public static final int REQ_CODE = 0x7fff; ... startActivityForResult(intent, REQ_CODE); ... @Override public void onActivityResult(int requestCode, int resultCode, Intent data) { Log.d(TAG,

Re: [android-developers] Proguard causes problems with SSL keystore on Android

2011-11-18 Thread Carlos A. M. dos Santos
On Fri, Nov 18, 2011 at 3:05 AM, Mathias Lin m...@mathiaslin.com wrote: In an Android app, I fetch content from a https url; in order to avoid SSL cert verification errors, I add the SSL public key to my keystore, which then resides in my res/raw folder of the app. Following the instructions

Re: [android-developers] Print from device

2011-11-17 Thread Carlos A. M. dos Santos
On Thu, Nov 17, 2011 at 6:01 AM, ecspertiza ecspert...@gmail.com wrote: HI, can i print document from android device ? May be there is Action or SDK ? Unfortunately there is no official print action. Some printing applications answer to the share and/or view action, but this is just a

[android-developers] ADT 15: opening declaration in library project jumps to read-only source

2011-11-17 Thread Carlos A. M. dos Santos
Hi, I have ClassA, declared in library project ProjA, and ClassB, declared in project ProjB. ProjB references ProjA as a library, therefore ADT creates a ProjA_src link at the root folder of ProjB. This link can *not* be included in the Java build path, otherwise the build fails due to classes

Re: [android-developers] Re: Print from device

2011-11-17 Thread Carlos A. M. dos Santos
. DISCLAIMER: I'm *not* speaking on behalf of HP, even though I'm responsible for that app. On Nov 17, 3:42 pm, Carlos A. M. dos Santos unixma...@gmail.com wrote: On Thu, Nov 17, 2011 at 6:01 AM, ecspertiza ecspert...@gmail.com wrote: HI, can i print document from android device ? May

Re: [android-developers] How secure are SharedPreferences on rooted devices?

2011-11-17 Thread Carlos A. M. dos Santos
On Thu, Nov 17, 2011 at 7:50 PM, Ricardo Amaral mas...@ricardoamaral.net wrote: I was thinking of implementing a coupon based system for my app so I could offer some copies of the full version to some people. I found blog article which provided the server code (to install on Google AppEngine)

[android-developers] Display battery status of my application

2011-11-08 Thread Manikandan M
Hi All, How to display battery usage of my app. In Settings-Application- Battery Use it display the battery usage of some applications. How to add my application over there? Thanks in Advance Mani. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] C2DM Message fails

2011-11-02 Thread Manikandan M
Hi All, I used c2dm to get messages for my application. it is working fine but in droid x i am unable to get messages. Registration is fine i got the registration id even i too got the valid response from the c2dm server while sending message but i am unable to get the message in the device

[android-developers] Android: Leaked IntentReceiver exception is being thrown even though I call unregisterReceiver

2011-10-31 Thread vijayakumar M
that the unregisterReceiver() method is being called, but I am getting this exception still... please any help me -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ -- You received

Re: [android-developers] How to get updated c2dm registration Id.

2011-10-29 Thread Manikandan M
a new ID if they reinstalled. If neither of these two happen, I believe you don't ever have to refresh the ID of the device. Are you running into a problem? Steven Studio LFP http://www.studio-lfp.com On Friday, October 28, 2011 9:33:05 AM UTC-5, Manikandan M wrote: Hi All, Any ideas

Re: [android-developers] Types of mobile application

2011-10-29 Thread Manikandan M
Hi Any Ideas. Thanks Manikandan On Tue, Oct 25, 2011 at 9:52 AM, Manikandan M c2dmdevelo...@gmail.comwrote: Hi All, I am new android development i want to know what are the different ways to create mobile applications. 1. Native App 2. Using jquery mobile to create web app 3. Using

Re: [android-developers] How to get updated c2dm registration Id.

2011-10-29 Thread Manikandan M
a message to that specific device ID? It will let you know if there is any issues with your current device ID. Steven Studio LFP http://www.studio-lfp.com On Saturday, October 29, 2011 5:37:58 AM UTC-5, Manikandan M wrote: Hi Steven, Thanks for the reply. I am using droid x and i am unable

Re: [android-developers] Types of mobile application

2011-10-29 Thread Manikandan M
On Sat, Oct 29, 2011 at 4:20 PM, Manikandan M c2dmdevelo...@gmail.comwrote: Hi Any Ideas. Thanks Manikandan On Tue, Oct 25, 2011 at 9:52 AM, Manikandan M c2dmdevelo...@gmail.comwrote: Hi All, I am new android development i want to know what are the different ways to create mobile

Re: [android-developers] Types of mobile application

2011-10-29 Thread Manikandan M
Hi, Please help me. i am curios about this. Thanks Manikandan On Sat, Oct 29, 2011 at 10:29 PM, Manikandan M c2dmdevelo...@gmail.comwrote: Hi All, It seems to me only native and webview are the two types of mobile application we can create. using mobile jquery we can create web

<    1   2   3   4   5   6   7   8   9   >