[android-developers] Re: Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread John
On Mar 22, 2:51 pm, Justin Anderson magouyaw...@gmail.com wrote: How many times does it take to crash if you skip rotating the phone 30 times while displaying the bitmap? I'm not sure I understand the question? If I don't rotate the phone, it doesn't run out of memory. It also appears to not

Re: [android-developers] Re: Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread Miguel Morales
Are you holding on to the dialog reference? That's probably it. On Tue, Mar 22, 2011 at 2:03 PM, John jo-d...@hotmail.com wrote: On Mar 22, 2:51 pm, Justin Anderson magouyaw...@gmail.com wrote: How many times does it take to crash if you skip rotating the phone 30 times while displaying

[android-developers] Re: Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread John
On Mar 22, 3:05 pm, Miguel Morales therevolti...@gmail.com wrote: Are you holding on to the dialog reference?  That's probably it. I don't think so. I am using onCreateDialog. The code is below. My understanding is that Anroid itself is supposed to handle the memory management for me.

Re: [android-developers] Re: Refresh previous activity on Back Button Press

2011-03-22 Thread Nick Kulikaev
Hi, Gotcha, I misunderstood your problem initially. You definitely should stop starting new activities from onResume. Why can't you just update a content of your Views from onResume instead? Also I personally wouldn't suggest starting new activities when the only thing changed from a user

[android-developers] Re: ScrollView inside Gallery does not scroll

2011-03-22 Thread jotobjects
There is still an intermittent problem with scrolling. Sometimes the ScrollView will not move. Swiping it several times it will then move, as though it is hard to get its attention. This is intermittent. What would be the cause of that kind of behavior? On Mar 22, 12:57 pm, jotobjects

Re: [android-developers] Re: Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread Miguel Morales
Well it should, but I suspect you are doing something wrong by creating a new AlertDialog every time. I haven't really used that method to construct dialogs, but rather keeping track of them myself. (by holding on to the reference and releasing it when necessary.) It seems that those methods are

[android-developers] Re: Running Monkeyrunner directly on Android tablet

2011-03-22 Thread Diego Torres Milano
If you have root you can run monkey from a shell, for example if you monkey script is in /data/m.txt # cat /data/m.txt tap 100 180 type 123 tap 100 280 # monkey --port 1080 # nc localhost 1080 /data/m.txt may I ask why do you need this ? On Mar 17, 5:43 am, raki rakeshkart...@gmail.com

[android-developers] Re: parse json response containing html tags

2011-03-22 Thread DanH
It could be that the OP's problem may be that HTML tags, when improperly escaped, can sometimes confuse the JSON parser. (And then throw in URL encoding and it can get really comfused.) If that's not the case then TreKing's point is well-taken: Once you have HTML you parse it like HTML, and

[android-developers] Re: Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread John
On Mar 22, 3:24 pm, Miguel Morales therevolti...@gmail.com wrote: Well it should, but I suspect you are doing something wrong by creating a new AlertDialog every time. I haven't really used that method to construct dialogs, but rather keeping track of them myself. (by holding on to the

Re: [android-developers] Re: Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread Kostya Vasilyev
John, Do you, perhaps, call showDialog() for the dialog each time in onCreate? If savedInstanceState in onCreate != null, your code should not call showDialog, as the dialog would already exist in the managed dialog list and be restored shortly. -- Kostya 23.03.2011 0:43, John пишет: On

[android-developers] Something I said?

2011-03-22 Thread slipp3ry
I posted a question about assigning frame animations to image views in a grid, no answers and now it looks like my post got deleted. Maybe I should have titled it PLZ HELP as even that post got some answers? Was it my content? subject matter? surely I can't be the first person to

Re: [android-developers] Re: Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread Miguel Morales
I didn't know about the deprecation, but now that you mention it the showDialog(int) method is deprecated, but they've replaced it with showDialog(int, Bundle), which should work the same way. Ah, ok yeah I see that method. According to the docs, onCreateDialog should only be called ONCE

Re: [android-developers] Something I said?

