[android-developers] Re: Resizing and relocating images/text (similar to powerpoint), on android

2011-02-24 Thread oldskool73
Off the top of my head I'd agree with your mentor if you are working with standard android ui elements, however if you were to draw the whole view yourself using canvas/ogl it shouldn't be too hard to trap the raw touch inputs and drag/resize elements at will. You'd need to build your own scene man

Re: [android-developers] Re: Why I get wrong hardware screen resolution.

2011-02-24 Thread Kostya Vasilyev
Set minSdkVersion to 4 or greater in the Manifest. 25.02.2011 10:31 пользователь "xhui" написал: > Is there any body knows? > > -- > 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@goo

[android-developers] Re: SQLite and Collate UNICODE

2011-02-24 Thread Zsolt Vasvari
If you want to do case insensirtive search you should perhaphs rewrite your statement as: select * from authors a where UPPER(a.family_name) = 'LE GUIN' Collate UNICODE That will be better, but it will work for only characters in the 0-255 range. I have the same issue in my app, with no workarou

[android-developers] Re: Why I get wrong hardware screen resolution.

2011-02-24 Thread xhui
Is there any body knows? -- 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+unsubscr...@googlegroups.com

Re: [android-developers] Re: SQLite and Collate UNICODE

2011-02-24 Thread Philip Warner
Yes, but Android have worked around this problem by doing what the SQLite people suggest. Namely making the Unicode collator available: http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html (just search the page for UNICODE). it's just it does not seem to be work

[android-developers] Re: how can i develop a mobile ticketing application?

2011-02-24 Thread Zsolt Vasvari
I will be happily write it form him -- for 100% of his salary. On Feb 25, 1:51 pm, TreKing wrote: > On Thu, Feb 24, 2011 at 1:35 PM, zeynel wrote: > > hi,i' m jr android developer.i want to develop business applications for > > android like mobile ticketing,mobile commerce,mobile > > banking app

[android-developers] Re: "Send via..."-integration?

2011-02-24 Thread oldskool73
Have a look in the docs at content providers: http://developer.android.com/guide/topics/providers/content-providers.html On Feb 24, 10:04 am, SvenAbels wrote: > Hi, > > I'd like to develop a small application for uploading a photo after it > has been taken with the camera of the phone. When clic

[android-developers] Re: SDK 11 is the slowest yet

