[android-developers] How to load custom dls or soundfonts to android midi

2011-02-26 Thread elik
I have an application that plays midi files thought the sonivox eas library. Is it possible to load my own dls or soundfonts wavetables into the player and have the library use this sounds for midi playback? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Check permissions

2011-02-26 Thread Kevin TeslaCoil Software
What the others have said is true, but if you want to check the permissions you can with the PackageManager's checkPermission http://developer.android.com/reference/android/content/pm/PackageManager.html#checkPermission(java.lang.String, java.lang.String) On Feb 26, 1:40 am, Miguel Morales

[android-developers] Re: problem in installing android sdk in proxy network

2011-02-26 Thread Tom Cowan
I has the same problem, you need to setup your own proxy server on your box. I can't remember which proxy server I got but there are a few. You then set the proxy on your box to point at the actual proxy server on your network(including username and password). Then set the sdk to point at the

Re: [android-developers] listview checkbox recycle issue

2011-02-26 Thread Kostya Vasilyev
ViewHolder is not a good place to store data state - as you are doing. A ViewHolder is not associated with the data item, it's associated with the item layout, and when recycling happens, the view holder is also affected. You need to store selection state in MyObject, so it's completely

[android-developers] Proxy to open blocked sites

2011-02-26 Thread Ahmed Ragab
Proxy to open blocked sites http://ppropx.4mtm.net OR http://pronet.4mtm.net -- 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

Re: [android-developers] Re: Change Keyboard Key label at runtime

2011-02-26 Thread trans
That's exactly what I did (though it took me considerably longer as I am very new to Java and Android). I only asked the question b/c that's where I was at in the process when I followed up to my original question. And I hadn't had a whole lot of immediate success in finding answers up until

Re: [android-developers] Re: SDcard mount point in portable way?

2011-02-26 Thread Mark Murphy
On Fri, Feb 25, 2011 at 9:32 PM, Dmitry Golubovsky golubov...@gmail.com wrote: So, on a compilant device getExternalStorageDirectory would return a real sdcard mountpoint? There is no such concept as a real sdcard mountpoint in Android. getExternalStorageDirectory(), on a properly-written ROM,

Re: [android-developers] EditText behaving weirdly

2011-02-26 Thread Richard Marsh
Which code wold you like to see? -- 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 email to

[android-developers] Re: GOOGLE TO BAN PAYPAL?!

2011-02-26 Thread JAlexoid (Aleksandr Panzin)
I would say it's not only the 30%, but the fact that Google is too slow in implementing app sales globally. I am not aware how hard it is to do it globally, but it is not hard to implement app sales within Europe.(I've actually had a lot of informal discussion with the best accounting lawyers and

[android-developers] Re: what does this code segment do in weatherwidgetprovider: intent.setData(Uri.parse(sameintent.toUri()))

2011-02-26 Thread Satya Komatineni
Ok I get it this is to do with (I think) how two *innocent* intents could be deemed the same even if they are different owing to their *extras. The uniqueness of intents when dealing with pending intents does not take into account the EXTRAS but it does take into account the data portion.

[android-developers] TableLayout issue

2011-02-26 Thread rael_yoni
I'm wrestling with the Android UI to try to create a table layout that has 2 rows each row containing 2 ImageSwitchers, And would like the table to occupies the entire screen. But I simply can not accomplish it, sometimes the emulator shows 1 ImageSwitcher that is aligned to the right of the

[android-developers] Re: Simple Search App -- Help Required

2011-02-26 Thread Arun N R
Brilliant Idea. Thanks for the suggestion. Will get back if I have more queries! On Feb 26, 4:36 am, Justin Anderson magouyaw...@gmail.com wrote: Have the constructor in your adapter class read the file and place the names in an array... On Fri, Feb 25, 2011 at 2:14 AM, Arun N R

[android-developers] Re: Check permissions

2011-02-26 Thread b_t
I know how permissions work. I'm thinking about creating two apk-s with different manifest, different required permissions. I don't want the source code to be changed. That is why I would like to check permission realtime. Kevin, so can I use that method in this way?

[android-developers] Re: Check permissions

2011-02-26 Thread b_t
I don't know what would be a good solution for this problem. The problem is that half of the users would like the new features that required personal permissions (read sms, get accounts, ...) and the other half of the users would uninstall or not to update the app because they afraid for their

