[android-developers] jsonarray as listview source

2009-09-28 Thread vorcigernix
Hello, I made my application from various examples and sources, so now I have filled jsonarray and prepared listview (with custom rows formatting). Now I need to replace ListAdapter myAdapter =(new ArrayAdapter (this,R.layout.rowlayout, R.id.TextView01, values)); with my json array based adapter

[android-developers] Re: jsonarray as listview source

2009-09-29 Thread vorcigernix
class, but what actually returns data from BaseAdapter? GetView? Thanks for any clarification Adam On Sep 28, 8:15 pm, Mark Muphy wrote: > vorcigernix wrote: > > Hello, > > I made my application from various examples and sources, so now I have > > filled jsonarray and prepared

[android-developers] Re: How do I resize my application to a smaller one placing it on top left?

2009-09-29 Thread vorcigernix
Sounds like crazy idea to me. On Sep 29, 6:41 am, Karthik P wrote: > Is there any way for me to resize an app to make it smaller and placing it > top left? I understand that there is a theme -> Dialog its possible to make > the window size smaller but is it possible for me to dictate the x, y, d

[android-developers] Re: jsonarray as listview source

2009-09-30 Thread vorcigernix
a look at the 'API Demo' in the Android SDK for examples. > > On Sep 29, 3:45 pm, vorcigernix wrote: > > > Ok, I don't get a BaseAdapter logic, I assume because I am not used to > > java. I found tons of examples on net (mostly for drawing pictures > > etc

[android-developers] Re: jsonarray as listview source

2009-10-03 Thread vorcigernix
t familiar with Java, i strongly suggest you do become > familiar with it :-). > > On Sep 30, 3:50 pm, vorcigernix wrote: > > > Thanks. This moved my understanding of whole BaseAdapter (which is not > > data adapter at all). Now I am frozen on some casting unknown to me > >

[android-developers] updating UI from runnable

2009-10-03 Thread vorcigernix
Hello, I didn't found clear answer for why my code does not work. I assume it is because I am trying to update textview from runnable. Anybody know some workaround? Code isn't clean off course, I am happy to get that working so far as I am totally new in java. public class MainScreenActivity ext

[android-developers] Re: updating UI from runnable

2009-10-04 Thread vorcigernix
exception :) On Oct 3, 11:00 pm, Streets Of Boston wrote: > It's quite a bit of code, but one thing's missing that you have to do: > > In your onCreate, you're not calling setContentView(...). You have to > do this to show at least something :-) > > On Oct

[android-developers] Re: updating UI from runnable

2009-10-04 Thread vorcigernix
Thanks, now it is working :) On Oct 4, 2:27 pm, "Mark Murphy" wrote: > > I am getting error at > > > stext.setText(sdf.format(cal.getTime()).toString()+ " chyba"); > > > where it ends on null pointer exception. I tried to add: > > > setContentView(R.layout.main); > > > which required to add a li

[android-developers] Re: updating UI from runnable

2009-10-05 Thread vorcigernix
, vorcigernix wrote: > Thanks, now it is working :) > > On Oct 4, 2:27 pm, "Mark Murphy" wrote: > > > > I am getting error at > > > > stext.setText(sdf.format(cal.getTime()).toString()+ " chyba"); > > > > where it ends on null pointe

[android-developers] activesync contacts uri

2009-10-11 Thread vorcigernix
Hello, there is well documented provider for standard phone contacts (android.provider.Contacts.People). Is there anyone who knows how to access activesync contacts from HTC? I am creating application which need access to all providers. --~--~-~--~~~---~--~~ You rec

[android-developers] Re: Countries for selling priced applications in Android Market

2009-10-11 Thread vorcigernix
I didn't know (and did't expected to be honest) that Google is slower then Microsoft and Apple in this. Only good in this is that you need market only for paid apps, most android users are techies anyway and they are absolutely able to install package on their own. On other hand, I'll never develo

[android-developers] profiles manager