2011-02-24 Thread Zsolt Vasvari
How does that have anything to do with the speed of the emulator? On Feb 24, 3:17 am, Stacy Young wrote: > I still cannot maintain landscape on OS X. It will switch but then revert > 2-3 seconds later. :-( > > > > On Wed, Feb 23, 2011 at 1:55 PM, Romain Guy wrote: > > And my point is that Canvas

[android-developers] Re: how to manually update nesus s to android 2.3.3

2011-02-24 Thread oldskool73
Have a look on your phones specific forums on xdadevelopers, thats where all the 3rd party rom cooking action goes on http://forum.xda-developers.com/ On Feb 24, 9:21 am, tarunmalhotra wrote: > I am looking for a link to download and manually update my nexus s to > 2.3.3. > I cant wait for the

[android-developers] Re: Smooth OpenGL movement and animation tips.

2011-02-24 Thread oldskool73
It's good of you put some suggestions out there to help others, and I'm not trying to have a dig, but none of those tips have anything to do with opengl(es) specifically. If you really want some indepth opengles tips and insight you can't go far wrong with reading through the posts on the badlogic

Re: [android-developers] SDK or some tool to develop a VERY simple Android game?

2011-02-24 Thread Harsh J
If Java isn't a strict requirement, perhaps you may want to try out the new Kivy MT libraries for Android (with Python): http://kivy.org On Fri, Feb 25, 2011 at 3:46 AM, Ryan Stonn wrote: > Oops! > This got buried in my Inbox, sorry for my late reply. > > Can you give me some links that you think

Re: [android-developers] Re: Activity without UI

2011-02-24 Thread Justin Anderson
There are useful cases to having an Activity without a UI... I have two apps on the Android Market and both of them have an activity without a UI. In my case the activity does some processing to determine another activity to be launched. But in any case, the occurrence of it is common enough that

[android-developers] Re: SDK or some tool to develop a VERY simple Android game?

2011-02-24 Thread oldskool73
you probably won't be using the ui stuff much if you're making a game so I wouldn't worry about that. I did a blog post about 3 of the popular Android games libs a while back, one of these should help... http://www.dustypixels.com/blog/2010/11/17/native-android-ogl-game-libraries-3-of-the-best/

Re: [android-developers] Database Issue

2011-02-24 Thread Justin Anderson
Have you looked at any of the documentation or samples for databases in Android? On Thu, Feb 24, 2011 at 8:31 AM, Brad Stintson wrote: > Hi, > I am developing an android application whose SQLite database comprises of > around 5 tables and these tables would have entries prior to being rendered >

[android-developers] Is SL4A a better tool to test android Applications

2011-02-24 Thread Shyam
Hello Android Developers, Currently i am using SL4A to test the existing Android Applications like media player,Contacts,Calling etc. Is it the correct way to Test the android apps. If no, please suggest me a better tool to test android apps. Thanks a ton in advance. Shyam -- You received this m

Re: [android-developers] how to run our application at avd startup

2011-02-24 Thread cuil yahoo
Do you mean ? How do you configure your application to run at the time when you switch on your android phone ? and frankly, it seems real interesting of what you have implemented. It would be great, if you could guide me to a few links regarding the same. Thanks ! -- Cuil On Thu, Feb 24, 2011

[android-developers] Re: SQLite and Collate UNICODE

2011-02-24 Thread DanH
http://www.sqlite.org/datatype3.html#collation . I don't see "UNICODE" mentioned. On Feb 24, 7:55 pm, Grunthos wrote: > Hi, > > In SQLite under Android 2.1 and 2.2 I have been using 'Collate > UNICODE' to sort and compare values; for sorting it does what I expect > -- it is case-insensitive, and

Re: [android-developers] Maps not working in the android emulator

2011-02-24 Thread TreKing
On Thu, Feb 24, 2011 at 6:09 AM, Rajkumar BE wrote: > I am trying the Google maps API example, but when I run the code emulator > gives the error "The Application has stopped unexpectedly". > That's a generic error message and is not very useful. > I have put down the Logcat details below and a

Re: [android-developers] how to run our application at avd startup

2011-02-24 Thread TreKing
On Thu, Feb 24, 2011 at 11:02 AM, mir wrote: > Salam! to everyone. > And a Merry Roast Beef to you. > dear borthers, > What did you just call us!? > I am building an application named: "security system through face > recognition for mobile phone". > Sounds fancy! > the problem is that,

Re: [android-developers] Help Please!!!

2011-02-24 Thread Miguel Morales
You might have better luck in the phonegap forums. On Wed, Feb 23, 2011 at 3:57 AM, Riyaz z wrote: > Hi Guys, > > Am using phonegap application in Eclipse to develop my Android Application. > I like to know programmatically turn off the auto suggest text when i type > in text box field in my app

Re: [android-developers] how can i develop a mobile ticketing application?

2011-02-24 Thread TreKing
On Thu, Feb 24, 2011 at 1:35 PM, zeynel wrote: > hi,i' m jr android developer.i want to develop business applications for > android like mobile ticketing,mobile commerce,mobile > banking applications..how can i,is there any source for this...any help? > Dude, seriously ... !? Why would code for

Re: [android-developers] Action Menu

2011-02-24 Thread TreKing
On Thu, Feb 24, 2011 at 4:24 PM, David Williams < dwilli...@dtw-consulting.com> wrote: > Not having much luck on this forum so far. Sorry, I do not have info on your current issue or your tab issue, however, may I suggest you change your posting font to something more "normal" and reduce the siz

Re: [android-developers] how to change location of .android folder

2011-02-24 Thread TreKing
On Thu, Feb 24, 2011 at 12:04 AM, FundamentalsTraditionalChinMed < evguenia.kryl...@gmail.com> wrote: > How do I configure Android to look for .android directory in a different > location? > Set environment variable "ANDROID_SDK_HOME" to the path where you have the SDK, which will redirect the to

Re: [android-developers] Notification reappears after cancel

2011-02-24 Thread TreKing
On Thu, Feb 24, 2011 at 6:14 AM, cls wrote: > I have a notification in my service which I cancel in onDestroy using the > cancel(id,notification). > onDestroy is not guaranteed to be called, so you may end up with an permanent notification. > The notification immediately reappears after cancel

Re: [android-developers] Re: Adobe Air for Andoid App - Trouble Bringing App to Foreground (actionscript 3)

2011-02-24 Thread TreKing
On Thu, Feb 24, 2011 at 2:26 PM, RJM wrote: > I don't actually know what the error is, I wasn't debugging on the phone at > the time (not sure how to do that), > Please learn to debug your app. There's not much anyone can do for you without so much as an error message to from. Also, since you're

Re: [android-developers] Basic Methods to develop Bluetooth facility in an android App.

2011-02-24 Thread TreKing
On Thu, Feb 24, 2011 at 3:14 AM, sudhanshu ranjan < sudhanshu.acut...@gmail.com> wrote: > Sir , I am a new android developer i want to develop Bluetooth > on/off facility in my android app. > please send me required steps and proper methods so that i can > develop this. > > Thanks & Regard > If y

[android-developers] Re: SQLite and Collate UNICODE

2011-02-24 Thread DanH
http://www.sqlite.org/faq.html#q18 On Feb 24, 7:55 pm, Grunthos wrote: > Hi, > > In SQLite under Android 2.1 and 2.2 I have been using 'Collate > UNICODE' to sort and compare values; for sorting it does what I expect > -- it is case-insensitive, and handles the expanded character set > well. > >

Re: [android-developers] how to access progressbar in other activity?

2011-02-24 Thread TreKing
On Wed, Feb 23, 2011 at 10:02 AM, Boram Han wrote: > I am trying to creating and updating progressbar in other activity > without switching activity. > > Here is my plan. > When I click a download button in activity A, it starts download > background. > A task will add a notification with progres

Re: [android-developers] adding HorizontalScrollView to my listview header

2011-02-24 Thread TreKing
On Wed, Feb 23, 2011 at 7:21 AM, James do Carmo wrote: > I want to add a HorizontalScrollView to my listview header how can I > proceed? > Try to do exactly that and if you can't figure it out, post a SPECIFIC question about what you're having trouble with. -

Re: [android-developers] SDK or some tool to develop a VERY simple Android game?

2011-02-24 Thread Ryan Stonn
Oops! This got buried in my Inbox, sorry for my late reply. Can you give me some links that you think would help since I am coming from a "plain java" background? Thanks! Ryan On Thu, Feb 17, 2011 at 1:22 AM, Justin Anderson wrote: > Well, you can't create the game in "plain" java because Andro

[android-developers] how to run our application at avd startup

2011-02-24 Thread mir
Salam! to everyone. dear borthers, I am building an application named: "security system through face recognition for mobile phone". the problem is that, my application should start at mobile/avd start up instead of password, because in this camera will be activated to take photo. That photo will be

[android-developers] how to checkout a specific kernel source from repo?

2011-02-24 Thread George Nychis
Hi all, My droid 1 has the kernel version: 2.6.32.9-g68eeef5 android-build@apa26 #1 I have followed the instructions to setup my host environment, git, and repo from here: http://source.android.com/source/download.html I have done a "repo sync" but I am now wondering how I can use repo to check

[android-developers] Inserted Email addresses now are associated with Facebook

2011-02-24 Thread FOV
I have been writing a program that would update my contact information from information I already have in Outlook. I have been writing this for andriod 2.1 since I have a Motorola Backflip updated to 2.1. I performed an insert using the following code; ContentValues values = new ContentValues();

[android-developers] Action Menu

2011-02-24 Thread David Williams
Not having much luck on this forum so far. Seems that I send emails to the group and it can take days before they even show up. Anyway, I was looking at the Action Menu (I think this is what MailDroid uses) and I was trying to see if I could get this working, but as soon as I put the following

[android-developers] Live wallpaper background image question

2011-02-24 Thread Jay Boyer
I just started working on Live wallpaper. I have a bitmap in my resources that I want to use for the background. I will draw my animations on top of that bitmap. I want to be efficient about it. I don't know if it is possible to draw the bitmap once, or somehow set it as the background, and the

[android-developers] SQLite and Collate UNICODE

2011-02-24 Thread Grunthos
Hi, In SQLite under Android 2.1 and 2.2 I have been using 'Collate UNICODE' to sort and compare values; for sorting it does what I expect -- it is case-insensitive, and handles the expanded character set well. But for comparisons, eg. f = 'something' where f is a text field, it seems to NOT do ca

[android-developers] Re: Is a manual update of Nexus S to 2.3.3 possible ?

2011-02-24 Thread Mike
http://bit.ly/eccYFX On Feb 22, 4:59 am, jarkman wrote: > I have a Nexus S in the UK. > > I'd like to get 2.3.3 onto it to work with the new NFC APIs, but I > have failed to find a firmware download for it. It sounds as though an > OTA update has gone out in the US, but it hasn't happened here. >

[android-developers] Force close when launching one apk in Android2.3.1 Phone.

2011-02-24 Thread Fendy Dai
Source code : main.xml http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" >

[android-developers] Build error - sun/security/x509/X500Name

2011-02-24 Thread Ofguard
Using Eclipse 3.6, Sun java jdk1.6.0_24, ADT plug-in installed. Trying to run the 'Hello World' program ... getting: Errors occurred during the build. Errors running builder 'Android Package Builder' on project 'HelloAndroid'. sun/security/x509/X500Name Have seen multiple postings over thins iss

[android-developers] Re: Adobe Air for Andoid App - Trouble Bringing App to Foreground (actionscript 3)

2011-02-24 Thread RJM
Thanks for the interest. I don't actually know what the error is, I wasn't debugging on the phone at the time (not sure how to do that), all I know is that the method stopped and the code after the call to nativeWindow.activate didn't get called. On Feb 24, 4:23 am, TreKing wrote: > On Tue, Feb

[android-developers] how can i develop a mobile ticketing application?

2011-02-24 Thread zeynel
hi,i' m jr android developer.i want to develop business applications for android like mobile ticketing,mobile commerce,mobile banking applications..how can i,is there any source for this...any help? -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] How to show authentication dialog in webview

2011-02-24 Thread kayi ou
Hi all, I have a problem as the subject say. Authentication method in server is basic authentication. When visit server, it will show a authentication dialog to let user input name and password in browser of android. But webview will not popup this dialog. So i want to know if there is a way to s

[android-developers] Database Issue

2011-02-24 Thread Brad Stintson
Hi, I am developing an android application whose SQLite database comprises of around 5 tables and these tables would have entries prior to being rendered and would even be updated once deployed. How to achieve such a database? regards, Brad -- You received this message because you are subscribed

[android-developers] Database Issue

2011-02-24 Thread Brad Stintson
Hi, I am developing an android application whose SQLite database comprises of around 5 tables and these tables would have entries prior to being rendered and would even be updated once deployed. How to achieve such a database? regards, Brad -- You received this message because you are subscribed

[android-developers] ListView/ExpandableListView Imageview flicking

2011-02-24 Thread Sao Kim Beng
Hi All, i have a listview/ExpandableListView contain Imageview and some text. I facing a problem when there is a new entry in and i try to update the list , after i try to refresh the BaseAdapter/ BaseExpandableListAdapter by calling notifyDataSetChanged, every imageview will flicking once. It lik

[android-developers] Notification reappears after cancel

2011-02-24 Thread cls
I have a notification in my service which I cancel in onDestroy using the cancel(id,notification). The notification immediately reappears after cancellation. Any clues? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] startactivity vs launch from home screen - for adobe AIR app