[android-developers] Re: listview checkbox recycle issue

2011-02-26 Thread Wall-E
Kostya, thanks for your help. I believe I am doing what you suggest but if not let me know: I am setting the data item inside my getView in my OnCheckChangedListener, for example: MyObject.plot = isChecked;// so the plot variable holds the checked state Now when I set the checkbox

Re: [android-developers] Re: Check permissions

2011-02-26 Thread rich friedel
I think if you are honest up front and make it very clear in the description that you are adding these new permissions you should not have many issues. If you try to do anything that is perceived as shady then your app will be called out as such. On Sat, Feb 26, 2011 at 9:50 AM, b_t

Re: [android-developers] Re: GOOGLE TO BAN PAYPAL?!

2011-02-26 Thread rich friedel
So then how does all of this apply to you? According to what you just said your application isn't even being sold on the market thus you need not worry about it being removed for going through a third-party vendor or accepting payment without including Google in the process. On Sat, Feb 26, 2011

Re: [android-developers] Re: Check permissions

2011-02-26 Thread Kostya Vasilyev
BTW, I've seen apps in Market that explain (in the now-much-extended description field) why they need the permissions they do, one by one. Not sure if that can address potential doubts of each and every user (there are some paranoid types out there), but it certainly creates a good

Re: [android-developers] Re: listview checkbox recycle issue

2011-02-26 Thread Kostya Vasilyev
Ah, yes, you are. Sorry, I missed that tag is a reference to your data object item. Now I can't see anything obviously wrong with the code you posted. In fact, I have code almost like this, including ViewHolder-type helper classes right in front of me, and it works. I have two suggestions

Re: [android-developers] How to i adjust the width of an imageview in the java code

2011-02-26 Thread brian purgert
Yeah i tried that yesterday and it dident work, but it was because my width was to short to begin width, so if your image starts out small you go with setminwidth If your image starts out wide you go with setmaxwidth On Feb 26, 2011 2:44 AM, Miguel Morales therevolti...@gmail.com wrote: Have you

Re: [android-developers] Launching an app from the quick search box creates a new instance of the app?

2011-02-26 Thread Sureshkumar M
Hi, Set your Activity Launch mode to singleTask. On Fri, Feb 25, 2011 at 11:53 AM, ZEAN QIN qinz...@gmail.com wrote: When my application is running, I can click the HOME button to send the app to the background. Then I can get back to the application by using one of the 4 ways:     1. click

[android-developers] Re: listview checkbox recycle issue

2011-02-26 Thread Wall-E
Thanks I'll try your suggestions. On Feb 26, 10:38 am, Kostya Vasilyev kmans...@gmail.com wrote: Ah, yes, you are. Sorry, I missed that tag is a reference to your data object item. Now I can't see anything obviously wrong with the code you posted. In fact, I have code almost like this,

[android-developers] Re: listview checkbox recycle issue

2011-02-26 Thread Wall-E
Thanks I'll try your suggestions. On Feb 26, 10:38 am, Kostya Vasilyev kmans...@gmail.com wrote: Ah, yes, you are. Sorry, I missed that tag is a reference to your data object item. Now I can't see anything obviously wrong with the code you posted. In fact, I have code almost like this,

[android-developers] Re: WSDL Classes generation

2011-02-26 Thread Rainbowbreeze
Is there any tool that generates java classes from a WSDL file? i used axis2 to perform this task in the past (from command line) http://axis.apache.org/axis2/java/core/ and ksoap2-android for android-side support of SOAP webservices -- .enjoy. Alfredo home: http://www.rainbowbreeze.it --

[android-developers] Re: who prevails with audio in simultaneous cell phone and VOIP calls?

2011-02-26 Thread longingtoadopt.com
bump On Feb 24, 10:27 am, longingtoadopt.com anil.r...@gmail.com wrote: I asked a co-worker to make a Linphone VOIP call to me and while the call was in progress, I made a regular cell phone call to my wife. I was able to hear their voices simultaneously. This was surprising. When I play an

[android-developers] Re: noob question I guess - input requires enter key

2011-02-26 Thread Russell DuRoss
I too have this same issue and would appreciate some help. So far, I have just been ignoring the problem because it doesn't happen on actual Android devices. I tried searching the Eclipse Help for things mentioned by TreKing but came up empty. On Feb 24, 7:21 am, Duskox dus...@gmail.com wrote:

