[android-developers] Email formating

2012-02-26 Thread Dhaval Varia
Dear All I wanted to apply some formatting to email like color and put picture I Am using following code http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-android-a/2033124#2033124 here the string which I'm sending does not have

Re: [android-developers] Re: Increase icon size

2012-02-26 Thread Dhaval Varia
Everyone understand that they are smarter and greater then others.. right Mr.jagtap? bt we r not here to show what we r? and yes why do i attend ur lecture? ur stupid reply on public forum shows what u r... On Feb 26, 2012 1:29 PM, Anil Jagtap anil.so...@gmail.com wrote: -- You received

[android-developers] intent Value

2012-02-26 Thread hazem omies
hi, how to passing intent value from listview activity that using HashMap to another listview as follow : the main activity contain listview getting value from xml using HashMap ,,i need to passing this value to another arraylist to be view in listview how i can do this , -- You received

Re: [android-developers] Re: Hello Everyone, i just have a quick question:

2012-02-26 Thread Mohamed Gougam
Sorry i didn't get your question. On Sun, Feb 26, 2012 at 5:19 AM, lbendlin l...@bendlin.us wrote: Detecet ? Really? -- 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: Camera torch mode in ICS (Galaxy Nexus)

2012-02-26 Thread RobiZX
I have rooted device. The question is, what they're change, why it's not work any more? Someone know? On Feb 26, 2:20 am, lbendlin l...@bendlin.us wrote: Don't you need a rooted device for that? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Camera torch mode in ICS (Galaxy Nexus)

2012-02-26 Thread Pent
I also couldn't get this working (and would like to). Nexus S 4.0.3 Pent -- 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 torch mode in ICS (Galaxy Nexus)

2012-02-26 Thread RobiZX
I assuming that issue is on the software not a hardware site. On Feb 26, 9:48 am, Pent supp...@apps.dinglisch.net wrote: I also couldn't get this working (and would like to). Nexus S 4.0.3 Pent -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Increase icon size

2012-02-26 Thread Dhaval Varia
@anil Everyone understand that they are smarter and greater then others.. right Mr.jagtap? Look at the reply from treking... I really respect that person... bt we r not here to show what we r? and yes why do i attend ur lecture? ur stupid reply on public forum shows what u r... On Feb 26,

Re: [android-developers] Re: Increase icon size

2012-02-26 Thread Dhaval Varia
Sorry for such harsh reply.. I will be happy ,and feel lucky ,if have chance to attend lectures of smart technocrates like u. On Feb 26, 2012 2:41 PM, Dhaval Varia dhavalkva...@gmail.com wrote: @anil Everyone understand that they are smarter and greater then others.. right Mr.jagtap? Look

Re: [android-developers] Re: Increase icon size

2012-02-26 Thread Kristopher Micinski
On Sat, Feb 25, 2012 at 1:41 AM, Raghav Sood raghavs...@androidactivist.org wrote: On Sat, Feb 25, 2012 at 10:05 AM, Dusk Jockeys Android Apps duskjock...@gmail.com wrote: Otherwise you sound like a 14 year old posting on Facebook, not an assistant professor at a Government Engineering

Re: [android-developers] Re: Increase icon size

2012-02-26 Thread Raghav Sood
It's true, I even heard that Raghav is writing a book? (Which surprises me, but still, I would also suspect that this requires some amount of writing ability...) I am writing a book, which is to be published in May this year. You can see the details at http://www.apress.com/9781430239451.

Re: [android-developers] Re: Does a device have Wi-Fi or not?

2012-02-26 Thread Kristopher Micinski
You have seen this post? (I assume so..) http://android-developers.blogspot.com/2011/03/identifying-app-installations.html This is important enough that someone should turn this into a library, perhaps I will soonish? As for whether or not the MAC is available, I believe that it may be that it

Re: [android-developers] Why explicit need for Permissions to be specified in Manifest File

2012-02-26 Thread Kristopher Micinski
That's not entirely true. The team who did this paper did a fairly simple static analysis for determining permissions use, and they didn't really comment on how much reflection they handled. But in general I don't think it's an inherent shortcoming of static analysis to determine reflective

