[android-developers] Display PDF in an application

2011-01-24 Thread peria abirami
I need to display/view pdf in Application.. can any one help me on this issue.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] MMS/SMS Module Design Document

2011-01-24 Thread chetan
Hi , I wand to understand the MMS/SMS module, is there any design document available for MMS/SMS module. If it is available, plz let me know. Regards, Chetan Chauhan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Why is RemoteViews.setDrawableParameters(...) hidden?

2011-01-24 Thread David
Hey, I'm working on a custom notification where I intent to use a Layer / List Drawable to switch my icons between black and white. (Because some phones have light-gray notification bars and some have black ones I want the user to be able to choose a light or a dark layout.) Now I came to see,

Re: [android-developers] Re: supports-screens question

2011-01-24 Thread Dianne Hackborn
I would like to have some way to mark devices as CDD compatible or such, but can't figure out a way to do this that the ROM builders wouldn't just say they are. On Sun, Jan 23, 2011 at 11:52 PM, Jonas Petersson jonas.peters...@xms.sewrote: On 01/24/2011 08:31 AM, Zsolt Vasvari wrote: On Jan

Re: [android-developers] How to set a dynamic View size

2011-01-24 Thread Dianne Hackborn
Or you can put it in a LinearLayout and use android:layout_width=0px android:layout_weight=3 with another view in the container given android:layout_weight=1. On Sun, Jan 23, 2011 at 11:37 PM, Kostya Vasilyev kmans...@gmail.comwrote: Brill, Views specify their preferred size by overriding

Re: [android-developers] Re: supports-screens question

2011-01-24 Thread Kostya Vasilyev
24.01.2011 10:52, Jonas Petersson пишет: Been there too. Camera not returning images, Barcode scanner going nuts, etc. When I see something wierd I typically ask then to download my help-page - the http headers will often (but not always) hint when you have the Frankenstein syndrome. Yep,

[android-developers] Re: Inyect Assistance data to the GPS

2011-01-24 Thread dep
Thank you for your help. If you have an external A-GPSreceiver (USB, Bluetooth) you can use so called mock location provider - create your own provider, utilize TCP/IP to exchange data with your server, use Android's location providers, etc. Looks like a perfect approach for any experimental

[android-developers] wrap_content and fill_parent using Java

2011-01-24 Thread Sudhakar Chavali
Hello All I wanted to set wrap content and fill parent properties using Java. How can I achieve this? Thanks Regards Sudhakar Chavali -- 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] Re: Is Anti-Aliasing enabled by default?

2011-01-24 Thread archieval
I am also interested on the answer to this question. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Camera preview issue on SDK 2.3 emulator?

2011-01-24 Thread abukustfan
Hi, I also met the same problem. Did you find the solutions?? Thanks On Dec 8 2010, 6:14 pm, blindfold seeingwithso...@gmail.com wrote: Am I really the only one with this problem? Even the built-in camera app gives me only a blank screen in the SDK 2.3 emulator, but after taking a snapshot I

[android-developers] how to get home screen click event

2011-01-24 Thread Narendra Bagade
Hi, Does anyone know how to get home screen click event. -- Regards, Narendra . -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: Horizontal scrollview

2011-01-24 Thread lou
After some long research, I found the solution here : http://stackoverflow.com/questions/3467461/developing-an-android-homescreen Matthieu's message contains the source code I needed. And thanks TreKing! On Jan 21, 5:35 pm, TreKing treking...@gmail.com wrote: On Fri, Jan 21, 2011 at 10:19 AM,

[android-developers] android - serial port API?

2011-01-24 Thread pramod.deore
Hi Everybody, Does Android SDK supports any API for reading and writing to the Linux TTY serial ports? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Interested in hearing from other devs on remote data strategies

2011-01-24 Thread JimmyHoffa
Hi All, Hoping to hear from some of you other developers your thoughts with regard to storing data remotely. It seems to me that data synchronisation between the device and a remote database adds quite a lot of complexity to an application. Some applications I've done assume the user will always

[android-developers] Re: Camera preview issue on SDK 2.3 emulator?

