[android-developers] Re: problem with spinner.setOnItemClickListener

2011-07-03 Thread Zsolt Vasvari
The error is related to the ADB and not to your code. Does a Hello World app work for you? On Jul 3, 7:41 am, אריאל arielgordon...@gmail.com wrote: Hello Everybody, Whats the problem with this code? private ListView lv1;  private String

[android-developers] Re: Geocoder nightmare

2011-07-03 Thread Ali Chousein
Your code should work without problems. I use very similar code in my application and it just works. For Geocoder you need to set android.permission.INTERNET in your manifest file. Did you do this? -- Ali Chousein Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/ On

[android-developers] Re: what is the difference between an Install and an active install?

2011-07-03 Thread Ali Chousein
Active installs is relevant when you expect revenue from advertisements I guess. Raghav and Kostya are right; the statistics in the Developer Console is a joke. The first week when I published my application, active installs was higher than installs for 2 days! How about that? :-) -- Ali

[android-developers] Re: Async Task

2011-07-03 Thread Ali Chousein
i want to use Async task please help me Async task Simultaneous handle multiple process or One activity is able to execute more than one async task or one Activity have only one async task AsyncTask is a thread with a wrapper around it. It was designed and it's very handy for finite jobs. One

[android-developers] Re: Force hdpi drawables on mdpi-xlarge devices

2011-07-03 Thread Federico Carnales
On May 23, 7:49 pm, Dianne Hackborn hack...@android.com wrote: Don't force the Xoom to use hdpi.  You will be inconsistent with every other app, all of which are using the Xoom's correct density which is mdpi. Why do you want to do this? As I've said, Galaxy Tab made a design decision to use

[android-developers] Re: Force hdpi drawables on mdpi-xlarge devices

2011-07-03 Thread Federico Carnales
On May 23, 7:49 pm, Dianne Hackborn hack...@android.com wrote: Don't force the Xoom to use hdpi.  You will be inconsistent with every other app, all of which are using the Xoom's correct density which is mdpi. Why do you want to do this? As I've said, Galaxy Tab made a design decision to use

Re: [android-developers] Re: what is the difference between an Install and an active install?

2011-07-03 Thread Kostya Vasilyev
As for me, I tend to look at install counts as statistical estimates, not as exact quantities. As such, they may be off by some amount, especially when the absolute numbers are low (e.g. anew application). The recently made adjustments supposedly make the numbers more true to life, esp. the

[android-developers] Re: I want to design a video file player, which takes in file name first and then play the video, I am not sure how can I use setcontentview to do this,pls help!

2011-07-03 Thread albnok
This Google Groups site is strangely missing a +1 button. On Jul 1, 9:16 am, Zsolt Vasvari zvasv...@gmail.com wrote: Hey, I am in Singapore, too.  What company do you work for?  Maybe they are looking for a competent developer. On Jul 1, 8:57 am, Jiabin Qin jiab...@gmail.com wrote:

[android-developers] open app with intent with back button?

2011-07-03 Thread ahmed barqawi
Hallo, we can open apps with android using intent like browser and map. how to open app inside my activity area inside the activity? OR how to add back button on top of opened app to back to my application? Thanks -- You received this message because you are subscribed to the Google Groups

[android-developers] Problems with the web page interface to this list?

2011-07-03 Thread Spooky
Yesterday, I ran into quite a number of problems with the web site interface to this group (android-developers, just in case it randomly tosses my post into another group, like it did yesterday---that's one of the problems). 1) I posted an update to the thread I started, titled What is the

[android-developers] another test directly from gmail site ... please ignore

2011-07-03 Thread Jim Graham
Since signing on to the android-developers group, I have never been able to post via e-mail. If this goes through, I'll know that it's somewhere between sendmail on my system and gmail's smtp server. If it still bounces, I'll know that there is a problem with a list setting. The group address

Re: [android-developers] another test directly from gmail site ... please ignore

2011-07-03 Thread Kostya Vasilyev
I can see your message. -- Kostya Vasilyev 03.07.2011 14:29 пользователь Jim Graham spooky1...@gmail.com написал: Since signing on to the android-developers group, I have never been able to post via e-mail. If this goes through, I'll know that it's somewhere between sendmail on my system and

[android-developers] Im not able to run android application.Please help me to solve it.

2011-07-03 Thread SIVAKUMAR
The details are given inside the link http://stackoverflow.com/q/6562428/385138 -- 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

[android-developers] Re: ] emulator: could not find virtual device named 'my_avd'