Re: [android-developers] Re: Hello Everyone, i just have a quick question:

2012-02-26 Thread YuviDroid
Uhmthe root of the error is at that line 87 of your BTD...Activity. What's at that line? is it: SetBluetoothDevice pairedDevices = mBtAdapter.getBondedDevices(); ? ant it might be that mBtAdapter is null (by reading the docs it says that BluetoothAdapter.getDefaultAdapter() returns null when

Re: [android-developers] Why explicit need for Permissions to be specified in Manifest File

2012-02-26 Thread Kristopher Micinski
On Thu, Feb 23, 2012 at 6:57 AM, Raja Nagendra Kumar nagendra.r...@tejasoft.com wrote: Hi, Looking for some inputs why Android explicitly expects all the permissions need to be declared in Android Manifest file.. Can Android Run time introspect at run time or during compile time and prepare

Re: [android-developers] Re: camera app FC/no FC dep. on startup method

2012-02-26 Thread YuviDroid
At this point it might be useful if you manage to create a very small sample app that has this problem, so that you can share that source code and I/we can try it and figure out what's going on. I'm sorry I can't be more helpful... On Sun, Feb 26, 2012 at 2:15 AM, Jim Graham

Re: [android-developers] Why explicit need for Permissions to be specified in Manifest File

2012-02-26 Thread Kristopher Micinski
Notice that I seemingly contradicted myself in my response to the question and to Mark. I should point out that Mark's answer is completely correct: people have a hard time with it, but I don't think it's impossible (and a number of people have done such things for similar uses of reflection, not

Re: [android-developers] Re: camera app FC/no FC dep. on startup method

2012-02-26 Thread Jim Graham
On Sun, Feb 26, 2012 at 11:11:25AM +0100, YuviDroid wrote: At this point it might be useful if you manage to create a very small sample app that has this problem, so that you can share that source code and I/we can try it and figure out what's going on. This is the book example I've been

Re: [android-developers] Re: Hello Everyone, i just have a quick question:

2012-02-26 Thread Mohamed Gougam
yes it's: // Get a set of currently paired devices SetBluetoothDevice pairedDevices = mBtAdapter.getBondedDevices(); So i wonder what's about it. Just a question about the Log.e and Log.d i added this: if (D) Log.d(Tag, in onCreate()); if (D) Log.e(Tag, onCreate());

[android-developers] Re: Camera torch mode in ICS (Galaxy Nexus)

2012-02-26 Thread RobiZX
Issue solved. Camera need SurfaceView to display image. Sad is that since Android 4.0 if I want to use only flash I need to involve whole Camera device which, as I guess, will consume more power. Hope Google change that. Cheers. On Feb 26, 9:52 am, RobiZX rob...@gmail.com wrote: I assuming

Re: [android-developers] Unable to Upload new apps

2012-02-26 Thread harism
There has been a few similar questions on this list over the last 4-5 days. Maybe they have some answers on this issue if these developers are still facing it. On Feb 25, 2012 9:42 PM, Kumar Mettu mksre...@gmail.com wrote: Hi, I am getting the error message An unexpected error occurred.

Re: [android-developers] Re: camera app FC/no FC dep. on startup method

2012-02-26 Thread YuviDroid
So, I played a bit with this Snapshot project. First of all, I'm using the Motorola Xoom with ICS (4.0.3). I tried following your steps (side load, press home, start from app drawer, press back) and indeed I got the crash. What's really odd is that in this scenario when you press 'back' it doesn't

[android-developers] Android image orientation from gallery

2012-02-26 Thread drenda
Hi, I've a problem getting orientation of an image chosen from gallery. I'm using Exif data but not always the orientation value obtained from Exif is correct!! Many times the value is not present in the image (it depends also on the phone). There is another way in order to get the orientation of

Re: [android-developers] Unable to Upload new apps

2012-02-26 Thread Mohamed Gougam
Hello, Have a look on what the LogCat is suggesting, it can be for many reasons. Soyer. On Sun, Feb 26, 2012 at 5:22 PM, harism har...@gmail.com wrote: There has been a few similar questions on this list over the last 4-5 days. Maybe they have some answers on this issue if these developers

