Re: [android-developers] Best practices for automatic retrying of AsyncTask

2011-02-08 Thread Kostya Vasilyev
You could also grab the source for AsyncTask out of the repository, change its package / name to include in your app, and change as needed:

Re: [android-developers] Version2 uploading to Android Market

2011-02-08 Thread cuil yahoo
Don't worry, you cannot upload a version with a different key, the uploader will give you an error. Be sure to use the same key. -- Cuil On Tue, Feb 8, 2011 at 1:26 PM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Hi! Would like to know if there is any method to check before

Re: [android-developers] Am I doing UncaughtExceptionHandler correctly?

2011-02-08 Thread Kostya Vasilyev
Dialogs are tied to activities, and your code calls finish() on the activity right after calling show() on the dialog. More importantly, an uncaught exception handler is not meant to be used instead of Java catch blocks. If you have code that throws an exception to indicate failure, handle

[android-developers] Re: Help with strings/arrays

2011-02-08 Thread Sarwar Erfan
Here is a simple solution: Add a method which takes the level number integer. Then, depending on the value of the level number, call the appropriate level function. When level N is pressed, you call level(N) class YourClassHavingLevelMethods { public static void level(int x) {

Re: [android-developers] Re: Vertical Marquee from Bottom to Up

2011-02-08 Thread Ranveer
is there any other way.. On Monday 07 February 2011 10:48 PM, AndroidWorkz wrote: If you look at the Music app in the Android source you will see a Vertical Text Spinner... hope that helps :) http://hi-android.info/src/com/android/music/VerticalTextSpinner.java.html There is also something

[android-developers] Re: Help with strings/arrays

2011-02-08 Thread JAlexoid (Aleksandr Panzin)
A) Use reflection B) There is this thing called polymorphism. Setup your array as LevelHandler[] handlers = new LevelHandler[]{new Level0Handler(), new Level1Handler(),...} On 8 фев, 07:15, brian purgert brianpurge...@gmail.com wrote: this should be simple for you guys but i,ve always been

[android-developers] Camerapreview

2011-02-08 Thread Jayanthi
Hi, I am new to android I want to send mail with image attached to it I need solution for two question 1.How to get the path of image saved in sd card using camera preview 2.How to send mail by attaching image -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Honeycomb SDK

2011-02-08 Thread JAlexoid (Aleksandr Panzin)
Wouldn't the first order of business be Dalvik's GC multicore improvements backpoting to 2.x? I am still waiting for Honeycomb SDK final release and hope that they skip 2.4 on phones and jup directly to 3.1(or 3.0 for phones). Yet I am so much frustrated that Android's openness stops at ODM or

[android-developers] Re: Delete Emails programatically

2011-02-08 Thread Alok Kulkarni
Ok i got my first answer.Deleting a non primary account also deleted the associated mails with that account. Thanks, Alok On Tue, Feb 8, 2011 at 12:20 PM, Alok Kulkarni kulsu...@gmail.com wrote: Any answers ??? On Mon, Feb 7, 2011 at 7:55 PM, Alok Kulkarni kulsu...@gmail.com wrote: Hi, I am

[android-developers] Re: Optimal packaging of image app for various screen resolutions