2011-02-24 Thread Niket
Hi, I downloaded this java application from net. Link : http://rosarioconti.wordpress.com/2010/10/03/extending-your-android-air-application-using-java/ Basically this application uses dexLoader.loadClass("com.adobe.air.AndroidActivityWrapper") to create class instance and then call "OnCreate()"

[android-developers] Kernel Development

2011-02-24 Thread patC
I am attempting to develop a new SDIO driver using the HTC-SAPPHIRE (froyo - Android2.2). I have built the driver but I cannot download it to the phone. I am missing 2 x files - "unpack-bootimg.pl" and "repack- bootimg.pl". Can anyone one tell me where I can download these files the only link I fou

[android-developers] Re: Eclipse 3.6.1 ADT Plugin install stuck half way

2011-02-24 Thread slugger
I forgot to mention I don't think it is a firewall/proxy issue, because I can go to my internet browser, plug in the URL that is listed when it gets stuck, and it will download the XML into my internet browser just fine. -- You received this message because you are subscribed to the Google Grou

[android-developers] Re: Problem while creating a custom UI

2011-02-24 Thread Duskox
In your board.xml I think there is an error, but I might be wrong as I am new, but still.. when you define LinearLayout you end it with "/>" insted ending it with just">" without slash since it is open and you are ending it with "" a few lines down. Maybe that is the problem? On Feb 21, 1:31 pm,