2011-07-03 Thread david
Hello Community ! i got my phone to run the apps from this machine(XP)! - end to end perfect. Once again, i reloaded all software - yes uninstalled sdk , blew away eclipse, removed workspace. reinstalled everything. same issue - my AVD is not recognized by the emulator . I have once again

Re: [android-developers] Im not able to run android application.Please help me to solve it.

2011-07-03 Thread Raghav Sood
1) Don't cross post to multiple groups and websites. 2) Try using logcat to find out what error you are getting (See chapter 1 of your book) 3) I have the same book and my code works perfectly On Sun, Jul 3, 2011 at 4:44 PM, SIVAKUMAR j.sivakumar...@gmail.com wrote: The details are given inside

[android-developers] Offline installation of Android packages

2011-07-03 Thread Samuel
Hi, Is there a way to install Android packages offline. I never success install them through SDK manager since the internet connection in my home is not stable. thanks, Samuel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Mp4 video not playing in Galaxy Tab and MyTouch?

2011-07-03 Thread shubh
hello team, I am trying to play an mp4 video url using both VideoView and WebView. in case of VideoView I am getting Null Pointer Exception and in WebView it showing black white page..nothign is there. This problem i am facing in SamsungGalaxy Tab and in MyTouch , in HTC Desire it's working

Re: [android-developers] Offline installation of Android packages

2011-07-03 Thread Raghav Sood
You have to download them to install them so offline is not really an option unless you download them elsewhere and copy them. On Sun, Jul 3, 2011 at 5:17 PM, Samuel jrl...@gmail.com wrote: Hi, Is there a way to install Android packages offline. I never success install them through SDK

[android-developers] Points and Zooming

2011-07-03 Thread New Developer
still trying to complete my Image class On a Bitmap I can draw a line and the starting point isoldX,oldY is 242.5 , 389.0 I then zoom only the image no panning where the oldX ,oldY is still visible but obviously in another location of the screen because it is zoomed in. Now I start to

Re: [android-developers] Mp4 video not playing in Galaxy Tab and MyTouch?

2011-07-03 Thread Mark Murphy
Your video may not be safe for streaming. http://stackoverflow.com/questions/523/where-to-place-videos-to-stream-android http://stackoverflow.com/questions/1841397/android-mediaplayer-emulator-and-url On Sun, Jul 3, 2011 at 7:49 AM, shubh shubhampatn...@gmail.com wrote: hello team, I am

Re: [android-developers] Mp4 video not playing in Galaxy Tab and MyTouch?

2011-07-03 Thread Mark Murphy
Or, possibly, you have a NullPointerException and elected to neither report that here nor actually provide a stack trace: http://stackoverflow.com/questions/6562634/mp4-video-not-playing-in-galaxy-tab-and-in-mytouch On Sun, Jul 3, 2011 at 7:49 AM, shubh shubhampatn...@gmail.com wrote: hello

[android-developers] Why is Activity#onPrepareDialog called onRotate for non-displayed dialogs?

2011-07-03 Thread William Ferguson
I have an Activity with several managed dialogs. After some of them have displayed (and dismissed) I rotate the device. #onCreateDialog is called for each previously displayed dialog regardless of whether they currently being displayed or not. Strange, but relatively harmless as code in

Re: [android-developers] Why is Activity#onPrepareDialog called onRotate for non-displayed dialogs?

2011-07-03 Thread martijn.list
On 07/03/2011 02:12 PM, William Ferguson wrote: I have an Activity with several managed dialogs. After some of them have displayed (and dismissed) I rotate the device. #onCreateDialog is called for each previously displayed dialog regardless of whether they currently being displayed or not.

[android-developers] Re: Offline installation of Android packages

2011-07-03 Thread Samuel
Hi, thanks for the response. But I don't understand it. Is it possible to install them offline and would you show me the way how to do it? regards.. On Jul 3, 6:50 pm, Raghav Sood raghavs...@gmail.com wrote: You have to download them to install them so offline is not really an option unless

Re: [android-developers] Re: Offline installation of Android packages

