[android-developers] Regarding emulator

2012-05-01 Thread sourabh sahu
Hello All, How to download app from market and run on emulator. THanks Regards, Sourabh -- 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

[android-developers] Memory Class

2012-05-01 Thread bob
I'm trying to see the difference between ActivityManager.getMemoryClass() and ActivityManager.getLargeMemoryClass(). The former function returns 64 and the latter returns 288 on my Galaxy Tab. Which is accurate? Does the app have a 64 MB heap limit or a 288 MB heap limit? -- You received

[android-developers] Re: Mount SDK

2012-05-01 Thread jadranko bodiroga
Any idea? On May 1, 2012 1:00 AM, baturanija1 jadrankobodiroga1...@gmail.com wrote: HEY people, is there an option that i can mount\unmount SDK card to input in my app? Thanks for helping -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Alternate Page Display mechanisms?

2012-05-01 Thread Jason Teagle
In WP7 we have Pivots and Panoramas where a page may be 15 pages wide and the user can slide them accross. The same Code Class Maybe I could put a very wide page into a horizontal slider or something like that? Although the very wide page and ScrollView option is a possibility, you might

Re: [android-developers] Re: Debugging code that cause's a hardware restart of the phone :?

2012-05-01 Thread deb-account
On 30/04/12 22:13, ThomasWrobel wrote: Ok, I am using a HTC Legend. The crashes didn't start when I started using the 3D, so I don't think its a specific command thats doing it. Maybe a OpenGL related memory leak. You may install the mat plugin for eclipse. It can generate a dump that you

[android-developers] Re: noob question

2012-05-01 Thread Ali Chousein
If you're posting code snippets from your personal apps then yes, I agree with Justin, the snippets are absolutely necessary to receive help here. If you're posting code snippets from a proprietary software you develop for a company, then be very precautious and consult with the legal department

[android-developers] Re: accessing contact image

2012-05-01 Thread Ali Chousein
@Justin: Hahaha, this platform needs a 'Like' button :D @Ibrahim: If you were trying to ask how to access the photo of a contact, then the following link is your starting point: http://developer.android.com/reference/android/provider/ContactsContract.Contacts.html Google for ContactsContract

Re: [android-developers] How to force quit a Thread

2012-05-01 Thread Kamran Shamim
Quite right, Kristopher. I think that it all depends on what Matt would like to do. I think that the AsyncTask would do what he wants, but added functionality (and therefore perhaps complexity) could be available by using an IntentService, which is a service that automatically runs a worker

Re: [android-developers] Layouts - Using Remaining Space For Intermediate View

2012-05-01 Thread Jason Teagle
Could you use a LinearLayout and set the layout_weight of each custom view to 1? Hmmm... yes, good call, but there's a slight twist. It seems that gravity doesn't work in LinearLayout. Consider the following code (in onCreate() ): --- super.onCreate(savedInstanceState); // Create the root

Re: [android-developers] Layouts - Using Remaining Space For Intermediate View

2012-05-01 Thread Romain Guy
The gravity should be set on the LinearLayout.LayoutParams instead. You could also set it on rootContainer. When you call LinearLayout.setGravity(), gravity applies to the children of the LinearLayout. If you set the gravity on the LayoutParams, gravity is applied by the parent on the child the

Re: [android-developers] Layouts - Using Remaining Space For Intermediate View

2012-05-01 Thread Jason Teagle
The gravity should be set on the LinearLayout.LayoutParams instead. Ahhh... yes, that fixed it. I misread the function and thought it applied to the View / Widget it was being called on. My bad. *Now* I'm in business - thanks! -- You received this message because you are subscribed to the

Re: [android-developers] Is showing dialog from a dialog possible?

2012-05-01 Thread tarun sablok
It is very much possible ... just include the showDialog() function with the ID of the dialog where you are handling the events of the dialog.. On Tue, May 1, 2012 at 6:46 AM, TreKing treking...@gmail.com wrote: On Mon, Apr 30, 2012 at 7:27 PM, Agus agus.sant...@gmail.com wrote: Is showing