Re: [android-developers] Re: camera app FC/no FC dep. on startup method

2012-02-26 Thread Jim Graham
On Sun, Feb 26, 2012 at 02:42:19PM +0100, YuviDroid wrote: Anyway, I tried adding a different launchMode to the Snapshot activityandit worked! I used 'singleTop'. Funny...I tried that yesterday. I must have made a typo or something. Anyways, I downloaded the new apk, and it worked.

Re: [android-developers] Unable to Upload new apps

2012-02-26 Thread Raghav Sood
Have a look on what the LogCat is suggesting, it can be for many reasons. Since when do we get LogCat messages when uploading new apps? Did I miss an update to the market? Thanks -- Raghav Sood http://www.androidactivist.org/ - Author http://www.appaholics.in/ - Founder -- You received

Re: [android-developers] Re: camera app FC/no FC dep. on startup method

2012-02-26 Thread YuviDroid
No problem :) Unfortunately I don't really know what's happening..it seems like the Installer launches apps in some 'strange' way, while the app drawer uses a different way and...dunno something odd happens :S (lol not really useful! eheh) If someone could explain that it would be great. Yuvi

[android-developers] nested listview

2012-02-26 Thread hazem omies
hi,,, how i can make nested listview as follow : main activity contain a listview binding from web servers XML parser ,,my issue is when click on item ,,the seconed listview open related to this item as nested ,,?? -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: camera app FC/no FC dep. on startup method

2012-02-26 Thread Jim Graham
On Sun, Feb 26, 2012 at 03:13:00PM +0100, YuviDroid wrote: No problem :) Unfortunately I don't really know what's happening..it seems like the Installer launches apps in some 'strange' way, while the app drawer uses a different way and...dunno something odd happens :S (lol not really

[android-developers] Google Maps

2012-02-26 Thread Hamada Ali
how i can retrieve the direction from google 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] Re: camera app FC/no FC dep. on startup method