2011-07-03 Thread Raghav Sood
I faced the same problem once. I had to download them on another computer and then use a pendrive to copy the files and bring them to my mac. On Sun, Jul 3, 2011 at 5:57 PM, Samuel jrl...@gmail.com wrote: Hi, thanks for the response. But I don't understand it. Is it possible to install them

Re: [android-developers] Re: problem with spinner.setOnItemClickListener

2011-07-03 Thread אריאל
yes, Hello World work o.k. and all work but if i am add a OnItemClickListener() this is dont work :-( but with onItemSelected() this is work fine. so what's the Difference between OnItemClickListener and onItemSelected(). Regards Ariel 2011/7/3 Zsolt Vasvari zvasv...@gmail.com The error is

[android-developers] Re: Re:Urgent need for SAP Functional FI/CA Consultant@CA

2011-07-03 Thread JAlexoid (Aleksandr Panzin)
Could someone please remove that account from the group? It's obvious that that account is used only for spamming Google Groups with job postings. -- 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: Im not able to run android application.Please help me to solve it.

2011-07-03 Thread Gary Kato
I don't think it has anything to do with your code but your emulator or Eclipse setup. This is what I see when I launch an application. [2011-07-03 05:30:02 - MainScreen] Android Launch! [2011-07-03 05:30:02 - MainScreen] adb is running normally. [2011-07-03 05:30:02 - MainScreen] Performing

[android-developers] Re: Offline installation of Android packages

2011-07-03 Thread skink
On Jul 3, 2:27 pm, Samuel jrl...@gmail.com wrote: Hi, thanks for the response. But I don't understand it. Is it possible to install them offline and would you show me the way how to do it? regards.. On Jul 3, 6:50 pm, Raghav Sood raghavs...@gmail.com wrote: You have to download

[android-developers] Re: Application Ranking?

2011-07-03 Thread Bond
Well even with all that variables I thin Google still has a number so i find it really strange that we don't have the ranking number. It's a major part of analyzing our apps on the market. I'm, new to the Market and I just couldn't believe I can't see my app ranking. On Jul 2, 6:38 pm, John

[android-developers] Re: Multiple MapViews and MapActivities

2011-07-03 Thread lbendlin
in our app we are using static map pictures (from the Google Statis maps API) for the secondary (north up, infrequent use) map view. -- 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] More Market questions

2011-07-03 Thread Spooky
Sorry for this...more Market questions. 1) Is the download count that users see in the Market app based on total installs, or active installs? 2) If it's based on active installs, and given that active install counts are still broken (showed zero for a while when I had confirmed that at

[android-developers] game engine, how to organize animation and etc. in android ?

2011-07-03 Thread razor
Hi. I'm quite new to android and i want to make some animation (simple game later) like i did on windows (all programatically). So I have questions what classes should be responsible for. Activity It's a base class for whole logic like updating variables (computing move etc.) Should I create a

[android-developers] IllegalArgumentException: Invalid network type: 5544192

2011-07-03 Thread Kim
Our app controls our music server using webservice calls over the LAN. Using ACRA, I received a report from a phone that included an Invalid network type error. This resulted from the second line, below, that is in our code: ConnectivityManager connManager = (ConnectivityManager)

[android-developers] Modify listview item child views with adapter and getview()

2011-07-03 Thread NikolaMKD
Does calling notifyOnDataSetChanged() will restore previous settings for each of the items, that previously had their child views visibility set to View.VISIBLE (supposing item is clicked before) and then set the visibility to View.VISIBLE on the item that is currently clicked? See the code

Re: [android-developers] Modify listview item child views with adapter and getview()

2011-07-03 Thread Kostya Vasilyev
Notify rebuilds the list. If there is any state that may have changed since the getView was called, it's up to your code to restore it. Change your data items from strings to a richer data structure, and use them to save and restore visibility. Also, try scrolling your list view up and down,

[android-developers] Re: Modify listview item child views with adapter and getview()

2011-07-03 Thread NikolaMKD
So there is no way to update the child views programically ? List view have textview and 2 buttons, when the list is populated only textview is visible, the 2 buttons are invisible. I tried one way, it worked but only for the first items, but when you scroll it, it threw NPE. On Jul 3, 7:50 pm,

Re: [android-developers] Re: Modify listview item child views with adapter and getview()