[android-developers] This group is for knowledge sharing and sometimes to get answers to very specific questions. Please don't abuse it.

2012-05-01 Thread Ali Chousein
Newbies, novices and in general group members who cannot get something done alone, Stop sending private e-mails to group members, asking questions that you can easily find in documentation (given that you bother reading 5-10 mins), asking for code and telling that it's urgent (Urgent? Are you

Re: [android-developers] Is showing dialog from a dialog possible?

2012-05-01 Thread lbendlin
It may be possible all right, but it sure smells like a bad user experience. On Tuesday, May 1, 2012 6:30:46 AM UTC-4, tarun sablok wrote: It is very much possible ... just include the showDialog() function with the ID of the dialog where you are handling the events of the dialog.. On

Re: [android-developers] Timer in Android

2012-05-01 Thread Mark Murphy
This has nothing to do with Android. There is no method on TimerTask to tell you it is canceled, so you will need to track that yourself by some other means. On Mon, Apr 30, 2012 at 8:16 PM, Mai Al-Ammar mai.alam...@gmail.com wrote: Hello every one, I have a simple question about timer in

Re: [android-developers] Memory Class

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 2:50 AM, bob b...@coolfone.comze.com wrote: I'm trying to see the difference between ActivityManager.getMemoryClass() and ActivityManager.getLargeMemoryClass(). The former function returns 64 and the latter returns 288 on my Galaxy Tab.  Which is accurate?  Does the app

Re: [android-developers] Regarding emulator

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 2:04 AM, sourabh sahu souruit...@gmail.com wrote: How to download app from market and run on emulator. You don't. You are welcome to contact the developer of the app in question and see if they distribute the APK by other means that would be usable on an emulator. --

[android-developers] LinearLayout Problems

2012-05-01 Thread Jason Teagle
It seems I'm not out of the woods just yet. I seem to be having another strange problem with gravity - vertically this time. LEFT, RIGHT CENTER (aligning a normal and wider button in a vertical layout so that they are both right-aligned) seem to be no problem. Given the following code

Re: [android-developers] How to use an AIDL across different package names?

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 1:48 AM, Freddy f...@charter.net wrote: I'm creating a remote service with an AIDL.  I've developed the service using the package name package com.mycompanyname.myservice; I want to provide the AIDL (and my api interface docs) to a third- party so they can build an

Re: [android-developers] Is showing dialog from a dialog possible?

2012-05-01 Thread Kostya Vasilyev
In particular, managed dialogs (shown with showDialog(id)) don't preserve their relative z-order after an orientation change... DialogFragments, I believe, do. 2012/5/1 lbendlin l...@bendlin.us It may be possible all right, but it sure smells like a bad user experience. On Tuesday, May 1,

Re: [android-developers] Timer in Android