2011-01-24 Thread blindfold
No I haven't found any solution. Please add your observation to http://code.google.com/p/android/issues/detail?id=13133 such that it becomes apparent to Google that it is something in need of fixing and not a unique developer problem. Thanks! On Jan 24, 10:38 am, abukustfan abukust...@gmail.com

[android-developers] Re: How to stream video to android device over HTTP.

2011-01-24 Thread Anthoni
Hi, Just wanted to add. First think that website is brilliant the traveldevel one and I found a lot of useful information there. Second, I am streaming to Mobile via RTSP but using hinted 3gp instead. We have a server with RTSP engine and that broadcasts the stream. I've found that it does not

[android-developers] Re: google analytics jar does not seem to work now

2011-01-24 Thread David Liebman
Today there were no new page views tracked on google analytics, even after switching to a android 2.2 test device. I was wondering maybe if my app was somehow blacklisted by the google analytics site. I googled for a blacklist or blacklist info and came up with nothing. Does anyone know how

Re: [android-developers] Re: Carousel View Animation..?

2011-01-24 Thread Abhilash baddam
Hi Abdul Mateen, I tried your code but this gallery view is different from as what i send an image as an attachment. Any help please. On Wed, Jan 19, 2011 at 4:26 PM, Abdul Mateen abmat...@gmail.com wrote: I have done it, Extend the Gallery class override the

[android-developers] Add Image in videoView

2011-01-24 Thread Abhishek Talwar
Hi guys I am trying to play song with native player in a video view. but the UI is almost blank so i want to add an image above the controls of video view. I think we can not control the width and height of the video view. The only thing that i want is to display a default image or an album art

[android-developers] Re: View.onAnimationEnd

2011-01-24 Thread blackbelt
At least could please somebody tell me the reasons why onAnimationEnd is not called? -- 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,

[android-developers] Re: Difference between Cancel Entire Order and Refunding in Google Checkout?

2011-01-24 Thread Mark Carter
Thanks TreKing - test complete. Refund Some Money (there you can only give a full refund) results in LVL returning NOT_LICENSED, so from an LVL perspective it's the same as Cancel Entire Order. From previous experience, I think this is also true from an Android Market perspective - e.g. whether

Re: [android-developers] Re: How to stream video to android device over HTTP.

2011-01-24 Thread Thierry Legras
Thanks for feedback. Unfortunatly don't expect that 554 port will work on any operator. For instance in France, it seems Bouygues Telecom operator is blocking incoming UDP from whatever port :( 2011/1/24 Anthoni anthoni.gard...@gmail.com Hi, Just wanted to add. First think that website is

[android-developers] Re: High memory usage reported in running services activity

2011-01-24 Thread Joan Pujol
A lot of thank Dianne, I've both bitmaps, and webview but with your info I think I will be able to solve my memory problems. But for completeness: The adb shell dumpsys is the best accurate info? There's no other info with native memory usage? And also, Is it ok to open a feature request to

[android-developers] Re: android - serial port API?

2011-01-24 Thread Brill Pappin
If it did, I see a whole new class of devices! You could then integrate it into POS devices and robotics. You could likely port the RXTX code to android, but I think they went and made the source GPL. - Brill Pappin On Jan 24, 5:04 am, pramod.deore deore.pramo...@gmail.com wrote: Hi Everybody,

[android-developers] Re: supports-screens question

2011-01-24 Thread Brill Pappin
Funny you should say that. My Analytics are showing two Nokia N90 entries. I started wondering if Nokia is playing around with Android or if someone was hacking Nokia's to run it. I kind of wish they would because I love their attention to detail when they build phones. - Brill Pappin On Jan

[android-developers] Re: How to set a dynamic View size

2011-01-24 Thread Brill Pappin
I'm afraid I don't understand the weight values. one of the points of a fixed height is that I'm drawing on the canvas for the view and it has to be as exact as i can get it so that i don't get empty space. There is another view below it that will align to its bottom and should stretch to fill

[android-developers] Re: How to set a dynamic View size

