[android-developers] Re: RTSP Streaming on g1 phone

2009-02-04 Thread Jerry Yang
What is the result if you use a pc based VLC to test your rtsp broadcast? -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Jeff Oh Sent: Wednesday, February 04, 2009 3:07 PM To: Android Developers Subject:

[android-developers] Re: RTSP Streaming on g1 phone

2009-02-04 Thread Jeff Oh
VLC plays every streams I used very well. I used streams only those VLC can play well. Regards, Jeff. On 2월4일, 오후5시04분, Jerry Yang jer...@intertrust.com wrote: What is the result if you use a pc based VLC to test yourrtspbroadcast? -Original Message- From:

[android-developers] Re: What determines Android Market popularity ranking

2009-02-04 Thread Chister Nordvik
Would you share the percentage of active installs? My app is around 40-50% and while the rating is now 4.40, the app goes lower and lower on the popularity rating. Maybe Google doesn't like my app? :-) -Christer On Feb 2, 4:13 pm, Sundog sunns...@gmail.com wrote: I don't think that's true. I

[android-developers] Re: RTSP Streaming on g1 phone

2009-02-04 Thread Jerry Yang
No, idea, because I have no detail information about the detail imply of media player in this platform. With best wishes Jerry -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Jeff Oh Sent: Wednesday, February 04,

[android-developers] Re: how to test the existence of a specific activity ?

2009-02-04 Thread Al Sutton
getPackageManager() in a Context gives you one of these; http://code.google.com/android/reference/android/content/pm/PackageManager.html You can then use http://code.google.com/android/reference/android/content/pm/PackageManager.html#getActivityInfo(android.content.ComponentName,%20int) If

[android-developers] Re: Mships.com Can you help review, etc?

2009-02-04 Thread Al Sutton
Probably best move this to android-discuss as it's not about development. Al. http://andappstore.com/ Mships wrote: Hi guys! Asking for a bunch of immediate feedback on Mships.com Please go to http://www.mships.com and email what you think of the site, give feedback, suggestions for

[android-developers] Re: How to use proxy server on the g1?

2009-02-04 Thread Al Sutton
Sounds like an opportunity for someone to write an app. The source for the proxy settings page is in; /packages/apps/Settings/src/com/android/settings/ProxySelector.java in the git repository, so couldn't someone write an app using that, add in some buttons to change configuration and some

[android-developers] Re: RTSP Streaming on g1 phone

2009-02-04 Thread Jerry Yang
If no security or commercial issues, Can you send me your code for rtsp so that I try to analysis for you? Thanks Jerry -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Jerry Yang Sent: Wednesday, February 04, 2009

[android-developers] Re: TV out for the T-Mobile G1 aka HTC DREAM possible ?

2009-02-04 Thread Rajesh S
possible.. and something similar is coming .. not exactly an external display.. but support to send timed screen shots over USB is coming up .. you could use it with appropriate interface to show a demo/ present your special stuff on a projector. expect it along with cupcake updated release.

[android-developers] Re: LocationManager causes application to crash

2009-02-04 Thread pulkit
Mark, Thanks for the reply, but I guess all permissions are in right place as they are reflected in the Eclipse's view as well. JS, Thanks a lot for the suggestion. I'm able to see all the permissions in the Eclipse's view but still application crashes. No joy, we're really stuck here. Any

[android-developers] Re: how to update list

2009-02-04 Thread for android
In your adapter class u will be having the constructor something like this: public class MyAdapter extends BaseAdapter{ private ListMyObj myList; public MyAdapter(Context context, int rowResID, ListMyObj myList) this.myList=

[android-developers] Re: Onclick listener on ListView items

2009-02-04 Thread munish
Thanx pratap On Feb 4, 10:59 am, PRATAP SOLAPUR pratap.sola...@gmail.com wrote: U should implement onItemSelectedListener for list items... On 2/4/09, munish munish.sha...@lntinfotech.com wrote: Hi All I want to set the onclicklistner on the each item to be displayed in

[android-developers] Radio Off

2009-02-04 Thread Kamal Hasan
Hi, Programatically how to switch off Radio, bluetooth and wifi in android ? Can I enable airplane mode ? Kamal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] URI for the CalendarAlerts? - Not in sources.