[android-developers] Eclipse 3.6.1 ADT Plugin install stuck half way

2011-02-24 Thread slugger
I have researched this topic for about a week now in the hopes of not having to post here, but I think I have tried about every suggestion online at this point. I am trying to get the ADT plugin installed in Eclipse 3.6.1 (win32 on Windows XP SP3), and every time it gets stuck about half way.

[android-developers] Maps not working in the android emulator

2011-02-24 Thread Rajkumar BE
Hello, I am trying the Google maps API example, but when I run the code emulator gives the error "The Application has stopped unexpectedly". I have put down the Logcat details below and also attached the screenshot of the error. http://bit.ly/fJKLV2 http://stackoverflow.com/questions/5101958/map

[android-developers] Smooth OpenGL movement and animation tips.

2011-02-24 Thread Tom Cowan
I'm sure anybody who's used openGL will of come across a situation where the animation or movement isn't smooth so here are some tips in the hope of people posting some more. 1. Make sure you animate/move using a timer to maintain a constant rate of movement regardless of processing speed. So, x

Re: [android-developers] Tabbed View

2011-02-24 Thread David Williams
Can anyone provide any help on this? I'd really appreciate it. David Williams Check out our WebOS mobile phone app for the Palm Pre and Pixi: Golf Caddie

[android-developers] Re: Activity without UI