2012-02-26 Thread Kostya Vasilyev
Launcher starts activites with: Flags = Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED Action = Intent.ACTION_MAIN Category = Intent.CATEGORY_LAUNCHER You can see it in the logcat: 02-26 18:55:39.863 I/ActivityManager( 273): Starting: Intent {

Re: [android-developers] nested listview

2012-02-26 Thread Ted Scott
Sounds like you want an ExpandableListView http://developer.android.com/reference/android/widget/ExpandableListView.html On 2/26/2012 9:25 AM, hazem omies wrote: hi,,, how i can make nested listview as follow : main activity contain a listview binding from web servers XML parser ,,my issue

Re: [android-developers] Re: camera app FC/no FC dep. on startup method

2012-02-26 Thread Jim Graham
On Sun, Feb 26, 2012 at 07:06:28PM +0400, Kostya Vasilyev wrote: Market and Eclipse use intents with slightly different flags. So in this case, side-loading using the tablet's installer, would that be considered as the same as launching via the market? Thanks, --jim -- THE SCORE: ME: 2

Re: [android-developers] Re: camera app FC/no FC dep. on startup method

2012-02-26 Thread Kostya Vasilyev
On 02/26/2012 07:15 PM, Jim Graham wrote: On Sun, Feb 26, 2012 at 07:06:28PM +0400, Kostya Vasilyev wrote: Market and Eclipse use intents with slightly different flags. So in this case, side-loading using the tablet's installer, would that be considered as the same as launching via the

Re: [android-developers] nested listview

2012-02-26 Thread hazem omies
hi Ted , many thanks Ted , but i need when open item passing value to other intent listview ,,this is doable ?? On Sun, Feb 26, 2012 at 5:10 PM, Ted Scott t...@hootinholler.com wrote: Sounds like you want an ExpandableListView http://developer.android.com/**

Re: [android-developers] nested listview

2012-02-26 Thread Ted Scott
If I understand what you mean, then yes, except it is all handled in the ExpandableListView. You provide 2 lists, via some adapter, one is the parent list and the other a child list which you get by over-riding a getChildren method, depending how your lists are obtained. (In an implementation

[android-developers] Re: Accessing the camera from an application

2012-02-26 Thread Kookamonga
Does anyone have a way of getting the emulator controls back (see screenshot in OP, the controls to the right of the actual phone screen)? I'm having to resort to these shortcuts (http://www.shortcutworld.com/ en/win/Android-Emulator.html) which is annoying. Thanks. On Feb 21, 11:22 am,

Re: [android-developers] Re: camera app FC/no FC dep. on startup method

2012-02-26 Thread Jim Graham
Sorry for the delay...didn't hear (or see) the announcement about the incoming message On Sun, Feb 26, 2012 at 07:23:28PM +0400, Kostya Vasilyev wrote: On 02/26/2012 07:15 PM, Jim Graham wrote: On Sun, Feb 26, 2012 at 07:06:28PM +0400, Kostya Vasilyev wrote: Market and Eclipse use

[android-developers] Re: Android image orientation from gallery

2012-02-26 Thread Kookamonga
I've been successfully able to use this in the past: http://developer.android.com/reference/android/provider/MediaStore.Images.ImageColumns.html#ORIENTATION On Feb 26, 8:46 am, drenda daniele.re...@gmail.com wrote: Hi, I've a problem getting orientation of an image chosen from gallery. I'm

Re: [android-developers] OEM USB Driver for Pantech

2012-02-26 Thread John Lussmyer
Did you ever figure this out? I'm having the same problem. On Fri, Oct 21, 2011 at 7:26 PM, John Ransom joh...@ncc1701d.net wrote: Hi all, I am trying to put my android game onto my hardware for testing. It is a Pantech. The problem is I need to get the OEM USB Driver to do this but the

Re: [android-developers] Re: camera app FC/no FC dep. on startup method

2012-02-26 Thread Kristopher Micinski
On Sun, Feb 26, 2012 at 11:36 AM, Jim Graham spooky1...@gmail.com wrote: Sorry for the delay...didn't hear (or see) the announcement about the incoming message On Sun, Feb 26, 2012 at 07:23:28PM +0400, Kostya Vasilyev wrote: On 02/26/2012 07:15 PM, Jim Graham wrote: On Sun, Feb 26, 2012

Re: [android-developers] Re: camera app FC/no FC dep. on startup method

2012-02-26 Thread Jim Graham
On Sun, Feb 26, 2012 at 01:01:41PM -0500, Kristopher Micinski wrote: Ah, the package manager, you mean, Yeah, that's it. :-) Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)| Now what *you* need is a proper pint of spooky1...@gmail.com| porter poured in a

[android-developers] LoaderManager/CursorLoader query.....

2012-02-26 Thread Sudeep Sharma
Hi, When using LoaderManager and Cursor loader, we get the Cursor object in onLoadFinished() callback. Since the content observer is registered with Cursor loader, that cursor will be updated and we get many callbacks for onLoadFinished() This is fine!!! If now after some time the

Re: [android-developers] on tab click get tab number

2012-02-26 Thread Sudeep Sharma
Can you be please be more clear ..i couldn't understand On Sat, Feb 25, 2012 at 11:48 AM, Jagruti Sangani jagruti.sang...@inextrix.com wrote: hello, i want to get which tab i have clicked.i have use the tab onchangelistener but it will give tab number after click on any other tab and

Re: [android-developers] Idea to create Android Document Viewer

2012-02-26 Thread TreKing
On Sat, Feb 25, 2012 at 12:42 AM, subrat kumar panda evergreen.sub...@gmail.com wrote: give me some idea how i'll start it from the scratch. http://developer.android.com/guide/index.html - TreKing

[android-developers] getting the as no certificates at entry res/layout/main.xml message, what todo?

2012-02-26 Thread Elhanan Maayan
hi... evidently, this a rather common message, as i searched for it before. as i've never published something on my phone, this is the first for me. my jvm is 1.6_30 64 bit (not jvm 7), however eclipse is 32 bit,my java_home is pointing towards the right directory. my attempts at creating an

[android-developers] UML tool for Android?

2012-02-26 Thread duadinam
Hi I'm just wondering if there are any UML tools specifically for Android? I'd like to start using them. Or, if the ones that exist for Java, like eUML are useful for Android. I'd like a tool that with wireframing capabilities. David -- You received this message because you are subscribed to

Re: [android-developers] UML tool for Android?

2012-02-26 Thread Li Qing
Balsamiq Mockups ,a good tool for ui design On Mon, Feb 27, 2012 at 9:14 AM, duadinam somethingcleve...@gmail.comwrote: Hi I'm just wondering if there are any UML tools specifically for Android? I'd like to start using them. Or, if the ones that exist for Java, like eUML are useful for

[android-developers] Re: CTS-2.3-R12 Media Stress Testcase code download

2012-02-26 Thread Kill Bush
Is there anybody konws? 2012/2/24 Kill Bush ayst2...@gmail.com Hi All: where can I download cts-2.3-r12 source code that a new test package about media stress test was added. I used the following command to download code: git clone https://android.googlesource.com/platform/cts but I

[android-developers] Re: Add to recent application list

2012-02-26 Thread elham
Yes i am working on launcher application On Feb 24, 2:49 pm, moktarul anam mokta...@gmail.com wrote: R u working on launcher application ( adwLauncher)? Moktarul On Feb 24, 11:24 am, elham elhamna...@gmail.com wrote: Dear All, I have a requirement to add a activity into

[android-developers] Re: Drawable set on an ImageView ignores setBounds and reverts to original bounds on orientation change.

2012-02-26 Thread Kiran Rao
Anyone? I'd appreciate any pointers. I can't even figure out whether this is a bug or a coding error. On Feb 24, 10:49 am, Kiran Rao techie.curi...@gmail.com wrote: I've been struggling with this strange problem for quite some time. A brief summary of the issue is this: An ImageView's

[android-developers] Run application in background

2012-02-26 Thread Juned Khan
hii all developers, how do i keep my application running on background until it manually closed or exited by the user. -- 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] about voice/Speech Recognizer, Speech Recognizer, On SDK 2.2 / Error Message

2012-02-26 Thread krishna kumar
hi , i m create a simple voice/Speech Recognizer, application (speech to text ) using sdk 2.2 but ( unfortunately stop error occur)r how to solve this -- 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: Two listview

2012-02-26 Thread kalandar
hi hazim omies. I understood your code. But still i didn't understand what is your need. If you want to pass the clicked HashMap value to another activity means you can use this code Intent in = new Intent(getApplicationContext(), SingleMenuItemActivity.class); in.putExtra(mapvalue,

[android-developers] Re: Run application in background

2012-02-26 Thread kalandar
hi... It is very simple. you can go with android service. i hope the below link will help you. http://developer.android.com/reference/android/app/Service.html have a happy coding regards kalandar. On Feb 27, 10:11 am, Juned Khan jkhan6...@gmail.com wrote: hii all developers,              

[android-developers] Re: intent Value

2012-02-26 Thread kalandar
hi, if you want to pass the same HashMap value for two activity means you can create the HashMap object in common static object. like class Common { public static HashMap map = new HashMap(); } now you can use this map in your entire activity. like Common.map.put(, ); otherwise you can pass

Re: [android-developers] Re: Two listview

2012-02-26 Thread hazem omies
Many thanks kalandar , yes , as you mentioned at first the,,, second listview in another activity that related to first see my xml : music item id.../id title./title Description.. /Description a1. /a1 duration../duration

[android-developers] Re: WebView + MediaPlayer Error but what mean this error

2012-02-26 Thread sen
No one knows this error? On 24 Feb., 12:44, sen i...@linstrap.com wrote: ... 02-24 11:12:27.080: V/webview(4682):  singleCursorHandlerTouchEvent - getEditableSupport  FASLE 02-24 11:12:27.680: I/MediaPlayer(4682): prepareAsync called in state 4 02-24 11:12:27.680: E/MediaPlayer(4682): error