2011-07-03 Thread Kostya Vasilyev
Yes, there is a way to update the item's UI without rebuilding the entire list. Your click handler receives a view, and you can take from there. But scrolling artifacts (and a crash) show that your code doesn't work right when listview recycles views. Unless you're going to disable scrolling,

Re: [android-developers] game engine, how to organize animation and etc. in android ?

2011-07-03 Thread Alex Coutinho
You should use the method invalidate() inside a view: @Override protected void onDraw (Canvas canvas) { invalidate(); // Do all your drawings here invalidate(); } First, it tells android that the whole screen should be redrawn, afterwards it tells android that the

Re: [android-developers] game engine, how to organize animation and etc. in android ?

2011-07-03 Thread Alex Coutinho
It sustains a loop of drawing all by itself... 2011/7/3 Alex Coutinho alexc...@gmail.com You should use the method invalidate() inside a view: @Override protected void onDraw (Canvas canvas) { invalidate(); // Do all your drawings here invalidate(); } First,

Re: [android-developers] More Market questions

2011-07-03 Thread Marcin Orlowski
On Jul 3, 2011 4:08 PM, Spooky spooky1...@gmail.com wrote: Sorry for this...more Market questions. 1) Is the download count that users see in the Market app based on total installs, or active installs? looks like total 2) If it's based on active installs, and given that active install

Re: [android-developers] open app with intent with back button?

2011-07-03 Thread TreKing
On Sun, Jul 3, 2011 at 4:34 AM, ahmed barqawi barqawi...@gmail.com wrote: how to open app inside my activity area inside the activity? You can't. OR how to add back button on top of opened app to back to my application? You can't - but what would be the point of that? The user already

[android-developers] Reliable method for sending attachment in email intent

2011-07-03 Thread EmilDiego
I've tried a variety of different methods of attaching attachments to email intents and I haven't found a 100% reliable solution yet. Sometimes it works with 1 email apps but not others. I've tried a variety of Intent.putExtra calls. I've tried passing the uri of the file on the device, using the

[android-developers] Re: Geocoder nightmare

2011-07-03 Thread bob
Yes, I did this. I read in a book that geocoding doesn't work in AVD 7 and 8. It said to use AVD 6. I'm going to try AVD 6 in a bit. On Jul 3, 1:53 am, Ali Chousein ali.chous...@gmail.com wrote: Your code should work without problems. I use very similar code in my application and it just

Re: [android-developers] Re: Force hdpi drawables on mdpi-xlarge devices

2011-07-03 Thread Dianne Hackborn
It uses a facility that is under development in the platform to do mipmap style drawables. It isn't in any way running at hdpi; it is loading application icons to have a larger size. On Sun, Jul 3, 2011 at 1:03 AM, Federico Carnales fedecarna...@gmail.comwrote: On May 23, 7:49 pm, Dianne

Re: [android-developers] Reliable method for sending attachment in email intent

2011-07-03 Thread Kostya Vasilyev
The way it's supposed to work, according to the documentation, is: - An ACTION_SEND with an EXTRA_STREAM holding a content:// Uri as a parcelable. - An ACTION_SEND_MULTIPLE with EXTRA_STREAM holding multiple content:// Uris as an array of parcelables. You also may want to check the sources

[android-developers] Re: Force hdpi drawables on mdpi-xlarge devices

2011-07-03 Thread nadam
Just tested this on my Motorola XOOM with Android 3.0.1 and it is using the icon.png from res/drawable-hdpi even though the device is mdpi. On 3 Juli, 10:05, Federico Carnales fedecarna...@gmail.com wrote: On May 23, 7:49 pm, Dianne Hackborn hack...@android.com wrote: Don't force the Xoom to

[android-developers] Re: Modify listview item child views with adapter and getview()