2011-02-24 Thread Guna
It is possible to have an activity with out UI, just comment out the setContentView() line. And you can do any other computation work and all here. However Activity is meant to have UI, for background running purpose we already have service, so please check your requirement. -- You received

[android-developers] How to show authentication dialog in webview

2011-02-24 Thread kayi ou
Hi all, I have a problem as the subjected said. Authentication method in server is basic authentication. When visit server, it will show a authentication dialog to let user input name and password in system browser of android. But webview will not popup this dialog. So i want to know if there is a

[android-developers] Not setting buffersize on a DatagramPacket

2011-02-24 Thread ThaMe90
Is it possible to not set a DatagramPacket's buffersize? I want to use this DatagramPacket in the receive method of my DatagramSocket, but I don't know how large the buffersize should be as the data I receive is unknown. If this is possible, please enlighten me. If not, could anybody show me a way

[android-developers] Maps not working in the android emulator

2011-02-24 Thread Rajkumar BE
Hi all, I am trying the Google maps API example, but when I run the code emulator gives the error "The Application has stopped unexpectedly". I have put down the Logcat details below and also attached the screenshot of the error. http://bit.ly/fJKLV2 http://stackoverflow.com/questions/5101958/m

[android-developers] noob question I guess - input requires enter key

2011-02-24 Thread Duskox
Hi all, so I just started meddling with android and have started putting together an app. I used edit text boxed for input but when I run my app and try to input text in my field (in emulator) a keyboard pops up and no matter what I type it does not appear in the edit text box until I press Enter

[android-developers] Unable to Launch my application on incoming call

2011-02-24 Thread mca - Dolly Mishra(2006-2009)
Hello All, The goal of my project is to display my custom application together with Accept/Reject option on the incoming call. I am able to track the phone state via PhoneStateListener and BroadcastReceiver but now able to launch my app. Kindly suggest the solution. -- You received this mes

Re: [android-developers] Re: Android SDK is so slow that is ridiculous.

2011-02-24 Thread Shrinivas Sahukar
:) On Thu, Feb 24, 2011 at 8:55 PM, sblantipodi wrote: > honeycomb is also slower. > congratulations google. > > -- > 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] how to make sure that devices is connected after rebooting

2011-02-24 Thread Abdul
How to make sure that devices is connect after rebooting we are using two devices. one devics is working or taking command and seond device we are rebooting. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers]Why I get wrong hardware screen resolution.

2011-02-24 Thread Shawn
Hi, I use the flowing code to get the screen resolution: Display display = getWindowManager().getDefaultDisplay(); DisplayMetrics dm = new DisplayMetrics(); display.getMetrics(dm); Then as I known: dm.heightPixels is The absolute height of the display in pixels. dm.widthPi