2011-01-24 Thread Streets Of Boston
Kostya's answer is probably what you need if you need an almost pixel- perfect division of 3:1. Implement the onMeasure method in your custom view. On Jan 24, 9:22 am, Brill Pappin br...@pappin.ca wrote: I'm afraid I don't understand the weight values. one of the points of a fixed height is

[android-developers] Android Emulator-capture live images

2011-01-24 Thread jayavenkat
Hi All, whether its possible to capture live picture from Android emulator 2.2 version,If so can anyone share your ideas and can you please list some related url Thanks in Advance, -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Re: supports-screens question

2011-01-24 Thread Kostya Vasilyev
24.01.2011 17:16, Brill Pappin пишет: Funny you should say that. My Analytics are showing two Nokia N90 entries. I started wondering if Nokia is playing around with Android or if someone was hacking Nokia's to run it. NITDroid - a port of Android for the Nokia internet tablets, including N900:

Re: [android-developers] Display PDF in an application

2011-01-24 Thread TreKing
On Mon, Jan 24, 2011 at 2:04 AM, peria abirami periaabir...@gmail.comwrote: I need to display/view pdf in Application.. can any one help me on this issue.. Google can! http://tinyurl.com/4zy374b -

[android-developers] Re: Android Emulator-capture live images

2011-01-24 Thread Hari Edo
Read the documentation for the 'adb' tool. Live pictures from your phone or from your emulator. No video. On Jan 24, 9:51 am, jayavenkat jaia...@gmail.com wrote: Hi All,          whether its possible to capture live picture from Android emulator 2.2 version,If so can anyone share your ideas

[android-developers] Re: how to get home screen click event

2011-01-24 Thread Hari Edo
As far as I know, the Home button can't be overridden or hooked by your application. The button invokes an Intent, and the system looks up what activity (or activities) are coded to respond to that Intent. All your app will know is that it is asked to save instance state, pause operation, and

Re: [android-developers] how to get home screen click event

2011-01-24 Thread TreKing
On Mon, Jan 24, 2011 at 3:40 AM, Narendra Bagade bagadenaren...@gmail.comwrote: Does anyone know how to get home screen click event. Be the home screen. - TreKing

[android-developers] Re: Integration testing with mock content providers

2011-01-24 Thread A. Elk
Have you tried using Robotium? It looks like the blog you're citing is using a unit/functional test case class to do higher-level functional testing of the content provider, and that's not what the Android test cases are designed for. Robotium can run through a sequence of steps to do a functional

[android-developers] Re: Problem running Android JUnit Test on eclipse

2011-01-24 Thread A. Elk
I'm almost certain it's ADT. All that the ADT tools do is run the command-line tools in the background and then format the output. When I change ADT versions, I first *uninstall* the old ADT tools, restart Eclipse, install the new ADT tools, and then restart again. I always use the ADT tools for

[android-developers] Bitmaps with XRGB_8888 ?

2011-01-24 Thread webmonkey
Now that Gingerbread has moved to 32-bit windows is there a way to create a 32-bit bitmap without alpha to improve drawing performance of opaque bitmaps? Something like Bitmap.createBitmap( 512, 512, Bitmap.Config.XRGB_ ) Or does the system somehow detect that the bitmap is opaque? -- You

[android-developers] display an animated .gif image

2011-01-24 Thread dashman
in my app, i have a access to a url to an image. i'd like to display an animated .gif image is there an system function or activity that i can call for this. (something besides the web app ) -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] POSTing to WebView

2011-01-24 Thread Neilz
Hi all. Our app has to direct users to a signup webpage which is loaded into a WebView. The page works fine when loaded normally, i.e. webview.loadUrl(url); However in this instance I need to POST to the URL with request parameters embedded, using: webview.loadData(data, text/html, utf-8); When

Re: [android-developers] Re: Inyect Assistance data to the GPS

2011-01-24 Thread Frank Weiss
I think your answer lies in the Andorid source code http://source.android.com -- 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

Re: [android-developers] MMS/SMS Module Design Document

2011-01-24 Thread TreKing
On Mon, Jan 24, 2011 at 2:05 AM, chetan chetanchauha...@gmail.com wrote: I wand to understand the MMS/SMS module, is there any design document available for MMS/SMS module. It's doubtful there's any design document for anything in Android that's publicly available. Look at the source code.

