Re: [android-developers] Top Developer?

2012-06-26 Thread Robert Nekic
currently with a 4.5 rating. And I'm still not a Top Developer. Personally I think that is bull -niko On Saturday, June 23, 2012 2:55:03 AM UTC-5, Harri Smått wrote: On Jun 22, 2012, at 11:34 PM, Robert Nekic wrote: Is there a process for being considered for the Top Developer

[android-developers] Top Developer?

2012-06-22 Thread Robert Nekic
Is there a process for being considered for the Top Developer designation on Google Play? The only reference to it that I can find is here ( http://support.google.com/googleplay/android-developer/bin/answer.py?hl=enanswer=1295940) and all it says on the matter is they are chosen by the Google

[android-developers] Re: Check whether media player is playing media or not

2011-10-24 Thread Robert Nekic
What about the AudioManager's isMusicActive? http://developer.android.com/reference/android/media/AudioManager.html#isMusicActive() On Oct 24, 11:42 am, Studio LFP studio@gmail.com wrote: You can't use MediaPlayer.isPlaying() as a static method as it is an instanced method. You can

[android-developers] Problems with 4.0 SDK? Eclipse doesn't see running 4.0 emulator?

2011-10-19 Thread Robert Nekic
Hi everyone, So I've installed ADT 14.0, downloaded the various 4.0 SDK bits, and set up an API 14 emulator...but I can't get my app to debug correctly in Eclipse (Indigo). When I debug, device chooser lets me select the 4.0 emulator, the emulator starts and the app is getting installed

[android-developers] Re: Problems with 4.0 SDK? Eclipse doesn't see running 4.0 emulator?

2011-10-19 Thread Robert Nekic
DDMS also does not recognize the 4.0 emulator is running. On Oct 19, 10:43 am, Robert Nekic robertne...@gmail.com wrote: Hi everyone, So I've installed ADT 14.0, downloaded the various 4.0 SDK bits, and set up an API 14 emulator...but I can't get my app to debug correctly in Eclipse

[android-developers] Re: Problems with 4.0 SDK? Eclipse doesn't see running 4.0 emulator?

2011-10-19 Thread Robert Nekic
Eclipse start the emulator automatically -- I always start it myself (now from the new toolbar button). BTW, Al Sutton has a G+ page where he's tracking ICS emulator issues: https://plus.google.com/113331808607528811927/posts/7ouwdJcyq9x On Wed, Oct 19, 2011 at 10:43 AM, Robert Nekic

[android-developers] Re: Relative layout java

2011-07-11 Thread Robert Nekic
You're not positioning anything. If you simply add views to a RelativeLayout, they overlap. You have to define how it should position views relative to other views, hence the name. Below this, to the left of that, etc. It's all explained in the docs:

[android-developers] Re: Relative layout java

2011-07-11 Thread Robert Nekic
Whoops! Sorry I didn't notice that. Yes, at a glance it looks correct. This doesn't really answer the question directly but have you tried using a layout file instead? On Jul 11, 11:34 am, JCC banr...@gmail.com wrote: but adding the rules isnt like defining the position of items? because on

[android-developers] Re: Relative layout java

2011-07-11 Thread Robert Nekic
If I try something similar by adding the child views to an activity with an empty RelativeLayout, things position OK. But if I try your custom RelativeLayout class and add that to the activity, the child views overlapping. Hmmm... On Jul 11, 11:48 am, Robert Nekic robertne...@gmail.com wrote

[android-developers] Re: Relative layout java

2011-07-11 Thread Robert Nekic
. On Jul 11, 12:06 pm, Robert Nekic robertne...@gmail.com wrote: If I try something similar by adding the child views to an activity with an empty RelativeLayout, things position OK.  But if I try your custom RelativeLayout class and add that to the activity, the child views overlapping.  Hmmm

[android-developers] Re: ProGuard Integration?

2010-12-09 Thread Robert Nekic
low. On Wed, Dec 8, 2010 at 9:20 AM, Robert Nekic robertne...@gmail.com wrote: I'm also encountering problems getting the ProGuard integration going.  Everything was fine with a test project until I added a few jars to libs and added them to the Java Build Path.  Now my attempts

[android-developers] Re: ProGuard Integration?

2010-12-08 Thread Robert Nekic
I'm also encountering problems getting the ProGuard integration going. Everything was fine with a test project until I added a few jars to libs and added them to the Java Build Path. Now my attempts to generate an unsigned release build causes the following error:

[android-developers] Re: Adding checkboxes to a LinearLayout

2010-09-10 Thread Robert Nekic
Aside from the gravity discussion that has started, I'm not sure addContentView is what you want. I think the approach you are taking now is simply stacking the CheckBoxes on top of the LinearLayout...not putting them inside it. You say you already have a vertically oriented LinearLayout? Is

[android-developers] Re: registerForContextMenu not working

2010-09-10 Thread Robert Nekic
Why do you say your context menu registration is failing? It looks like you are registering it OK but I don't see any code that creates the context menu (onCreateContextMenu). Check out the ContextMemnu docs here: http://developer.android.com/guide/topics/ui/menus.html On Sep 10, 11:05 am,

[android-developers] Re: about android Reversepengineering !!!!

2010-09-10 Thread Robert Nekic
We use ProGuard with our Android app and we haven't had any problems with it. It's kind of a pain to get it set-up properly but, once it's in place, it seems reliable. You can tell ProGuard to dump a map that allows you to easily translate the shortened, meaningless method names you'll see in

[android-developers] Re: how to maintain consistent UI over multiple versions of Android OS skinned by carriers and hardware manufacturers

2010-09-10 Thread Robert Nekic
You can control some things by implementing you own styles.xml in res/ values. For example, you can control the seekbar color this way. Other things are harder; re-styling the tabs is a challenge and I eventually gave up on it. Still other things seem to be entirely unchangeable, like some of

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-03 Thread Robert Nekic
I asked the same question a while back on StackOverflow and, supposedly, upgrades do not count as an uninstall and a new install. http://stackoverflow.com/questions/2210653/how-is-the-active-installs-count-percentage-in-the-android-developer-console On Aug 26, 10:47 am, Fabrizio Giudici

[android-developers] Re: Using Bouncy Castle with an Android app

2010-08-31 Thread Robert Nekic
I'm using bcprov-jdk16-145 in my app and it works fine. I also see the DexOpt messages in logcat and I get some build warnings from it (Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by

[android-developers] Re: How do I convert float to 2 decimal places?

2010-08-16 Thread Robert Nekic
Yeah, I use the NumberFormat: NumberFormat numberFormat = DecimalFormat.getInstance(); numberFormat.setMaximumFractionDigits(2); String formattedText = numberFormat.format(yourFloat); On Aug 16, 11:13 am, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Do you want to round or display it

[android-developers] Re: OpenSource REST Client for Android

2010-08-11 Thread Robert Nekic
FYI, there is an hour long video from this year's Google IO about building Android REST client apps. http://code.google.com/events/io/2010/sessions/developing-RESTful-android-apps.html On Aug 11, 12:47 am, Kevin Duffey andjar...@gmail.com wrote: You can use HTTPClient very easily to make REST

[android-developers] Re: HTC Droid Eris - Accessing SD Card

2010-08-11 Thread Robert Nekic
and the Eris is still returning the same error of not being able to find that location. Other devices are still fine.  Odd thing is, that's the same path I'm using to save the file and the file does appear on the SD card if you browse the contents. On Aug 10, 2:52 pm, Robert Nekic robertne

[android-developers] Re: HTC Droid Eris - Accessing SD Card

2010-08-11 Thread Robert Nekic
, Robert Nekic robertne...@gmail.com wrote: What error are you seeing?  My app writes to the SD card and I've tested on an Eris before and it did not present a problem. On Aug 11, 11:59 am, JRich richma...@gmail.com wrote: Yeah, I replaced my hardcoding of sdcard/ with a variable filled

[android-developers] Re: Converting XML into Java in Android

2010-08-11 Thread Robert Nekic
I've always thought Java's options for this are cumbersome but what can you do. They are generally fairly speedy unless you are dealing with huge XML documents. I usually go with an XmlPullParser because I think it's slightly less annoying to code than the SAXParser. Or, if it is generally

[android-developers] Re: Converting XML into Java in Android

2010-08-11 Thread Robert Nekic
, Aug 11, 2010 at 3:54 PM, Robert Nekic robertne...@gmail.com wrote: I've always thought Java's options for this are cumbersome but what can you do.  They are generally fairly speedy unless you are dealing with huge XML documents.  I usually go with an XmlPullParser because I think it's slightly

[android-developers] Re: HTC Droid Eris - Accessing SD Card

2010-08-11 Thread Robert Nekic
, Robert Nekic robertne...@gmail.com wrote: That kind of stuff can drive you crazy.  Is the Eris still on 1.6? Have you tried creating a File object from that path and checking .exists()?  Or perhaps BitmapFactory.decodeFileDescriptor? On Aug 11, 2:28 pm, JRich richma...@gmail.com wrote

[android-developers] Re: HTC Droid Eris - Accessing SD Card

2010-08-11 Thread Robert Nekic
have? On Aug 11, 4:50 pm, Robert Nekic robertne...@gmail.com wrote: Are you sure the guy isn't leaving his Eris tethered to his PC and the SD card mounted? :) Well, you could simply write the images to the app's folder in the device memory; context.getFilesDir().  You'll be dealing

[android-developers] Re: Android Updater SDK (Manager) problem trought proxy

2010-08-10 Thread Robert Nekic
Websense can be evil and is definitely annoying but unfortunately it can be a necessity if a company needs to be PCI-compliant, etc. I've had similar problems with SDK updates failing via the HTTPS URL and have found that using the HTTP URL really will resolve the issue. I almost always have to

[android-developers] Re: HTC Droid Eris - Accessing SD Card

2010-08-10 Thread Robert Nekic
Have you tried Environment.getExternalStorageDirectory()? http://developer.android.com/intl/fr/reference/android/os/Environment.html#getExternalStorageDirectory() On Aug 9, 9:51 pm, Justin Rich richma...@gmail.com wrote: I wrote an app that saves a camera picture to the SD card, then

[android-developers] Re: A general purpose development phone

2010-08-05 Thread Robert Nekic
I think the Eris is an under-rated device. My main problem with it as a dev device are its fussy USB drivers. I found it to be troublesome to get the ADB drivers working in Vista but if you can get it recognized, I think it's a decent choice for the price. The G1 is a real workhorse although

[android-developers] Re: options menu items

2010-02-08 Thread Robert Nekic
it is not possible currently, but you can right a dialog like List Activity to do this, i mean customize it. 2010/2/5 Robert Nekic robertne...@gmail.com I was about to start looking into this, too.  I have several items in a More menu and I would like to slightly adjust the height of each item.  I

[android-developers] Re: options menu items

2010-02-04 Thread Robert Nekic
I was about to start looking into this, too. I have several items in a More menu and I would like to slightly adjust the height of each item. I assumed I would discover a way to supply a layout definition for the menu items but this is not possible? On Feb 4, 10:38 am, skink psk...@gmail.com

[android-developers] Re: Register a new MIME-type with Android

2010-01-29 Thread Robert Nekic
You can also register file extensions in your manifest intent-filter. Something like this worked in one of my applications: intent-filter action android:name=android.intent.action.VIEW/ category android:name=android.intent.category.DEFAULT / category

[android-developers] Re: Installing app on android device

2010-01-29 Thread Robert Nekic
. Packages must be signed in order to install. It's not hard to sign them as Android allow self-signed packages. Just use the android tools menu and click on export SIGNED package. On Jan 19, 1:43 pm, Robert Nekic robertne...@gmail.com wrote: Now that I think about it...I seem to recall

[android-developers] Re: How to stop playing music or sound of other application

2010-01-29 Thread Robert Nekic
I'm not sure I fully understand your question...but it sounds like you might want to look at the PhoneStateListener. This can listen for and respond to events; such as an incoming call or when a call disconnects.

[android-developers] Re: How to stop playing music or sound of other application

2010-01-29 Thread Robert Nekic
with such capabilities. On Fri, Jan 29, 2010 at 10:05 AM, Robert Nekic robertne...@gmail.comwrote: I'm not sure I fully understand your question...but it sounds like you might want to look at the PhoneStateListener.  This can listen for and respond to events; such as an incoming call or when

[android-developers] Re: Installing app on android device

2010-01-19 Thread Robert Nekic
I've heard Archos killed some functionality regarding debugging/ development with the Archos 5 Internet Tablet. If you go to Settings, Applications, do you see a checkbox at the top of the list for Unknown sources? You probably have to uncheck that to get your apk to run. Also, does that same

[android-developers] Re: Installing app on android device

2010-01-19 Thread Robert Nekic
Now that I think about it...I seem to recall having trouble getting Astro to launch an apk. I eventually installed a different file manager app from the Market, cleverly called File Manager. I don't like the app very much but it does launch my apk. On Jan 19, 2:35 pm, Robert Nekic robertne

[android-developers] Re: setContentView fails when creating a new activity

2010-01-19 Thread Robert Nekic
I've tried to reply to this thread twice today but it refuses to show up here. Maybe the third time will work: I find that, for me, exceptions triggered by setContentView are often simple oversights in the layout file, such as a missing layout_width or layout_height on one of my view

[android-developers] How long does it take for an application to show up in the Market?

2010-01-19 Thread Robert Nekic
Once you fill out the submission form and upload the apk, assuming the file is signed properly, etc, how long does it take an application to show up in the Market? The Dev Guide doesn't appear to mention this detail. I'm guessing it should show up almost immediately since I've never read

[android-developers] Re: setContentView fails when creating a new activity

2010-01-19 Thread Robert Nekic
My replies on Android Beginners simply refuse to go through. oregonduckman: looking at the XML you replied with on Android Beginners, your opening RelativeLayout tag is not closed. On Jan 19, 3:53 pm, Robert Nekic robertne...@gmail.com wrote: I've tried to reply to this thread twice today