[android-developers] Re: Error in building Android 2.2

2011-01-24 Thread JAlexoid (Aleksandr Panzin)
You need Java SDK 5 installed to do the build. You apparently have Java SDK 7. On 22 янв, 11:02, amador ayala ayala...@gmail.com wrote: Hello, my name is Amador. I have problems when I build Android. I have done the following: repo init -u git://gitorious.org/rowboat/manifest.git -m rowboat-

[android-developers] Re: Android supported file formats

2011-01-24 Thread JAlexoid (Aleksandr Panzin)
http://developer.android.com/intl/de/guide/appendix/media-formats.html Refine your search next time. On 20 янв, 04:53, Big D junkvanry...@hawaii.rr.com wrote: Aloha all - I'm doing some research and have been trying to find some sort of document or location that lists the supported file

[android-developers] Re: Playing mp3 files directly from a Zip file

2011-01-24 Thread JAlexoid (Aleksandr Panzin)
Why do you need that? Zipping up MP3's does not give you advantage of saving space. MP3 files are already as compressed as they can be. Nor does it hide it from users that might want to get to them. Unzip the files to a directory and create an empty file called .nomedia in that directory(so that

[android-developers] Re: Data Transfer between Android Phone and PC

2011-01-24 Thread JAlexoid (Aleksandr Panzin)
What's wrong with TCP/IP? Other than that quick search for C# Bluetooth gives a lot results. http://stackoverflow.com/questions/1057220/bluetooth-in-c-which-stack-which-sdk On 23 янв, 03:43, Joseph bates josephbate...@gmail.com wrote: So, I'm in the early stages of developing an Android app

[android-developers] Re: Force close help, my first app

2011-01-24 Thread JAlexoid (Aleksandr Panzin)
You are lucky that that code compiles! (Or more precise, quite the unlucky one...) The problem is with your code. First of all you should learn some Java, otherwise you will be stuck. Basic Concepts like classes, methods, interfaces, objects, code blocks and syntax. As for the issue above:

[android-developers] Re: Send an SMS message to an email?

2011-01-24 Thread JAlexoid (Aleksandr Panzin)
I am pretty sure that SmsMessenger does not send emails. You use the Email client to do that. Read the error output from LogCat. If then you don't know what is the problem, post it here. Maybe someone will ridicule you for something or there is a genuine problem. On 24 янв, 23:12, Jonathan Jenne

[android-developers] Re: Shared preference from non activity class

2011-01-23 Thread JAlexoid (Aleksandr Panzin)
I have no idea what a bean class is. Bean class is an old name for awhat we call not a POJO. Android essentially leaves only the PropertyChangeEvent, from the old java.beans package. On 23 янв, 02:50, TreKing treking...@gmail.com wrote: On Sat, Jan 22, 2011 at 1:26 AM, Deeps

[android-developers] Re: PDF API

2011-01-21 Thread JAlexoid (Aleksandr Panzin)
Note: VUDroid is GPL, therefore if your app is not GPL licensed and you try to distribute it on the market, you will be served with a takedown notice. On 21 янв, 15:34, Neilz neilhorn...@gmail.com wrote: Exactly... and that's what I'm trying to find out, whether there's anything that can

[android-developers] Re: sound detection

2011-01-20 Thread JAlexoid (Aleksandr Panzin)
2. There is no Java Sound API on Android. 1. Use AudioRecord to record the audio to a buffer and calculate the noise level(incoming decibels to the mic) from the raw PCM data. Don't forget to bypass the noise cancellation feature, if you need the surrounding noise. // Initialise the AudioRecord

[android-developers] Re: Read Response from PHP server

2011-01-20 Thread JAlexoid (Aleksandr Panzin)
Well, first of all Java is not PHP. You should start from learning basic Java(Just a few results from google, the book is quite good): http://www.amazon.com/Head-First-Java-Kathy-Sierra/dp/0596009208/ http://www.javabeginner.com/ http://download.oracle.com/javase/tutorial/ And your code that does

[android-developers] Re: Performance issue with mapview when using large number of items

2011-01-20 Thread JAlexoid (Aleksandr Panzin)
I have found that when having a lot of items on overlay, it's better to have a overlay that does all the drawing, not use ItemisedOverlay. You would have to do input translation, but the UI is much smoother. On 14 янв, 06:45, Stephan Wiesner testexpe...@googlemail.com wrote: Now, thats an

[android-developers] Re: Accessing /udisk

2011-01-19 Thread JAlexoid (Aleksandr Panzin)
/udisk is not standard. And all of the tablet Android versions are custom ROMs with poor support. I bet he has something like APad. On 19 янв, 15:43, jb cona...@gmail.com wrote: Hi, I have an app that downloads images and stores them on the devices / sdcard. One of my users has a new Android