2009-02-04 Thread code_android_festival_way
Could someone please tell me the URI for the calendar alerts? I have found the URI for the calendars in the sources but the alerts are stored in another table and I can't find the URI for the content in this table because it is stored in a class which is not available. It would be nice if some

[android-developers] Re: DM,FOTA DS with Andriod

2009-02-04 Thread Xiaoliang Ding
Does Android support DM FOTA now? I do not think so. For sync contacts calender, MTP is a good choice. But do not kown will Android support it or not. 2009/2/3 manoj adepu manojad...@gmail.com HI All, Is the source include in Android for following components DM,FOTA DataSync. How the

[android-developers] Playing an audio file during a call

2009-02-04 Thread Mak
I want to accept incoming calls and play an audio file for the caller. Is there a possibility of playing an audio file during a phonecall, so that the caller hears a wav- file? It seems to me that nothing is possible during a phone call since release 1.0. Hope this is getting better in the next

[android-developers] Re: base64 in the sdk ?

2009-02-04 Thread Alistair.
I think the answer is no. You will find a Base64 encoder/decoder here: http://www.source-code.biz/snippets/java/2.htm It seems that it has been used with some success already. http://groups.google.com/group/android-developers/browse_thread/thread/1b434be82afd2661/da653497508b22a3 Al. On Feb

[android-developers] Re: How to acquire device name with code

2009-02-04 Thread Stanley.lei
Hi Jerry, I have tested this solution. But unfortunately it seems not work. I wanna know the list device name with command adb devices, which could be used as the serial number in the command adb -s serial_number shell to login shell, but the constants in class Build doesn't contain this

[android-developers] Re: Automatic upgrade

2009-02-04 Thread mat
Many Thanks! On Feb 3, 6:13 pm, Al Sutton a...@funkyandroid.com wrote: http://www.tomgibara.com/android/veecheck/ Al. mat wrote: Anybody knows how to resolve this issue ?? Hi All, Can you provide some example code forautomaticupgradeof application? I have URL where the new version

[android-developers] Re: collections vs arrays?

2009-02-04 Thread gsmd
Thanks. Might be interesting to benchmark stuff like this. On Feb 4, 3:51 am, Romain Guy romain...@google.com wrote: Collections are also often backed by arrays or linked list (which implies extra objects) so the overhead can be significant over an array. If you need a growing array though,

[android-developers] Re: Compare Mobile Platforms

2009-02-04 Thread MMI
Simple, with around 7Mio sold IPhones and a more or less working shop system, go for it for fast money. Android will need at least 1 year, more likely 2 years to catch up with them. But it depends on the app you want to write, if you write a business app, go for RIM (now) or android (perhaps for

[android-developers] How to get the Screen Mode (Landscape or portrait) in a service?

2009-02-04 Thread honglian...@gmail.com
Would you like to let me know how to get the Screen Mode (Landscape or portrait) in a service? --~--~-~--~~~---~--~~ 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] Am I missing something really dumb.

2009-02-04 Thread Al Sutton
I have a service in an APK which starts a Thread which has the following in it's run method; Intent intent = new Intent(com.funkyandroid.TEST, dataURI); MyService.this.sendOrderedBroadcast(intent, null); In a different APK I have the following in the application section

[android-developers] Re: RTSP Streaming on g1 phone

2009-02-04 Thread rktb
On Feb 4, 1:07 am, Jeff Oh jeff.o...@gmail.com wrote: Hi, thanks for your interest. I've tested many streams, but the following is the the most conservative one. Video frame is 176x144, 8 fps. Video bitrate is around 64kbps, audio bitrate is 80kbps. I think this happens only with

[android-developers] Re: RTSP Streaming on g1 phone

2009-02-04 Thread rktb
I can't seem to ping 172.29.10.109. Any address where I can access the file from? -Ravi On Feb 3, 5:59 am, Jeff Oh jeff.o...@gmail.com wrote:  Hi, I'm trying to receive RTSP streaming video with g1. The video file I made was encoded using QuickTime pro, and they are progressive streamable

[android-developers] Re: cupcake/development/tools/eclipse/scripts/build_server.sh failed on Mac OS -- HELP