2012-05-01 Thread Mai Al-Ammar
I tried to track it by myself but I could not :( could you please help me with an idea of tracking. On Tue, May 1, 2012 at 2:22 PM, Mark Murphy mmur...@commonsware.com wrote: This has nothing to do with Android. There is no method on TimerTask to tell you it is canceled, so you will need to

Re: [android-developers] Regarding emulator

2012-05-01 Thread Narendra Singh Rathore
On Tue, May 1, 2012 at 11:34 AM, sourabh sahu souruit...@gmail.com wrote: Hello All, How to download app from market and run on emulator. For running the app on emulator, you need to install the apk of that app on emulator, which you can simply do by the command adb install name of your

[android-developers] Can anyone explain me the use of invalidate() function and when it needs to be called

2012-05-01 Thread chanakya raichur
Can anyone explain me the use of invalidate() function and when it needs to be 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,

Re: [android-developers] Can anyone explain me the use of invalidate() function and when it needs to be called

2012-05-01 Thread Jason Teagle
Can anyone explain me the use of invalidate() function and when it needs to be called It marks the entire surface of the view as needing repainting, thus causing the control to repaint itself at the earliest convenient moment on the UI thread (once all other UI actions have completed). You

Re: [android-developers] Re: Debugging code that cause's a hardware restart of the phone :?

2012-05-01 Thread Thomas Wrobel
I have installed Mat but not sure if I am using it the way intended, as I am not getting any useful results. I run my app from eclipse using usb debugging. I let it run for a bit doing random actions. I open DDMS in eclipse and goto the Dump HPROF file icon. This gives me what I think is a

Re: [android-developers] Google Play statistics

2012-05-01 Thread Justin Anderson
It should say something like Application statistics are updated daily (when we feel like it). Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Apr 30, 2012 at 11:51 PM, Zsolt Vasvari zvasv...@gmail.com wrote: It's clearly spelt out on the bottom

Re: [android-developers] Cut function in android

2012-05-01 Thread Justin Anderson
I already have problem in that i have completed free hand drawing with pencil and how to get that pixels value which is there in that free hand drawing that is problem i am facing now You are going to have to be more specific... What have you tried so far? Thanks, Justin Anderson

[android-developers] 我的Android SDK管理器不能下载google外部库

2012-05-01 Thread qingtaop...@yahoo.com.cn
我的Android SDK管理器不能下载com.google.android.maps 包,是什么原因? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] How to force quit a Thread

2012-05-01 Thread Kristopher Micinski
On Tue, May 1, 2012 at 4:12 AM, Kamran Shamim krsha...@gmail.com wrote: Quite right, Kristopher. I think that it all depends on what Matt would like to do. I think that the AsyncTask would do what he wants, but added functionality (and therefore perhaps complexity) could be available by using

Re: [android-developers] Timer in Android

