[android-developers] Re: Negative comment causing drop in sales

2010-08-27 Thread nation-x
I suspect that alot of comments... especially on free apps are competitors... not just trolls. I have had people post comments that were entirely untrue about my apps before... in addition, you can never underestimate the stupidity of the average user. I have had some negative comments because the

[android-developers] Re: Piracy Breakdown by Country

2010-08-28 Thread nation-x
I am completely surprised at some of the responses here... but I am not at all surprised with your results. I have been selling software for over 10 years before I started developing Android apps and my experience has been that the US always represents the highest amount of piracy. Your "culture of

[android-developers] Re: Android Market, google checkout minimal sum to be collected before payment.

2010-08-28 Thread nation-x
What an interesting thing to complain about... lol. On Aug 28, 10:17 am, Zsolt Vasvari wrote: > http://checkout.google.com/support/sell/bin/answer.py?hl=en&answer=25400 > > No, you get a single payment every work day.  If you don't like that > schedule, because who wouldn't like 22 small deposits

[android-developers] Re: Image viewers on android phones not always the best experience?

2010-07-18 Thread nation-x
I see I have some typos in the example above. For example: String[] myImageWithPath should be String myImageWithPath Just thought you should know that this isn't a completely working example. :) Editing may be necessary. Shawn On Jul 17, 11:13 am, nation-x wrote: > I just use an Image

[android-developers] Re: If and How to get video thumbnails?

2010-07-18 Thread nation-x
It's definitely possible. It's done in the Gallery3D app that cooliris made for android. You can look at the source in the AOSP http://android.git.kernel.org/?p=platform/packages/apps/Gallery3D.git Sorry I didn't have a direct example but I figured this would point you in the right direction. Sha

[android-developers] Re: If and How to get video thumbnails?

2010-07-18 Thread nation-x
After this peaked mt curiosity I did a little looking and found http://developer.android.com/reference/android/provider/MediaStore.Video.Thumbnails.html which is in the newer SDKs. I think what you will have to do is if you are targeting cupcake devices you will have to use MediaMetadataRetriever w

[android-developers] Re: If and How to get video thumbnails?

2010-07-18 Thread nation-x
use git on Windows > machines at the moment...is it also possible to get this code example from > somewhere else?? > > On Sun, Jul 18, 2010 at 1:56 PM, nation-x wrote: > > It's definitely possible. It's done in the Gallery3D app that cooliris > > made for android. Y

[android-developers] How can I get the sources for the 1.6 release

2010-07-18 Thread nation-x
I am still working on 1.6 version apps and need the source for 1.6 rather than 2.2. Where or how can I get that... are there branches that I can clone from? Thanks in advance. Shawn -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Re: Media streaming on Android

2010-07-19 Thread nation-x
The media player streams videos just fine but they have to be encoded properly for it to work. Try using VLC to encode the video. http://www.youtube.com/watch?v=G7itfBXq6ns Shawn On Jul 19, 5:32 am, arsalank2 wrote: > Hi Android developers, > > I am trying to stream a video on an Android device

[android-developers] Re: Has anyone get App Inventor accounts?

2010-07-20 Thread nation-x
nada here On Jul 20, 2:52 am, Eelco wrote: > Same here, I registered, but no reply -- 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, se

[android-developers] Re: ArrayAdapter craziness

2010-07-20 Thread nation-x
Can you post your getView code? Are you using a holder? Shawn On Jul 20, 2:01 am, "nwmotog...@gmail.com" wrote: > I am using a custom array adapter in my ListView.  It works fine when > I am scrolling through a list of items slowly but when I attempt to > scroll quickly the activity get's closed

[android-developers] Re: Android and Silverlight

2010-07-21 Thread nation-x
In short... no. But feel free to port moonlight :) http://www.mono-project.com/Moonlight Shawn On Jul 20, 7:07 am, shaish wrote: > Hi, > Is Android supports Silverlight? > Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] Re: How do you approach the various devices your application runs on?