Re: [android-developers] Re: noob question I guess - input requires enter key

2011-02-26 Thread Harsh J
On Sat, Feb 26, 2011 at 10:33 PM, Russell DuRoss r2s...@gmail.com wrote: I too have this same issue and would appreciate some help.  So far, I have just been ignoring the problem because it doesn't happen on actual Android devices.  I tried searching the Eclipse Help for things mentioned by

[android-developers] Re: Adobe Air for Andoid App - Trouble Bringing App to Foreground (actionscript 3)

2011-02-26 Thread RJM
It turns out that my error was a null error because AIR doesn't support stage.nativeWindow on mobile devices. Through all my searching I'm no closer to finding a way to bring the app the the foreground, any suggestions? On Feb 25, 5:31 am, TreKing treking...@gmail.com wrote: On Thu, Feb 24,

[android-developers] problem in installing android sdk in proxy network

2011-02-26 Thread sourabh gupta
hey guys I am a beginner in android development. I have been trying to install android sdk since last 10 days. I use a campus internet which ask proxy domain name and password In starter kit of android of android there are option for domain name and port no but not for username and password. I

[android-developers] http pipelining

2011-02-26 Thread blackbelt
does somebody know a library with the http pipelining support ? thanks. -- 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 email to

Re: [android-developers] Re: noob question I guess - input requires enter key

2011-02-26 Thread rich friedel
Go to MenuSettingsLanguage and Keyboard Settings and disable everything except Android Keyboard On Sat, Feb 26, 2011 at 12:09 PM, Harsh J qwertyman...@gmail.com wrote: On Sat, Feb 26, 2011 at 10:33 PM, Russell DuRoss r2s...@gmail.com wrote: I too have this same issue and would appreciate some

Re: [android-developers] Controlling Android init process / staged boot

2011-02-26 Thread TreKing
On Fri, Feb 25, 2011 at 5:28 AM, ale ale.noval...@googlemail.com wrote: Any help on that subject is very much appreciated. I think you're in the wrong group. Try the platform group if you're mucking with the source code.

[android-developers] intents or activities run during app install/uninstall like rpm %post/%postun?

2011-02-26 Thread tedx
RPM lets you specify scripts that can be run at different phases of the install/unstall process. Is there any equivalent for Android apps? I'd like to do things like create and populate a DB for instance. Ted -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] intents or activities run during app install/uninstall like rpm %post/%postun?

2011-02-26 Thread Mark Murphy
On Sat, Feb 26, 2011 at 1:14 PM, tedx txt...@gmail.com wrote: RPM lets you specify scripts that can be run at different phases of the install/unstall process. Is there any equivalent for Android apps? I'd like to do things like create and populate a DB for instance.

[android-developers] Bitmap Question