[android-developers] a way to receive raw 802.11 packets (or broadcast 802.11 packets)?

2011-02-24 Thread George Nychis
Hi all, Is there a way to receive the raw 802.11 packets up from the WiFi card? I am guessing that the filter is set on the WiFi card to only pass up packets with the destination address being the MAC of the WiFi card. I was wondering if it is possible to change this filter, and receive other pa

[android-developers] Best way to create a bitmap from raw pixel array of bytes ("RGB" 24bits per pixel)

2011-02-24 Thread STN
Hi Folks, What would be the best way to create a Bitmap from a raw pixel array? I need to display an image whose source is an array of bytes describing the pixels (RGB or grayscale). I tried to use createBitmap() but in that case I need to create an int array of colors from my byte array so that

[android-developers] How to turn on the sound in the Android Emulator?

2011-02-24 Thread ThaMe90
Hello all, I wonder how to turn on the sound in the Android Emulator? I've 2 headsets connected to my pc, but I can't seem to get sound on either of them (One is connected through USB, the other through a 3.5mm Jack). I've set the AVD I use to enable Audio Input & Output, and I have set the start-u

[android-developers] Re: how to manually update to android 2.3.3

2011-02-24 Thread Shawn
Or Android source code? On 2月24日, 上午6时41分, Mark Murphy wrote: > On Wed, Feb 23, 2011 at 5:54 AM, tarunmalhotra wrote: > > Is there ia dowload link to manually update to 2.3.3 > > Manually update *what* to 2.3.3? > > If you mean your SDK, use the SDK and AVD Manager. > > If you mean your device,

[android-developers] Creating Menu

2011-02-24 Thread Klong
Hi, I'm new to the group! Well anyway, I'm trying to create a menu and I'm getting this error: W/ResourceType( 3344): Bad XML block: header size 151 or total size 0 is larger than data size 0 Any help would be great! My xml code is this: http://schemas.android.com/apk/res/android";>

[android-developers] Re: USB Driver for Windows does not work for Nexus S

2011-02-24 Thread bojlxb
A similar problem. When you install this driver. Windows writes "In that place there is no information about the hardware". -- 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

[android-developers] About adb commands

2011-02-24 Thread sogan xie
Hi guys, Is there some tools under Windows for adb commands? I mean that we just only press some buttons for adb commands. Thanks in advance. -- B.R. Sogan.X Mail:soga...@gmail.com -- You received this message because you are subscribed to the Google Gro

[android-developers] Emulator not booting

2011-02-24 Thread AK
Hi, I have customised my system.img file at the application level. Using this system.img file, i have created an emulator and tried to launch it. But it stops at the boot level, where I can jst see the "android" string at the center of the emulator with a cursor blinking. It doesnt go further by l

[android-developers] About camera pixel format, how to get a color preview with YUV420sp and recording issue

2011-02-24 Thread timyao
Hi, I have a question about using the camera service. Here are something I observed from different discussions as well as my own tests on a real development board with Froyo. 1. The default pixel format for camera preview is YUV420SP. 2. To show a camera preview, the camera view surface at the app

[android-developers] Why I get wrong hardware screen resolution.

2011-02-24 Thread Shawn
Hi, I use the flowing code to get the screen resolution: Display display = getWindowManager().getDefaultDisplay(); DisplayMetrics dm = new DisplayMetrics(); display.getMetrics(dm); Then as I known: dm.heightPixels is The absolute height of the display in pixels. dm.widt

[android-developers] how to manually update nesus s to android 2.3.3

2011-02-24 Thread tarunmalhotra
I am looking for a link to download and manually update my nexus s to 2.3.3. I cant wait for the OTA update. I there there are a lot of users like me who like to do the same. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

[android-developers] Android 2.3 Native Audio Support (porting custom vocoder)

2011-02-24 Thread swarbiv
I'm new to Android development, so please forgive me if this has already been address somewhere... Basically, I'd like to be able to port a C-based speech vocoder over to the Nexus S (ARM), running Android 2.3. Should I be using the NDK to access the C API's? The vocoder requires 16-bit PCM fra

[android-developers] "Send via..."-integration?

2011-02-24 Thread SvenAbels
Hi, I'd like to develop a small application for uploading a photo after it has been taken with the camera of the phone. When clicking the share- Button in Android, a lot of applications/sites are listed, e.g. Flickr, Mail, Picasa, etc. I would like to place an opwn entry into this menu. Could som