2010-07-24 Thread nation-x
I can tell you from experience that just because an app will run in the emulator... it doesn't mean it will run on the device. The rest of your advice is stellar. :) I don't have 500k installs either. On Jul 23, 3:18 pm, Joseph Earl wrote: > 1) Set a whole suit of AVD devices with all the possibl

[android-developers] Re: Android Market, how do you manage license and piracy protection?

2010-07-26 Thread nation-x
See Keyes Labs Open Sources Licensing Solution: http://keyeslabs.com/joomla/ Or Artfulbits Android Anti-Piracy: http://www.artfulbits.com/Android/antipiracy.aspx Shawn On Jul 25, 1:59 pm, Pent wrote: > > How do you protect your full copy from piracy? > > 1) Box in app to enter google order co

[android-developers] Re: Convert JSONArray to Array

2010-07-28 Thread nation-x
JSONArray jsonArray = (JSONArray) JSONSerializer.toJSON( input ); JsonConfig jsonConfig = new JsonConfig(); jsonConfig.setArrayMode( JsonConfig.MODE_OBJECT_ARRAY ); jsonConfig.setRootClass( Integer.TYPE ); int[] output = (int[]) JSONSerializer.toJava( jsonArray, jsonConfig ); On Jul 27, 7:14

[android-developers] Re: APIDemos Is sample SaveRestoreState incomplete?

2010-07-31 Thread nation-x
There are some good tutorials here as well. http://www.bogotobogo.com/Android/android15Rotation.html Shawn On Jul 30, 4:42 pm, Anil wrote: > http://developer.android.com/resources/samples/ApiDemos/src/com/examp... > > On Jul 30, 3:00 pm, Anil wrote: > > > It does not override onSaveInstanceSta

[android-developers] Re: Anyone has expereiences in developing an audio visualizer?!

2010-08-03 Thread nation-x
check out ringdroid: http://code.google.com/p/ringdroid/ On Aug 3, 11:03 am, CMF wrote: > what do you mean by RAW data? > > On Jul 21, 7:17 pm, mac-systems wrote: > > > U just need the RAW data. > > > On 12 Jul., 08:56,CMF wrote: > > > > Seems that there is no API in doing theaudiovisualizer? >

[android-developers] Re: Sharing data between (tab) activities

2010-08-16 Thread nation-x
I use Observable Singleton objects because they automatically update themselves and I never have to check if the values are stale or if I need to retrive a new version of the object or anything of that nature. There is a complete eclipse project available for demonstrating how it works. http://and

[android-developers] Re: How to test Apps on a variety of devices?

2010-08-18 Thread nation-x
You can test you applications on all Motorola devices by using their Device Anywhere service or whatever it's called... it costs money though. Shawn On Aug 18, 10:45 am, Fabrizio Giudici wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 8/18/10 16:37 , Maps.Huge.Info (Maps API Guru

[android-developers] Re: How to check the Foreground Process from a Service

2010-08-23 Thread nation-x
You can send a broadcast to your foreground process using a receiver that triggers the foreground process to call a method in the service from onReceive(). Android Workz On Aug 20, 4:25 pm, Call_Waiting wrote: > Does anyone know how to, or if it's even possible to check the > (foreground process

[android-developers] Re: does Google forbid orientation animation on purpose?

2010-08-24 Thread nation-x
See http://code.google.com/p/floatingimage/ for an example of how to animate rotation... basically, this project overrides the rotation and, when you are looking at an image and rotate the phone, it constantly rotates... there is no rotation lifecycle in this app as far as I can tell. Android Work

[android-developers] Re: LVL found to be easy to crack

2010-08-24 Thread nation-x
I am always amazed at how people always blame everyone else for their problems... this is something I never see from any Google Developer... I don't see excuses. What has the world come to when everyone always has this expectation of entitlement. Noone is forcing you to develop for Android or any o

[android-developers] Re: How to give a rubber-band/bounce effect to ListView (similar to iPhone)