2011-03-22 Thread Miguel Morales
If you posted through the web interface it might have been a bug or something. What was the title of your thread? This thread showed up just fine so you can't be banned. And yes, some real silly questions make it through the filter. Use the gmail interface, it's much better. On Tue, Mar 22,

[android-developers] Re: set the data connection ON by code?

2011-03-22 Thread Roger Podacter
I'm not sure how to do this or if its possible. Android phones by default always have a data connection on and active by default. But if the user overrides this And turns data off, I don't know if that can be bypassed. On Mar 22, 8:57 am, guiridemeer guiridem...@gmail.com wrote: Hi, I am

Re: [android-developers] Re: Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread Justin Anderson
* I'm not sure I understand the question? If I don't rotate the phone, it doesn't run out of memory. It also appears to not run out of memory when the AlertDialog is not displayed. * Your description said that you rotate the phone 30 times without displaying the dialog. After that, you rotate the

[android-developers] Re: Can somebody suggest the best book or online resource for beginning android apps development?

2011-03-22 Thread Scott
Beginning Android 2 by Mark Murphy is a great start to understand the fundamentals. The flow of the book so far works well. I originally started with the online articles at HTTP://developer.android.com but I prefer a physical book. Pro Android 2 was good but contained more advanced concepts

[android-developers] Re: Amazon Appmarket is now open!

2011-03-22 Thread Zsolt Vasvari
That's terrible, because if they can easily remove the Amazon Check, you have a completely unprotected app without even having to crack the Google LVL stuff. Bad bad bad... On Mar 23, 2:19 am, Kostya Vasilyev kmans...@gmail.com wrote: 22.03.2011 21:07, webmonkey пишет: You can do a search on

Re: [android-developers] Stop USB Port programmatically

2011-03-22 Thread Luiz Felipe Puccinelli Glingani
Interesting :) So, programmatically I need to move files, in this case -usb-storage.ko Isn't it ? Thanks ;) On Mon, Mar 21, 2011 at 6:36 PM, Pratik pratik.prajap...@gmail.com wrote: Yes. A little hack can work. This is an example of disabling mass storage mode of usb. You can build your

Re: [android-developers] Re: Can somebody suggest the best book or online resource for beginning android apps development?

2011-03-22 Thread Justin Anderson
I've heard Mark Murphy's books are really good, and his advice on these forums is great too. A book I've recently come across that I like is The Android Developer's Cookbook but the current edition is only up-to-date as of Android 2.2...

Re: [android-developers] Re: Can somebody suggest the best book or online resource for beginning android apps development?

2011-03-22 Thread Justin Anderson
I forgot to mention, that one is also available online through Safari Books, which can come in handy... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 22, 2011 at 4:21 PM, Justin Anderson magouyaw...@gmail.comwrote: I've heard Mark Murphy's

[android-developers] Re: Fragment transactions, transitions and the back stack

2011-03-22 Thread Kelly Merrell
Related bug report here: http://code.google.com/p/android/issues/detail?id=15623colspec=ID%20Type%20Status%20Owner%20Summary%20Stars On Mar 16, 9:54 am, Kelly Merrell kmerr...@mercuryintermedia.com wrote: Hi All, I am having trouble using or understanding how popping FragmentTransactions off

[android-developers] onPause() Why u no do the things I want?

2011-03-22 Thread Tobiah
I saved a handle to an AsyncTask() like so: AsyncTask up_check = new update_checker().execute(); I start it up in onStart() and my logging tells me that it's running. Then I start another activity with this in the onPause(): up_check.cancel(true); up_check is a member of the Activities

[android-developers] Scope of Singletons

2011-03-22 Thread Jake Colman
My application consists, for the most part, of an appwidget and a service. The service is triggered by an alarm which kicks it to update the widget's remote views. I use a singleton class to track the phone's location. The service accesses the singleton's instance to get the current location

[android-developers] How to get current item in StackView?

2011-03-22 Thread jotobjects
How can you detect when the top item on a StackView changes? We tried using OnItemSelectedListener but it seems like our listener is not being called. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-22 Thread TreKing
On Tue, Mar 22, 2011 at 5:47 PM, Tobiah t...@tobiah.org wrote: Logging shows me that the onPause() method is being called, yet the AsyncTask is still running while I'm viewing the other activity. http://developer.android.com/reference/android/os/AsyncTask.html

