[android-developers] Re: Changes in Developer Console - longer time for app update to appear in Market?

2011-07-31 Thread gjs
Hi, Yes, if you do this too frequently you do not see your app appear in 'just in', how frequently is something like once about every 12 days, but that is just a guess. Regarsd On Jul 30, 8:49 am, pawpaw17 wrote: > Has anyone else noticed a much longer latency for your app update to > appear in

Re: [android-developers] OnClick error

2011-07-31 Thread Robin Talwar
Did u import onclicklistener library and wots d error line ? On 1 Aug 2011 11:59, "mark2011" wrote: Dear All : I install eclipse & Android SDK under the Windows/XP successful. If I test a program using onClick that I want to click a button, it displays an error. But the code is ok on an another

[android-developers] Re: Comms with Intent

2011-07-31 Thread kypriakos
Thanks for the response Nikolay --- > Assuming the servlet runs in a separate thread, no. Not directly > at least. That's what I was afraid of ... > You could launch the activity using the FLAG_ACTIVITY_SINGLE_TOP > flag. Then when you call startActivity() again, a new instance > won't be creat

[android-developers] OnClick error

2011-07-31 Thread mark2011
Dear All : I install eclipse & Android SDK under the Windows/XP successful. If I test a program using onClick that I want to click a button, it displays an error. But the code is ok on an another pc. Can anyone help me? my code is that : btnNumberOne.setOnClickListener(new ImageButton.OnClickL

[android-developers] RECORDING THE VOICE IN ANDROID.... For a Game

2011-07-31 Thread Kunju Vava
Hi All In my App I want to record an audio and play the same record when ever the recording is completed... it is just like the tom cat app in android .. when the user say something to the screen it should be recorded and give the reply at suddenlty using the same audio. Thanks in Adv

Re: [android-developers] context menu

2011-07-31 Thread arun kumar
can any one tell where is error in my code... Thankyou arun -- 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-deve

[android-developers] Re: How can we keep a particular application on the top always

2011-07-31 Thread Ankit
Hi , Thanks for your valuable suggestions. Actually we want to know if it is possible using launch modes and task affinities basically without changing the System Image. We want to place our application over other applications, while keeping the background application working as normal. Please no

Re: [android-developers] Comms with Intent

2011-07-31 Thread Nikolay Elenkov
On Mon, Aug 1, 2011 at 2:35 PM, kypriakos wrote: > Can calls to methods > of the launched Activity be made from the servlet? Assuming the servlet runs in a separate thread, no. Not directly at least. > In other words, how can one app communicate with an activity > that it launches? I think this

[android-developers] App not visible in Android Market

2011-07-31 Thread parag
Hi, we have published an app on market, but its not visible in the market, even if isearch the package name of the app name, nothing is visible. I can see 464 devices supported. selected thrioughout the world, and its free, its been 6 hrs and still cant c it. What could be the issue? please hel

[android-developers] Comms with Intent

2011-07-31 Thread kypriakos
Hi all, I launch an Intent from a servlet once a request for it comes in. The Intent launches a SnapPic activity that puts the phone into a preview mode and then snaps a pic and send it back to the requester. This works fine - I am now truing to keep the phone in the preview mode (I don't call th

Re: [android-developers] AlarmManager and Service

2011-07-31 Thread kirti waykole
this is main.xml http://schemas.android.com/apk/res/android"; android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > this is Androidmenifest.xml http://schemas.android.com/apk/res/android"; package="com.exercise.AndroidAlarmService

[android-developers] Re: How do we get Google's attention regarding the problems around randomly sorting comments in the Android Market?

2011-07-31 Thread AndroidYourself
It is simple: The user cannot rate with 1-Star! The last rating have to be the possible range of +1- So if the first user rate this app with 4, then the next user can only rate 5/4/3. If the 2nd user rate this app with 3 (4+3 /2 = 3.5), then the next user can rate this app: 3.5 +/-1: = ( 4, 3.5

[android-developers] regarding installing apk

2011-07-31 Thread nageswara rao rajana
Hi, I developed android application using level 2.1 and tested on device samsung galaxy fit its working fine. My doubt is if i install the apk in htc wildfire 3.0 will it work fine or should i do any changes. Thanking you, Nageswararao. -- You received this message because you are

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Nick Risaro
Glad to hear that :) -- 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-developers+unsubscr...@googlegroups.com For

[android-developers] Re: How do we get Google's attention regarding the problems around randomly sorting comments in the Android Market?

2011-07-31 Thread Mark Carter
I would recommend this: For the initially-shown 3 comments: use the 3 most "helpful" comments related to the most recent release. If there are less than 3 such comments, then regress into earlier releases. For the "Read All Comments" show all the comments in reverse chronological order (as bef

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Jim Graham
Got it working There were a few errors. Turns out it was the second possible change that Raghav mentioned When the first failed, I apparently had a temporary brain failure Yep, android:name="BouncingBuckies" needed to be android:name=".BouncingBuckies" and android:name=

[android-developers] Re: New LWP issue: prefs code gone, preview still shows PREFERNCES

2011-07-31 Thread Jim Graham
On Sun, Jul 31, 2011 at 06:08:45PM -0500, Jim Graham wrote: > I removed the force-close causing preference code from my AndEngine-based > live wallpaper, but the LWP Preview is still inviting the user (me, for > now) to change the settings via "PREFERENCES" Of course, any attempt > to do so re

[android-developers] Motion Sensor in Android

2011-07-31 Thread ndiiie 90
HI guys, this is a random question in my mind. Does Android support for motion sensor like Microsoft Kinect does? Thanks, -- 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@googlegroup

[android-developers] Re: Multiple Intents

2011-07-31 Thread perumal316
Hi, My problem is the same as mentioned here: http://stackoverflow.com/questions/4872986/android-intent-mediastore-action-video-capture-with-extra-output-crashes-on-play/6881561 The video is recorded and is saved into the sdcard but the app crashes.Because by default after recording is stopped, i

[android-developers] how get spinner dropdown state

2011-07-31 Thread jotobjects
Is there a way to tell when the dropdown list is open for a Spinner widget? There doesn't seem to be a hook for this. -- 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

[android-developers] MediaPlayer prepare status failed.

2011-07-31 Thread lb
Hi All, I see the following log in my HTC phone. Could someone suggest what am I missing please? My public ip(a.b.c.d) and port(8080) is reachable but somehow "No route to host" is seen in the logs. This error I get especially when a phone call is in ringing state. If WiFi is enabled then I do not

[android-developers] Re: NMEA data overflowed buffer: GPSLocationProvider

2011-07-31 Thread gjs
Hi, >I theorize that if I process the location update in <<1 second, >everything's good, Try it & less us know the results. Regards On Jul 29, 12:21 pm, Nathan wrote: > I saw this message repeatedly in my log after reproducing an error > condition that resulted from extended use of the GPS. >

[android-developers] New LWP issue: prefs code gone, preview still shows PREFERNCES

2011-07-31 Thread Jim Graham
I removed the force-close causing preference code from my AndEngine-based live wallpaper, but the LWP Preview is still inviting the user (me, for now) to change the settings via "PREFERENCES" Of course, any attempt to do so results in an immediate force-close, since there isn't any code for th

Re: [android-developers] Refunds in App-Billing

2011-07-31 Thread Kostya Vasilyev
It's a full refund, the user gets their full amount back. The infrastructure will send you REFUNDED purchase state, and then it's up to your code to handle it as needed: so that the premium features keep working. If your code is based on the Dungeons sample, it's in there somewhere, commented as

Re: [android-developers] Refunds in App-Billing

2011-07-31 Thread Joan Pujol
That's nice. One good thing of In-app billing :) And I suppose that in any case no comission is aplied, isn't it? Cheers, -- 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.

Re: [android-developers]Proximity Alerts in LocationManager not working as expected.

2011-07-31 Thread deepak subramanian
Hi all, So I got the Proximity Alerts working but I had to use the PendingIntent.getActivity(HaiMap.this, i, newIntent, PendingIntent.FLAG_CANCEL_CURRENT); Does anyone have an idea on why this is not working on a Broadcast receiver. I have seen many previous threads and all of them point to an is

Re: [android-developers] Refunds in App-Billing

2011-07-31 Thread Kostya Vasilyev
Yes, it's possible. Beware of the difference between canceled and refunded orders. An order has to be fully charged before you can refund the money without canceling the order (takes a few days). At this time, the link to refund in the Checkout console becomes available, until then, there is j

[android-developers] Refunds in App-Billing

2011-07-31 Thread Joan Pujol
Hi, It's posible to use refunds to give free managed items to some users? For example users who help me as betatesters? I supose I only have to treat refunds as purchases, but some one is using that? Are cancel and refund options always available? And are the refunds also managed if user reins

Re: [android-developers] Re: "Conversion to dalvik format failed with error 1" - is dexing logged?

2011-07-31 Thread Kostya Vasilyev
Yep, a .bat file change fixed it for me (I also banged my head against the desk for a while, too - not sure if that had any effect). I actually used to use ProGuard 4.6, installed separately, but ADT 12 seems to always use its own version 4.4 (ignoring "proguard.dir" in local.properties). So

Re: [android-developers] Help: My App came copied / reproduced !!!

2011-07-31 Thread guruk
Thanks for the Link. I wrote google now. At the end he may 'just' violated my copyright by coping my text and trademark from the Name. I would not said anything if he takes my app as model for his own app and make something new. There are many other "Period & Ovulation" Apps now in the market, w

[android-developers] Re: Emulator has Alzheimers (forgets who it is)

2011-07-31 Thread Ali Chousein
I didn't read your long message, but the title is really original and made me roll on the ground laughing :D -Ali -- 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 u

Re: [android-developers] Re: "Conversion to dalvik format failed with error 1" - is dexing logged?

2011-07-31 Thread Marcin Orlowski
On Jul 31, 2011 4:04 PM, "Kostya Vasilyev" wrote: > http://code.google.com/p/android/issues/detail?id=18359 you mean .bat change? did not worked for me (plus afaik it's wrong approach). still it's worth updating proguard anyway - 4.4 is dated february, and 4.6 is lastest -- You received this m

Re: [android-developers] Open Google Maps with Route In Tab Using Activity

2011-07-31 Thread usafrmajor
Great for understanding what is happening. Just wondering if you, or anyone else, knows of any good android code examples on how to overlay the result on a map generated within an application. thanks -- You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] Re: 2D Live Wallpaper Tutorial

2011-07-31 Thread nadam
You can use the sample from the SDK. http://developer.android.com/resources/samples/CubeLiveWallpaper/index.html Yes, it's a cube which is 3D, but it's actually using the ordinary 2D graphics features of Android (http://developer.android.com/guide/ topics/graphics/2d-graphics.html), so it's probabl

[android-developers] Re: Converting to xlarge layouts

2011-07-31 Thread nadam
Using drawable-xlarge is probably a bad idea. It might work for the current wave of 1280x800 10" tablets, but what about xlarge tablets with other resolutions? Android is not designed to simply scale up the user interface. Your dialogs probably look just fine one a real tablet. You can compare thi

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Nick Risaro
On Sun, Jul 31, 2011 at 2:23 PM, Kostya Vasilyev wrote: > 31.07.2011 21:20, Nick Risaro пишет: > > Is LiveWallpaperSettings an inner class? I think that you can't put an >> activity as an inner class. Try moving that to a "normal" class. >> > > You can, as long as: > > - It's static ("public sta

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Jim Graham
On Sun, Jul 31, 2011 at 02:20:31PM -0300, Nick Risaro wrote: > Is LiveWallpaperSettings an inner class? I think that you can't put an > activity as an inner class. Try moving that to a "normal" class. I followed the AndEngine live wallpaper template designed for use with the live wallpaper extensi

Re: [android-developers] Which sdk to compile against?

2011-07-31 Thread TreKing
On Sun, Jul 31, 2011 at 8:17 AM, JRock wrote: > Which sdk should I be compiling against? > Should I always choose the latest version? > Which sdk should I set as the 'android:targetSdkVersion' ? > Should it always be the one I am compiling against? > I compile against the latest SDK and target t

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Kostya Vasilyev
31.07.2011 21:20, Nick Risaro пишет: Is LiveWallpaperSettings an inner class? I think that you can't put an activity as an inner class. Try moving that to a "normal" class. You can, as long as: - It's static ("public static class Inner { ... }"); - It's properly referenced in the manifest as "

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Nick Risaro
Is LiveWallpaperSettings an inner class? I think that you can't put an activity as an inner class. Try moving that to a "normal" class. -- 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@

Re: [android-developers] Help: My App came copied / reproduced !!!

2011-07-31 Thread TreKing
On Sun, Jul 31, 2011 at 11:45 AM, guruk wrote: > Today I had to find out that many of my creative work came copied by: > http://www.google.com/support/androidmarket/bin/request.py?contact_type=takedown -

Re: [android-developers] Re: Multiple Intents

2011-07-31 Thread TreKing
On Sun, Jul 31, 2011 at 6:20 AM, perumal316 wrote: > Any idea how can i resolve this issue? > 1 - Don't hard code SD card paths like that - use Evironment.getExternalStorageDirectory(). 2 - Debug your app to figure out why your app is crashing. --

Re: [android-developers] Help: My App came copied / reproduced !!!

2011-07-31 Thread guruk
I am sorry , i had changed the mail twice and deleted the original, as i could not change it! So i forgot you may got it by email... Sorry about that. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to an

Re: [android-developers] Re: Spurious "Location ... not been setup" error message on Window>Android SDK and AVD manager

2011-07-31 Thread Nick Risaro
Try moving your SDK to a path without blanks. -- 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-developers+unsubscr

Re: [android-developers] image view

2011-07-31 Thread Nick Risaro
Try this http://developer.android.com/reference/android/widget/ImageButton.html On Sun, Jul 31, 2011 at 2:45 AM, arun kumar wrote: > HI > how to make imageview as highlight > i given imageview when i on click on that it has to become > highlight(background has to become focus > ... > > -

Re: [android-developers] Help: My App came copied !!!

2011-07-31 Thread Kostya Vasilyev
If you are confident that this new app is a copy of yours (with some changes, btw, its size is twice of yours - advertising?), you can file a DMCA takedown notice with Google, and they will remove the offending application. http://www.google.com/support/bin/request.py?contact_type=lr_dmca&prod

Re: [android-developers] context menu

2011-07-31 Thread Nick Risaro
Put a break point in the line if (item.getItemId() == 1) { And check with the debuger what's happening step by step. -- 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

Re: [android-developers] Help: My App came copied / reproduced !!!

2011-07-31 Thread Jim Graham
On Sun, Jul 31, 2011 at 09:45:19AM -0700, guruk wrote: And with that, added to my .procmailrc: :0: * ^From.*ilovesi...@gmail.com /dev/null Bye PS: What an appropriate random .signature. -- 73 DE N5IAL (/4)MiSTie #49997 < Running FreeBSD 7.0 > spooky1...@gmail.com

[android-developers] Help: My App came copied / reproduced !!!

2011-07-31 Thread guruk
Dear Colleges in Developing. I am the Developer from the app: "My Days - Period & Ovulation" com.chris.mydays Christian Albert Mueller (3 Years in the Android Market) Today I had to find out that many of my creative work came copied by: "My Days (Period & Ovulation) iac.health.mydays Health Tea

Re: [android-developers] Help: My App came copied

2011-07-31 Thread Raghav Sood
Why are you posting it again and again? Also this is a developers list for questions about the SDK, not about what to do if you are being copied. If you feel te developer is blatantly copying you, you can contact him and demand royalties or take him to court. Thanks On Sun, Jul 31, 2011 at 10:11

[android-developers] Help: My App came copied !!!

2011-07-31 Thread guruk
Dear Colleges in Developing. I am the Developer from the app: "My Days - Period & Ovulation" com.chris.mydays Christian Albert Mueller (3 Years in the Android Market) Today I had to find out that many of my creative work came copied by: "My Days (Period & Ovulation) iac.health.mydays Health Tea

[android-developers] Help: My App came copied

2011-07-31 Thread guruk
Dear Colleges in Developing. I am the Developer from the app: "My Days - Period & Ovulation" com.chris.mydays Christian Albert Mueller (3 Years in the Android Market) Today I had to find out that many of my creative work came copied by: "My Days (Period & Ovulation) iac.health.mydays Health Tea

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Raghav Sood
Sorry about that. Sometimes the package references mess the apps and LWPs up. On Sun, Jul 31, 2011 at 10:05 PM, Jim Graham wrote: > On Sun, Jul 31, 2011 at 09:50:15PM +0530, Raghav Sood wrote: > > Also when I suggested adding > android:name="android.permission.SET_WALLPAPER" /> I meant to add i

[android-developers] Re: Help: My App came copied !!!

2011-07-31 Thread guruk
Dear Colleges in Developing. I am the Developer from the app: "My Days - Period & Ovulation" com.chris.mydays Christian Albert Mueller (3 Years in the Android Market) Today I had to find out that many of my creative work came copied by: "My Days (Period & Ovulation) iac.health.mydays Health Tea

[android-developers] Help: My App came copied !!!

2011-07-31 Thread guruk
Dear Colleges in Developing. I am the Developer from the app: "My Days - Period & Ovulation" com.chris.mydays Christian Albert Mueller (3 Years in the Android Market) Today I had to find out that many of my creative work came copied by: "My Days (Period & Ovulation) iac.health.mydays Health Tea

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Jim Graham
On Sun, Jul 31, 2011 at 09:50:15PM +0530, Raghav Sood wrote: > Also when I suggested adding android:name="android.permission.SET_WALLPAPER" /> I meant to add it between > in the element. You don't add permission elements inside service > ones. Yeah, I had it outside before. By the time I moved

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Raghav Sood
Also when I suggested adding I meant to add it between in the element. You don't add permission elements inside service ones. I have been thinking over it a little more and also suggest changing android:name="BouncingBuckies" to android:name=".BouncingBuckies" or android:name="com.jdgapps.Bounci

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Kostya Vasilyev
Jim, Your settings activity is called: com.jdgapps.BouncingBuckies.LiveWallpaperSettings And the error message is about being unable to find: com.jdgapps.BouncingBuckies Not quite the same thing is it? I don't know where a Live Wallpaper settings activity is declared - is it in the xml/wa

[android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Jim Graham
I am working on a live wallpaper using AndEngine, and am seeing an annoyingly-persistent problem; I'm hoping someone here can see what I, and one other dev with a good deal more experience than I have, are not seeing. Before I added some preferences, it worked fine...but because the touch event co

[android-developers] Re: How do we get Google's attention regarding the problems around randomly sorting comments in the Android Market?

2011-07-31 Thread nexbug
I really hope google is watching.. the value of market comments cannot be understated. Done wrongly as now , it can hurt good apps and boost bad ones. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Re: Which sdk to compile against?

2011-07-31 Thread JRock
Interesting. So you are saying that is ok to compile against api 4 and target api 11? That is so confusing - I would never have thought of doing such a thing. Thanks a lot > > Which sdk should I set as the 'android:targetSdkVersion' ? Should it > > always be the one I am compiling against? > > If

Re: [android-developers] Resources.getColor() return type is too small

2011-07-31 Thread Olivier Guilyardi
On 07/31/2011 03:40 PM, Marcin Orlowski wrote: > On 31 July 2011 15:13, Olivier Guilyardi > wrote: > > How comes Resources.getColor() returns an int? This can't hold the > maximum value > of 0x because Java int is signed. > > Java does not offer "uns

Re: [android-developers] Resources.getColor() return type is too small

2011-07-31 Thread Olivier Guilyardi
On 07/31/2011 03:57 PM, Mark Murphy wrote: > On Sun, Jul 31, 2011 at 9:45 AM, Olivier Guilyardi wrote: >> I know it's 32bit, but using a signed int to hold a value higher that >> 0x7FFF >> seems like perverting the sign bit IMO. It can lead to subtle bugs. > > That ship sailed about two deca

Re: [android-developers] Re: "Conversion to dalvik format failed with error 1" - is dexing logged?

2011-07-31 Thread Kostya Vasilyev
I ran into the same issue last night. This worked: http://stackoverflow.com/questions/6605971/android-sdk-tools-revision-12-has-problem-with-proguard-error-conversion-to-d Same workaround is also reported here: http://code.google.com/p/android/issues/detail?id=18359 -- Kostya 31.07.2011 17:2

Re: [android-developers] Resources.getColor() return type is too small

2011-07-31 Thread Mark Murphy
On Sun, Jul 31, 2011 at 9:45 AM, Olivier Guilyardi wrote: > I know it's 32bit, but using a signed int to hold a value higher that > 0x7FFF > seems like perverting the sign bit IMO. It can lead to subtle bugs. That ship sailed about two decades ago. http://stackoverflow.com/questions/430346/

Re: [android-developers] Resources.getColor() return type is too small

2011-07-31 Thread Olivier Guilyardi
On 07/31/2011 03:33 PM, Mark Murphy wrote: > On Sun, Jul 31, 2011 at 9:13 AM, Olivier Guilyardi wrote: >> How comes Resources.getColor() returns an int? This can't hold the maximum >> value >> of 0x because Java int is signed. > > An int can hold 0x, because an int is 32 bits, an

Re: [android-developers] Re: How to make an alarm live even when the application which set it is killed?

2011-07-31 Thread Jonas Petersson
On 2011-07-31 15:27, Mark Murphy wrote: On Sun, Jul 31, 2011 at 9:19 AM, Ali Chousein wrote: Thank you for the information Mark, that's very helpful. Apparently simulation the OS behavior is not straightforward in this case. Other than waiting for the OS to do its thing. In my experience, s

Re: [android-developers] Resources.getColor() return type is too small

2011-07-31 Thread Marcin Orlowski
On 31 July 2011 15:13, Olivier Guilyardi wrote: How comes Resources.getColor() returns an int? This can't hold the maximum > value > of 0x because Java int is signed. > Java does not offer "unsigned" so you're right, you will get negative value if you i.e. Log.i(() it, but that's not rea

Re: [android-developers] Resources.getColor() return type is too small

2011-07-31 Thread Mark Murphy
On Sun, Jul 31, 2011 at 9:13 AM, Olivier Guilyardi wrote: > How comes Resources.getColor() returns an int? This can't hold the maximum > value > of 0x because Java int is signed. An int can hold 0x, because an int is 32 bits, and 0x is a 32-bit value. From a mathematics p

Re: [android-developers] Which sdk to compile against?

2011-07-31 Thread Mark Murphy
On Sun, Jul 31, 2011 at 9:17 AM, JRock wrote: > I develop an app that has the minimum sdk set to: > android:minSdkVersion="4" and does not require any special features > specific to any particular sdk above 1.6. I simply want this app to > work on as many devices as possible. > > Which sdk should

Re: [android-developers] Re: How to make an alarm live even when the application which set it is killed?

2011-07-31 Thread Mark Murphy
On Sun, Jul 31, 2011 at 9:19 AM, Ali Chousein wrote: > Thank you for the information Mark, that's very helpful. Apparently > simulation the OS behavior is not straightforward in this case. Other than waiting for the OS to do its thing. -- Mark Murphy (a Commons Guy) http://commonsware.com | htt

[android-developers] Re: "Conversion to dalvik format failed with error 1" - is dexing logged?

2011-07-31 Thread Marcin Orlowski
Conclusion: if you face this, blame proguard that comes with r12 tools (v4.4). Simplest solution is to grab v4.6 from proguard website and just replace files in \tools\proguard\lib from these found in 4.6 archive. Regards, Marcin Orlowski *Tray Agenda * - keep you daily

[android-developers] Re: How to make an alarm live even when the application which set it is killed?

2011-07-31 Thread Ali Chousein
Thank you for the information Mark, that's very helpful. Apparently simulation the OS behavior is not straightforward in this case. -Ali -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

[android-developers] Which sdk to compile against?

2011-07-31 Thread JRock
I develop an app that has the minimum sdk set to: android:minSdkVersion="4" and does not require any special features specific to any particular sdk above 1.6. I simply want this app to work on as many devices as possible. Which sdk should I be compiling against? Should I always choose the latest

[android-developers] Resources.getColor() return type is too small

2011-07-31 Thread Olivier Guilyardi
Hi, How comes Resources.getColor() returns an int? This can't hold the maximum value of 0x because Java int is signed. -- Olivier -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

Re: [android-developers] How to make an alarm live even when the application which set it is killed?

2011-07-31 Thread Mark Murphy
On Sun, Jul 31, 2011 at 9:02 AM, Ali Chousein wrote: > Next I manually kill my application through > > Settings - Applications - Manage applications - - Force stop > > When I re-issue the command "adb shell dumpsys alarm" I see that my > alarm is gone. Correct. Force-stop removes alarms, as do t

[android-developers] How to make an alarm live even when the application which set it is killed?

2011-07-31 Thread Ali Chousein
Hi, I have a little confusion with setting an alarm. If anyone could give feedback or some hints it'll be greatly appreciated. In summary here is my situation: Inside my application I set an alarm: // Set an alarm // Actually I set a unique id here. The hardcoded value

[android-developers] Re: How to implement the long click event for the ExpandableListView

2011-07-31 Thread falvick
Hi, I tried your solution in my app and it doesn't work properly. I still get null pointer exception because ContextMenuInfo object passed as an argument to the function is null. When I remove fetching info from ContextMenuInfo context menu appears but after second long click (not the first one

Re: [android-developers] Use CursorLoader for SQLiteDatabase?

2011-07-31 Thread H
You simply call "getSupportLoaderManager()" which you inherit from FragmentActivity. -- 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, s

Re: [android-developers] Re: Windows 7, emulator, and orientation changes

2011-07-31 Thread Mark Murphy
On Sun, Jul 31, 2011 at 7:23 AM, H wrote: > Alternatively, just edit the "default.keyset" file in the root of the > .android folder. This holds the mappings for keys to functions. If the > laptop doesn't support various key combos, you can change them in here and > they take effect the next time y

Re: [android-developers] Re: Windows 7, emulator, and orientation changes

2011-07-31 Thread H
Alternatively, just edit the "default.keyset" file in the root of the .android folder. This holds the mappings for keys to functions. If the laptop doesn't support various key combos, you can change them in here and they take effect the next time you start an emulator. Since it's got "default"

[android-developers] Re: Multiple Intents

2011-07-31 Thread perumal316
Hi, Basically I am trying to invoke the video camera using ACTION_VIDEO_CAPTURE intent and save the subsequent recorded video in a particular directory and name. but my app keeps in crashing, even though the video do get saved. The code I used is as follow: filepath = "/sdcard/testfolder/testvid.

Re: [android-developers] Re: Spurious "Location ... not been setup" error message on Window>Android SDK and AVD manager

2011-07-31 Thread Nikolay Elenkov
On Sun, Jul 31, 2011 at 4:33 PM, Indicator Veritatis wrote: > > So I am further than I was, but not sure I am "out of the woods" just > yet. But I do need to ask: how -do- you go about "running the SDK > update directly (not from within Eclipse)?". I see no direction for > that in the online upda

Re: [android-developers] SVG Library

2011-07-31 Thread Mark Murphy
On Sun, Jul 31, 2011 at 2:25 AM, rael_yoni wrote: > I might be missing something altogether, is there alternative to SVG that > android support natively? ShapeDrawable, but it is a tiny subset of SVG. > With all the hard work that android dev tools puts > into supporting different form factors a

[android-developers] How do I can take a photo in Android and show it in an ImageView?

2011-07-31 Thread Zwiebel
I tried this code, but it didn't do anything, with my phone: import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.hardware.Camera; import android.hardware.Camera.PictureCallback;

[android-developers] Re: Curious NPE

2011-07-31 Thread Zsolt Vasvari
> But I am curious why you're serializing to JSON but not sending or > saving it anywhere, unless I'm misunderstood your previous message? I am storing JSON encoded objects in the Activity state in onSaveInstanceState(). It's used by Android to restore the state of the Activity if it was removed

[android-developers] Re: Curious NPE

2011-07-31 Thread Indicator Veritatis
But one of the main points of Eckel's rather negative analysis of the checked/unchecked distinction is -precisely- that it lends itself to the abuse you mention. That is WHY no language since Java's invention has chosen to repeat the experiment. And sure enough, the problem really is not as bad in

[android-developers] Re: Spurious "Location ... not been setup" error message on Window>Android SDK and AVD manager

2011-07-31 Thread Indicator Veritatis
Hi, Nikolay Thanks for the quick response. While I was waiting, however, I appear to have got further by copying adb.exe to the directory it was looking for it in, which was NOT 'platform-tools'. Yet I already had 2.2: they switched between 'tools' and 'platform-tools' further back than that. Any

[android-developers] Re: Curious NPE

2011-07-31 Thread Doug
On Jul 30, 4:51 pm, Zsolt Vasvari wrote: > By the way, the whole JSONException stuff is foobar-ed: > > There is a way to avoid JSONException to be thrown by using the opt* > methods for reads, which I am doing now as I know that I created the > data and it must be there.  But, there is no way to