Re: [android-developers] POSTing to WebView

2011-01-24 Thread Frank Weiss
Admittedly, I haven't used WebView, but accorrding to the API docs, Content loaded through this mechanism does not have the ability to load content from the network. I suppose you should be using loadDataWithBaseURL instead.

Re: [android-developers] Re: Using the AudioRecord API

2011-01-24 Thread Ben McCann
Hi Tom, Yes, I did get it figured out. Here's a writeup I posted on my blog. http://www.benmccann.com/dev-blog/android-audio-recording-tutorial/ -Ben http://www.benmccann.com/dev-blog/android-audio-recording-tutorial/ Hi there, Did you ever have any luck with this AudioRecord API? There are

[android-developers] onDetachedFromWindow issues

2011-01-24 Thread pedr0
Hi at all, I have an issues with an GLSurfaceView View; when I start my activity the GLSurfaceView is invisible but when I press the back button I meet this exception: java.lang.NullPointerException E/AndroidRuntime(15931):at

Re: [android-developers] Bitmaps with XRGB_8888 ?

2011-01-24 Thread Romain Guy
The system can detect when a ARGB_ bitmap is opaque (see Bitmap.hasAlpha()). On Mon, Jan 24, 2011 at 8:26 AM, webmonkey webmonke...@gmail.com wrote: Now that Gingerbread has moved to 32-bit windows is there a way to create a 32-bit bitmap without alpha to improve drawing performance of

[android-developers] Re: Inyect Assistance data to the GPS

2011-01-24 Thread ip332
Is the any way to access the driver or to interact in low level with the A- GPS chip of the android device? of course, assuming that the device has A-GPS support. There is no low level interaction from the application level. You can make your own GPS library but this is not an application

[android-developers] ImageView resizing when positioned after screen size on the right

2011-01-24 Thread Gabriel Simões
Hello, I´ve been searching the internet on how to position an ImageView inside a RelativeLayout using coordinates in pixels. After quite a research I decided to use LayoutParams and setMargin() which is working quite well. Sometimes my ImageView should be positioned up to half width outside the

[android-developers] Re: POSTing to WebView

2011-01-24 Thread Neilz
Ha! Genius, thanks Frank. PS I had looked at that page of the docs countless times, but somehow that method had escaped me. On Jan 24, 4:58 pm, Frank Weiss fewe...@gmail.com wrote: Admittedly, I haven't used WebView, but accorrding to the API docs, Content loaded through this mechanism does

Re: [android-developers] wrap_content and fill_parent using Java

2011-01-24 Thread TreKing
On Mon, Jan 24, 2011 at 3:08 AM, Sudhakar Chavali sudhakar.koundi...@gmail.com wrote: I wanted to set wrap content and fill parent properties using Java. How can I achieve this? Read the documentation. Start by searching for those properties and see where the links take you.\

[android-developers] Transaction Limit Google Geocoder Maps

2011-01-24 Thread Tommy
Hey everyone, I was hoping someone could point me in the right direction of finding out what the limits are for using google maps geocoder api as well as the limit for using google maps. I know in the past limits had been put in place, but I don't know the exact numbers. I thought at one time for

[android-developers] Re: wrap_content and fill_parent using Java

2011-01-24 Thread Gabriel Simões
Seach for LayoutParameters this is the way to go. On 24 jan, 15:36, TreKing treking...@gmail.com wrote: On Mon, Jan 24, 2011 at 3:08 AM, Sudhakar Chavali sudhakar.koundi...@gmail.com wrote: I wanted to set wrap content and fill parent properties using Java. How can I achieve this?

[android-developers] Re: wrap_content and fill_parent using Java

2011-01-24 Thread nation-x
Since I would rather provide an actual answer instead of saying search for it specifically... http://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html#ViewGroup.LayoutParams%28android.view.ViewGroup.LayoutParams%29 Shawn On Jan 24, 12:36 pm, TreKing treking...@gmail.com

