[android-developers] Re: Camerapreview

2011-02-08 Thread Jayanthi
Yes , I have seen loads of example but now I am trying this for Samsung Galaxy Tab ,here my problem is I couldn't able to set Image path to ImageButton Thanks, On Feb 9, 1:57 am, Joe McCann wrote: > Seriously, did you google it?  There are loads of examples. > > On Feb 8, 3:12 am, Jayanthi wrote

Re: [android-developers] === My ContentProvider.query() can not populate a Cursor. ===

2011-02-08 Thread Kostya Vasilyev
Take a look at MatrixCursor. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 09.02.2011 5:27 пользователь "ClarkBattle" написал: > I am making a ContentProvider to provide results of the android global > search box. I am supposed to @Override query() to return my results > in a Cursor. The pr

[android-developers] sd cards

2011-02-08 Thread b_t
Hi, Some device has 2 SD-card. Is there any way in the API to get all of them? -- 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 ema

[android-developers] Test Performance Nand vs SD CArd

2011-02-08 Thread yoni dana
Test Performance NAND write, I am writing an MTD driver to a NAND chip I have on my board, I would like to test the performance read/write on the NAND device, and compare it to read/write On SD Card. Is there a utility on Android I can test performance (for example IOMETER. IOZONE) Thank you -- Y

[android-developers] Howto get string /dev/block/vold/179:1 ( sdcard device) in an android app

2011-02-08 Thread maikelalonso
Hi: Anyone knows if there is any way to get the device path of the SDCARD? I have mounted /dev/block/vold/179:1 on /mnt/sdcard and type is vfat. My app runs ok cause I'm runnin the command "mount |grep sdcard |grep vfat | awk -F" " '{print $1}' and get corresponding "/dev/block/vold/ 179:1. But,

[android-developers] help needed in youtube api for android and using it

2011-02-08 Thread kavitha b
Hi All, I am fed up of searching a working example for using youtube gdata api for displaying videos in android. Can anybody please provide a working example of using gdata for android? Thanks Kavitha -- You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] about openipmp

2011-02-08 Thread 苗忠良
hi: I'm using openipmp for drm on android,but the document of openipmp is scarcity,fellow the doc of openipmp_v202.zip,I already do all step according OpenIPMP DRM Plugin SDK.pdf and OpenIPMP DRM Server.pdf,what i should do next? where are dcf file,how I run the demo? -- You received this m

[android-developers] Re: Mount sdcard from code

2011-02-08 Thread maikelalonso
With the mount command works correctly but the icon of the API shows like the SDCARD is not mounted when really if it is. On 8 feb, 19:37, Marcin Orlowski wrote: > On 8 February 2011 18:04, maikelalonso wrote: > > > Hi,  I've rooted my device and I've root privileges. All is Ok. The > > only one

Re: [android-developers] DDMS does not show VM list

2011-02-08 Thread Xavier Ducrohet
Looks like you have a phone running a debug build where all the apps are debuggable by default and the other one is running a production build ("user" build) where the apps are not debuggable unless they declare debuggable=true in their manifest. On Tue, Feb 8, 2011 at 5:31 PM, jotobjects wrote:

[android-developers] Re: Mount sdcard from code

2011-02-08 Thread maikelalonso
Thanks for the reply. The solution might be to run a portion of code that makes the same as Menu-> Settings-> External Storage-> Mount SDCARD. I understand you're telling me that's impossible. (Congratulations for your blog. Is very interesting). On 8 feb, 19:34, Kostya Vasilyev wrote: > How abo

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

2011-02-08 Thread JAlexoid (Aleksandr Panzin)
I can add from the front page of these groups: Be very clear about your question in the subject -- it helps everyone, both those trying to answer your question as well as those who may be looking for information in the future. Also give plenty of details in your post to help others understand your

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

2011-02-08 Thread SREEHARI
Hi Kevin, Thanks for the reply. What I am trying is to contact the android server application from an html(jscript) page running in normal windows browser. I want to fetch the data and want to display it in the web page. I think ur 3rd suggession will help me. But my doubt is how can I make the c

Re: [android-developers] Re: 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 9:41 PM, funkyidol wrote: > Its because I thought thats how single sign on works. For example if I log > out of my gmail, my google reader also log out from the same browser. > Gmail and Reader are two products tied to your one Google account. When you sign out of Gmail or

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