2011-02-26 Thread Scott Deutsch
Hello Group, I was wondering how do you scale a bitmap to look good on any screen size (Using surfaceview and canvas). I already know the canvas width and canvas height. So, what would the calculation be? Example lets say I have a picture that is 100x100 and the phone size is 1920x1200 (just

[android-developers] bitmap drawable resource gravity ignored in layer list?

2011-02-26 Thread nkijak
I'm trying to build a seek bar with text in/under it to make something akin to the slide to unlock bar on the iPhone. I figured I'd change the style of the seek bar and added: layer-list ... item android:id=@android:id/background layer-list item

[android-developers] Re: Check permissions

2011-02-26 Thread b_t
There are users who don't read the app description nor the comments. They don't write an email to ask just write a bad comment. So explaining it doesn't help because they don't read. I always try to answer comments but the next comments keep asking the same questions. So I'm not satisfied with

[android-developers] [Monkeyrunner]: How to simulate short press on power button

2011-02-26 Thread aniruddha dhamal
Hello guys, Any help on how to simulate short key press on Power button using MonkeyRunner? I am using the following code but to no avail device.press('KEYCODE_POWER','DOWN') Really appreciate!!! -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Out of memory - despite being way under 16mb

2011-02-26 Thread lbendlin
I have an even more frustrating version of that bug. We use a mapview that supports rotation and thus is slightly larger than the screen area. When users zoom in a few times they can very easily cause the OOM condition. I have no control over the way the Google Maps API works, do I? By the

[android-developers] Re: Bitmap Question

2011-02-26 Thread Scott Deutsch
Ok, so I figured out how to resize bitmaps, but now I am trying to figuare out how to resize a Media (which plays a gif...unless there is a better way to play gifs?). For those looking on how to resize a bitmap do the following: 1. get the width and height of screen/view. 2. set a ratioWidth var

[android-developers] Re: Android 2.3: Music content providers for artists, albums and songs

2011-02-26 Thread Daniel
Well I don't think so. It was really cool to build apps like a mesh up of activities others implemented. I know a lot of developers who used exactly this intents and this change really killed all of them. Only Google apps like Search are still able to use these intents. This is not what I expect

Re: [android-developers] Re: Check permissions

2011-02-26 Thread rich friedel
BTW, I've seen apps in Market that explain (in the now-much-extended description field) why they need the permissions they do, one by one. Not sure if that can address potential doubts of each and every user (there are some paranoid types out there), but it certainly creates a good

[android-developers] Re: Android 2.3: Music content providers for artists, albums and songs

2011-02-26 Thread Daniel
Btw, the problem is not that something was changed (yes I know it was not documented). But the platform lost some of its openness for 3rd party developers. On 26 Feb., 21:26, Daniel daniel.himmel...@googlemail.com wrote: Well I don't think so. It was really cool to build apps like a mesh up of

Re: [android-developers] Re: Check permissions

2011-02-26 Thread Kostya Vasilyev
I do have a suggestion for you - you could implement additional functionality as an add-on, a companion application. Android has features that make it pretty easy to implement (shared user ids, intents, services, being able to query installed packages and intent resolution). Some applications

[android-developers] LVL and new SDKs

2011-02-26 Thread jtoolsdev
I finally downloaded the 2.3.3 and 3.0 SDKs and like 2.3 LVL does not work with the emulators. Anyone else seeing this? A number of people reported seeing it with 2.3 and I've never seen a resolution to the problem. Is there something extra we have to do for these platforms? Kinda makes it

Re: [android-developers] Re: Android 2.3: Music content providers for artists, albums and songs

2011-02-26 Thread Dianne Hackborn
The music app is an implementation detail; I don't do the app, but I assume this was done because people shouldn't be relying on the implementation detail of it being implemented as separate activities. The media provider is still in the SDK, and is the same thing the media application uses for

Re: [android-developers] Re: Android 2.3: Music content providers for artists, albums and songs

2011-02-26 Thread Dianne Hackborn
Oh also, the media app still does support the proper way to have it pick a music track for you, through GET_CONTENT if audio/*. On Sat, Feb 26, 2011 at 1:09 PM, Dianne Hackborn hack...@android.comwrote: The music app is an implementation detail; I don't do the app, but I assume this was done

Re: [android-developers] Re: Check permissions

2011-02-26 Thread Dianne Hackborn
Yes a help application works well. Just be sure that if you do such a thing it is in a secure way -- for example if this is structured as a Service that your main application binds to in order to have it do stuff with SMS messages, declare a signature permission in the help that restricts access

[android-developers] Re: LVL and new SDKs

2011-02-26 Thread mp6800
Yeah the problem still seems to exist. Thankfully it's only in the emulator though, at least for 2.3.3 (I'm testing on a Nexus One and it works properly). Can anybody vouch for 3.0? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: GOOGLE TO BAN PAYPAL?!

2011-02-26 Thread Dianne Hackborn
On Fri, Feb 25, 2011 at 10:24 PM, HeyYouThere newsome...@gmail.com wrote: Thanks everyone for taking the time to try and help me with this. It's an absolute shame we have NO OFFICIAL SUPPORT to direct these questions toward. Have you tried going to the Market support forum?

[android-developers] Re: Android 2.3: Music content providers for artists, albums and songs

2011-02-26 Thread Daniel
Hello Dianne, ah ok, I will try the GET_CONTENT with audio/*. But can I also use it for artists and albums? And yes ok, I can copy the code of your activities (I will try this out now). But I would really appreciate to eat Google's dogfood here and don't want to invent the wheel again by myself.

[android-developers] CountDownTimer + updating textview and imageview

2011-02-26 Thread brian purgert
My Goal: display time in second on the screen and display battery (in my game) left. (its a time limit) My problem: the battery is only updating at certain times (like when I click open or close my in game menu, which just takes a layout and makes it visible and then invisible) My Second problem:

Re: [android-developers] CountDownTimer + updating textview and imageview

2011-02-26 Thread J Handal
Brian Running a counter can not be in the UI (main thread),try this: http://developer.android.com/reference/android/os/CountDownTimer.html http://developer.android.com/reference/android/os/CountDownTimer.html Let me know how it's going. -- You received this message because you are

[android-developers] Re: Android 2.3: Music content providers for artists, albums and songs

2011-02-26 Thread gizmomogwai
Another observation, which could be a bug in the package manager: I have also a small life-wallpaper (the infamous discomagic) which starts a musicplayer with the intent: Intent intent = new Intent(Intent.ACTION_PICK); intent.setDataAndType(Uri.EMPTY, vnd.android.cursor.dir/track);

Re: [android-developers] Re: Android 2.3: Music content providers for artists, albums and songs

2011-02-26 Thread Dianne Hackborn
On Sat, Feb 26, 2011 at 3:05 PM, gizmomogwai christian.koest...@gmail.comwrote: Intent intent = new Intent(Intent.ACTION_PICK); intent.setDataAndType(Uri.EMPTY, vnd.android.cursor.dir/track); That is a bogus Intent. The definition for the PICK intent is that the data URI is the location of

Re: [android-developers] Re: Android 2.3: Music content providers for artists, albums and songs

2011-02-26 Thread Dianne Hackborn
At the end of the day, these are not documented in the SDK, the music app is something vendors tend to replace and customize, and trying to use these things in it is very likely to cause you problems across devices as they don't behave the same (at all) as what you are assuming. On Sat, Feb 26,

Re: [android-developers] bitmap drawable resource gravity ignored in layer list?

2011-02-26 Thread Dianne Hackborn
The seek bar is not a slide to unlock UI. Honestly, write your own custom view for this. On Sat, Feb 26, 2011 at 10:38 AM, nkijak nki...@gmail.com wrote: I'm trying to build a seek bar with text in/under it to make something akin to the slide to unlock bar on the iPhone. I figured I'd

Re: [android-developers] Re: SDcard mount point in portable way?

2011-02-26 Thread Dianne Hackborn
On Fri, Feb 25, 2011 at 8:31 PM, Dimitry Golubovsky golubov...@gmail.comwrote: I am not worried about Market at all. I am worried about the portable way to tell my program where is the sdcard root directory is mounted because part of the usage scenario is user being able to upload certain

Re: [android-developers] CountDownTimer + updating textview and imageview

2011-02-26 Thread brian purgert
The thing I'm confused about is where do I put this and how to i set it up TextView mTime = (TextView) findViewById(R.id.TextView06); so that this works mTime.setText(timeleft); in the counter On Sat, Feb 26, 2011 at 5:40 PM, J Handal jhand...@gmail.com wrote: Brian Running a counter can

Re: [android-developers] CountDownTimer + updating textview and imageview

2011-02-26 Thread brian purgert
*WOW* *lol* *All I Had to do was change *TextView mTime = (TextView) findViewById(R.id.TextView06); to mTime = (TextView) findViewById(R.id.TextView06); lol you cant declare something twice On Sat, Feb 26, 2011 at 6:46 PM, brian purgert brianpurge...@gmail.comwrote: The thing I'm

Re: [android-developers] Focus is not coming on list in slidingDrawer

2011-02-26 Thread TreKing
On Fri, Feb 25, 2011 at 7:58 AM, Manish Garg mannishga...@gmail.com wrote: now focus is on my child activity when I am clicking on slidingDrawer, it is getting opened but focus is not coming on the list That's not really surprising. If you need focus on the ListView in the sliding drawer,

[android-developers] [Monkeyrunner]: How to simulate short press on power button

2011-02-26 Thread Andya
Hello guys, Any help on how to simulate short key press on Power button using MonkeyRunner? I am using the following code but to no avail device.press('KEYCODE_POWER','DOWN') Really appreciate!!! -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Using Facebook API in Android

2011-02-26 Thread Indicator Veritatis
That may be what you wanted to do, and the desire is justifiable, but the way you went about it is not. What you need even more desperately than info about using the API is http://www.catb.org/~esr/faqs/smart-questions.html On Feb 25, 2:30 pm, mohammad arif mohammad.arif.f...@gmail.com wrote:

[android-developers] Re: Storing Date and Time in SQLite

2011-02-26 Thread Indicator Veritatis
But if you have already seen the link, then you should be able to figure it out on your own. Asking for the exact code sounds too much like asking for us to do your homework for you. That is NOT why we are here. Again, as I have mentioned to so many, see

[android-developers] Re: SDcard mount point in portable way?

2011-02-26 Thread Indicator Veritatis
What does this API do on a phone that has two SD cards? Does it just pick only one of them? Or do all such devices fail CDD and so are not on the Google Android Market? On Feb 26, 3:41 pm, Dianne Hackborn hack...@android.com wrote: On Fri, Feb 25, 2011 at 8:31 PM, Dimitry Golubovsky

Re: [android-developers] Do existing scheduled items on the AlarmManager get cancelled after an application update from the Marketplace?

2011-02-26 Thread TreKing
On Fri, Feb 25, 2011 at 11:07 AM, Matt Quigley matthew.quig...@gmail.comwrote: If an application update is available, and the user updates the application at 10 AM through the Marketplace app, does that update remove all scheduled events from the AlarmManager? Or will the service still start

Re: [android-developers] Re: SDcard mount point in portable way?

2011-02-26 Thread Dianne Hackborn
It returns the main partition, that you can count on being populated; for a device with a built-in USB mass storage and an external SD card it will return the built-in one. Android does not yet define the behavior for dealing with multiple SD cards. Devices that use that configuration are

Re: [android-developers] Multiple TextViews vs Spannable

2011-02-26 Thread TreKing
On Fri, Feb 25, 2011 at 7:01 AM, Andre int...@gmail.com wrote: 1) Create 3 separate TextView's, each with it's own static style 2) One TextView then using Spannable to apply styles to those lines dynamically I don't know and if no one has an answer for you, it shouldn't be too hard to try

[android-developers] Re: bitmap drawable resource gravity ignored in layer list?

2011-02-26 Thread nkijak
I was going to go that route but SeekBar does 99% of what I need. You guys did most of the work, keeping the moving part horizontally stable, animations, etc. I literally had to add 6 lines of code to get what I needed logically and then add some style. I should have made the question clearer.

Re: [android-developers] Re:installation

2011-02-26 Thread TreKing
On Fri, Feb 25, 2011 at 3:02 AM, prasad seemakurthi prasad.seemakur...@gmail.com wrote: But when I try to install the ADT plugin I am getting an error Posting what the error is usually helps. -

Re: [android-developers] TableLayout issue

2011-02-26 Thread TreKing
On Sat, Feb 26, 2011 at 8:11 AM, rael_yoni yoni.stoff...@gmail.com wrote: any ideas are welcome... thanks. Ideas: Give you rows width=fill_parent. Give each of your ImageSwitchers weight=1. Theoretically this would make your rows fill the width of the screen and the switcher each take up equal

Re: [android-developers] Launching an app from the quick search box creates a new instance of the app?

2011-02-26 Thread TreKing
On Fri, Feb 25, 2011 at 12:23 AM, ZEAN QIN qinz...@gmail.com wrote: While the 4th way seems to create a new instance of my app and crashes my app. If the fourth way crashes your app, why not figure out why your app is crashing instead of masking the problem by preventing it from being

[android-developers] Re: bitmap drawable resource gravity ignored in layer list?

2011-02-26 Thread Zsolt Vasvari
So is it expected that the gravity attribute be ignored or do I need to specify something elsewhere to not have the images repeating? It should work as gravity is a documented attribute for a BitmapDrawable. Maybe it's time to dwelve into the source code and see if it is actually does

[android-developers] Re: Multiple TextViews vs Spannable

2011-02-26 Thread Zsolt Vasvari
My guess, all else being equal, is that a View is a much heavier object than a Spannable. But which one is better is impossible to say because it requires to know what you want for and how you want to use the text lines for. On Feb 25, 9:01 pm, Andre int...@gmail.com wrote: Let's say you have

[android-developers] Detecting Package Update

2011-02-26 Thread Jake Colman
How can a package determine that it has been updated and that it, therefore, must stop and restart itself? Specifically, if my appwidget is installed on the homescreen and the user downloads a new version, I have to make sure that the widget is uninstalled and reinstalled so that it executes the

Re: [android-developers] Re: GOOGLE TO BAN PAYPAL?!

2011-02-26 Thread TreKing
On Sat, Feb 26, 2011 at 3:27 PM, Dianne Hackborn hack...@android.comwrote: Have you tried going to the Market support forum? http://www.google.com/support/forum/p/Android+Market/label?lid=7dc8a5c590cd22eehl=en There are people from Market support answering questions there. LOL -

[android-developers] Preventing Multiple AppWidget Instances

2011-02-26 Thread Jake Colman
Is there a way to prevent multiple instances of an appwidget from being installed on the home screen? I do not do any special handling, nor is it intended, for there to multiple instances. Therefore, I should probably prevent it or at least warn about it. Is this possible? -- Jake Colman --

[android-developers] (Newbie warning) Adding one of the sample projects to Eclipse

2011-02-26 Thread Ryan S
Hey! I am learning Android development via a book and one of the exercises it mentions is to Add to your Eclipse workspace one of the Android sample projects provided with the Android SDK. Browse through the project files and then create a run configuration and launch the sample application in

Re: [android-developers] (Newbie warning) Adding one of the sample projects to Eclipse

2011-02-26 Thread TreKing
On Sat, Feb 26, 2011 at 9:09 PM, Ryan S music...@gmail.com wrote: I'm confused as to how to do this Which part? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit

Re: [android-developers] (Newbie warning) Adding one of the sample projects to Eclipse

2011-02-26 Thread Ryan S
I did not elaborate because pretty much the whole thing. I mean I click on File-import-General-Existing projects into workspace-next, browsed to C:\Program Files (x86)\Android\android-sdk\samples\android-11 and clicked ok... but then it says no projects were found to import :( Confused... On

Re: [android-developers] (Newbie warning) Adding one of the sample projects to Eclipse

2011-02-26 Thread Justin Giles
You need to go one more directory further and select one of the sample project directories, such as Snake. On Sat, Feb 26, 2011 at 9:23 PM, Ryan S music...@gmail.com wrote: I did not elaborate because pretty much the whole thing. I mean I click on File-import-General-Existing projects into

[android-developers] Playing music in Background

2011-02-26 Thread Ankur Avlani
Hi, I have developed an application in Android using Webview. Now i want to play a music in background. The Mp3 file will come from a URL dynamically. Any pointers would be helpful. I tried to search online but couldnt find much help. Thanks and regards, Ankur -- You received this message

Re: [android-developers] (Newbie warning) Adding one of the sample projects to Eclipse

2011-02-26 Thread Ryan S
Ok, went one further to: C:\Program Files (x86)\Android\android-sdk\samples\android-11\Snake Still same message :( No projects were found to import On Sun, Feb 27, 2011 at 5:25 AM, Justin Giles jtgi...@gmail.com wrote: You need to go one more directory further and select one of the sample

[android-developers] Re: GOOGLE TO BAN PAYPAL?!

2011-02-26 Thread Zsolt Vasvari
+100 The fact that Google takes 30% of sales, which, for my app, is well into 5 digits/yr and you cannot get any kind of support, is despicable. I cannot think of another enterprise that earns that much money from you and won't support you. Hopefully, when the Amazon Market goes up and

Re: [android-developers] (Newbie warning) Adding one of the sample projects to Eclipse

2011-02-26 Thread TreKing
On Sat, Feb 26, 2011 at 9:30 PM, Ryan S music...@gmail.com wrote: Ok, went one further to: C:\Program Files (x86)\Android\android-sdk\samples\android-11\Snake Still same message :( No projects were found to import File - New - Project - Android Project - Create Project From Existing

Re: [android-developers] (Newbie warning) Adding one of the sample projects to Eclipse

2011-02-26 Thread Ryan S
Ah! That worked! Thanks! If my questions are too much of newbie questions for this group (it feels like it is) can anybody suggest a forum for total newbs like me to get basic answers to my questions? Thanks! Ryan On Sun, Feb 27, 2011 at 5:52 AM, TreKing treking...@gmail.com wrote: On Sat,

[android-developers] Re: GOOGLE TO BAN PAYPAL?!

2011-02-26 Thread Kevin TeslaCoil Software
I cannot think of another enterprise that earns that much money from you and won't support you. It's especially funny (? not the right word for it) when compared to our users. We write apps that the user pays $1 or $2 for and then demands customer support and updates for the rest of their

Re: [android-developers] Re: GOOGLE TO BAN PAYPAL?!

2011-02-26 Thread Ryan S
For someone like me just starting on chapter 3 of a Learn Android book this has been a very educational, enlightening... and frightening thread :( The reason I came into Android is because I have a background in Java and didn't want to get stuck with Apple's iron first crap (CrApple) Looks like

[android-developers] Math question

2011-02-26 Thread Scott Deutsch
Hello Group, I have a couple of questions. 1. Lets say I calculate a circle say 14 points in a circle. I have an object following those points for so many times for an animation. Now, since there are different screen sizes, The speed of following those points will vary on each mobile device.

Re: [android-developers] Re: Android 2.3: Music content providers for artists, albums and songs

2011-02-26 Thread gizmomogwai
Ok ... I understand, that this Intent is not supposed to use that way. My actual question now is, why the behavior of the system changes depending of the installed or not installed MixZing-App. Case 1 (no MixZing): - startActivity leads to an securityexception Case 2 (with MixZing installed): -

[android-developers] Re: Math question

2011-02-26 Thread yottzumm
Try polar coordinates. Go an angular distance theta in a given amount of time. -- 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: Math question

2011-02-26 Thread Scott Deutsch
I know that v = 2piR/T. How would polar coord work? -- 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 email to

[android-developers] how to show JSON data into list view

2011-02-26 Thread mohammad arif
I am bringing mysql data from mysql database using JSON and Putting data into JSONArray. Now i have ListView in my Main.xml. I am facing problems in mapping this JSONArray data to the ListView. *Here is my Sample Code* for (int i=0;iJSONArray.length();i++) { String

Re: [android-developers] EditText behaving weirdly

2011-02-26 Thread Rajesh Kumar
May be You r using setText(). Cursor will come to begining position. On Sat, Feb 26, 2011 at 5:58 PM, Richard Marsh richardandrewma...@gmail.com wrote: Which code wold you like to see? -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Tabbed View

2011-02-26 Thread Rajesh Kumar
I need code or GUI Images to Understand ur problem. On Sat, Feb 26, 2011 at 1:58 AM, TreKing treking...@gmail.com wrote: On Thu, Feb 24, 2011 at 7:16 AM, David Williams dwilli...@dtw-consulting.com wrote: Can anyone provide any help on this? I'd really appreciate it. I've not used

Re: [android-developers] ListView/ExpandableListView Imageview flicking

2011-02-26 Thread Rajesh Kumar
Rather than Base Adapter use ArrayAdapter.NotifyDataSetChanged will call for all views which are currently Visible.Try to invalidate layout.I hope it will work. On Sat, Feb 26, 2011 at 6:31 AM, Justin Anderson magouyaw...@gmail.comwrote: We can help better if you post your code... On Feb 24,

Re: [android-developers] Re: Android 2.3: Music content providers for artists, albums and songs

2011-02-26 Thread Dianne Hackborn
It is a bug that the activity choose allows activities to be launched from itself instead of the original caller. This will be fixed in a future release. On Sat, Feb 26, 2011 at 10:11 PM, gizmomogwai christian.koest...@gmail.comwrote: Ok ... I understand, that this Intent is not supposed to

[android-developers] Re: GOOGLE TO BAN PAYPAL?!

2011-02-26 Thread John Loschky
The Single-Click Checkout app is used by many developers today. If Google has an issue with credit card transactions (or third party) then expect them to reject/eliminate applications from the follow merchants: Amazon, Best Buy, Macys, Borders, Barnes and Noble, etc... Why haven't they?

[android-developers] Installing on SD card for Honeycomb

2011-02-26 Thread Arron
It looks like for honeycomb, there are new groupings on how items are stored? Like in the settings page, I see media and apps being grouped separately. Are there any information about this? It also appears that SD card support isn't available yet but will be added. Will installing apps on SD

Re: [android-developers] EditText behaving weirdly

2011-02-26 Thread Justin Anderson
The code relevant to the problem... That way we might be able to see what is causing the behavior On Feb 27, 2011 12:08 AM, Rajesh Kumar rajnitj.g...@gmail.com wrote: May be You r using setText(). Cursor will come to begining position. On Sat, Feb 26, 2011 at 5:58 PM, Richard Marsh

  1   2   >