Re: [android-developers] Transaction Limit Google Geocoder Maps

2011-01-24 Thread TreKing
On Mon, Jan 24, 2011 at 11:39 AM, Tommy droi...@gmail.com wrote: I was hoping someone could point me in the right direction of finding out what the limits are for using google maps geocoder api as well as the limit for using google maps. Have you tried the website for these apis and / or

Re: [android-developers] Re: wrap_content and fill_parent using Java

2011-01-24 Thread TreKing
On Mon, Jan 24, 2011 at 11:43 AM, nation-x shawn.payme...@gmail.com wrote: Since I would rather provide an actual answer instead of saying search for it specifically... Giving a man a fish feeds him for a day. Teaching him to fish feeds him for life. Or however that saying goes.

[android-developers] Scrollview fling

2011-01-24 Thread lou
Hi! I'm here again because I have some problems. I want to have a scrollview after fling callback, but I don't find anything on the web talking about it. I explain; I have to do a scrollview containing paging. When the page separator ( it can be a textview, or something like that ) is on the first

[android-developers] Flexing the Expandable List Adapter

2011-01-24 Thread Michael
Hi All, I just wanted to start a discussion about the approach I'm taking for this particular Activity. Here is what I'm trying to achieve: 1) There are going to be multiple Expandable List Views, each Group has a Title and a Button and there will be only one Child with data based on that group.

Re: [android-developers] display an animated .gif image

2011-01-24 Thread Mark Murphy
Use VideoView. Reportedly, it can play animated GIFs. On Mon, Jan 24, 2011 at 11:40 AM, dashman erjdri...@gmail.com wrote: in my app, i have a access to a url to an image. i'd like to display an animated .gif image is there an system function or activity that i can call for this.

[android-developers] Getting the application icon to show in the launcher

2011-01-24 Thread Bret Foreman
I created a simple app with a single activity and a 64X64 pixel png icon. But I'm seeing the default Android icon instead of my drawable. The icon is in res/drawable/icon.png and the manifest is as shown. I also tried adding an icon attribute to the activity but that didn't change - it's still

Re: [android-developers] Flexing the Expandable List Adapter

2011-01-24 Thread Kostya Vasilyev
Michael, Based on your description, I'm not sure why you need multiple ExpandableListViews. Seems like you can do this, including scrolling as one unified view, with just one ExpandableListView, or maybe even just one ListView. You can make Main Title (a TextView?) be part of the respective

Re: [android-developers] Getting the application icon to show in the launcher

2011-01-24 Thread Kostya Vasilyev
Bret, Not sure if this is it, but the standard icon size for mdpi is 48x48, not 64x64: http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html#size5 The manifest looks fine. -- Kostya 2011/1/24 Bret Foreman bret.fore...@gmail.com I created a simple app with a

[android-developers] Re: ImageView resizing when positioned after screen size on the right

2011-01-24 Thread Gabriel Simões
Will I have to crop the image dinamically? Please, give me some help on this one. On 24 jan, 15:27, Gabriel Simões gsim...@gmail.com wrote: Hello, I´ve been searching the internet on how to position an ImageView inside a RelativeLayout using coordinates in pixels. After quite a research I

[android-developers] Re: Getting the application icon to show in the launcher

2011-01-24 Thread Bret Foreman
It didn't help. I resized the image, un-installed the app, did a clean build, and re-installed. Still getting the default icon. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Getting the application icon to show in the launcher

2011-01-24 Thread Mark Murphy
Reboot the device/emulator, and see if that helps. You could also add an android:icon attribute to the activity element, though that should not be required. Also, see if there are any interesting messages in LogCat. On Mon, Jan 24, 2011 at 1:37 PM, Bret Foreman bret.fore...@gmail.com wrote: It

Re: [android-developers] Re: Getting the application icon to show in the launcher

2011-01-24 Thread Kostya Vasilyev
Are you sure that this is your icon? android:icon=@drawable/icon Did you delete all the versions of icon.png that were generated by the Eclipse Android app wizard? Check res/drawable-mdpi, res/drawable-hdpi, maybe it's still lurking there. And if you are using a high-res device, then that's