2009-10-14 Thread vorcigernix
Hello, One of features od my old n95 I am missing on my new hero is simple management of ringtones and their volumes. I found Locale, which is good, but I think I could use really simpler application just for that. I wrote widget to simple change ringtone and volume from one to another, but this

[android-developers] Re: Android Software Engineer - 15.000 PLN / m-c

2009-10-14 Thread vorcigernix
I doubt this is a recruitment forum, If it is..I finally understand why some of my questions are still open :-D On 14 říj, 08:54, Tomasz Mazur wrote: > Naszym klientem jest firma o światowej renomie w zakresie dostarczania > aplikacji mobilnych. Dwa główne obszary działalności naszego klienta, >

[android-developers] Re: Getting paid apps for free ??

2009-10-14 Thread vorcigernix
I think major source of these applications are torrents. But I have to second what String said, if you really want to sell you apps, you have to use AndAppStore and SlideME just because there are around 50% of users which can't buy your software from google marketplace even if they want. I think i

[android-developers] Re: Getting paid apps for free ??

2009-10-14 Thread vorcigernix
Yes, it was estimate. It is actually 35-40% if this chart is to be believed: http://metrics.admob.com/wp-content/uploads/2009/07/admob-mobile-metrics-june-09.pdf Anyway... On Oct 14, 7:16 pm, Dianne Hackborn wrote: > On Wed, Oct 14, 2009 at 6:19 AM, vorcigernix wrote: > > there are

[android-developers] Re: Countries for selling priced applications in Android Market

2009-10-14 Thread vorcigernix
Mark, yes, it make sense to sell app you already made. But look at https://slideme.org/application/speed-forge-3d, this is probably best 3d racing game on android and it sold 512 copies. On 14 říj, 19:41, Mark Murphy wrote: > karthikr wrote: > > I have developed a few applications and am waitin

[android-developers] Re: ListView, how do I change the orange highlight color?

2009-10-15 Thread vorcigernix
1) Do not change default colors :) As user, I am used to some color scheming, and all I need to know is that I am hovering or selecting something. It is not an aesthetic race..on appstore I saw application in which I was searching for ok button for 2 minutes. It wasn't there..author decided it is

[android-developers] Re: ListView, how do I change the orange highlight color?

2009-10-15 Thread vorcigernix
as looking for :-P > 2. I'd really like to figure this out without buying a book > > On Oct 15, 9:06 am, vorcigernix wrote: > > > 1) Do not change default colors :)  As user, I am used to some color > > scheming, and all I need to know is that I am hovering or selec

[android-developers] Re: Playing youtube videos on Android

2009-12-09 Thread vorcigernix
There is a ! JAVA !!! example on youtube dev page. I am not sure why there are examples in all other existing languages, except our dalvik java, but if you combine this with basic media example from sdk, you will be green as supergreen. On 24 lis, 18:07, Nicholas Key wrote: > Hi all, > > I want

[android-developers] Re: Playing youtube videos on Android

2009-12-10 Thread vorcigernix
eh..forgot part of response: there is parameter on end of url which forces format, like: http://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile?format=6 You can see details @ http://gdata.youtube.com/demo/index.html On 24 lis, 18:07, Nicholas Key wrote: > Hi all, > > I want to learn ho

[android-developers] mediastore thumbnails

2009-12-10 Thread vorcigernix
Hello, I want to display gallery of videos with thumbnails in my app. Is this what MediaStore.Video.Thumbnails.getThumbnail() do? I didn't found way to use it. Other properties of video files are easily accessible (MediaStore.Video.Media.DISPLAY_NAME for example), but there is probably different lo

[android-developers] Re: Nexus 2.1 one sale, WHERE is the SDK!

2010-01-10 Thread vorcigernix
Whole idea of having google "superphone" and write some main parts of OS as closed source bits for that device is flawed from beginning. On other hand, if your code works on 2.01, then it should work on nexus (except that hw related things). I am missing some big notice on developers page month bef