Re: [android-developers] Scope of Singletons

2011-03-22 Thread TreKing
On Tue, Mar 22, 2011 at 5:58 PM, Jake Colman col...@ppllc.com wrote: But does that mean that my singleton can be taken out of scope as well? Scope is not the appropriate term. But if your process gets killed, it takes everything (Services, Activities, statics, and your singleton) with it.

[android-developers] Re: Scope of Singletons

2011-03-22 Thread Jake Colman
T == TreKing treking...@gmail.com writes: T On Tue, Mar 22, 2011 at 5:58 PM, Jake Colman col...@ppllc.com wrote: But does that mean that my singleton can be taken out of scope as well? T Scope is not the appropriate term. But if your process gets T killed, it takes

[android-developers] Edit Incoming Call Activity

2011-03-22 Thread Ash
Is it possible to add a new button to the existing incoming call screen? I want to add a button to the existing incoming call screen (along with Answer and Reject buttons) that will launch my application. Should I create a new activity or can I modify the existing incoming call activity? -- You

[android-developers] Re: Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread John
On Mar 22, 4:01 pm, Justin Anderson magouyaw...@gmail.com wrote: Your description said that you rotate the phone 30 times without displaying the dialog.  After that, you rotate the phone 9 times while the dialog was displayed. Ah. I see I was being unclear in my original message. Actually I

Re: [android-developers] help me pleaseeeeee

2011-03-22 Thread jaafar zbeiba
no its not working that can help me I have more time for my project and frankly I am not of this but still try dommaine -- 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

Re: [android-developers] Something I said?

2011-03-22 Thread slipp3ry
Thanks for the reply Miguel, I was starting to feel like the invisible man :) Title was Best way to start a frame animation in an adapter Anything offensive or horribly newbie? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] BG colored Rectangles on Drawable Action Bar

2011-03-22 Thread Jay Bloodworth
I'm experimenting with using a custom background for an action bar. I've tried both a gradient-colored Shape and a Nine Patch and in both cases I get ugly rectangles in the overall BG color behind all the View-y things on the action bar - icon, title, menu items. Seems to be the same basic issue

Re: [android-developers] Re: android.R.styleable can't be resolved?