2011-07-03 Thread NikolaMKD
Solved it like this: listView.setOnItemClickListener(new OnItemClickListener(){ @Override public void onItemClick(AdapterView? parent, View viewItem, int position, long arg3) throws NullPointerException{ new UI(parent.getChildAt(position)).execute(null);

[android-developers] Installing APK + DB

2011-07-03 Thread hectordu...@yahoo.com
hi guys, I am trying to install my first ;-( Android application into a Samsung tab phone device but it does not start; i wonder if i am missig something in the process: 1- Appl needs a pre-existing sqlite database, which i have installed (eclipse+DDS+pull) into my development environment ... so,

Re: [android-developers] Installing APK + DB

2011-07-03 Thread Mark Murphy
On Sun, Jul 3, 2011 at 6:43 PM, hectordu...@yahoo.com hectordu...@yahoo.com wrote: I am trying to install my first ;-( Android application into a Samsung tab phone device but it does not start; i wonder if i am missig something in the process: 1- Appl needs a pre-existing sqlite database,

[android-developers] More Market questions

2011-07-03 Thread rich friedel
I haven't usually experienced some of the weirdness that others here have talked about until recently. My stats have been going crazy for the past week. Sometimes they're up 5% sometimes (within hours) they're down 8% (the original 5% uptick and then -3% more) My guess is that they're upgrading

[android-developers] Re: Help in writing a graphical/game app

2011-07-03 Thread rich friedel
I would also recommend looking into Andengine and/or libgdx. Both very good game framework/engine. -- 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

[android-developers] Re: Installing APK + DB

2011-07-03 Thread hectordu...@yahoo.com
Mark, yes, i agree, the process is not right ... may you share with me a link which help me including my database into the apk file ? thanks in advance. On 3 jul, 17:59, Mark Murphy mmur...@commonsware.com wrote: On Sun, Jul 3, 2011 at 6:43 PM, hectordu...@yahoo.com hectordu...@yahoo.com

[android-developers] Re: Installing APK + DB

2011-07-03 Thread NikolaMKD
Save it as resource in raw folder, load it as resource then try to copy it into app path. It does not need to be inside /databases folder. It can be anywhere (SDcard not recommended) Thats how you ship external SQLiteDatabase. Google it how to ship external sqlite database android, there is sample

[android-developers] Re: Installing APK + DB

2011-07-03 Thread hectordu...@yahoo.com
there is something i don't understand ... if the application works fine into the emulator: --- does not mean that it will work into de real device ? --- does not mean that the apk file is complete ... including the database ? --- directory: data/data/MYAPPL/databases is or not the right place for

[android-developers] Re: Is it possible to fix the orientation of a particular view in Honeycomb?

2011-07-03 Thread Neil
Thanks Zsolt for your reply. But I do no actually understand because it seems we are solving different problems. So in your solution, if I rotate the device, will A be rotated? If it's, then this does not work for me. On Jul 1, 10:45 am, Zsolt Vasvari zvasv...@gmail.com wrote: Yes.  I do this

Re: [android-developers] Re: Force hdpi drawables on mdpi-xlarge devices

2011-07-03 Thread Dianne Hackborn
Yes as I said this is some initial work on doing mipmaps, and oh hey look at that if you are doing a mipmap there is a larger bitmap there that can be used if you want a larger size image. On Sun, Jul 3, 2011 at 2:16 PM, nadam a...@anyro.se wrote: Just tested this on my Motorola XOOM with

[android-developers] can I use debit card for android market

2011-07-03 Thread pramod.deore
Hi, I want to upload application in android market. Can I use debit card to pay 125$? Thanks in advance. -- 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

[android-developers] Re: Virtual keyboard moves the image upwards

2011-07-03 Thread Sudeep Sharma
Hello, I think i myself found the solution. using android:windowSoftInputMode=stateAlwaysHidden|adjustResize fixes the issue. adjustPan was also one alternative but its not behaving consistently. Also i read the below post from Dianne Hackborn regarding adjustPan:-

[android-developers] 2.3.4

2011-07-03 Thread spurwa
How to get API Level 2.3.4 ? Cause when i try to update my SDK with API Level 2.3.4 it's no exist in update proses...only 2.3.3 and then 3.0 and 3.1..? Any Suggest?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] help for audio sensor?

2011-07-03 Thread Hitendrasinh Gohil
any help pls? On Sat, Jul 2, 2011 at 2:18 AM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: Hi, I am able to record audio.But i want to do that when there is some voice or noise mediarecorder start recording automatically on basis of voice and when there is silence it stops

[android-developers] start binded service from broadcast receiver

2011-07-03 Thread kampy
hi , I am using AIDL , in that i am binding a service which sends messages to the phone numbers if the sim is changed . i need to start this service as soon as the phone switches on . but i am getting a exception java.lang.RuntimeException: Unable to start receiver