2009-02-04 Thread Jean-Baptiste Queru
This is not a question about official SDKs, so you should probably move this discussion to android-platform. JBQ On Tue, Feb 3, 2009 at 9:46 PM, enetconsult...@comcast.net wrote: I am using Mac Pro which has Darwin linux. I tried to ADT 0.9.0 by running the script at

[android-developers] OpenGL ES 1.1 - Point Sprites

2009-02-04 Thread hbk723
The documentation says that OpenGL ES 1.1 support is not complete. Does this mean that if a method is provided it should work or that some methods provided in the API don't work? For example, I would like to be able to use some of the GL_POINT_SPRITE_OES stuff. I have noticed that if you cast a

[android-developers] Unofficial SDK 1.5 with Media Files

2009-02-04 Thread Breno
Hi, Here i'm posting my SDK 1,5, based on Latest Cupcake source code, and this SDK includes the media files, that normally are hidden under @hide directive. The emulator are ok in both Linux and Windows. Sorry Mac OX Users, i don't have one to build. Apparently, the SDK is ok, and

[android-developers] how to remove application specific data

2009-02-04 Thread shahzad ahmad
When an application is installed , it preserves the data of previously installed application . Is there any way to completely wipe out the previous application on fresh install ? Is there any registry or some location where an application can store data and it gets automatically wiped out when

[android-developers] Re: Unofficial SDK 1.5 with Media Files

2009-02-04 Thread Breno
Please, use this linksthe others has a 90 days of life just... http://rapidshare.com/files/193806918/android-eclipse-0.9.0-plugin.zip http://rapidshare.com/files/193811442/android-sdk_15_windows.zip http://rapidshare.com/files/193814085/android_sdk_15_linux.zip Best Regards Breno On Feb

[android-developers] how to completely wipe out the application data

2009-02-04 Thread shahzad ahmad
I'm developing an application which downloads a file from FTP server. The code first checks if file is present on local system . If it is not present on local system then it downloads it from FTP server. Application must download file from FTP server when it executes first time after getting

[android-developers] Re: Read Image with multiple Frames - Animated Gif

2009-02-04 Thread Mike Reed
Sorry, the decoders don't expose per-frameness yet. It may seem awkward, but you can load a Movie, and then draw each frame into an offscreen bitmap, and then save/compress those into separate files. On Tue, Feb 3, 2009 at 5:23 PM, Siva Rajaraman sriram...@gmail.com wrote: Hello Everyone, I

[android-developers] Re: Unofficial SDK 1.5 with Media Files

2009-02-04 Thread Jean-Baptiste Queru
This is off-topic for android-developers, which focuses on using the official SDK. Please move this to android-discuss. Note to developers: applications developed with unofficial SDKs, especially those that come from in-progress source trees, and especially those that explicity expose more APIs

[android-developers] Re: Using G1 as modem

2009-02-04 Thread Disconnect
Stones, houses, etc. That post was 3 months old. ..not too bright, are you? On Tue, Feb 3, 2009 at 7:50 PM, cmisak - www.redkite.us cmi...@gmail.comwrote: Xavier Mathews Not so bright are you. tethering your phone (any phone) to your laptop opens up a powerful traveling and mobile

[android-developers] bad packet exception - eclipse debugging

2009-02-04 Thread ad
eclipse debugging - what to do? [2009-02-04 16:09:49 - ddms]null com.android.ddmlib.BadPacketException at com.android.ddmlib.JdwpPacket.findPacket(Unknown Source) at com.android.ddmlib.Client.getJdwpPacket(Unknown Source) at

[android-developers] Re: LocationManager causes application to crash

2009-02-04 Thread Chander Pechetty
Put the permissions outside the application tag. and try --~--~-~--~~~---~--~~ 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] Re: How to get lists of email from contact application?