2010-07-17 Thread nation-x
I adapted the dynamics tutorial available here to a custom listview... I don't think you can do it with a normal listview. http://blogs.sonyericsson.com/developerworld/category/tutorials/3d-list/ Shawn McAllister On Jul 17, 6:47 am, UD wrote: > Hi, > > I want a ListView to have rubber-band (or

[android-developers] Re: Screen Rotation

2010-07-17 Thread nation-x
If you look at this tutorial I created at http://androidworkz.com/2010/07/06/source-code-imageview-flipper-sd-card-scanner/ there is an example of one way to save an array object to a file and to read it back in. I tried using SharedPreferences, etc as described in the docs and gave up because I co

[android-developers] Re: How to unzip multiple files zipped in a zip file with individual name automatically?

2010-07-17 Thread nation-x
Here you go. :) static Handler myHandler; ProgressDialog myProgress; public void unzipFile(File zipfile) { myProgress = ProgressDialog.show(getContext(), "Extract Zip", "Extracting Files...", true, false); File zipFile = zipfile; String directory =

[android-developers] Re: Using back button in android.

2010-07-17 Thread nation-x
See http://android-developers.blogspot.com/2009/12/back-and-other-hard-keys-three-stories.html Shawn McAllister On Jul 15, 9:24 am, Ajmer Singh wrote: > I am a new to android development > I want to override the default back button operation in android,please let > me know how i can do this in

[android-developers] Re: Activity's windows not full screen

2010-07-17 Thread nation-x
In your AndroidManifest.xml in the application section you can specify the activity to have a dialog theme. This will create a similar effect to what you want... then you just style the views to get the appearance you want (width, height, etc). On Jul 14, 7:20 pm, Steevan wrote: > Hi :) > > How

[android-developers] Re: change scroll speed in gallery.

2010-07-17 Thread nation-x
create a new view class that extends Gallery and override onFling(). Shawn McAllister On Jul 16, 8:42 am, mmkr wrote: > Hi, > > Can i change the scroll speed in gallery view? i want a constant > change in the gallery views irrespective of the speed the user flings > it. > > Thanks in advance. -

[android-developers] Re: Image viewers on android phones not always the best experience?

2010-07-17 Thread nation-x
I just use an ImageView and resize the image before I display it. Here is my layout: http://schemas.android.com/apk/res/android"; android:id="@+id/image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="centerInside"

[android-developers] Re: Updating SQLite from a webserver

2011-02-22 Thread nation-x
JSON works good too. I have apps with 40,000+ items and I am n0ot caching them... I do realtime queries of the database on the server and return the results in a json file... it's not that slow especially if you are using threads and incrementally paging the results. It takes no time to pull enough

[android-developers] User Comments on apps - Google AWOL

2011-01-19 Thread nation-x
I am not even certain that this will be posted but something has to be done... I had a user leave a comment on my app that his credit card information was stolen after buying my app (from Google Checkout) and sales dropped to nothing... is there anything that can be done about that? -- You receiv

[android-developers] Re: User Comments on apps - Google AWOL

2011-01-19 Thread nation-x
I wanted to mention that I did send emails to Google about this issue. On Jan 19, 12:41 pm, nation-x wrote: > I am not even certain that this will be posted but something has to be > done... I had a user leave a comment on my app that his credit card > information was stolen after buyi

[android-developers] File buffer help

2011-01-22 Thread nation-x
Please have patience with my noob questions... I am new to Java. I am reading a large file (podcast) from the web which I am playing with the mediaplayer... I have been looking at how I can truncate the buffer during write and I think I can use FileChannel but I am not exactly sure how to implemen

[android-developers] Re: Create Parser for the given JSON

2011-01-23 Thread nation-x
Just an update for anyone who might be looking at this thread in an archive... it literally only takes 3-4 lines of code if you use Gson http://code.google.com/p/google-gson/ and Gson is so awesome that it will automatically push your json objects or arrays directly into a POJO. http://benjii.me/20

[android-developers] Re: wrap_content and fill_parent using Java