Re: [android-developers] add text to each image in gridview

2011-01-24 Thread subhashini alaguchokku
Hi this is example code for your doubt: public class GridImg extends Activity { public static Integer[] DATA = {R.drawable.page1,R.drawable.page2,R.drawable.page3,R.drawable.page4}; @Override public void onCreate(Bundle savedInstanceState) {

[android-developers] Re: NFC Secure Element

2011-01-24 Thread mtk
Thanks Nemik for posting the patch, I was trying to get the emulation working without much luck so far, I see you have flipped some additional flags than what I had, so I'll trying those. Btw I was able to set the SE to wired mode by calling phLibNfc_SE_SetMode(seID,phLibNfc_SE_ActModeWired,

[android-developers] Cell ID format

2011-01-24 Thread linhket
I use the getCid() function in the android api to get the Cell ID out of the Samsung Captivate using ATT. this function spits out these cell id really frequent (like few seconds). When I asked ATT developers, they said that these cell ids are reported by Google. My question is, is that possible

[android-developers] [HELP/URGENT] Odd Animation/Layout Button Hit Area Problem

2011-01-24 Thread Aaron Buckner
Ok so here is the deal... I have a menu at the bottom of my apps screen that works normally hits/clicks register fine. When you select the hide menu button which is an arrow image the animation works fine and the menu and the hide menu button move down as they should, here is where it gets weird,

[android-developers] Flash 10 Examples (in Android 2.2)

2011-01-24 Thread BtySgtMajor
Hi all, I apologize for this posting, but, I've looked high and low through Google to find examples on how to implement/utilize the Flash Player plugin for Android 2.2. I've seen a couple older examples for 1.5, but, they either refer to HTC-specific libraries or use the WebView. My ultimate

[android-developers] Drawing a View on top of a Layout

2011-01-24 Thread MartyParty
I seem to be missing a key concept here. I want to be able to put a white square on top of an image. Seems simple right? I can't figure it out. Currently, I have have an XML file describing my layout. ?xml version=1.0 encoding=utf-8? LinearLayout

[android-developers] Determine sprite gravity and physics, auto acceleration of a sprite, and have the view follow the sprite?

2011-01-24 Thread Adonis
I would like to know if someone cold point me in the right direction to: 1) Make static objects and add densities to an image. 2) Make an image automatically accelerate at a constant speed. 3) Have the players view follow the image. Thank you for help in advanced :D -- You received this message

[android-developers] Need help to develop a folder locking app in android

2011-01-24 Thread JyotishK
Hi Everybody. I am new to android applications development. I want to develop an application to lock folders i.e make any folders password protected. Please give an idea on how do I start. Or if you have any sample source code of the same, can you please share with me? Regards, Jyotish K --

[android-developers] using the camera service from android native code

2011-01-24 Thread ajay
hi, we are trying to modify the android filesystem.we are trying to use the camera service from a c++ code.we are using the cameralistner class present in /root/Desktop/froyo/frameworks/base/include/camera/ Camera.h . the cameralistner class consists of only 3 pure virtual functions when i

[android-developers] Implementing a RightMarginSpan/EndingMarginSpan in a TextView

2011-01-24 Thread James Chen
Similar to the LeadingMarginSpan, except it would force a break of characters at the ending margin (right margin if text is DIR_LEFT_TO_RIGHT). I want to achieve an effect in the TextView that is similar to the BLOCKQUOTE tag from HTML, so that text in the span will break at an

[android-developers] HTTPS POST (SSL) with Multipart - HTTPURLConnection or HTTPClient(Apache library)

2011-01-24 Thread Prabhu
Hi All, I am developing a Android Client which will ipload files to a server using HTTPS POSRT with Multipart. As i have read there are two ways to do this: 1. Use HttpURLCoennection and embed the multipart data and then send it. 2. Use Apache provided mime for multipart and then use

[android-developers] Beginner question about Imageviews and Layouts

2011-01-24 Thread MartyParty
hi guys, So all I want to do is display an image and draw a small white square on top of it. This square will be moved around by the user to select a portion of the image to crop. I wrote an XML layout file to handle the picture, but getting the white box to draw hasn't worked. I created an