2011-02-08 Thread JAlexoid (Aleksandr Panzin)
What you can do is put all of the images in the raw directory at high resolution. And on first start scale them and place them into cache(SD card or app's own storage). On 7 фев, 23:28, Johan johan.pelg...@gmail.com wrote: Hi there, I'm working on an app which displays various images. I want

Re: [android-developers] Version2 uploading to Android Market

2011-02-08 Thread subhashini alaguchokku
Hi! I checked with jarsigner -verify -verbose -certs my_application.apk if the certificates for two versions of build are same. The result was both were same. So can this be considered that we have used the same certificate for both versions Thanks, A.Subha On Tue, Feb 8, 2011 at 1:55 PM,

[android-developers] Customize Spinner in android?

2011-02-08 Thread Sapna Srivastav
Hi to all In android it is possible to customize our UI but how can we customize a spinner ? I did a lot of googling but I didn't get any fruitful result. I went through this site also http://www.gersic.com/blog.php?id=57 but android:spinnerSelector is not supported in android. Please suggest

[android-developers] TabActivity, selecting a new tab with animation

2011-02-08 Thread JPS
Hello, My application/game is based upon a TabActivity, each tab is an activity. At one time in the application you can click on a button to select another tab. It's not only a tab selection, we change also the view in the newly selected tab. That's why I would like to implement an animated

[android-developers] BaseAdapter ListView and SectionIndexer

2011-02-08 Thread pedr0
Hi at all, I wrote an BaseAdapter which implement the SectionIndexer interface and all work fine, I can switch my index section using the setFastScrollingEnabled(true) of my ListView, the only issues is that the box of my letter index, which normally (in the Contacts app for example) are

[android-developers] Re: Optimal packaging of image app for various screen resolutions

2011-02-08 Thread String
I don't think I would recommend separate APKs, actually. That'll inevitably cause confusion and problems for your users, as well as splitting whatever userbase you have across multiple packages, not good for your Market rankings. If you're not targeting Cupcake, a variation on Aleksandr's

[android-developers] Slow animation while swiping

2011-02-08 Thread lou
Hi ! I'm actually writing an application ( for Android Tablet ) working like Android workspaces ( we can swipe to others workspaces ). I have a lot of workspaces ( ~ 15 ) and each of them have 2 or 3 ImageViews. The picture I load in them are big ( 512x512 ), so I load only the previous, the

[android-developers] Re: Optimal packaging of image app for various screen resolutions

2011-02-08 Thread Johan
Thanks Aleksandr and Sterling! Might be worth a shot! On Feb 8, 10:54 am, String sterling.ud...@googlemail.com wrote: I don't think I would recommend separate APKs, actually. That'll inevitably cause confusion and problems for your users, as well as splitting whatever userbase you have across

[android-developers] certificates for two versions of build are same.

2011-02-08 Thread subhashini alaguchokku
Hi! I checked with jarsigner -verify -verbose -certs my_application.apk if the certificates for two versions of build are same. The result was both were same. So can this be considered that we have used the same certificate for both versions reply required asap. Thanks, A.Subha -- You

[android-developers] Re: Problems alloweing self-signed certificates.

2011-02-08 Thread JAlexoid (Aleksandr Panzin)
Get a free certificate from www.startcom.org? Or do it the long way: http://hc.apache.org/httpcomponents-client-ga/tutorial/html/connmgmt.html#d4e537 and http://developer.android.com/intl/de/reference/org/apache/http/conn/scheme/Scheme.html On 8 фев, 01:37, NeoRiddle neorid...@gmail.com wrote:

[android-developers] Re: Difficulty with repo, git getting source

2011-02-08 Thread JAlexoid (Aleksandr Panzin)
Did you miss a space there? On 8 фев, 01:27, Bernard T. Higonnet bthigon...@gmail.com wrote: Trying to follow the instructions athttp://source.android.com/source/git-repo.html, I got through $ curlhttp://android.git.kernel.org/repo ~/bin/repo $ chmod a+x ~/bin/repo $ mkdir

[android-developers] Re: Version2 uploading to Android Market

2011-02-08 Thread Yahel
As Cull told you there is no need to worry about that, the market won't let you upload a new version if it as been signed with a different key. You'll get an error and that's all. For you second question, I guess if the line with the [certificate is valid from 16/10/10 19:48 to 03/03/38 18:48]

[android-developers] Re: URL query string bug in SMS messages

2011-02-08 Thread Sarwar Erfan
URL rewriting is available for IIS also. http://msdn.microsoft.com/en-us/library/ms972974.aspx http://www.iis.net/download/urlrewrite http://learn.iis.net/page.aspx/460/using-the-url-rewrite-module/ You can also use ISAPI filter http://www.isapirewrite.com/?gclid=CO2Qtrqq-KYCFUYifAodtHjnEw

Re: [android-developers] Re: Version2 uploading to Android Market

2011-02-08 Thread subhashini alaguchokku
Ok Thanks Mr.Yahel. On Tue, Feb 8, 2011 at 3:46 PM, Yahel kaye...@gmail.com wrote: As Cull told you there is no need to worry about that, the market won't let you upload a new version if it as been signed with a different key. You'll get an error and that's all. For you second question, I

[android-developers] Adding multiple child views

2011-02-08 Thread alan
I have developed a layout to which i want to add multiple copies of the same child view. the child view is defined in a xml file. To add each child to its parent i am calling: ChildView childView = new ChildView (context); linearLayout.addView(childView ,new

[android-developers] Contact wrapper uses

2011-02-08 Thread Abalufaske
Hi I'm using a guide ( http://www.higherpass.com/Android/Tutorials/Working-With-Android-Contacts/1/ ) to wrap in one project the contact api level 3 and 5 ... But they don't have any contact address to ask about my problem. In both contactAPISDK3 and contactAPISDK5 i got this error message: The

[android-developers] facebook session persists in my app even after logging out of the facebook app

2011-02-08 Thread funkyidol
I have integrated the Facebook SDK in my app using the official facebook connect API. I am able to login to the facebook app via my app and the whole single sign on thing works fine. The problem is coming when I logout of the installed facebook app, the session still persists in my app and I can

Re: [android-developers] Re: Optimal packaging of image app for various screen resolutions

2011-02-08 Thread Kostya Vasilyev
Android automatically scales images packaged into res/drawable-res to match the actual device density (not sure about persistent caching, though). Therefore, it's not necessary to provide all images at all resolutions. If Android's default scaling works for you in terms of quality and

[android-developers] Re: Contact wrapper uses

2011-02-08 Thread Abalufaske
I found the error... when doing the import eclipse added contactcontract provider stuff that i don't need and the eclipse get mad about types... thank you btw :) On 8 feb, 11:33, Abalufaske abalufa...@gmail.com wrote: Hi I'm using a guide

[android-developers] Fetch data from android service to HTML

2011-02-08 Thread SREEHARI
Hi, I have developed one UPNP server application which is running perfectly in android emulator. I am able to fetch the data from the server to client in android. But how can I get the same data in a normal HTML page. Means I want to develop an HTML with javascript that fetch the content from

[android-developers] Re: Change View

2011-02-08 Thread Richard Sámela
I know how to update my adapter. I extends my adapter and i can get adapter to the listview. But i was asking if it is possible to call method setcontentview more times in activity or about best practice how to switch between views. Now i think that use setcontentview more times is possble i try

Re: [android-developers] Re: Change View

2011-02-08 Thread Kostya Vasilyev
Yes, it's possible to switch activity views by calling setContent multiple times, just make sure to find individual views again if you need them. Another option is to use ViewFlipper, making views for each activity mode into a child of the flipper. This way you can easily provide animation

[android-developers] Predefined styles

2011-02-08 Thread Mattias Svala
Hello! I'm trying to figure out what style the text under the application shortcuts in the launcher uses. Is it a different style for each phone model or is there some style I cen reuse to get the same looking text in a widget? :.:: mattias -- You received this message because you are

[android-developers] Re: Min SDK problem

2011-02-08 Thread MarcoAndroid
Assuming you're a 100% sure that those people did download from the official market (and not one of the others out there), you might want to check if you put the minSDK XML tag at the correct spot. Read somewhere in this group that somebody put it in the wrong place in the manifest... If that's

Re: [android-developers] Predefined styles

2011-02-08 Thread Kostya Vasilyev
You can find it in the source for Launcher2, and can get pretty close with a TextView that has a round-rect shape drawable as the background (the actual source uses a custom subclass of TextView, which you can't do with the sdk). However, yes, device manufacturers can customize it, and there are

[android-developers] Re: avcodec_decoder_find problem

2011-02-08 Thread cervello
I have just need H 263 codec. Yes, I built ffmpeg myself. In my code I found other problems. I share this for everyone.. // Decode video frame avcodec_decode_video(pCodecCtx, pFrame, frameFinished, packet.data, packet.size); Here avcodec_decode_video is not used anymore like that.. Instead of

Re: [android-developers] Predefined styles

2011-02-08 Thread Mattias Svala
On Tuesday, February 8, 2011 1:14:37 PM UTC+1, Kostya Vasilyev wrote: You can find it in the source for Launcher2, and can get pretty close with a TextView that has a round-rect shape drawable as the background (the actual source uses a custom subclass of TextView, which you can't do with

Re: [android-developers] Predefined styles

2011-02-08 Thread Kostya Vasilyev
Here it is: http://android.git.kernel.org/?p=platform/packages/apps/Launcher2.git;a=blob;f=res/values/styles.xml;h=c2082111cc8b1aa1c955f049a70ee3a3e30680cd;hb=refs/heads/froyo See style WidgetIcon and its background reference. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 08.02.2011 15:37

[android-developers] xml layout problem?

2011-02-08 Thread vnv
Hi, I have rather interesting problem I have never seen (even think) it could be possible. Layout is consisted of three elements, two buttons and 1 textview. If it's like this: [b1] [b2] [t] it works, and if it's like this: [t] [b1] [b2] it makes app crash. How could this be possible that

Re: [android-developers] xml layout problem?

2011-02-08 Thread Kostya Vasilyev
And the stack trace from logcat is.? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 08.02.2011 16:22 пользователь vnv nikola1...@gmail.com написал: Hi, I have rather interesting problem I have never seen (even think) it could be possible. Layout is consisted of three elements, two

Re: [android-developers] Re: Eclipse shows error, but no error found

2011-02-08 Thread String
At your request, Xav, I've narrowed down a way to produce this problem, and written it up at http://code.google.com/p/android/issues/detail?id=14607. String -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: xml layout problem?

2011-02-08 Thread vnv
Tnx for quick reply Kostya. It was in automated system that is custom made for our build that made the problem :( I just got mail :) Tnx once again. On Feb 8, 2:26 pm, Kostya Vasilyev kmans...@gmail.com wrote: And the stack trace from logcat is.? -- Kostya Vasilyev

[android-developers] Regarding emulator.exe has encountered a problem and needs to close. We are sorry for the inconvenience.

2011-02-08 Thread Ravindra Chavan
Hello Everybody, I am stuck with the above mentioned bug while running emulator. Suggest me solution for this problem The bug details are as follows: emulator.exe has encountered a problem and needs to close. We are sorry for the inconvenience. AppName: emulator.exe

[android-developers] Re: custom attributes in library projects

2011-02-08 Thread Premier
Same problem. On 18 Gen, 07:48, egg t.eg...@gmail.com wrote: I also just encountered a same problem. On  2010年12月28日, 午後4:08, schwiz sch...@gmail.com wrote: Ag!! hopefully a hot fix soon?? On Nov 23, 12:13 pm, Leif l...@leifrilbe.com wrote: And same here too... On 9

[android-developers] Re: custom attributes in library projects

2011-02-08 Thread Adam Tybor
Its not great but what I have been doing is using includes and redefining the include in the application project. You can still define the attribute in the library project, you can use simple framelayouts or whatever to define a fake placeholder layout in the library project, then in the

[android-developers] Re: Best practices for automatic retrying of AsyncTask

2011-02-08 Thread Streets Of Boston
Exactly. Just clone the original finished AsyncTask and call 'execute' on that clone. On Feb 7, 11:36 pm, Kevin Duffey andjar...@gmail.com wrote: What happens when the async task finishes? Whatever created the first instance of it, or whatever handles the response, should be able to create a

[android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-08 Thread 捷超 王
Yes, i have read the page and understand that migration to IPv6 when the application is developed in pure JAVA is easy. But i don't know why the Browser uses getaddrinfo(), which is a C function, to deal with IPv6 connection. When we build the OS, we can specify the kernel config file to build

[android-developers] Re: Custom Contact Sync Adapter - Icons and Titles

2011-02-08 Thread Destil
I'm interested in this issue also. Same problem. Looks like Samsung is using something undocumented. David -- 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

[android-developers] Question for Google employees: How would our apps run on the new Kyocera Echo?

2011-02-08 Thread Streets Of Boston
The new Kyocera Echo has *two* screens. Would 'regular' Android apps run on Kyocera Echoes? If so, is there SDK support for this? What problems can we expect for this dual screen phone? Or should it all run fine like any other new Android phone? Thanks! -- You received this message because you

[android-developers] Question for Google employees: How would our apps run on the new Kyocera Echo?

2011-02-08 Thread String
IANAG, but according to Engadget, third party apps can't be run in any of the new modes and just fill the entire display for now --Kyocera and Sprint say an SDK is coming shortly. So it sounds like, until this special SDK arrives, it's a normal 960x800 screen as far as our apps are concerned.

[android-developers] Re: [android-discuss] background service(socket)

2011-02-08 Thread TreKing
On Mon, Feb 7, 2011 at 10:22 PM, balu balu.balachan...@gmail.com wrote: I have gone through some internet stuff, and there i came to know that i should use services. Can anyone tell me how do i do that? or is there any other way? And also once i login, i need to be able to access the

[android-developers] Mount sdcard from code

2011-02-08 Thread maikelalonso
Hi: Anyone know how to mount the sdcard from code? I umount this storage from menu-settings-umount sd card and I want to mount it from an androd application. I can get the state with getExternalStorageState and the path to the mounted sdcard folder but I dont know if it's possible to mount the

[android-developers] Re: ServiceTestCase and Contexts

2011-02-08 Thread nate
Thanks for the response. The assets that I needed for the test project were specifically built for testing and we could not distribute them in the assets of our app (we are keeping the app footprint small), but the workaround I posted above worked fine to get the assets from the test project. On

[android-developers] Maximum attachment size supported in Android OS

2011-02-08 Thread Rocky
Hi All, I wanted to know that what is the maximum attachment size supported in Android. How bigger file i can send through the my email client apps, whether it is server specific or OS specific. -- Thanks Regards Rakesh Kumar Jha -- You received this message because you are subscribed to

[android-developers] YUV---MPEG

2011-02-08 Thread ZeeZo
Hi Guys, I need a help.In method onPreviewFrame(byte[] data, Camera arg1), i get byte[] which is YUV encoded. i am transferring this byte [] through TCP to my PC.What i want is that i want to get a MPEG file from these YUV encoded frame.But i don't know a way to convert these YUV frames into MPEG

[android-developers] Looking for Developer to take over my app

2011-02-08 Thread Warren
I created an app for posting pictures to Craigslist, called Craigslist Picture Poster. It's doing alright, but it needs some updates and maintenance. I just got a new job and don't have the time for it. Is anyone interested it buying it from me and taking over? There is a paid version and an ad

Re: [android-developers] Maximum attachment size supported in Android OS

2011-02-08 Thread Kostya Vasilyev
The stock email client does have a limit of, IIRC, 5 megabytes. Don't know about Gmail, k9, Mail Droid, Yahoo Mail or any other :) -- Kostya Vasilyev -- http://kmansoft.wordpress.com 08.02.2011 19:01 пользователь Rocky rkjhaw1...@gmail.com написал: Hi All, I wanted to know that what is the

[android-developers] Re: Minimize CursorAdapter view recycling?

2011-02-08 Thread ivan
Anyone? On Feb 7, 4:33 pm, ivan istas...@gmail.com wrote: I'm using a ResourceCursorAdapter to display a list of downloads from a ContentProvider that track's my application's downloads -- modeled after Android's DownloadProvider. The problem is that when a download is actively running it

[android-developers] Spawning dialogs in ActivityUnitTestCase fails

2011-02-08 Thread Matthias
Hi, we're running into an issue here where in a unit test for an activity, we test a dialog that's part of the activity. However, as soon as control flow reaches the call to Dialog.show, the test case crashes with an exception: Test run failed: android.view.WindowManager$BadTokenException the

Re: [android-developers] Mount sdcard from code

2011-02-08 Thread Marcin Orlowski
On 8 February 2011 16:41, maikelalonso maikelalonsob...@gmail.com wrote: Hi: Anyone know how to mount the sdcard from code? I umount this storage from menu-settings-umount sd card and I want to mount it from an androd application.  I can get the state with getExternalStorageState and the

[android-developers] Re: Spawning dialogs in ActivityUnitTestCase fails

2011-02-08 Thread Streets Of Boston
How do you call the showing of the dialog? Is it on the main UI thread (and not on the test-case thread)? On Feb 8, 11:47 am, Matthias m.kaepp...@googlemail.com wrote: Hi, we're running into an issue here where in a unit test for an activity, we test a dialog that's part of the activity.

[android-developers] Re: Mount sdcard from code

2011-02-08 Thread maikelalonso
Hi, I've rooted my device and I've root privileges. All is Ok. The only one problem is the code to run in order to get mounted the sd card. What's the command running in Android when I make Menu-Settings- External storage-Mount SD CARD? On 8 feb, 17:45, Marcin Orlowski webnet.andr...@gmail.com

[android-developers] Are the Dialog Buttons considered Views?

2011-02-08 Thread Jeremiah Sellars
Pretty straightforward question, really. Thanks everyone, Jeremiah -- 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] System brightness does not apply changes immediately

2011-02-08 Thread TreKing
On Mon, Feb 7, 2011 at 10:58 PM, Elvis Dowson elvis.dow...@gmail.comwrote: I've modified liblights library to correctly point to the sysfs file that controls my LCD's backlight brightness. It works correctly from the kernel side. I think you're in the wrong forum. Try the porting or

[android-developers] Re: Spawning dialogs in ActivityUnitTestCase fails

2011-02-08 Thread Matthias
yes it's called on the UI thread. There's nothing special about the invocation; in the test case I click the button (using View.performClick) that brings up the dialog, but it crashes on the show() method. Up to that point, everything checks out. It must be something specific to how Dialogs are

Re: [android-developers] Re: how to retreive existing keystore

2011-02-08 Thread TreKing
On Mon, Feb 7, 2011 at 10:36 PM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: The previous app was done by another developer whom i cannot contact. Out of curiosity, how did you come into possession of an app that you intend to update and modify for the Android Market without

Re: [android-developers] display dialog box after every 5 min

2011-02-08 Thread TreKing
On Tue, Feb 8, 2011 at 1:15 AM, Narendra Bagade bagadenaren...@gmail.comwrote: I need help. OK. I want to show dialog box in my activity at regular interval of 5 min. Every 5 minutes, show a dialog box in your activity. Thanks in advance... You're welcome. ... ... ... Seriously

[android-developers] Re: Are the Dialog Buttons considered Views?

2011-02-08 Thread kernelpanic
pretty straightforward answer then - from the docs here - http://developer.android.com/reference/android/widget/Button.html java.lang.Object ↳ android.view.View ↳ android.widget.TextView ↳ android.widget.Button On Feb 8, 11:07 am, Jeremiah Sellars sylus.mcf...@gmail.com wrote:

[android-developers] Re: Spawning dialogs in ActivityUnitTestCase fails

2011-02-08 Thread Matthias
I'm pretty sure it's a bug. When running this directly in the test case, I get the same error: getInstrumentation().runOnMainSync(new Runnable() { @Override public void run() { AlertDialog.Builder b = new AlertDialog.Builder(getInstrumentation()

Re: [android-developers] Looking for Developer to take over my app

2011-02-08 Thread TreKing
On Tue, Feb 8, 2011 at 10:09 AM, Warren warrenba...@gmail.com wrote: I created an app for posting pictures to Craigslist, called Craigslist Picture Poster. Is anyone interested it buying it from me and taking over? Try an ad on Craigslist ... ;-)

Re: [android-developers] Customize Spinner in android?

2011-02-08 Thread TreKing
On Tue, Feb 8, 2011 at 3:45 AM, Sapna Srivastav sapna.ari...@gmail.comwrote: but how can we customize a spinner ? Please suggest me, how can I achieve this in android? Define customize. - TreKing

[android-developers] custom volume control slider with the MediaPlayer

2011-02-08 Thread DanielleM
Hello all: In my app I an using a MediaPlayer object to play some streaming audio. I would like to be able to display on the screen a volume control slider. Can someone point me in the right direction for this? Perhaps there is some volume object I can call and just adjust the foreground and

Re: [android-developers] Maximum attachment size supported in Android OS

2011-02-08 Thread Dianne Hackborn
The OS knows nothing about attachments, and thus has no limit on them. On Tue, Feb 8, 2011 at 8:00 AM, Rocky rkjhaw1...@gmail.com wrote: Hi All, I wanted to know that what is the maximum attachment size supported in Android. How bigger file i can send through the my email client apps,

Re: [android-developers] custom volume control slider with the MediaPlayer

2011-02-08 Thread Stephen Lau
You could just use a Seekbar and hook up the listeners to AudioManager.setStreamVolume(): http://developer.android.com/reference/android/media/AudioManager.html#setStreamVolume(int, int, int) DanielleM

[android-developers] Re: Are the Dialog Buttons considered Views?

2011-02-08 Thread Jeremiah Sellars
I suppose I should have qualified that a little more, I'm a tad more experienced than just needing the Button documentation. I've been attempting to speed up the dismissal of the soft keyboard when a Dialog I have is closed. I have a previous post, here:

[android-developers] Re: custom volume control slider with the MediaPlayer

2011-02-08 Thread DanielleM
That's a great idea. I'll try it out. Thanks. :) On Feb 8, 1:11 pm, Stephen Lau st...@grommit.com wrote: You could just use a Seekbar and hook up the listeners to AudioManager.setStreamVolume():http://developer.android.com/reference/android/media/AudioManager.htm..., int, int)

Re: [android-developers] Re: Minimize CursorAdapter view recycling?

2011-02-08 Thread Kostya Vasilyev
If the button is linked to the wrong item, then you have a bug in your adapter's getView, where you're not properly associating the button with the item for the case where convertView != null. As for performance, I find it useful, when refreshing a ListView item in response to some event, to

Re: [android-developers] Re: Mount sdcard from code

2011-02-08 Thread Kostya Vasilyev
How about checking the source yourself? http://android.git.kernel.org/?p=platform/packages/apps/Settings.git;a=tree;h=refs/heads/froyo;hb=refs/heads/froyo However, Settings might be using an internal API not available to applications (most likely is), and, AFAIK, is signed with the platform

Re: [android-developers] Looking for Developer to take over my app

2011-02-08 Thread Kostya Vasilyev
08.02.2011 20:50, TreKing ?: On Tue, Feb 8, 2011 at 10:09 AM, Warren warrenba...@gmail.com mailto:warrenba...@gmail.com wrote: I created an app for posting pictures to Craigslist, called Craigslist Picture Poster. Is anyone interested it buying it from me and taking over?

[android-developers] JAVA_HOME Not recognized in Tools?

2011-02-08 Thread Evan Ruff
Hey guys, Not to sound like a grump, but why does \tools\lib\find_java.bat ignore the JAVA_HOME environmental variable? I have having to change my config around just to reference this. E -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Re: Mount sdcard from code

2011-02-08 Thread Marcin Orlowski
On 8 February 2011 18:04, maikelalonso maikelalonsob...@gmail.com wrote: Hi,  I've rooted my device and I've root privileges. All is Ok. The only one problem is the code to run in order to get mounted the sd card. What's the command running in Android when I make Menu-Settings- External

Re: [android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-08 Thread Kostya Vasilyev
You didn't say you were interested in native code. The kernel is built a certain way, and it doesn't need to reference build config files - the code to support IPv6 is either there or not. The C functions for socket stuff call into the kernel. Some of those give a C application the ability

Re: [android-developers] Looking for Developer to take over my app

2011-02-08 Thread Kevin Brooks
Elance might be helpful as well. On Tue, Feb 8, 2011 at 12:34 PM, Kostya Vasilyev kmans...@gmail.com wrote: 08.02.2011 20:50, TreKing пишет: On Tue, Feb 8, 2011 at 10:09 AM, Warren warrenba...@gmail.com wrote: I created an app for posting pictures to Craigslist, called Craigslist Picture

[android-developers] Re: Minimize CursorAdapter view recycling?

2011-02-08 Thread ivan
Thanks for the reply. The button events are -- nine times out of ten -- tied to the correct data, but if you rapidly push a button you can throw an event that will be tied to the wrong data. I thought that this didn't make sense since everything should be occurring on the UI thread (right?).

Re: [android-developers] Re: Minimize CursorAdapter view recycling?

2011-02-08 Thread Kostya Vasilyev
Are you sure that you only touch the ListView and its adapter from the UI thread? -- Kostya 08.02.2011 22:11, ivan пишет: Thanks for the reply. The button events are -- nine times out of ten -- tied to the correct data, but if you rapidly push a button you can throw an event that will be

[android-developers] Re: Problems alloweing self-signed certificates.

2011-02-08 Thread NeoRiddle
Thank you very much for your answer. I have checked these links, but there is something strange... In the second link (Android API reference) suggest to use Scheme object. This constructor takes SocketFactory (some class which implements org.apache.http.conn.scheme.SocketFactory, they could be:

Re: [android-developers] Slow animation while swiping

2011-02-08 Thread TreKing
On Tue, Feb 8, 2011 at 3:55 AM, lou louis.coq...@wopata.com wrote: My problem is that the swipe animation is blocked while the UIThread loads the images, resulting in a very slow animation. Anyone knows how can I avoid this behavior ? Don't load the images in the UI thread.

Re: [android-developers] Fetch data from android service to HTML

2011-02-08 Thread Kevin Duffey
Not sure I understand the issue. If you have a server, presumably some sort of Java servlet or JEE based application, and you are able to make a call from android to this service to get data, and display it in an android app, are you asking if you can make an html page as part of this service that

[android-developers] Pausing a Handler / Looper / MessageQueue

2011-02-08 Thread goosedroid
Is there a way to tell a Handler/Looper to enqueue messages sent to it without calling handleMessage() right away? I need the messages to collect in the MessageQueue. postMessageDelayed() is not applicable to my situation. Of course, it would need to be resumed again. All the queued messages

Re: [android-developers] Adding multiple child views

2011-02-08 Thread TreKing
On Tue, Feb 8, 2011 at 4:24 AM, alan a...@birtles.org.uk wrote: do I have to handle save and restore of state in ChildView? Yes. http://developer.android.com/reference/android/view/View.html#onSaveInstanceState()

Re: [android-developers] facebook session persists in my app even after logging out of the facebook app

2011-02-08 Thread TreKing
On Tue, Feb 8, 2011 at 4:53 AM, funkyidol funkyi...@gmail.com wrote: Can anybody help me figure out how logging out of the facebook app should clean the session from my app as well?? Um ... why would it? For example, signing out of my Gmail account in Chrome doesn't sign me out in Firefox,

[android-developers] Re: Question for Google employees: How would our apps run on the new Kyocera Echo?

2011-02-08 Thread Russell DuRoss
That seems to leave open the issue of what happens when the user has only one screen open, since the second screen is apparently a slide- out. On Feb 8, 10:19 am, String sterling.ud...@googlemail.com wrote: IANAG, but according to Engadget, third party apps can't be run in any of the new

[android-developers] Re: Camerapreview

2011-02-08 Thread Joe McCann
Seriously, did you google it? There are loads of examples. On Feb 8, 3:12 am, Jayanthi jaia...@gmail.com wrote: Hi,     I am new to android I want to send mail with image attached to it I need solution for two question 1.How to get the path of image saved in sd card using camera preview

Re: [android-developers] Pausing a Handler / Looper / MessageQueue

2011-02-08 Thread TreKing
On Tue, Feb 8, 2011 at 2:36 PM, goosedroid alexrhel...@gmail.com wrote: Is there a way to tell a Handler/Looper to enqueue messages sent to it without calling handleMessage() right away? I need the messages to collect in the MessageQueue. postMessageDelayed() is not applicable to my

Re: [android-developers] Re: Question for Google employees: How would our apps run on the new Kyocera Echo?

2011-02-08 Thread Kostya Vasilyev
http://developer.sprint.com/site/global/develop/mobile_platforms/android/android.jsp With the Echo™ your apps can provide three different visual experiences: Single-Screen Mode- app runs like a standard Android device with a single 480x800(HDPI) screen Tablet Mode- app runs across both

Re: [android-developers] Min SDK problem

2011-02-08 Thread TreKing
On Mon, Feb 7, 2011 at 11:59 PM, alienmanfc6 alienman...@gmail.com wrote: It seams like since the last update of my app the market is letting people with a OS version less than what i set to try an download the update. I have the min SDK set to 4 for 1.6 but lots of people are emailing me with

[android-developers] Re: Proguard problem after 2.3 update

2011-02-08 Thread LeX
Hi Roshan, I use linux, and the adding to tools/lib did not help :( maybe the add-proguard-release.xml should be updated in some way (due to interface change?!?) ? On 8 Feb., 07:44, roshan vidapanakal roshanrani2...@gmail.com wrote: Add this file in the android-sdk-windows\tools\lib  path. It

[android-developers] Adding more language layouts to Gingerbread's built-in keyboard

2011-02-08 Thread Kaloian Doganov
I'm interested in adding support of Bulgarian keyboard layouts to Gingerbread's built-in keyboard. Is it possible to plug additional layouts there and if it is so - where should I start looking? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Proguard problem after 2.3 update

2011-02-08 Thread LeX
Fount the solution, that worked for me: adding external.libs.dir=libs to default.properties finally... found at http://stackoverflow.com/questions/4356979/proguard-error-expecting-class-path-seperator-not-sure-where-i-need-to-put-a-p On 8 Feb., 07:30, LeX fink.ale...@googlemail.com wrote:

[android-developers] Re: Minimize CursorAdapter view recycling?

2011-02-08 Thread ivan
The only manipulation to the view object is via the non-overridden ResourseCursorAdapter bindView() function. On occasion this function will block for a couple seconds maximum if a drm data cache is occurring in another thread, but that thread never touches the view object. Maybe waiting on a

[android-developers] Re: avcodec_decoder_find problem

2011-02-08 Thread cervello
ece@ubuntu:~/workspace/FFmpeg/jni$ /home/ece/ndk/ndk-build Install: libffmpeg.so = /home/ece/workspace/FFmpeg/libs/ armeabi Compile thumb : takepics = /home/ece/workspace/FFmpeg/jni/takepics.c /home/ece/workspace/FFmpeg/jni/takepics.c: In function 'fill_image':

  1   2   >