2011-02-08 Thread JAlexoid (Aleksandr Panzin)
Aw... They removed the constructor for SSLSocketFactory(java.net.ssl.SSLContext) from public API :( You can extend the SSLSocketFactory(to bypass ALL verification ever) or Add your key to a trust store and create SSLSocketFactory(java.security.KeyStore truststore) On 8 фев, 21:48, NeoRiddle wrot

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

2011-02-08 Thread Streets Of Boston
Does logging out of your Facebook application remove the entire Facebook account? (go to Menu --> Settings --> Accounts and check for the Facebook account). If so, then your app should also no longer be able to login. If not, then your app should be able to still login. If your app still logs in

Re: [android-developers] Bluetooth socket connection issue

2011-02-08 Thread Ajith Kamath
Hi Checked the logs. Everything seems to be fine. I'm not sure what the prob is. Try adding some delay before bluetooth socket connect takes place. this might be needed if you are connecting to some headsets/handsfree. If Still it doesn solve the problem.. Add logs upto jni level and send the log

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

2011-02-08 Thread funkyidol
Its because I thought thats how single sign on works. For example if I log out of my gmail, my google reader also log out from the same browser. If I have the capability to use Facebook Apps session token to post on facebook using my app, then logging out of the Facebook app should also stop workin

[android-developers] Re: ndk-gdb on cygwin/windowsXP won't load symbol tables.

2011-02-08 Thread Dewr
at before, I have put codes above of 'include $(CLEAR_VARS)' stupidly. On Wed, Feb 9, 2011 at 11:15 AM, Dewr wrote: > I has done this job by editing Android.mk. > moving 'LOCAL_CFLAGS := -g #debug' line to below of 'LOCAL_MODULE:= > libxxx' > > here is my Android.mk > >> LOCAL_PATH := $(call

[android-developers] === My ContentProvider.query() can not populate a Cursor. ===

2011-02-08 Thread ClarkBattle
I am making a ContentProvider to provide results of the android global search box. I am supposed to @Override query() to return my results in a Cursor. The problem is that my results do not come from a database. They come from a server that gives me a populated List. Perhaps I need to manually

[android-developers] Re: ndk-gdb on cygwin/windowsXP won't load symbol tables.

2011-02-08 Thread Dewr
I has done this job by editing Android.mk. moving 'LOCAL_CFLAGS := -g #debug' line to below of 'LOCAL_MODULE:= libxxx' here is my Android.mk > LOCAL_PATH := $(call my-dir) > > include $(CLEAR_VARS) > > LOCAL_MODULE:= libunse > > LOCAL_CFLAGS := -g #debug > LOCAL_LDFLAGS := -Wl,-Map,xxx.ma

[android-developers] DDMS does not show VM list

2011-02-08 Thread jotobjects
I have two identical phones - Droid2 Android version 2.2 (except that they have different apps installed). On one of them DDMS works fine. On the other one I don't get the list of VM's in the upper left quadrant - so I can't see the process ID's. Otherwise all the features of DDMS seem to be work

Re: [android-developers] Can apps that use device-specific permissions be published to Android Market?

2011-02-08 Thread TreKing
On Tue, Feb 8, 2011 at 5:32 PM, Jin Chiu wrote: > Given this, are there any restrictions against me publishing the app > through the main Android Market? > Try it, see what happens. - TreKing

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

2011-02-08 Thread ivan
Excuse me, I misspoke... Let me correct: The only manipulation to the view is via the OVERRIDDEN ResourceCursorAdapter bindView() function. On Feb 8, 3:03 pm, ivan wrote: > The only manipulation to the view object is via the non-overridden > ResourseCursorAdapter bindView() function.  On occasion

[android-developers] Can apps that use device-specific permissions be published to Android Market?

2011-02-08 Thread Jin Chiu
I have an app that uses a set of permissions that are only available on Samsung devices. However, this permission is not mandatory for my app and it will still function fine without it. Given this, are there any restrictions against me publishing the app through the main Android Market? -- You re

[android-developers] Re: Example gallery style view with fling, bounce, animation, etc

2011-02-08 Thread Arjen
Great code! Thanks for sharing! droidful gmail.com> writes: > > The new code posted below works in the 1.5 emulator. Bear in mind this > is an example born of my own investigations and therefore does not > contain exception handling, robustness, etc. Such as it is I hope you > find it helpful.

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

2011-02-08 Thread ivan
I guess the cursor position tag would/could present a problem if the data size were changing, but it's not (in this particular instance) and the query/requery results are sorted in a specific order per the _id. Weird. On Feb 8, 4:03 pm, Kostya Vasilyev wrote: > Then perhaps the cursor gets reque

Re: [android-developers] Re: avcodec_decoder_find problem

2011-02-08 Thread Kostya Vasilyev
In C, the compiler automatically converts pointers from non-const to const, but not pointers to pointers. It has to do with the latter conversion creating a loophole for modifying the data, if it were actually performed, but I can't remember the details off-hand. Anyway, that's not an Android SDK

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

2011-02-08 Thread Kostya Vasilyev
Then perhaps the cursor gets requeried and the position changes. You can track down requeries with a cursor factory and some logging, but perhaps it's easier to set a tag to the item's _id value, as that should not change (and you need the _id to delete, anyway). -- Kostya Vasilyev -- http://kman

[android-developers] Re: avcodec_decoder_find problem

2011-02-08 Thread cervello
I checked every type that I used for these parameters.There is nothing wrong. Actually I had that error once again and it was fixed without doing anything with the parameter types. But now I don't understand the cause of this error.. -- You received this message because you are subscribed to the

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

2011-02-08 Thread ivan
"You were saying something about buttons - how are you creating them, and mapping to the right data item? " I set a tag to the cursor position in the bindView() function. On Feb 8, 3:20 pm, Kostya Vasilyev wrote: > No, waiting on synchronized block or thread.wait blocks the waiting thread > and

Re: [android-developers] Re: xml layout problem?

2011-02-08 Thread TreKing
2011/2/8 vnv > It was in automated system that is custom made for our build that made the > problem :( > > I just got mail :) > Fix your automated system so it reports the stack trace, then post that. It'll be pretty much impossible to give you an answer with what you've posted. ---

Re: [android-developers] Re: avcodec_decoder_find problem

2011-02-08 Thread Kostya Vasilyev
Looks like you could just add a cast to expected type where this function is called, or change the declaration of whatever is used as the parameter. Basically, that function takes an array of pointers, and promises to not change either the values of individual pointers or the values of whatever th

[android-developers] TTS User controlled

2011-02-08 Thread Leon Moreyn-Android Development
So I would say I am pretty much the office guru when it comes to TTS in Android Applications, I can enable, install and make it say pretty much whatever I want at this point. Someone in my office had the gale to ask me if I could make it stop talking as a setting and I said sure. Well This is w

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

2011-02-08 Thread Kostya Vasilyev
No, waiting on synchronized block or thread.wait blocks the waiting thread and only lets other threads run. But, that synchronization doesn't sound good for a different reason, since you are blocking the UI thread, and that should not happen. One way around it is to make that cached data item ava

[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': /home/ece/workspace/FFmpeg

[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': /home/ece/workspace/FFmpeg

[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 syn

[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... 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 wrote: > Hi folks, > > same problem here a

[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" grou

[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 wrote: > Add this file in the android-sdk-windows\tools\lib  path. It will be solved > i too h

Re: [android-developers] Min SDK problem

2011-02-08 Thread TreKing
On Mon, Feb 7, 2011 at 11:59 PM, alienmanfc6 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 1.5 > saying they

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] Pausing a Handler / Looper / MessageQueue

2011-02-08 Thread TreKing
On Tue, Feb 8, 2011 at 2:36 PM, goosedroid 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 situation. > > Of course,

[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 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 > 2.How to send ma

[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 wrote: > IANAG, but according to Engadget, "third party apps can't be run in any of > the new modes and just fill the entir

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 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, nor should it. Why

Re: [android-developers] Adding multiple child views

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

[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 woul

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

Re: [android-developers] Slow animation while swiping

2011-02-08 Thread TreKing
On Tue, Feb 8, 2011 at 3:55 AM, lou 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. --

[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: L

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 tied

[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?). But

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 wrote: > 08.02.2011 20:50, TreKing пишет: > > On Tue, Feb 8, 2011 at 10:09 AM, Warren wrote: > >> I created an app for posting pictures to Craigslist, called >> Craigslist Picture Poster. >> >> Is anyone interest

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 to

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

2011-02-08 Thread Marcin Orlowski
On 8 February 2011 18:04, maikelalonso 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 storage->Mount SD CARD? u

[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. T

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 > 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] 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 ke

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 g

[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 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) > > > > > -

[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: http://groups.google.com/group/android-deve

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

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 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, whether it is > se

[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 backg

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

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

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 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 ... ;-)

[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()

[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 wrote: > Pretty straightforward

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 wrote: > 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 though, you need to

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

[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 han

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 wrote: > 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 platform groups.

[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 andro

[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 wrote: > On 8 February

[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 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. However, as soon as > cont

Re: [android-developers] Mount sdcard from code

2011-02-08 Thread Marcin Orlowski
On 8 February 2011 16:41, maikelalonso 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 path to the mounted sd

[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 ac

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

2011-02-08 Thread ivan
Anyone? On Feb 7, 4:33 pm, ivan 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 frequently > cal

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" написал: > Hi All, > > I wanted to know that what is the maximum attachment

[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 su

[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] 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] 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] 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: [android-discuss] background service(socket)

2011-02-08 Thread TreKing
On Mon, Feb 7, 2011 at 10:22 PM, balu 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 background service > by all t

[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 concerne

[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] 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 unsubs

[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 aga

[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 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 > new instance agai

[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 appli

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

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

[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.exeAppVer

[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 wrote: > And the stack trace from logcat is.? > > -- > Kostya Vasilyev --http://kmansoft.wordpress.com >

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

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" написал: > 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

[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 p

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

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

  1   2   >