2011-01-24 Thread nation-x
Since I would rather provide an actual answer instead of saying "search for it" specifically... http://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html#ViewGroup.LayoutParams%28android.view.ViewGroup.LayoutParams%29 Shawn On Jan 24, 12:36 pm, TreKing wrote: > On Mon, Jan

[android-developers] Odd Volume Control crash - help needed

2011-01-24 Thread nation-x
I am working on an app to stream a shoutcast stream and the app works great except that if the app is in the background for awhile and you have the volume turned all the way down (which I was doing to just run a long test)... when you bring the app back to the foreground and try to adjust the volum

[android-developers] Re: Drawing a View on top of a Layout

2011-01-24 Thread nation-x
I have a game on the market called Memory Tutor where I am doing something similar except I am using setImageDrawable() and setBackgroundDrawable(). That way I can just change the setImageDrawable to a transparent png when I want to show the image and a white png when I want to hide it rather than

[android-developers] Re: how to get the subview in the GridView?

2011-01-24 Thread nation-x
VideoItem item = (VideoItem) gridView.getChildAt(position); On Jan 21, 4:03 am, "and.Freecomm" wrote: > hi there, > Here is a GridView with custom ImageView in it. > How can i get the sub custom ImageView from the function > onItemClickListener ? > It will be crashed after i get the item. > > onI

[android-developers] Re: code to call Android Music player Application

2011-01-24 Thread nation-x
Intent >> On Jan 20, 7:28 am, jaishree wrote: > Dear sir, > > I m an Android Developer but new to this field. > > I stuck with some problem , > > Problem is==> how to call  "Android Music Player Application"  from my > android project. > > please help me in this. > > Thank you in Advance -- You

[android-developers] Volume Control ANR

2011-02-03 Thread nation-x
I occasionally see an issue where adjusting the volume causes an ANR when there are other actions going on (song change, etc) in my radio app (chroniX Radio). How can I handle this? I am hooking the volume jkey correctly as far as I know. setVolumeControlStream(AudioManager.STREAM_MUSIC); Is it p

[android-developers] Re: motion effect in Rubber Band

2011-02-03 Thread nation-x
If you look at the Sony Ericsson developer blog you will find an example that might help. http://blogs.sonyericsson.com/developerworld/category/tutorials/3d-list/ Shawn On Feb 3, 12:29 am, Honest wrote: > Hi, > > Thanks to both of you for your reply. but can you provide me some > example link ?

[android-developers] Re: LG Ally app closes on load

2011-02-03 Thread nation-x
Typically, it's a good idea to actually describe the problem in detail. What does "not working" mean? How can you expect anyone to help you with no details? On Feb 1, 12:14 pm, fully wrote: > Hi I made an app and I have had people say that it hasnt been working > on the LG Ally, I have created an

[android-developers] Re: Problems With Admob & AdWhirl eCPM Very Low

2011-02-03 Thread nation-x
I suggest you just sell your app. The fact that people can download an adblocker app or install ROMs that completely block most ad services makes it completely not worthwhile, in my opinion. I developed an app for a customer that has a paid and ad supported version with more than 35,000 active user

[android-developers] Re: localhost on android

2011-02-03 Thread nation-x
You have to build your own web server or implement someone elses. http://code.google.com/p/i-jetty/ http://code.google.com/p/servdroidweb/ http://code.google.com/p/android-webserver/ Shawn On Jan 31, 3:32 pm, provma wrote: > I'm an experienced developer, but a beginer on the Android platform. >

[android-developers] Re: System.exit

2011-04-25 Thread nation-x
I have found that Android will restart your app on occasion if you call that. I stopped using it and just call finish() now. On Apr 25, 6:25 pm, bob wrote: > Is it okay to call System.exit(0); to end an Android app? -- You received this message because you are subscribed to the Google Groups "A

[android-developers] Re: Android Layouts Are Horrible

2011-04-05 Thread nation-x
I lol'd... On Apr 5, 8:25 am, Craigbtx wrote: > I agree with Dirk and others. After using Microsofts development > environment, Visual Studio and asp.net for me, there is no reason to > code database connections, html tables of data etc., sql update, > delete and insert commands. If you know them