[android-developers] how to change location of .android folder

2011-02-24 Thread FundamentalsTraditionalChinMed
I am a novice with Android and am going through configuring AVD as part of tutorial. When executing the following command: android -v create avd -n testAvd -t 1 -p path_to_dir I get the following Error: /Users/my_user/.android/avd/testAvd.ini (No such file or directory) I cannot create .andro

[android-developers] Issue with getExposureCompensation and getExposureCompensationStep

2011-02-24 Thread nawab
Hi All, I am facing issues with getExposureCompensation() and getExposureCompensationStep() apis. Whenever I call these two apis, it throws a null pointer exception. When i use the getExposureCompensation after using setExposureCompensation() api, then it works fine. But in the case of getExposure

Re: [android-developers] sqlite access

2011-02-24 Thread Greg Donald
On Thu, Feb 24, 2011 at 12:17 PM, Justin Anderson wrote: > The way I do it is by creating an Application subclass with helper methods > to access the db.  That way access only happens at one spot and both > activities and services should be able to access it just fine. Works great, thanks again.

Re: [android-developers] Not able to connect Samsung Pop(5570) to ubuntu for development

2011-02-24 Thread sogan xie
Please check following: 1. mobile driver 2. adb env setting On Thu, Feb 24, 2011 at 10:38 AM, SuperCop wrote: > Hi Guys, > I was not able to connect my phone to my ubuntu 10.10 machine. It got > connected in usb storage mode but when i switched the usb debugging on, my > device was listed as > >

[android-developers] Re: Porting valgrind-3.6.0 on Android-2.2.

2011-02-24 Thread Anu C
I am using GNU Makefile. I am cross-compiling with arm-eabi-gcc. On Feb 16, 2:50 pm, redkrzy wrote: > can u share the android.mk? -- 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@goog

[android-developers] Basic Methods to develop Bluetooth facility in an android App.

2011-02-24 Thread sudhanshu ranjan
Sir , I am a new android developer i want to develop Bluetooth on/off facility in my android app. please send me required steps and proper methods so that i can develop this. Thanks & Regard -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: adding search option

2011-02-24 Thread metal mikey
You could hire a professional to do it. On Feb 25, 2:59 pm, TreKing wrote: > On Thu, Feb 24, 2011 at 9:02 PM, nischal wrote: > > i have successfully displayed google map in my android application. > > > now i wish to add search box to that application > > > so that user can enter any place in th

[android-developers] phone keypad intent?

2011-02-24 Thread Kirk A
In a fashion similar to IMAGE_CAPTURE returning an image from the camera, I would like to discover an intent to utilize the phone application's pleasant keypad and *return* the number entered (without dialing). I haven't found such an intent yet... It seems that this would be a natural fit for the

[android-developers] Automatically cycle items in a widget

2011-02-24 Thread dbldown768
I am creating a widget that uses a service to retrieve an arrayList of items. I wanted the widget to flip through these items it retrieved about every 10 secs. In addition I wanted the widget to go our and retrieve a new set of these items on a daily basis. So what I have done was create two dif

[android-developers] Re: MD5 Checksum of installer_r09-windows.exe does not match

2011-02-24 Thread Rupert
Hi, Few, feared I was going mad until I found this thread. Seemingly wrong on r10 from http://developer.android.com/sdk/index.html too: Windows android-sdk_r10-windows.zip Web:30112516 643a75d99f5d4ca39dcf743fe894d599 Actual: 32832260 1e42b8f528d9ca6d9b887c58c6f1b9a2 Windows installer_r10-wi

[android-developers] Eclipse 3.6.1 Classic - ADT plugin install stuck half way

2011-02-24 Thread slugger
I did about a week's worth of researching before I decided to post here, in the hopes of finding a fix for an issue I am seeing while installing the ADT plugin. I am trying to install the ADT plugin in Eclipse 3.6.1 Classic (win32). Each time, the install will make it half way, and get stuck ther

[android-developers] Implementing a DeviceLimiter

2011-02-24 Thread Philip Sheard
Has anyone actually managed to do this? The documentation counsels against it, but it is also vague and inaccurate. I have tried extending LicenseChecker, and implementing that way. I can then override isDeviceAllowed, but the method in NullDeviceLimiter still gets called. Looking at the code, the