[android-developers] Android Screen in frames just as html page

2011-01-24 Thread Pravin
I want to divide the android screen in two frames just as HTML page. Please post me the code ot the methodology to do so. I am running short of time. And also there is any method other than intent to pass data from one screen to another such as conext. -- You received this message because you

[android-developers] TextView borders when contained in a tablerow?

2011-01-24 Thread Mark Freeman
Hi everyone. I have an interesting problem. I am using a TableLayout to arrange a series of labels and TextViews. In some cases, the text within the TextView is bold and colored blue to represent a field which is clickable. Meaning that I have a listener on it to launch a new activity. On

[android-developers] Strange native leak - OutOfMemory after language change.

2011-01-24 Thread Pedro Oliveira
Hi. I am facing a strange native memory leak in my application, can someone help me please? The leak heppens after change the language of the phone in settings. Before changing the language, I have just opened the application and ran dumpsys meminfo in the process. The result was that the

[android-developers] Custom KML - This Community Map could not be displayed....

2011-01-24 Thread raster
I'm new to Android Dev but have been looking at the tutorials/ examples. One was hooking up google maps to the AVD. It was a small tutorial and google maps come up fine. I then added the few lines to link in a custom KML file. My AVD target is Google APIs Platform=2.1 API Level=7. When I link the

[android-developers] Re: Getting the application icon to show in the launcher

2011-01-24 Thread Bret Foreman
That was it! I knew it had to be something simple. A bunch of default icons in the drawable-resolution folders. -- 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: Android Camera Application Development

2011-01-24 Thread orkun gencoglu
my log screen is : 01-21 01:42:12.763: DEBUG/AndroidRuntime(1728): AndroidRuntime START 01-21 01:42:12.763: DEBUG/AndroidRuntime(1728): CheckJNI is OFF 01-21 01:42:12.763: DEBUG/dalvikvm(1728): creating instr width table 01-21 01:42:12.793: DEBUG/AndroidRuntime(1728): --- registering native

[android-developers] Re: Beginner question about Imageviews and Layouts

2011-01-24 Thread Marty Miller
Why wasn't this posted? On Thu, Jan 20, 2011 at 10:41 AM, MartyParty marty7...@gmail.com wrote: hi guys, So all I want to do is display an image and draw a small white square on top of it. This square will be moved around by the user to select a portion of the image to crop. I wrote an

[android-developers] Android Camera Application Development

2011-01-24 Thread orkun gencoglu
Hi All! Im trying to go give an introduction to myself for camera applications -by watching a tutorial- on Android however getting very sad same error everytime i debug, which is application force to shut down.. Will be very appreciate for any kind help.. This is my Activity Class : package

[android-developers] Re: Drawing a View on top of a Layout

2011-01-24 Thread Marty Miller
What is the reason for you not posting this? That took a lot of time to write. On Thu, Jan 20, 2011 at 1:07 PM, MartyParty marty7...@gmail.com wrote: I seem to be missing a key concept here. I want to be able to put a white square on top of an image. Seems simple right? I can't figure

[android-developers] Streaming RTSP using MediaPlayer: possible from the emulator?

2011-01-24 Thread Chris Stankevitz
On Nov 25 2008, 1:58 pm, Dave Sparks davidspa...@android.com wrote: The media framework does support RTSP with RTP payloads. The OpenCore code includes an RTSP/RTP client built on sockets that will handle buffering and transport controls. It does not work in the emulator environment due to

[android-developers] Accessing Android Calendar

2011-01-24 Thread tennistar
I'm trying to access the Android Calender get display all events within a week of the current time using a ListView. Here's the code. The issue is that I'm only getting events before the current date. Even if I print out all events to the log, I only see those before the current date. How do I

[android-developers] Re: Attempt to read preferences file without permission

2011-01-24 Thread roflharrison
I have the same problem with Android Agenda Widget, its quite frustrating. Lior, are you doing anything fancy with your preference files (e.g. using alternate names etc)? In AAW I cache and make alternate preference files for different widgets via a preference. These functions use