[android-developers] Re: exit strategy

2011-01-15 Thread JAlexoid (Aleksandr Panzin)
The ADB kills it with reinstall... So he could have missed it... On 15 янв, 06:51, TreKing treking...@gmail.com wrote: On Thu, Jan 13, 2011 at 11:35 AM, bob b...@coolgroups.com wrote: How do most Android apps allow the user to quit, and do they have a way to quit my slot machine even though

[android-developers] Re: Changing price in the Market

2011-01-15 Thread JAlexoid (Aleksandr Panzin)
Not all Androids cost $400+/€400+. On 15 янв, 08:22, Kumar Bibek coomar@gmail.com wrote: Someone who owns an Android or iPhone, that's definitely cheap. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Sat, Jan 15, 2011 at 11:47 AM, Doug beafd...@gmail.com wrote: On Jan

[android-developers] Re: how to know which list item is highlighted?

2011-01-13 Thread JAlexoid (Aleksandr Panzin)
You get the data behind the list item from the ListAdapter.getItem(position) http://developer.android.com/intl/de/reference/android/widget/Adapter.html#getItem%28int%29 On 14 янв, 05:19, pramod.deore deore.pramo...@gmail.com wrote: Hi all,  how to know which list item is highlighted (when we

[android-developers] Re: Do I need to stall and extra thread to avoid tanking CPU?

2011-01-13 Thread JAlexoid (Aleksandr Panzin)
If you are writing a context provider also, maybe implementing a SyncAdapter will be the best option for you? There is also AlarmManager. Creating and managing your threads for that purpose just seems not quite right in a mobile environment.(For me, at least)

[android-developers] Re: Separate assets - multiple apks

2011-01-11 Thread JAlexoid (Aleksandr Panzin)
You sound like all of the die hard iPhone developers I've ever talked to. Move your assets to SD. Download them to SD on first run. Encrypt them if you wish and decrypt when running. But don't produce 10+MB apps without a really valid reason*. * - Piracy of content, is not a reason. Because

[android-developers] Re: Carousel View Animation..?

2011-01-11 Thread JAlexoid (Aleksandr Panzin)
Yes... Apparently you have an issue of understanding what is sarcasm. No one will do it for you, unless you pay them. Google.com is your friend. Someone may have already shared code for that. On 11 янв, 18:01, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Thank youTreking. I

[android-developers] Re: DNS WHOIS query support

2011-01-08 Thread JAlexoid (Aleksandr Panzin)
On 8 янв, 01:25, RAJ trra...@gmail.com wrote: Is there a android SDK API to get DNS name servers from given URL, using WHOIS query? Or We will have to implement our own code and parse to decode the response? Any links? thanks -- You received this message because you are subscribed to the

[android-developers] Re: DNS WHOIS query support

2011-01-08 Thread JAlexoid (Aleksandr Panzin)
http://www.dnsjava.org/ might help. Though, how it works on Android I don't know Record [] records = new Lookup(android.com, Type.NS).run(); for (int i = 0; i records.length; i++) { MXRecord mx = (MXRecord) records[i]; System.out.println(Host + mx.getTarget() + has

[android-developers] Re: HTTP parameter question

2011-01-08 Thread JAlexoid (Aleksandr Panzin)
Here's the full sample code for HttpClient 4 (Android version at API 8, at least): ListBasicNameValuePair pairsList = Arrays.asList(new BasicNameValuePair[] { new BasicNameValuePair(q, Search String for Google), new BasicNameValuePair(client, ubuntu) });

[android-developers] Re: java/locationlistener

2011-01-07 Thread JAlexoid (Aleksandr Panzin)
Let me put it in C terms: When you pass in the LocationListener object to requestLocationUpdates() method, you are passing a value of the reference to LocationListener, not a reference to the field/variable mListener. Some help on Java in this area:

[android-developers] Re: Why is Android so buggy?

2010-06-15 Thread JAlexoid (Aleksandr Panzin)
Be a good fella', with 16 years in S/W development you can help everyone and contribute to the development tools. Android on the other hand is quite bug free, the developer tools have some minor/medium bugs. And I bet your software is as buggy as Android itself, if not more. On 7 июн, 20:50,

[android-developers] Re: Dynamically obtaining several instance of a view item defined in layout/xml file

2010-06-15 Thread JAlexoid (Aleksandr Panzin)
See LayoutInflater @ http://developer.android.com/intl/de/reference/android/view/LayoutInflater.html And there is a getLayoutInflater() in Activity class. (http:// developer.android.com/intl/de/reference/android/app/ Activity.html#getLayoutInflater%28%29) There is also an example:

<    1   2