2011-03-22 Thread trans
If all you are wanting to do is change the color of one key, why don't you just subclass KeyboardView and override the following methods: Hmm... that's a possibility. If I can change mKeyBackground. I tried: @Override public void invalidateKey(int keyIndex) { mKeyBackground =

[android-developers] Re: BubbleTextView.java from launcher package

2011-03-22 Thread argongold
Thanks for the reply and where should I find methods for mLeft, mRight, mBottom and mTop? regards, argon On Mar 23, 12:42 am, Paul Turchenko paul.turche...@gmail.com wrote: getScrollX() and getScrollY() methods should work for you (they have other methods to access mLeft, mRight, etc.) On

[android-developers] Call back to an Activity in the bottom of the stack from a global Activity.

2011-03-22 Thread Diego Tori
I already know that I can pass Bundled data through setResult from one Activity back to another. However, suppose I have an global Activity that can be launched from anywhere in my app since it is mapped to a button that appears in my title bar in almost all of my activities. Long story short,

Re: [android-developers] Any Android Test Prep application open source

2011-03-22 Thread Nicholas Johnson
This is not open source, but it's free: Pop Quizhttp://androidshadowpuppets.com/PopQuiz Unlike other apps that only allow you to make flash cards, Pop Quiz allows you to make multiple choice questions *and* flash cards. You can upload, download, and share the question banks from its website.

[android-developers] Re: Device Not Recognized

2011-03-22 Thread JoeSchmoe
I did the download of Google USB Driver package, revision 4 Now I get the error ( I pointed the installer to the mySdk directory (mySdk/usb_drivers caused a not found error) Windows found driver software for your device but encountered an error while attempting to install it Android Composite

Re: [android-developers] Re: android.R.styleable can't be resolved?

2011-03-22 Thread trans
My bad. mKeyBackground is private. So I don't see how that can work either. Back to re-implementing. -- 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

Re: [android-developers] Re: Scope of Singletons

2011-03-22 Thread TreKing
On Tue, Mar 22, 2011 at 6:32 PM, Jake Colman col...@ppllc.com wrote: Do I have to assume that my application might get killed? Yes. Not might. Will ... eventually. If my appwidget is sitting on the homescreen and displaying it's data might it still be killed even though it's active?

Re: [android-developers] Re: Scope of Singletons

2011-03-22 Thread Mark Murphy
On Tue, Mar 22, 2011 at 7:32 PM, Jake Colman col...@ppllc.com wrote: If my appwidget is sitting on the homescreen and displaying it's data might it still be killed even though it's active? Your app widget is not sitting on the homescreen. It is never sitting on the homescreen. Your app

[android-developers] Re: Why can't draw a picture on canvas

2011-03-22 Thread a a
2011/3/22 Nicholas Johnson metthejohn...@gmail.com: It appears, by your code, that you are drawing on the bitmap through the canvas. However, I'm guessing your real question is: why is my bitmap not being displayed on the screen? Well, that's because your bitmap or canvas is not associated at

Re: [android-developers] Something I said?

2011-03-22 Thread Miguel Morales
Well I saw your thread, personally I haven't ever played with what you are talking about I can't help you there. It seems that it's a pretty specific question, and perhaps that's the problem. On Tue, Mar 22, 2011 at 5:04 PM, slipp3ry slipp3ry_whip...@yahoo.co.ukwrote: Thanks for the reply

[android-developers] Re: No camera changes in 2.3.3 but camera apps break going from 2.3 to 2.3.3.

2011-03-22 Thread Zsolt Vasvari
So I suppose it's a driver issue then. On Mar 23, 4:08 am, Zach zachary.bu...@gmail.com wrote: I can now confirm that this problem only exists on the Nexus One on 2.3.3.  I've updated our Nexus S to 2.3.3 and it does not have these problems. -- You received this message because you are

Re: [android-developers] help me pleaseeeeee

2011-03-22 Thread Miguel Morales
I think that if you have extra time, you use it to practice or learn more English. All the Android functions are written from a western/US perspective and so is the documentation. Your English needs to be up to par to be able to read through it and any other official documentation. It seems

[android-developers] Re: Canvas frame rate very choppy in Live Wallpaper

2011-03-22 Thread Jeffrey
I only have one image rendered (the background image) and I get the exact same results from canvas.translate() vs .drawbitmap. The problem seems to be either the time it takes for it to draw the bitmap, or the time it takes to run through the sin/cos formulas for the placement. The image is only

Re: [android-developers] help me pleaseeeeee

2011-03-22 Thread jaafar zbeiba
thank you for your advice but I ask you for help and not a council -- 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: Canvas frame rate very choppy in Live Wallpaper

2011-03-22 Thread Jeffrey
Also, the entire animation loop is almost instantly, the problem comes from the Handler.postDelayed() not calling on time, no matter what I set the desired FPS at, I can't get above 6 FPS, and I no longer think it has anything to do my drawing code but maybe the way something else is handled. I

Re: [android-developers] help me pleaseeeeee

2011-03-22 Thread Miguel Morales
Well, we can't really help you if we can't understand you. Anyway, good luck on your issue. On Tue, Mar 22, 2011 at 6:43 PM, jaafar zbeiba jaafarinformati...@gmail.com wrote: thank you for your advice but I ask you for help and not a council -- You received this message because you are

Re: [android-developers] help me pleaseeeeee

2011-03-22 Thread jaafar zbeiba
I have not asked for the impossible -- 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: Canvas frame rate very choppy in Live Wallpaper

2011-03-22 Thread lbendlin
Instead of int Speed = 50; double speedScale = (float) ((0.001*2*Math.PI)/Speed); double Dist = SystemClock.elapsedRealtime() * speedScale; you can write double Dist = SystemClock.elapsedRealtime() * 0.001256637; There - much quicker. -- You received this

Re: [android-developers] Edit Incoming Call Activity

2011-03-22 Thread TreKing
On Tue, Mar 22, 2011 at 6:39 PM, Ash ashpatonl...@gmail.com wrote: Is it possible to add a new button to the existing incoming call screen? Sure. Build your own version of the firmware. Wrong list for that though.

[android-developers] Re: Service stops after 10 minutes of standby

2011-03-22 Thread Doug
Android may be killing your Service in order to run something else. Try using setForeground() on the service so that it retains priority in the face of pressure from other apps. Doug On Monday, March 21, 2011 1:56:52 AM UTC-7, stefan jakober wrote: Hey there, I've got a wired problem.

[android-developers] Emulator doesn't recognize -audio-in option

2011-03-22 Thread Keith Wiley
I've been using -audio-in core-audio two years without any trouble. I just bought a new computer, install eclipse and the SDK, and now I can't run the emulator anymore. It says: .. Emulator] unknown option: -audio-in I haven't found any obvious documents online saying this setting is

Re: [android-developers] Using view.invalidate

2011-03-22 Thread B Lyon
I could be wrong, but I thought Chris Pruett discussed this in his talk about developing Replica Island (it's one of the google io talks). I can't remember what he did, but it seems like he mentioned something along the same lines and he dealt with it somehow. On Tue, Mar 22, 2011 at 10:04 PM,

Re: [android-developers] Call back to an Activity in the bottom of the stack from a global Activity.

2011-03-22 Thread TreKing
On Tue, Mar 22, 2011 at 7:17 PM, Diego Tori diegotoridoesandr...@gmail.comwrote: From either Home (ActivityA), or any other activity (Activity B, C, etc...) that can open out my global activity (ActivityX), it should find a way to call back to ActivityA without bringing it to the front. When

[android-developers] Re: Emulator doesn't recognize -audio-in option

2011-03-22 Thread Keith Wiley
Admittedly, running the emulator with -help suggested that the flag had been changed from -audio-in to -audio. Implementing that change seems to have fixed the problem. Are these kinds of version-dependent changes documented? I'm sure I missed something obvious, but it didn't show up on the

Re: [android-developers] Something I said?

2011-03-22 Thread rich friedel
Also, if you haven't already done so, try asking on StackOverflow. -- 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] HeapWorker has a wedgie when using https

2011-03-22 Thread Justin
HeapWorker is wedged: 108792ms spent inside Lorg/apache/harmony/xnet/ provider/jsse/OpenSSLSessionImpl;.finalize() (followed by a long segfault dump) That is a random error that one of my apps is suffering from. There seems to be bug discussion referenced here:

[android-developers] Picture Transfer Protocol in Honeycomb

2011-03-22 Thread Neil
Hi Guys, Honeycomb includes build-in support for Picutre Transfer Protocol. What exactly does this mean? Does this mean I can connect my digital camera to the tablet and import pictures from the camera to the tablet? I guess this requires the tablet to have the USB Host support? Or does it mean I

[android-developers] SQLiteDatabase or XML(saving)?

2011-03-22 Thread -Ernest
Hello guys, Thanks for making android a wonderful platform. Me and my mate are writing a project and its an android app. Yesterday i finish my third book about programing for the android platform Hello, Android. He comes my questions: What is the best option for saving a well formatted document(a

[android-developers] Re: How to create a Media player?

2011-03-22 Thread Anay Tamhankar
Please look at the ApiDemos application in sample applications provided along with the android sdk. For example for API level 7, the application can be found in Android- Install-Dir/samples/android-7/ApiDemos Regards, Anay On Mar 21, 10:18 am, cibin p oommen cibin.p.oom...@gmail.com wrote: I'm

[android-developers] Auto sync for local DB with sync adapters.

2011-03-22 Thread shunty
Hi All I am writing a sync application using sync adapter,and try to sync local db automatically, First time when i create account it works fine but when i make changes in the local db, it is not syncing automatically even if i set ContentResolver.setSyncAutomatically(account, AUTHORITY, true).

[android-developers] why is the account managed by AccountManager is delete automatically ?

2011-03-22 Thread 琅琅
My little App creates an account in AccountManager. But if i move the App from internal storage to SD card, the account is automatically delete by AccountManagerService if i unmounted the SD card or reboot the machine. does anyone have any idea about this ? does this mean we cannot move the App

[android-developers] webview in tabs

2011-03-22 Thread seyma
Hi! I've just started to create monodroid applications. So I'm in trouble about my project. I want to create 2 tabs and when clicks each open a web site. Is it possible ? Here is my code. Tabs already work but when I click nothing happens. [Activity(MainLauncher = true, Label = @string/app_name,

[android-developers] Too many contacts deletes rules

2011-03-22 Thread Mark
I have an app that does bulk deletes of contacts (Contact Remover). Many people seem to find this useful. Some people get confused about the Google notification message that says Too many contacts deletes (yes, that's how it's worded), or they just don't see it because it appears as a status

Re: [android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 16 Topics

2011-03-22 Thread ananya sundar
i am getting failed to install error everytime i am loading in emulator. i tried reinstalling entire SDK but it's not working.. Plzz help me On Tue, Mar 22, 2011 at 10:33 AM, android-developers+nore...@googlegroups.com wrote:   Today's Topic Summary Group:

[android-developers] INSTALL_FAILED_MISSING_SHARED_LIBRARY on Galaxy tab with SprintTwinCamDevice Library

2011-03-22 Thread john_rambo
Hi everybody, I'm new in Android development, And I have to develop a video tchat for The Galaxy Tab. So, I have to display the front facing camera. I develop with FlashBuilder 4, and I found on the internet that it was possible with the SprintAndroidForwardFacingCamera library. So I followed the

RE: [android-developers] Re: Help using custom Preference types - for pity or money

2011-03-22 Thread Şeyma Kılıç
Thank you for your reply. As I said I'm not goot at this subject. So it's hard to understand for me. But this example is coded with java I think. Am I rigth? I use visual studio 2010 and monodroid. If I use this code how does it work? I'm sorry abour my English.Thanks again. From:

[android-developers] Android Source code build error Permission error

2011-03-22 Thread Dinesh Shan
Hi all , I am running UBUNTU 10.10 server, I downloaded the Android source code from the GIT and tried to compile it . When i run lunch command from inside the source folder : You're building on Linux Lunch menu... pick a combo: 1. full-eng 2. full_x86-eng 3. simulator I

[android-developers] android market application

2011-03-22 Thread jean.michel.78
hello , i find this application very strange each i search something i find hundred of responses which have nothing to do with the application i search strange ,strange is android a real good sytem ? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] new learner

2011-03-22 Thread Mark.Chai
i'm glade to join this group,and want to learn more and help more -- 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] Scrolling a plain textview as output appears, and why would you prefer a textview in a scrollview over a scrolling textview?

2011-03-22 Thread brasshopper
So I got a copy of the 25 hour android book and I started trying to port a program that was written in D and ran on the command line into a simple android program. First I ported it to command line Java and put it into a single class. Then I extended the class so as to port it to Android. The

[android-developers] MPEG-4 SP Encoder Support

2011-03-22 Thread artsylar
Hi, According to the following site, MPEG-4 SP Encoder is not supported. http://developer.android.com/guide/appendix/media-formats.html However, when I checked MediaRecorder.VideoEncoder page, MPEG-4 SP can be set as video encoder. May I know if android does support encoding of MPEG-4 SP?

[android-developers] Re: Android Beginner Having Problems

2011-03-22 Thread Anay Tamhankar
Is there a typo in res/meno? Regards, Anay On Mar 20, 9:46 am, Matt Clark mrclark32...@gmail.com wrote: I tried using the MenuInflation off of the android developers site: @Override public boolean onCreateOptionsMenu(Menu menu) {     MenuInflater inflater = getMenuInflater();    

[android-developers] How to change the font style for particular selected text in text view

2011-03-22 Thread narava
Hi guys, I want to change the selected text in a text view and change it to different font styles stc something like text editor. How can I implement this in android. I was able to change the background color etc but I want to select a text and chnage the selected text to different font styles.

[android-developers] SMS Intent, dealing with fragmentation

2011-03-22 Thread abp_dk
Hi I am having trouble writing a Intent that launches the SMS editor and that works on all devices across all OS version from 1.5 and up. The specific problem I am having relates to pre-filling in the adress and body of the SMS as these do not seem to work uniformly on all platforms. I have

[android-developers] getbyname() on LAN

2011-03-22 Thread Dirk Bruere at NeoPax
I have tried using InetAddress address = InetAddress.getByName(Constants.serverNameStr); but this goes off to my ISP and gets a page not found reply Tried using JCIFS try{ NbtAddress addr = NbtAddress.getByName(Constants.serverNameStr); }catch (UnknownHostException

[android-developers] moving imageviews around in a tableLayout.

2011-03-22 Thread capiono
I have a list a imageviews, that I displayed on a tableLayout as a 5 x 5 grid. if one of this imageviews are clicked it should be moved to the nearest free position within the view. I have tried a gridview, but it adds too much space between the imageviews, which I didn't want. tableLayout solves

Re: [android-developers] Re: ideal system configuration for developing Android 3 apps

2011-03-22 Thread David A. O. Lozano
I'm new on android dev, so how much had changed 3.0 from previous version? (I guess you can develop in 2.x an debug normally then test 3 specific functionality on device Chris Stewart cstewart...@gmail.com wrote: Honestly, if you have any serious intention of developing for Android 3.0, you

Re: [android-developers] Re: Canvas frame rate very choppy in Live Wallpaper

2011-03-22 Thread Dianne Hackborn
On Tue, Mar 22, 2011 at 6:44 PM, Jeffrey jeffisagen...@gmail.com wrote: Also, the entire animation loop is almost instantly, the problem comes from the Handler.postDelayed() not calling on time, no matter what I set the desired FPS at, I can't get above 6 FPS, and I no longer think it has

Re: [android-developers] MotionEvent.getEdgeFlags() never reports non-zero value

2011-03-22 Thread Dianne Hackborn
Why do you want this? It is used for some subtle event dispatching in the view hierarchy to better select target views when touching near the edge of the screen. I strongly recommend you not rely on it yourself. On Tue, Mar 22, 2011 at 5:59 AM, Paul pmmen...@gmail.com wrote: Looking over

[android-developers] Re: ScrollView inside Gallery does not scroll

2011-03-22 Thread Shawn Holland
In your activity, override onTouchEvent and pass the event to the gallery before passing it to the super class. On Mar 22, 5:13 pm, jotobjects jotobje...@gmail.com wrote: There is still an intermittent problem with scrolling.  Sometimes the ScrollView will not move.  Swiping it several times it

Re: [android-developers] Re: Scope of Singletons

2011-03-22 Thread Dianne Hackborn
On Tue, Mar 22, 2011 at 4:32 PM, Jake Colman col...@ppllc.com wrote: Do I have to assume that my application might get killed? If my appwidget is sitting on the homescreen and displaying it's data might it still be killed even though it's active? I recognize that my service is killed the

[android-developers] Change the textcolor of a listview item in onCreate method.

2011-03-22 Thread bosscoder
Hi everyone. I'm writing an app that loads several itens in a listview. This itens will have a status which I'll control by text color, i.e. red itens was ordered, green itens was delivered and so on... If I try to set the color by using

[android-developers] Re: ScrollView inside Gallery does not scroll

2011-03-22 Thread Shawn Holland
In your activity, override dispatchTouchEvent and pass the event to the gallery before passing it on to the super class. On Mar 22, 5:13 pm, jotobjects jotobje...@gmail.com wrote: There is still an intermittent problem with scrolling.  Sometimes the ScrollView will not move.  Swiping it several

Re: [android-developers] Re: Canvas frame rate very choppy in Live Wallpaper

2011-03-22 Thread Dianne Hackborn
Canvas is not hardware accelerated at all prior to 3.0. As of 3.0 hardware acceleration can optionally be turned on. This is not however available currently to live wallpapers. Live wallpapers *really* should use OpenGL. In fact, as of 3.0 they would be even better off using RenderScript,

Re: [android-developers] Registering file extensions for sharing

2011-03-22 Thread Dianne Hackborn
Android uses MIME types for this. Do not use extensions. Use MIME types. On Sun, Mar 20, 2011 at 3:17 AM, Akshay Goel xpectro...@gmail.com wrote: Hello, I am trying to register file extensions with my application, so that the app menu-item appears when the file is shared (not opened).

[android-developers] Hide soft keyboard

2011-03-22 Thread Dirk Bruere at NeoPax
I am using InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(editBox.getWindowToken(), 0); To hide the soft keyboard when I have finished using an edittext box. However, it won't come back again! What do I need to do to cancel

Re: [android-developers] Re: Fragment transactions, transitions and the back stack

2011-03-22 Thread Dianne Hackborn
Sorry custom animations are broken when popping the back stack. This will be fixed in a future release. Until then, you just won't be able to do this -- you will need to either stick with the standard transitions, or manually add/remove the fragments yourself. On Tue, Mar 22, 2011 at 3:32 PM,

[android-developers] Looking for Feedback - Instinctiv for Android

2011-03-22 Thread jakeinstinctiv
Instinctiv is looking for beta testers for our upcoming Android product. Instinctiv is a clean and easy way to manage your music on your Android mobile device - with wireless sync, smart shuffle and over the air song ID. We've made our APK available at http://bit.ly/instinctivapk (just visit

[android-developers]

2011-03-22 Thread roger isaac navarro perez
Hi, i need to create an application for my corp, my question is can i create a OTA like blackberry for download, i want to write url for my application in browser and download the application. Thanks for answer -- Ing. Roger Isaac Navarro Pérez, Desarrollador Skype: roger.isaac.navarro.perez

[android-developers] android developer site not working

2011-03-22 Thread AddrulZ
http://developer.android.com not loading ? is it down ? can not open for days -- 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: ScrollView inside Gallery does not scroll

2011-03-22 Thread Shawn Holland
In your activity, override onTouchEvent and pass the event to the gallery before you pass it on to the super class. On Mar 22, 5:13 pm, jotobjects jotobje...@gmail.com wrote: There is still an intermittent problem with scrolling.  Sometimes the ScrollView will not move.  Swiping it several

[android-developers] ListView.setChoiceMode with Custom Designed ListView rows Options

2011-03-22 Thread handlez36
Hi, Hopefully this is a simple question. I have an Activity that extends ListActivity in which I populate ListView items from a database. Each row in that list view has a custom defined XML layout, in which there is content consuming the entire width of the row. If I wanted to allow users to act

[android-developers] database and maps

2011-03-22 Thread sunny
in my project i need to take entries frm Db and show location on map is der any simpler approach den puttin latitude and longitude in table -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] android market application

2011-03-22 Thread TreKing
On Tue, Mar 22, 2011 at 4:20 AM, jean.michel.78 jean.michel...@gmail.comwrote: is android a real good sytem ? Android is. The Android *Market* ... not so much. - TreKing

[android-developers] How to Create a Media Player

2011-03-22 Thread cibin
I am beginner in Android; I know only the basics...Please help me to create a Media Player in Android -- 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] How to get the user's nickname not username

2011-03-22 Thread ArcDroid
I see lots of code which can get the username, but I don't see any code how to get the nickname. I would like to use the nickname for posting scores similar to the comments posted for apps. Any help is appreciated. Regards, ArcDroid http://www.arcdroid.com -- You received this message because

[android-developers] Re: getbyname() on LAN

2011-03-22 Thread Bob Kerns
By setting up your LAN properly. You will need: 1. Your LAN's DHCP server to know the proper location of your DNS server. This is the DNS server your phone will use. 2. Your DNS server to know the names addresses of your MS machines. DNS is how your phone (and anything else even

[android-developers] does NFC in gingerbread support card simulate?

2011-03-22 Thread Zhihong GUO
Hi all, about NFC in Gingerbread, is it possible to simulate a tag by the SDK? I have found the support for tag read/write and P2P push message, but haven't found any support on card simulate. thanks James -- You received this message because you are subscribed to the Google Groups Android

<    1   2   3   4   >