[android-developers] Add SHA 2 and ECC VeriSign, Thawte and GeoTrust roots to Android root store

2011-01-24 Thread tber...@verisign.com
Hi, Please can the following roots be added to the Android store: 1. VeriSign Universal Root Certification Authority Available at: http://www.verisign.com/repository/roots/root-certificates/PCA-universal.pem (Test Site: https://ssltest26.bbtest.net) 2. VeriSign Class 3 Public Primary

[android-developers] Playing mp3 files directly from a Zip file

2011-01-24 Thread RS
I have a zip file that contains mp3 tracks. I would like to play these tracks directly from the Zip file (without decompressing). I tried the various uri formats but none seem to work with the MediaPlayer. Am I missing something... to give an idea here is what I am doing: String

[android-developers] SQLite Issues - Database seems to be corrupt on occasions. Missing tables etc.

2011-01-24 Thread Peter
Hi, My App's database works perfectly deploying to all my friends handsets that I have tested on, downloading the application from the Android Market. The database works correctly when installing the application onto devices in development mode, and when testing in the emulators. However, In the

[android-developers] RunTime error after changing app package name

2011-01-24 Thread Gareth.Evans
Hi all, Really hope you can help, i know a bit about java but no expert. I have had an app produced for me and i was able to publish it just fine.however.. When i then tried to produce another similar app ( changed graphics a nd source files around) and change the app package name i

[android-developers] Cropping an image

2011-01-24 Thread MartyParty
Hi, My application currently takes a picture, stores it on the SD card, and then displays the picture to the screen. Now I want to be able to crop it (this is for making someone's profile picture). I've been reading a lot on here about the Intent com.android.camera.action.CROP yet I don't see

[android-developers] Re: Sending HTML email with GMail installed on G1

2011-01-24 Thread goRGon Development
Guys, just use* Html.fromHtml()* method like the following: intent.putExtra(android.content.Intent.EXTRA_TEXT, Html.fromHtml(aBody)); Believe, this will help -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Game Engine

2011-01-24 Thread Orkun
Hi all! I wanna ask, what do you think the best game engine suitable to Android within efficiency/performance issues? -- 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

[android-developers] C2DM registration ID refresh

2011-01-24 Thread David C
In the C2DM documentation (Android Cloud to Device Messaging Framework - Google Projects for Android), it mentions that: Note that Google may periodically refresh the registration ID, so you should design your application with the understanding that the REGISTRATION Intent may be called multiple

[android-developers] Video Rendering in Android

2011-01-24 Thread android777
I have been writing a video renderer in android and I saw an interesting post from this. http://groups.google.com/group/android-developers/browse_thread/thread/75cdffe486861f50?tvc=2 Can anybody tell me, whether any of the last 2 methods are feasible with ndk? I just failed to realise, how this

[android-developers] Android supported file formats

2011-01-24 Thread Big D
Aloha all - I'm doing some research and have been trying to find some sort of document or location that lists the supported file formats for the Android SDK. I'm specifically looking for audio format and image format. Any help would be greatly appreciated. The Android developers site gave me

[android-developers] Re: ClassNotFoundException crash reports from Market

2011-01-24 Thread Droider
Hi, The problem with this is they have to keep uninstalling and re installing the app over and over. I reproduced this error by force remvoing my sdcard with out unmounting it. This left all the apps on my sd card in the app draw but with blank icons. java.lang.RuntimeException: Unable to

[android-developers] Background image on a spanned portion of text in a TextView (how?)

2011-01-24 Thread Vi7ER
Hi, I am trying to write an app that involves paragraphs of text which I would like to display images behind. What I mean by this is that within a paragraph I would have (for example) the first 3 words with a certain background (ideally a nine-patch style image) then the next 1 word with a

[android-developers] Reconciling Status Bar Bug with IME (soft keyboard) interaction

2011-01-24 Thread Paul Pucciarelli
Some people have noticed if you have a fullscreen app, which you leave and then resume, the status bar pushes your app window down. Others have pointed out this can be fixed with: getWindow().setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,

  1   2   3   4   >