2012-05-01 Thread Kristopher Micinski
what did you try? How did it not work? Did you set a flag somewhere before calling cancel? Or what? kris On Tue, May 1, 2012 at 7:49 AM, Mai Al-Ammar mai.alam...@gmail.com wrote: I tried to track it by myself but I could not :( could you please help me with an idea of tracking. On Tue,

Re: [android-developers] How to force quit a Thread

2012-05-01 Thread Kamran Shamim
Kris, Quite agree. In terms of the service, let's say that at this point it is not necessary (he GC issue is just a personal thing I have of tidying up behind me ASAP and making sue that it is done). For now, I will leave the AsyncTask as my preferred solution for Matt - as you say the

[android-developers] Extract pixels of an image taken by android camera.

2012-05-01 Thread ayoub bouziane
hi, I'm going to develop image processing app in Android with opencv . the trouble is when I want extrat the pixels of a picture taken by android camera, i find big numbers greater than 255 so if you have any information or knowledge about this problem please tell me about that.

[android-developers] Re: Regarding emulator

2012-05-01 Thread blake
I seldom argue w/Mark... but in this case I think there is a way to do this. The application you've downloaded is in the directory /data/app on the device to which you downloaded it. Use adb pull to copy the file to your dev machine. Now use adb install to push it to your emulator. Bam! Bob's

Re: [android-developers] Extract pixels of an image taken by android camera.

2012-05-01 Thread Jason Teagle
the trouble is when I want extrat the pixels of a picture taken by android camera, i find big numbers greater than 255 The first step to getting answers to a my code doesn't work / doesn't do as I expected type of problem is to post some of your code around the affected area. Without

[android-developers] Re: This group is for knowledge sharing and sometimes to get answers to very specific questions. Please don't abuse it.

2012-05-01 Thread Ali Chousein
P.s., wow, do you actually bring in that high an hourly rate consistently!  I need to get a real job if that's the case. That's the rate which would make me feel that something is urgent indeed. And yes, lately many people have been sending private e-mails and asking basic questions. I've

Re: [android-developers] Re: Regarding emulator

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 10:30 AM, blake blake.me...@gmail.com wrote: I seldom argue w/Mark... but in this case I think there is a way to do this.  The application you've downloaded is in the directory /data/app on the device to which you downloaded it.  Use adb pull to copy the file to your dev

Re: [android-developers] Re: Regarding emulator

2012-05-01 Thread venugopal peparthi
hi friend, to download .apk from emulator first click on browser login into android market and download .apk and then install. Thanks, venugopal.p. On Tue, May 1, 2012 at 8:00 PM, blake blake.me...@gmail.com wrote: I seldom argue w/Mark... but in this case I think there is a

Re: [android-developers] Is showing dialog from a dialog possible?

2012-05-01 Thread Agus
Thanks all for the answers, I asked that question is because of the nuances of SystemUiVisibility flag if set inside a dialog. Specifically, when HIDE_NAVIGATION is set to a dialog A, and then dialog is dismissed, and when dialog is shown again it retains the SystemUiVisibility flags that was

Re: [android-developers] Re: Regarding emulator

2012-05-01 Thread sourabh sahu
The thing I am not able to download it on emulator.There is no market app icon on emulator.and If I go to market.android.com and then if I select and app and click on install it need a device. Please give some solution to it. Thanks in advance. sourabh On Tue, May 1, 2012 at 8:13 PM, venugopal

[android-developers] Re: Regarding emulator

2012-05-01 Thread blake
Ouch. If that is the case, I absolutely do not recommend it. If you've paid for a single copy of the application and/or agreed not to copy it, then you certainly shouldn't do so. The impediment, though, is legal, not technical. In cases where there is no legal impediment, the process of

[android-developers] Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Ab
This TestActivity mimics some behavior in my app, which casues an ANR on the Samsung Note ( running Android version 2.3.6). It did not produce an ANR on a few other devices I tried, including 2 different Samsung devices both with 2.3.6. Based on the traces.txt file, the GUI thread appears to

[android-developers] Re: How to use an AIDL across different package names?

2012-05-01 Thread Freddy
Hi Mark, thank you for the response. I have some additional questions about moving the AIDL below ... On May 1, 4:28 am, Mark Murphy mmur...@commonsware.com wrote: On Tue, May 1, 2012 at 1:48 AM, Freddy f...@charter.net wrote: I'm creating a remote service with an AIDL.  I've developed the

Re: [android-developers] Re: How to use an AIDL across different package names?

2012-05-01 Thread Kristopher Micinski
On Tue, May 1, 2012 at 2:24 PM, Freddy f...@charter.net wrote: Hi Mark,  thank you for the response.  I have some additional questions about moving the AIDL below ... On May 1, 4:28 am, Mark Murphy mmur...@commonsware.com wrote: On Tue, May 1, 2012 at 1:48 AM, Freddy f...@charter.net wrote:

Re: [android-developers] Fitting image to a screen

2012-05-01 Thread Mohamed ElSanousi
I'm doing a facial parameter software that doctors could use to extract angles and ratios of the nose. This is what i have so far, I even tried to rotate the picture and still the returned image is distorted. Code: Bitmap b = BitmapFactory.decodeFile(getIntent().getStringExtra(imagePath ));

[android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Jonathan S
Any class is under View NEEDS to be in the Main Thread. On Tuesday, May 1, 2012 2:09:15 PM UTC-4, Ab wrote: This TestActivity mimics some behavior in my app, which casues an ANR on the Samsung Note ( running Android version 2.3.6). It did not produce an ANR on a few other devices I tried,

Re: [android-developers] Fitting image to a screen

2012-05-01 Thread Justin Anderson
What do you mean by distorted? On May 1, 2012 12:41 PM, Mohamed ElSanousi mmurtad...@gmail.com wrote: I'm doing a facial parameter software that doctors could use to extract angles and ratios of the nose. This is what i have so far, I even tried to rotate the picture and still the returned

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Justin Anderson
Anything that touches/modifies/updates the UI MUST run on the UI thread... On May 1, 2012 12:44 PM, Jonathan S xfsuno...@gmail.com wrote: Any class is under View NEEDS to be in the Main Thread. On Tuesday, May 1, 2012 2:09:15 PM UTC-4, Ab wrote: This TestActivity mimics some behavior in my

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Ab
the thread rendering off the UI thread doesn't touch/modify/update the UI -- 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

[android-developers] Re: How to use an AIDL across different package names?

2012-05-01 Thread Freddy
Thanks Mark. I appreciate you confirming that this design is possible. I hoped/assumed it would be similar to other languages and platforms. Java/Android is not my primary development platform so I appreciate your assistance letting me know I'm heading in the right direction. The cannot be

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Justin Anderson
the thread rendering off the UI thread doesn't touch/modify/update the UI Then would you mind explaining this? It then starts a new thread which renders a Bitmap into a canvas Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 1, 2012 at

Re: [android-developers] Re: How to use an AIDL across different package names?

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 3:21 PM, Freddy f...@charter.net wrote: Thanks Mark.  I appreciate you confirming that this design is possible.  I hoped/assumed it would be similar to other languages and platforms.  Java/Android is not my primary development platform so I appreciate your assistance

Re: [android-developers] Fitting image to a screen

2012-05-01 Thread Mohamed ElSanousi
The returned pictured is stretched. On Tue, May 1, 2012 at 11:04 PM, Justin Anderson magouyaw...@gmail.comwrote: What do you mean by distorted? On May 1, 2012 12:41 PM, Mohamed ElSanousi mmurtad...@gmail.com wrote: I'm doing a facial parameter software that doctors could use to extract

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Ab
I'm sorry if the code isn't clear. The new thread instantiates a Canvas and paints into it with Canvas.drawBitmap(). Neither the instantiation nor the method call effect the UI. On Tuesday, 1 May 2012 15:25:34 UTC-4, MagouyaWare wrote: the thread rendering off the UI thread doesn't

[android-developers] R.java can not be found on NEW project with NO errors

2012-05-01 Thread CaptAscii
I am using Eclipse Indigo on Linux 11.10 and using SDK 4.0.3. I created a new android project, and it complains R could not be resolved in the onCreate method. The Android.R package is NOT included, as some have suggest it would cover it. On Linux, the Android SDK folder has full permissions

[android-developers] Do I need license for print screen from google maps (earth) ?

2012-05-01 Thread Dusan
I need use print screen from maps (earth) of some area and I need this for public and comercial use. Where I can buy license or rights for this part of map? Who I should contact? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: public variables

2012-05-01 Thread Paul v
I think you're looking for the Application class: http://developer.android.com/reference/android/app/Application.html You have to write a class that extends Application, add a name field in the manifest.xml file, then you can access an instance of your Application sub-class from any activity

[android-developers] Bluetooth Buffer.

2012-05-01 Thread Alan Grixti
Hey, I'm making use of a bluetooth communication but however when two mesagges are sent too soon they get jumbled up. I'd need to call the flushing of the bluetooth buffer manually through code. Is there a way this can be done? Regards Alan Grixti -- You received this message because you are

[android-developers] Re: In ICS Media Store DB whts the file URI to fetch the text document?

2012-05-01 Thread Shyam Murarka
Hi, For those who are still searching for an answer to this can refer to http://stackoverflow.com/questions/10384080/mediastore-uri-to-query-all-types-of-files-media-and-non-media. It has been answered there. Regards, Shyam On Monday, January 23, 2012 5:32:58 PM UTC+5:30, rajesh

[android-developers] Re: In ICS Media Store DB whts the file URI to fetch the text document?

2012-05-01 Thread Shyam Murarka
Hi, I don't think I can post links here. My previous reply was automatically deleted. Anyways, search on StackOverflow for mediastore-uri-to-query-all-types-of-files-media-and-non-media. This question has been answered there. Regards, Shyam On Monday, January 23, 2012 5:32:58 PM UTC+5:30,

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-01 Thread Slawomir Krupa
Hi Dennis , Can you please explain step by step how you have overcome that problem because I tried everything and it is not working. Can post printscreen of your project and show me how you have organized your photos, please W dniu wtorek, 10 kwietnia 2012 13:49:38 UTC+1 użytkownik DennisG

[android-developers] android C2DM send MismatchSenderId

2012-05-01 Thread Nicolas Lattuada
Hello I am running into an issue related to c2dm messaging, I just arrived in a company. They got an application registered with the personnal email address of a developper who left the company. The devices registration_id are saved into a database, relative to the application. The call to

[android-developers] getHitRect differences in FroYo / Gingerbread / ICS?

2012-05-01 Thread William Sanville
Hello, My end result is to increase the clickable area of certain views that are small. It appears that this can be done with a TouchDelegatehttp://groups.google.com/group/android-developers/browse_thread/thread/178af525ab84b371, but in my case, there will be scenarios where one container has

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-01 Thread Slawomir Krupa
Hi Dennis, I am struggling with the same problem and it seems like there is no step by step solution published on the web:( Could you please post the printscreen of how did you embedded those .java files into you project? Did you have to do it by downloading every single file form

[android-developers] [newbie] Connecting Medion Lifetab P9514 to XP/W7?

2012-05-01 Thread Fred
Hello I just started learning about Android with the intent to write applications using Basic4Android. A store nearby has the Medion Lifetab P9514 (MD 98052) tablet on sale: www.goo.gl/2UjFv (sorry the spec is not in English. It seems to only be sold in continental Europe) Before buying it, I

[android-developers] Layout modified after updating from Gingerbread to ICS.

2012-05-01 Thread Pedro C.
The appication I'm developing had a perfect main.xml design for Android Gingerbread, and after changing the target to ICS this layout has been changed, so it is not properly shown, neither in the Eclipse emulator nor in my Samsung Galaxy SII. I thought the layout could be different deppending

[android-developers] listSeparatorTextViewStyle weirdness between SDK versions 10 and 11

2012-05-01 Thread Arieh Davidoff
Howdy All, I have come across some weird behavior while writing an app using ListView and I was hoping to solve and/or report. The application in question is based on a ListActivity and employs section headers. Each list item contains two TextViews (top == section header, bottom == text). A

[android-developers] Voice recognition

2012-05-01 Thread venkat v
Hi, I'm developing an application based in Text to Speech and Speech to Text using Eclipse and I tried by getting code, VoiceRecognition.java from developer website. But it Says the message Recognizer not present. Is it possible to convert Speech to Text? Can anybody help me? -- You

[android-developers] HTML5 Geolocation doesn't work with Android default browser

2012-05-01 Thread Aymeric Raguet
Hi, I am having some difficulties with the Geolocation API in Javascript. It works very well in the following cases: - On a PC with Chrome, Opera and Safari (not tested with IE) - On Windows Mobile phone with IE - On Android mobile with Opera (not tested on an iPhone) But it is not working with

[android-developers] Need code to Upload photos to picasa from android

2012-05-01 Thread test
Hi I would like to develop simple android application it need to upload photos to picasa.i could not download full code from google.developer.com.please help -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] code for read n write

2012-05-01 Thread pats
i am trying to develop an application for creating a new file in sd card and then reading the content of the file in my application.. but am gettin 'permission denied' message in my application can anyone post the complete code for reading and writting the files in sd card? And i also want the

[android-developers] Custom ListView with Checkbox

2012-05-01 Thread Bunty
I am creating a ListView using customized TextView, as shown below: list_item.xml file: ?xml version=1.0 encoding=utf-8? TextView xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent android:padding=10dp

[android-developers] Re: recognition and speech recognition

2012-05-01 Thread venkat v
Hello. 'm aslo trying similar thing. 've u succeeded in speech recognition? -- 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

[android-developers] Blocking Outgoing SMS

2012-05-01 Thread uttam agarwal
Hi All, Is it possible to block outgoing SMS in android? Regards, Uttam Agarwal -- 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] How to detect and connect Bluetooth headset using Android code

2012-05-01 Thread Uday Wad
I would like to identify Bluetooth headset and connect it via my android code can you help me out ? -- 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

[android-developers] How insert in android a web service client created using eclipse wizard and WSDL.

2012-05-01 Thread ingaponteca
I am trying to create a web server client in my android application. I created the web server client using eclipse wizard and I tested as java application and worked just fine. But When I do same process in my android project, and after add same jar files and J2SE1.5 just below the Android 4.0.3

Re: [android-developers] algorithm data synchronization (SQLite to Online Database)

2012-05-01 Thread Diogo Ribeiro
I think that WebService would be the best way 2012/4/28 Thiago Ventura serravent...@gmail.com I am making a app that need synchronize data with a online server. What do the best way to make? I thought at create a database local (SQLite) that will synchronize with a online database server

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-01 Thread Slawomir Krupa
Hi Dennis, Can you please describe what you have done because I have the very same problem. I tried to embbed source code but it didnt work. What did you do with annotations i.e. @ThredSafe ect. Can you post printscreen from your project showing where exacly you put source code? Thank you

[android-developers] Re: Regarding emulator

2012-05-01 Thread Samuel
That's not software piracy. If you have paid for a copy of the software, it doesn't matter which machine you choose to run it on. On May 1, 10:40 am, Mark Murphy mmur...@commonsware.com wrote: On Tue, May 1, 2012 at 10:30 AM, blake blake.me...@gmail.com wrote: I seldom argue w/Mark... but in

[android-developers] Application auto update problem

2012-05-01 Thread RyunixRyan
Dear expert, My android application update does not auto applied to most of our client applications. Can anyone shed some light to it ? Below are some details of my apps. 1. Built specially for 1 customer 2. Does not restrict device Please understand that I am aware of of the following 1.

Re: [android-developers] Re: Strange force close on Froyo phone, works fine on ICS tablet

2012-05-01 Thread Zy Z
30.44406N 86.59909W 在 2012-4-30 上午3:14,Jim Graham spooky1...@gmail.com写道: On Sun, Apr 29, 2012 at 12:04:01PM -0700, Jonathan S wrote: java.lang.NoSuchFieldError: android.graphics.PorterDuff$Mode.ADD it is telling Mode.ADD is not exists in 2.2 Hm, according to the developers guide,

Re: [android-developers] Fitting image to a screen

2012-05-01 Thread Justin Anderson
The returned pictured is stretched. But it now fits the screen? If you want the image to take up the whole screen and the aspect ratio of the image doesn't exactly match the aspect ratio of the image then it is going to get stretched. There is no way around that if you are dead set on making

[android-developers] Re: To write array data to serial port in ascii

2012-05-01 Thread Dan
In the first array you are using characters i.e. actual ascii. In the second you are using integer values which are not equivalent to ascii values so if you actually want to see 10 show up on your screen and not the ascii value for byte 10 then you would have to send it as {49, 48} On

[android-developers] compile decompiled .jar files back to .dex

2012-05-01 Thread Prathwish Mestha
Hello everyone, I decompiled a .dex file to .jar using dex2jar and now I want compile it back to a .dex file but I dont know how to do so can anyone please help me. -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: public variables

2012-05-01 Thread Justin Anderson
I think you're looking for the Application class: http://developer.android.com/reference/android/app/Application.html You have to write a class that extends Application, add a name field in the manifest.xml file, then you can access an instance of your Application sub-class from any activity

Re: [android-developers] Re: Regarding emulator

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 2:26 PM, Samuel samuel.emmett.b...@gmail.com wrote: That's not software piracy. If you have paid for a copy of the software, it doesn't matter which machine you choose to run it on. You are welcome to your opinion. The authors of the software in question (who are the

Re: [android-developers] code for read n write

2012-05-01 Thread Justin Anderson
i am trying to develop an application for creating a new file in sd card and then reading the content of the file in my application.. but am gettin 'permission denied' message in my application Gee, that sucks. Have you heard of this nifty little thing called Google? Try it sometime... it

Re: [android-developers] Fitting image to a screen

2012-05-01 Thread Mohamed ElSanousi
Oh okay. The other problem is that I need to take a picture sideways so that when I load it will be in an upright position. When I capture an image in an upright position, then load it sideways.. This is becoming very hectic, why is that hard to deal with pictures?? Thanks On Tue, May 1, 2012

Re: [android-developers] Re: Regarding emulator

2012-05-01 Thread Justin Anderson
Software piracy is, simply put, the unauthorized copying of software... So, if copying it to put it on the emulator is not authorized by the developer, then that is piracy. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 1, 2012 at 1:54 PM,

Re: [android-developers] auto-rotate screen

2012-05-01 Thread Mark Murphy
Add android:screenOrientation=portrait to the activity in the manifest: http://developer.android.com/guide/topics/manifest/activity-element.html#screen On Tue, May 1, 2012 at 4:00 PM, baturanija1 jadrankobodiroga1...@gmail.com wrote: people, is there an option to disable auto-rotation of

[android-developers] Re: Google I/O device in reboot loop.

2012-05-01 Thread Nathan
I managed to do a factory reset with the help of Samsung over the phone so I didn't have to mail it in. It is good as new - literally since my internal storage was wiped too. Nathan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Fitting image to a screen

2012-05-01 Thread Mohamed ElSanousi
Okay I will try doing that. Thanks On Tue, May 1, 2012 at 11:59 PM, Justin Anderson magouyaw...@gmail.comwrote: Oh okay. The other problem is that I need to take a picture sideways so that when I load it will be in an upright position. When I capture an image in an upright position, then load

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Justin Anderson
I'm sorry if the code isn't clear. The new thread instantiates a Canvas and paints into it with Canvas.drawBitmap(). Neither the instantiation nor the method call effect the UI. Ah, ok... I see that now. Um... maybe I'm missing something, but what is the point of doing this? What exactly

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Justin Anderson
while (1!= 0) And why in the world would you want an infinite loop? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 1, 2012 at 2:15 PM, Justin Anderson magouyaw...@gmail.comwrote: I'm sorry if the code isn't clear. The new thread

[android-developers] Re: Google I/O device in reboot loop.

2012-05-01 Thread Streets Of Boston
Enjoy your 'new' tablet. You were kind-of lucky. :) A factory reset didn't work for me. Only a fresh flash would do the trick (which had to be done by Samsung). On Tuesday, May 1, 2012 4:02:17 PM UTC-4, Nathan wrote: I managed to do a factory reset with the help of Samsung over the phone so

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Ab
Because it demonstrates the issue. On Tuesday, 1 May 2012 16:17:46 UTC-4, MagouyaWare wrote: while (1!= 0) And why in the world would you want an infinite loop? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 1, 2012 at 2:15 PM,

Re: [android-developers] compile decompiled .jar files back to .dex

2012-05-01 Thread Kristopher Micinski
The command line tool 'dx' does this. Type in 'dx --help' to find out how to use it. kris On Tue, May 1, 2012 at 4:37 AM, Prathwish Mestha prathwi...@gmail.com wrote: Hello everyone,                               I decompiled a .dex file to .jar using dex2jar and now I want compile it back

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 4:27 PM, Ab abe.oppenh...@gmail.com wrote: Because it demonstrates the issue. The issue being that you are chewing up the CPU and starving the main application thread? That issue? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Justin Anderson
Because it demonstrates the issue. I highly doubt it... Your app creates a thread that runs forever and doesn't do anything? Sounds like you have a bug... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 1, 2012 at 2:27 PM, Ab

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Ab
As state in my original post, this simplified Activity mimics some behavior in my application: a Bitmap is rendered in a non-ui thread, while the user interacts with the UI, producing an ANR on the Samsung Note, but not on any other device. The infinite loop helps to demonstrate this behavior.

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Miguel Morales
You may want to try lowering the priority of the thread and seeing what happens. On Tue, May 1, 2012 at 1:33 PM, Justin Anderson magouyaw...@gmail.comwrote: Because it demonstrates the issue. I highly doubt it... Your app creates a thread that runs forever and doesn't do anything? Sounds

  1   2   >