2009-02-04 Thread Mark Roberts
import android.app.Activity; import android.content.ContentUris; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.Contacts.People; import android.util.Log; public class Start extends Activity { /** Called when the activity is first

[android-developers] Problem

2009-02-04 Thread Alowishus
Okay Gang, Here is the problem, I am building an application and have multiple images that need to switch when the user touches the screen, doesn't matter where the users touches. The press the screen and the images switch randomly. I purchased the ebook Professional Android Application

[android-developers] windowAnimationStyle - ignored in theme?

2009-02-04 Thread DaRolla
Hi, I'd like to have some fancy effects on my Activities when entering or exiting. So I tried to use theming. But it seems that it's completly ignored? themes.xml (activated in Manifest) item name=android:windowAnimationStyle@style/Animation.Activity/ item styles.xml style name=Animation

[android-developers] Re: How to get lists of email from contact application?

2009-02-04 Thread dileep singh
Hi Mark, Can u give me some sample code?I am not able to get email with the above code. please provide me somple code On Wed, Feb 4, 2009 at 12:53 AM, dileep singh discover.dile...@gmail.comwrote: Thanks a lot mark.I will try the above code. On Tue, Feb 3, 2009 at 10:46 PM, Mark Roberts

[android-developers] Re: windowAnimationStyle - ignored in theme?

2009-02-04 Thread Mark Murphy
DaRolla wrote: I'd like to have some fancy effects on my Activities when entering or exiting. AFAIK, support for that was cut out as part of releasing the newer versions of the SDK. The Development.APK allows you to enable slide animations for opening and closing activities across the board,

[android-developers] Re: how to completely wipe out the application data

2009-02-04 Thread Mark Murphy
shahzad ahmad wrote: I'm developing an application which downloads a file from FTP server. The code first checks if file is present on local system . If it is not present on local system then it downloads it from FTP server. Application must download file from FTP server when it executes

[android-developers] Re: Touch screen Issue with Android + i.MX31- Help

2009-02-04 Thread Jun'ichi Hirayama
Hi Rajesh Lastyear I was porting Android on IMX31 platform , (kernel ver 2.6.22 ) I adapted mxc_ts.c ,diff -ur linux-2.6.22/drivers/input/touchscreen/mxc_ts.c linux-2.6.22/drivers/input/touchscreen/mxc_ts.c ---

[android-developers] Re: Problem

2009-02-04 Thread Phill Midwinter
Read your book more slowly. 2009/2/4 Alowishus alowis...@gmail.com Okay Gang, Here is the problem, I am building an application and have multiple images that need to switch when the user touches the screen, doesn't matter where the users touches. The press the screen and the images switch

[android-developers] Re: Problem

2009-02-04 Thread Faber Fedor
Start here: http://www.catb.org/~esr/faqs/smart-questions.htmlhttp://www.catb.org/%7Eesr/faqs/smart-questions.html On Wed, Feb 4, 2009 at 10:50 AM, Alowishus alowis...@gmail.com wrote: Okay Gang, Here is the problem, I am building an application and have multiple images that need to switch

[android-developers] Profiling Tools?

2009-02-04 Thread Gw1921
Hi I've been running Eclipse on Mac OS X for android development. Since I'm new to eclipse I'm not sure how to profile my apps. Especially Memory usage. Could some one guide me to a direction please? Thanks! --~--~-~--~~~---~--~~ You received this message because

[android-developers] [help] - Choosing the right adapter

2009-02-04 Thread Alex55
Hello Community, I am having a hard time figuring out what adapter should I use to accomplish the following. Currently, I'm using an Array Adapter that is connected to an ArrayList. It is populating a simple_list_item_1 type of ListView with the information found in the Array. My list was very

[android-developers] Using resources from android.R.drawable

2009-02-04 Thread Andreas Frey
Hi, is it allowed to use resources (images, etc) from android (android.jar) inside my own application? I did not find anything about this topic in the FAQ. Technically this is no problem, but is it legal? I would prefer to use the provided images to have an adequate look and feel. Can you

[android-developers] Building Dalvik

2009-02-04 Thread Kieran Bingham
Hi, I've used repo to get android - and wanted to build -but get the following error. It looks like some environment variable somewhere is getting messed up - but I'm having difficulty following it through the build system. In particular,

[android-developers] Re: Parsing RSS feeds, encoding problems

2009-02-04 Thread Ayusman
Hey Guys, Go for this: JavaScript: = /*Place this code externally*/ /* Function Used to Display Months in Words as Jan, Feb...*/ function WordMonth(intMonth){ var MonthArray = new Array(Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep,

[android-developers] Re: Building Dalvik

2009-02-04 Thread Kieran Bingham
Solved this by following the instructions at http://www.mail-archive.com/android-port...@googlegroups.com/msg01340.html Also realised - that looks like a more appropriate mailinglist too :) -- Cheers Kieran 2009/2/4 Kieran Bingham kieranbing...@gmail.com: Hi, I've used repo to get android -

[android-developers] Re: Major media company seeking vendor for Android app development

2009-02-04 Thread Himanshu
Hi Tom, I have seen your post in this forum. I am working with Aricent as Senior Technical Leader which have arund 8000+ member world wide. We are dedicatedly working on Android from last 1 year for one of the Major US client. Our team has experties in Android, J2ME, Brew, and BlackBerry. For

[android-developers] android.graphics.PixelFormat

2009-02-04 Thread android developer
Hi, what are the parameters that need to be passed for getPixelFormatInfo(int format, PixelFormat info) function. I have a bitmap and i am trying to get the pixel information of the bitmap. Thanks, --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: MapsApplication missing from source code?

2009-02-04 Thread Miroslav Mandov
Are you planning to release these apps (gMail, Market, IM, Maps, Youtube etc.) as installable addons or apps, so that everyone can install them? Similar to the apps for s60, java etc. mobiles. On 28 Ян, 20:01, Jean-Baptiste Queru j...@google.com wrote: It's not part of the Android platform,

[android-developers] Problem with setTheme() method

2009-02-04 Thread orbit
I am trying to create a simple dialog activity. If i add: android:theme=@android:style/Theme.Dialog to my activity tag in my AndroidManifest.xml everything works as it is supposed to. I get a frame around my text and the background gets dimmed. If i however instead if setting the theme in my

[android-developers] How to setup android application on android phone

2009-02-04 Thread 百合的味道
hi all, can you tell me the way to setup .apk on android phone --~--~-~--~~~---~--~~ 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] the datastore can not update

2009-02-04 Thread 百合的味道
when I store data into datastore,but it can not update immediately. the next time open the app,it can update. --~--~-~--~~~---~--~~ 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: Onclick listener on ListView items

2009-02-04 Thread 百合的味道
you can use the following function public void onListItemClick(ListView l, View v, int position, long id) --~--~-~--~~~---~--~~ 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: I am getting SICK of 1 star ratings for charging!

2009-02-04 Thread DouglasN
On Feb 3, 7:59 pm, Beshoy Girgis odsl...@gmail.com wrote: I think some cool additions to the market would be to be able to rate a comment with a thumbs up or down... then from there, show the top ten rated comments or what not.. no need to show all 1000 of them. I think that would be

[android-developers] Error on AndroidManifest.xml..

2009-02-04 Thread ritter.han
Hi, all. I'm trying to build the full Cupcake source code, And succeeded on my local Linux box. But once I copy the same source code to the remote server (Linux based server) it returns the error like as below. target R.java/Manifest.java: Development (out/target/common/obj/APPS/

[android-developers] Debugging native libraries using DDMS ?

2009-02-04 Thread vrukesh
Hi, is it possible to debug native libraries (based on C/C++) using DDMS in Android ? Or is there any other debugging tool for the native libraries in Android ? Vrukesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Is it allowed to bundle the emu to your project?

2009-02-04 Thread dertom
Hi there, I intend to participate in an online developing-competition. At the end everyone have to present a package that includes everything that is needed to start the application. I think about writing an application for android but I'm not so sure if it is allowed to pack the Emulator with

[android-developers] Storing data in the APK after creating it

2009-02-04 Thread Yorgos
Hello, This issue has troubled me a lot, please help if you have any ideas. - I am accessing an xml file from withing the apk, (stored in /res/ raw). The xml is read succesfully. My goal is to use this xml file as data that can be changed in the apk. - I tried unpacking and packing the apk

[android-developers] Re: Using JNI to call C lib on android platform

2009-02-04 Thread Android development
I find the folder in android source code: frameworks\base\media\jni I think thats the one you want. you can use the code as sample. For example, the code below defined all the methods of class MediaPlayer: static JNINativeMethod gMethods[] = { {setDataSource, (Ljava/lang/String;)V,

[android-developers] get notification using fileobserver

2009-02-04 Thread pradeep
hi, I need to get notifications from the sdcard, for which i am creating an instance of fileobserver in a separate thread for all the folder. but creating a threads for each folder is not efficient if there are many (abt 100 ) folders. Is there any other method through which this can be done.

[android-developers] fileobserver

2009-02-04 Thread pradeep
hi, i need to subscribe file system notification from all the folders. so I'm creating an instance of fileobserver for each folder in separate thread, but i don't think it is efficient way of doing. Is there any other method to get the notifications.

[android-developers] Re: Am I missing something really dumb.

2009-02-04 Thread Peli
In your provider, you should have a method getType(Uri uri) which returns the MIME type of your Uri. You should have defined it yourself as something like: vnd.android.cursor.dir/vnd.funkyandroid.provider.text and this is the MIME type that you have to declare in your intent filter. Peli On

[android-developers] Re: Read Image with multiple Frames - Animated Gif

2009-02-04 Thread Siva Rajaraman
Thank you for your reply Mike. Do you know how to draw each frame into a bitmap?? Thanks Siva On Feb 4, 7:30 am, Mike Reed r...@google.com wrote: Sorry, the decoders don't expose per-frameness yet. It may seem awkward, but you can load a Movie, and then draw each frame into an offscreen

[android-developers] Re: Profiling Tools?

2009-02-04 Thread Romain Guy
Hi, The SDK comes with traceview and DDMS to analyze performance. For memory usage, you can use DDMS to track allocations and the state of the heap. We are also working on ways to give SDK developers access to a heap analysis tool. On Wed, Feb 4, 2009 at 8:17 AM, Gw1921

[android-developers] Resource files XML imports

2009-02-04 Thread Raja Nagendra Kumar
Hi, Does android resource files for values and layouts have any way to import other xml files. This is a good approach for products, where there is a core module and many sub modules. The Submodule may also use some of the core defined key value pairs etc. Also, in case with a module, if the

[android-developers] Re: How to get lists of email from contact application?

2009-02-04 Thread dileep singh
Thank you very much Mark.I will try this code and will let you know.once again thanks. On Wed, Feb 4, 2009 at 9:12 PM, Mark Roberts snappe...@gmail.com wrote: import android.app.Activity; import android.content.ContentUris; import android.database.Cursor; import android.net.Uri; import

[android-developers] create a file while installing the apk

2009-02-04 Thread shahzad ahmad
I want my application to read configurations from a file . Is it possible to copy the default configuration file in apk and get it copied to file system when apk is installed ? thanks, shahzad --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Am I missing something really dumb.

2009-02-04 Thread Peli
Your intent has a deceptively looking dataURI. Your intent filter should therefore contain the type ... tag with the corresponding MIME type of the dataURI in order to match. Peli www.openintents.org On Feb 4, 2:36 pm, Al Sutton a...@funkyandroid.com wrote: I have a service in an APK which

[android-developers] Re: What is the 'correct' way to set styles programmatically?

2009-02-04 Thread Kennard Consulting
Thanks again for your help, Dianne. My apologies for not making myself clear: my original code was just a hack. I would rather not manually retrieve the values and call setters on a view. So are you saying if I want to programmatically style a view I must not use, say, 'new TextBox( context )'

[android-developers] How to instrumentation clicking a button of dialog?

2009-02-04 Thread Meryl Silverburgh
Hi, In my activity, I have code which create dialog like this with +ve and -ve button each has its own click action: protected Dialog onCreateDialog(int id) { switch (id) { case CONFIRM_DIALOG: // create my own dialog with positive and negative button...

[android-developers] Re: Problem

2009-02-04 Thread Alowishus
Wow, thanks for all the constructive advice guys. I really appreciate that. --~--~-~--~~~---~--~~ 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] Sdcard issue

2009-02-04 Thread krish24
Hi All, We have ported android to our hardware. I am facing some issues related to sdcard. Here is the test scenario and issues: First issue : 1 On hardware, insert the card and copy a file to sdcard using dd command. 2 Remove the card from hardware. 3 do ls /sdcard It shows the file

[android-developers] Re: base64 in the sdk ?

2009-02-04 Thread Raymond Rodgers
hapciu wrote: Is there a base64 encoding/decoding utility anywhere in the Android SDK ? I wouldn't want to reinvent the wheel. thanks Personally, I made two new packages within my app's package to handle the Apache Commons/Jakarta base-64 classes at http://commons.apache.org/codec/ .

[android-developers] Web services for mobile apps

2009-02-04 Thread dbradby
Hi Everyone, We're been releasing quite a few iPhone and Android apps over the past few months that have required various pieces of server side support. Mostly we wanted to be able to control welcome messages, upgrade notifications, collect errors and analytics. Having built all this ourselves

[android-developers] Re: Problem

2009-02-04 Thread Mark Murphy
Alowishus wrote: Wow, thanks for all the constructive advice guys. I really appreciate that. I'm not quite sure why you got the reaction you did. On the other hand, I haven't played with low-level touch events, so I personally don't have any specific advice to offer. The SDK samples, like the

[android-developers] Re: Am I missing something really dumb.

2009-02-04 Thread Al Sutton
Once again you've shown yourself as a genius. It's all working now. Thanks (again), Al. Peli wrote: In your provider, you should have a method getType(Uri uri) which returns the MIME type of your Uri. You should have defined it yourself as something like:

[android-developers] Re: Playing an audio file during a call

2009-02-04 Thread Dave Sparks
No, this is not supported. It requires access to in-call audio which is currently not available to the apps processor. On Feb 4, 3:36 am, Mak kemper.mar...@gmx.de wrote: I want to accept incoming calls and play an audio file for the caller. Is there a possibility of playing an audio file

[android-developers] Re: how to completely wipe out the application data

2009-02-04 Thread shahzad ahmad
thanks murphy for your reply.Suppose user downloads the same version of application again then metadata will not help much.There should be some way out everything when an application is uninstalled On Wed, Feb 4, 2009 at 7:34 PM, Mark Murphy mmur...@commonsware.com wrote: shahzad ahmad wrote:

[android-developers] Re: base64 in the sdk ?

2009-02-04 Thread joebowbeer
On Feb 3, 2:25 pm, hapciu horia...@gmail.com wrote: Is there a base64 encoding/decoding utility anywhere in the Android SDK ? I wouldn't want to reinvent the wheel. There is not, but I'm hoping Issue 902 will lead to one. http://code.google.com/p/android/issues/detail?id=902

[android-developers] Re: how to completely wipe out the application data

2009-02-04 Thread Mark Murphy
shahzad ahmad wrote: Suppose user downloads the same version of application again then metadata will not help much. *shrug* Look at it this way: if hundreds, if not thousands, of feed reader programs can figure out how to cache feed results and only download updates, one would think their

[android-developers] Re: I am getting SICK of 1 star ratings for charging!

2009-02-04 Thread Josh Dobbs
I think we should have the option to block users. I reserve the right to refuse service to anyone. There are a LOT of comments for my apps that have n0othing at all to do with the application, a lot of these contain racial slurs and downright dirty language that I do not want to be associated with

[android-developers] Properly rendering huge cursors of data in listview?

2009-02-04 Thread dmyung
Hello, I've got a Listview in my activity with a cursor adapter and a view to render the results. When i return a rather large data set from my query (like say, 15,000 rows), the Listview.setadapter() call blocks on me and occasionally gives me the dreaded ANR dialog. I've tried various ways

[android-developers] Re: Storing data in the APK after creating it

2009-02-04 Thread Mark Murphy
Yorgos wrote: Do you have any other ideas of how I can store/alter information into the APK? Simple answer: Just re-run Ant to rebuild/resign your APK after modifying the XML. More complicated answer: Tease out the specific steps from Ant that will achieve those ends. I think you will need

[android-developers] Re: Storing data in the APK after creating it

2009-02-04 Thread Georgios Galyfos
thanks for the reply, however I am trying to do this without needing to rebuild the APK.. On Wed, Feb 4, 2009 at 7:46 PM, Mark Murphy mmur...@commonsware.com wrote: Yorgos wrote: Do you have any other ideas of how I can store/alter information into the APK? Simple answer: Just re-run Ant

[android-developers] Re: Storing data in the APK after creating it

2009-02-04 Thread Sundog
I'm pretty sure this cannot be done. On Feb 4, 10:49 am, Georgios Galyfos yorg...@gmail.com wrote: thanks for the reply, however I am trying to do this without needing to rebuild the APK.. On Wed, Feb 4, 2009 at 7:46 PM, Mark Murphy mmur...@commonsware.com wrote: Yorgos wrote: Do you

[android-developers] Re: Storing data in the APK after creating it

2009-02-04 Thread Dianne Hackborn
An .apk is really just a zip file (and a jar file too), so in theory you can use any zip tools you want on it, you just need to make sure that you correctly re-sign it after making changes. There is a caveat, however, that aapt does a few special things to make sure to not compress certain files

[android-developers] Re: .apk file resource optimisation

2009-02-04 Thread FranckLefevre
Dear Raja, I think that compressing resources in APK is not such convenient for two re On Feb 3, 11:44 am, Raja Nagendra Kumar nagendra.r...@gmail.com wrote: When we open up the .apk file in winzip (as it is a jar file), we see the classes are compressed and stored as one file. However the

[android-developers] Re: Generate .apk without debug info in .class

2009-02-04 Thread Dan Bornstein
On Tue, Feb 3, 2009 at 2:50 PM, Nanard bsegon...@free.fr wrote: If I test my application and generate a .apk, or if I use the 'Export unsigned' menu, I get the same application size. How can I remove debug information for my final releases ? By debug information I assume you mean the local

[android-developers] Re: fileobserver

2009-02-04 Thread Dianne Hackborn
You don't need to create any threads to use FileObserver -- it is callback-based. On Tue, Feb 3, 2009 at 11:27 PM, pradeep pradeep...@gmail.com wrote: i need to observe a sdcard i.e all the folders inside. i am creating fileobservers for each folder in saparate threads, but i don't think it

[android-developers] Re: how to update list

2009-02-04 Thread cindy
I figure out the problem. You can't change any UI in the thread your create. Android require you to update UI in UI thread. On Feb 3, 11:27 pm, cindy ypu01...@yahoo.com wrote: I implemented the async incoming data on a separate thread which adds the items to a ArrayList that is connected to

[android-developers] Re: Problem

2009-02-04 Thread Alowishus
@ Mark, Thanks. @Peli, 1) You don't know how to catch a touch event on the whole screen? Correct, I don't know how to catch a touch event 2) You don't know how to switch images? Correct, I cannot figure this out 3) You don't know how to display an image? I know how to display an

[android-developers] Re: Using JNI to call C lib on android platform

2009-02-04 Thread Dianne Hackborn
Native code is not supported in the current SDK. Please take this dicussion off this list. Thanks. On Wed, Feb 4, 2009 at 6:53 AM, Android development smu...@gmail.comwrote: I find the folder in android source code: frameworks\base\media\jni I think thats the one you want. you can use the

[android-developers] Re: .apk file resource optimisation

2009-02-04 Thread FranckLefevre
Dear Raja, I think that compressing resources in APK would not be that convenient for two reasons: 1- when resources are actual pictures, they are usually already compressed (using GIF, JPG, PNG,...) and trying to ZIP them does not significantly reduce their size 2- APK resource files are

[android-developers] eComm developer scholarships available

2009-02-04 Thread Lee S Dryburgh
The Emerging Communications Conference (eComm) is the World's Leading-Edge Telecom, Internet Communications and Mobile Innovation event. It attracts the World's Leading Futurists, Developers and Smartest, most forward thinking Exec's that are exploring Opportunities. It's a Must Attend for those

[android-developers] Re: Andreas Constantinou on Mobile OS's and App Stores

2009-02-04 Thread Lee S Dryburgh
Mobile operators are not making location available. (i.e. from the Home Location Registers) 2009/1/21 Wise Old Duck niveks.ke...@gmail.com: OK I'm tipping my hand as a newbie here, but when I read this transcript I thought it implied that vendors aren't making geolocation features available

  1   2   >