[android-developers] Programatically change the color of layout

2011-02-24 Thread Sid
Hello All, I am trying to programatically change the layout color but of a relative layout (tried Linear layout but didn't change), but cannot change it. Also trying to debug the app doesn't help, there was not message related to my TAG. the application stood still after layout was colored initia

[android-developers] AVD disk performance problems

2011-02-24 Thread Linux777
Hello! I have Android SDK r10 and AVD for Android 3.0. Problem: emulator is QEMU-based and there is general problem - default caching policy results in extremely slow operation with disk images and high disk usage which leads to damage of host PC's hard disk. My OS Ubuntu 10.10 AMD64. For QEMU I

Re: [android-developers] Re: How to detect tablet devices

2011-02-24 Thread Carlo Codega
Is there any numeric size about XLARGE screens? AFAIK there could be smartphone devices with "xlarge" screens, or not? I don't see any documentation which says that XLARGE screens are > 6 inches Does xlarge refer to the phisical size? or resolution? Carlo On Wed, Feb 23, 2011 at 6:27 PM, Dianne

[android-developers] Re: Problem while creating a custom UI

2011-02-24 Thread Dale Wilson
On Feb 22, 10:24 pm, Bilthon wrote: > If what you want is inflate a view from XML, you should try something like: > > > public class BoardActivity extends Activity{ > >     public void onCreate(Bundle savedInstanceState) { >         super.onCrea

Re: [android-developers] Re: SDK 11 is the slowest yet

2011-02-24 Thread Stacy Young
I still cannot maintain landscape on OS X. It will switch but then revert 2-3 seconds later. :-( On Wed, Feb 23, 2011 at 1:55 PM, Romain Guy wrote: > And my point is that Canvas.drawBitmap() etc. is not doing any more > computation than previous SDKs. > > > On Wed, Feb 23, 2011 at 9:42 AM, Reu

Re: [android-developers] Getting Application Installation Status

2011-02-24 Thread sathya singaravelu
Thanks for the reply. But using this Package_added broadcast receiver, i can get only the successful install status for an app. If i want to get failure install status or want to know whether user selects "Install" or "Cancel" after reading the permission, then is there anyway to find it out? Is

[android-developers] Re: Honeycomb + landscape + Mac = will not stay in landscape

2011-02-24 Thread Stacy Young
Hmm first post didn't hit the list ... On Tue, Feb 22, 2011 at 10:08 PM, Stacy Young wrote: > Hey all, > > I've seen the workaround posted to get landscape mode ..and it works ...but > only for a split second. Then the screen reverts back to portrait mode > displaying sideways. Driving me nuts!

[android-developers] How to keep transparency through canvas redraw

2011-02-24 Thread isa550
Hi, I need a layout to open with an effect of expanding opening. The layout grows until it takes the whole screen, but the content is not scaled. So I make a layout, override the onDraw, clipRect with a Rect that grows with a timer. Until there it works. But once the layout is fully expanded, it r

[android-developers] 3.0 release and multi core

2011-02-24 Thread Maximilian Odendahl
Hi, reading "Support for multicore processor architectures" as one of the new major features, I have a quick questions in regards to multi core development: What base platform does the 3.0 preview emulator use? Does it have two (several) ARM processors or is it still using Goldfish (one ARM proces

[android-developers] Multitouch on two different views

2011-02-24 Thread victor diaz
I have different views that can be clicked / moved at the same time. For example an slider that can be moved at the same time a button is pressed. How can I achieve this? I know in Android, when a View is touched then the following touches will refer to this first view. Is there any way I can impl

[android-developers] Need help with tabbed layout

2011-02-24 Thread Dave Williams
I'm new to Android development so please bear with me. I have created an app in WebOS and I'm keen to try and re-create for the Android platform. I have tried to follow the tutorial for creating a tabbed view and to some extent I have succeeded. However, the problem that I am having is that when

[android-developers] Re: Help

2011-02-24 Thread Corey Latislaw
Hi Jorge, I'm reading Professional Android 2 Application Development by Reto Meier. The book has some mixed reviews, but its working well for me. Thanks, Corey -- Corey Latislaw coreylatislaw.com twitter.com/corey_latislaw On Feb 18, 2:46 pm, Jorge Luis wrote: > Afternoon ya'll... > > I'm star

  1   2   3   >