Re: [android-developers] Re: Passing an object as extras in intent

2013-01-21 Thread a
Hi , Thanks for your reply.. I have my HTTP server(Apache CORE) running a service S. While I receive a POST request, the response should be sent after execution of an intent A, which sends a Broadcast to my service S already running (which is designed based on my requirement). So I need to

Re: [android-developers] Re: Passing an object as extras in intent

2013-01-21 Thread skink
a wrote: Hi , Thanks for your reply.. I have my HTTP server(Apache CORE) running a service S. While I receive a POST request, the response should be sent after execution of an intent A, which sends a Broadcast to my service S already running (which is designed based on my requirement). So

Re: [android-developers] Re: Passing an object as extras in intent

2013-01-21 Thread a
Can you please explain your reply? I didnt undrstand the ID part. Thanks! On Monday, January 21, 2013 10:20:25 AM UTC+2, skink wrote: a wrote: Hi , Thanks for your reply.. I have my HTTP server(Apache CORE) running a service S. While I receive a POST request, the response

Re: [android-developers] Re: Passing an object as extras in intent

2013-01-21 Thread skink
a wrote: Can you please explain your reply? I didnt undrstand the ID part. Thanks! ID - something that uniquely identifies your request, let it be long/ string that you can use as a key to access your request (stored in a hash map for example) pskink -- You received this message because

[android-developers] displaying info about packages in ListView without ApplicationInfo noise.

2013-01-21 Thread ntt broken
Hi, i want to get in listview details of Android apps installed in the device. i can get some of the data i want inside the DDMS with the following code: final PackageManager pm = getPackageManager(); ListApplicationInfo packages = pm.getInstalledApplications(PackageManager.GET_META_DATA); for

Re: [android-developers] Re: Passing an object as extras in intent

2013-01-21 Thread a
Hi, I used a HashMap as per your suggestion. But when I start the intent A using, startActivity(intent), I am getting an exception like: 01-21 12:28:28.064: E/AndroidRuntime(3432): FATAL EXCEPTION: Thread-8843 01-21 12:28:28.064: E/AndroidRuntime(3432): java.lang.RuntimeException: Parcel:

Re: [android-developers] Re: Passing an object as extras in intent

2013-01-21 Thread skink
a wrote: Hi, I used a HashMap as per your suggestion. no, you still pass HttpResponse in extras i suggested to pass ID of your HttpResponse, something that you can use again in your service to access your HttpResponse pskink -- You received this message because you are subscribed to the

[android-developers] Android Stock eMail no longer content: uris for EXTRA_STREAM

2013-01-21 Thread Sascha
Hello everybody, I am attaching a small audio stream to emails using a database Uri like content:/mydb/table/id as EXTRA_STREAM. This is working fine for all email clients up to android 4.1 and also in gmail for android 4.2.1. However, when I try to use the same code with stock android email

[android-developers] Jelly bean http post basic authantication give No authentication challenges found exception.

2013-01-21 Thread AndroidDev
Hello Friends, I have a http post basic authentication webservice. I used HttpURLConnection and all thing work fine before Android version Jelly Bean. In Jelly Bean its give a run time exception No authentication challenges found. I have try all thing but not got exact solution. Kindly help

[android-developers] how to make graphics fit to different screen resolutions

2013-01-21 Thread Per-Jarle Sæther
Hi all I have an application that was originally developed for a 7 touchpad with resolution 800x480 (mdpi). Both graphics and layouts was made for this resolution. Now I am trying to make this app to support another device that have resolution 1024x552 (mdpi) Since both devices are mdpi, then I

[android-developers] Fwd:

2013-01-21 Thread khushi trivedi
http://www.shorexcursionsinitaly.com/5sowam.php -- 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: sliding in a new layout

2013-01-21 Thread dashman
i see that it's a library. do you have a sample code as to how to use it. thanks. On Sunday, January 20, 2013 3:25:04 PM UTC-5, G. Blake Meike wrote: I've been poking around at this for a while. You might be interested it this: https://github.com/bmeike/SlidingMenu G. Blake Meike

[android-developers] how to block the special character and smaller case characters in android EditText?

2013-01-21 Thread Siva Kumar
Dear All, Im developing a android application.Im using *android 2.3.3* for development. Here 1 screen im showing *text box (EditText)* and get the input from user The requirement is the *restrict the user to type only capital letters (only alphabets,numbers) and no special character allowed* For

[android-developers] Re: Jelly bean http post basic authantication give No authentication challenges found exception.

2013-01-21 Thread AndroidDev
Any Google Android developer, Please look at the problem and provide any way to fix this issue. Thanks On Monday, January 21, 2013 5:30:47 PM UTC+5:30, AndroidDev wrote: Hello Friends, I have a http post basic authentication webservice. I used HttpURLConnection and all thing work fine

[android-developers] Menus handled differently in 4.2 on phone and tablet?

2013-01-21 Thread Matthew Fleming
Hi, I'm trying to adapt a phone app for tablets and have run into a problem. When the menu button is pressed, it displays the context menu in the usual way at the bottom of the screen, for phone AVD's but not tablets. I confirmed this with a simple test application, created with the Android

Re: [android-developers] Menus handled differently in 4.2 on phone and tablet?

2013-01-21 Thread Mark Murphy
On Mon, Jan 21, 2013 at 7:44 AM, Matthew Fleming mgf...@gmail.com wrote: I'm trying to adapt a phone app for tablets and have run into a problem. When the menu button is pressed, it displays the context menu in the usual way at the bottom of the screen, for phone AVD's but not tablets. That is

Re: [android-developers] Menus handled differently in 4.2 on phone and tablet?

2013-01-21 Thread Matthew Fleming
Sorry, yes, I meant options menu. Matthew Fleming On Monday, January 21, 2013 7:08:13 AM UTC-6, Mark Murphy (a Commons Guy) wrote: On Mon, Jan 21, 2013 at 7:44 AM, Matthew Fleming mgf...@gmail.comjavascript: wrote: I'm trying to adapt a phone app for tablets and have run into a

Re: [android-developers] Re: Jelly bean http post basic authantication give No authentication challenges found exception.

2013-01-21 Thread Live Happy
On Mon, Jan 21, 2013 at 2:31 PM, AndroidDev androidteste...@gmail.comwrote: No authentication challenges found Go to Phone settings then click 'Date and Time' and select 'Automatic' (Please make sure your device Time Zone and Time,Date all are correct) If your time,Date and Time Zone are not

Re: [android-developers] Re: Jelly bean http post basic authantication give No authentication challenges found exception.

2013-01-21 Thread AndroidDev
Hello Happy, Thanks for your reply. I have checked my device setting and sure that 'Date and Time' set to automatic mode. Kindly update when you have any other solution. thanks again for your response. Thanks. On Monday, January 21, 2013 7:05:54 PM UTC+5:30, Live Happy wrote: On Mon,

Re: [android-developers] Re: Passing an object as extras in intent

2013-01-21 Thread a
Thank you Its working :) On Monday, January 21, 2013 12:49:19 PM UTC+2, skink wrote: a wrote: Hi, I used a HashMap as per your suggestion. no, you still pass HttpResponse in extras i suggested to pass ID of your HttpResponse, something that you can use again in your service to

[android-developers] Re: Proximity Sensors that provide the absolute distance rather than simply binary near|far

2013-01-21 Thread bob
Isn't this just for checking if someone's ear is next to the phone? Why would you ever need a distance measurement? On Saturday, January 19, 2013 9:03:02 AM UTC-6, marcpolo wrote: Hi, I'm looking for an Android device that has a proximity sensor that provides a distance

[android-developers] Maps v2 and Maker Overlay

2013-01-21 Thread Diego N.
Good afternoon guys. I'm using the Maps API for android, v2, and would like to put a map maker and the map moves when it should be stopped, so that the user can define the exact location in which it is located. After you define the location, need to get the address of where the Marker was. Does

[android-developers] Re: sliding in a new layout

2013-01-21 Thread G. Blake Meike
I really need to add that, don't I. I don't have it, just now. Something like this: View menuRoot = activity.getLayoutInflater().inflate(R.layout.menu, null); menuView = (SlidingMenu) menuRoot.findViewById(R.id.menu_list); menuView.setContainerView(menuRoot, (ViewGroup)

[android-developers] Re: sliding in a new layout

2013-01-21 Thread G. Blake Meike
I really need to add that, don't I. I don't have it, just now. Something like this: View menuRoot = activity.getLayoutInflater().inflate(R.layout.menu, null); menuView = (SlidingMenu) menuRoot.findViewById(R.id.menu_list); menuView.setContainerView(menuRoot, (ViewGroup)

[android-developers] Re: Proximity Sensors that provide the absolute distance rather than simply binary near|far

2013-01-21 Thread Nobu Games
I agree. This might be the reason why there is probably no Android device on the market that provides such a sensor. Take a look at the following Kickstarter project: http://www.kickstarter.com/projects/453951341/sensordrone-the-6th-sense-of-your-smartphoneand-be On Monday, January 21, 2013

Re: [android-developers] Maps v2 and Maker Overlay

2013-01-21 Thread TreKing
On Mon, Jan 21, 2013 at 8:49 AM, Diego N. diegonunes.sist...@gmail.comwrote: After you define the location, need to get the address of where the Marker was. Does anyone have any reference on how to do? http://developer.android.com/reference/android/location/Geocoder.html

Re: [android-developers] Re: Not working calendar events query.

2013-01-21 Thread Nobu Games
You need to do the following: - Use CalendarContract for Android API level 14 and higher - Read the documentationhttp://developer.android.com/reference/android/provider/CalendarContract.html. It explains how to query events. - For older Android versions you have the following

[android-developers] Re: how to make graphics fit to different screen resolutions

2013-01-21 Thread Nobu Games
http://developer.android.com/guide/practices/screens_support.html On Monday, January 21, 2013 6:04:53 AM UTC-6, Per-Jarle Sæther wrote: Hi all I have an application that was originally developed for a 7 touchpad with resolution 800x480 (mdpi). Both graphics and layouts was made for this

[android-developers] Re: Jelly bean http post basic authantication give No authentication challenges found exception.

2013-01-21 Thread John Gaby
I don't know if this will help, but I had a similar problem a while back. Only in my case, it worked in the newer versions of Android, but not in the older versions. After consulting with the people running the server that I was trying to connect to, I found the problem. In the header, I was

Re: [android-developers] displaying info about packages in ListView without ApplicationInfo noise.

2013-01-21 Thread TreKing
On Mon, Jan 21, 2013 at 3:42 AM, ntt broken nttbro...@gmail.com wrote: Do you know what i need to replace with 'packages' in that line to get: Application name package name icon The default implementation will just show you a toString() on whatever object you provide. That is what you're

[android-developers] Re: sliding in a new layout

2013-01-21 Thread dashman
I tried but wasn't able to follow and apply to what i'm trying to do. I.e. slide in a view - eventually a listview or something similar. if you can put together a quick app that uses the widge - i for one would more than appreciate it. thanks. On Monday, January 21, 2013 9:55:53 AM UTC-5, G.

[android-developers] NFC Card Emulation on android

2013-01-21 Thread Eliseo Baruzzi
Hello, is it possible to use Card Emulation on Android? Using a Samsung Galaxy S II smartphone, If I put it close to an RFID reader I can read a random UID from the smartphone. What kind of UID is that? Is it related to NFC controller? It seems that it can emulate a Mifare 4K tag or a Smart

[android-developers] ACodec: Question on initNativeWindow

2013-01-21 Thread Ganesh
Dear experts, In Android 4.2 release, I observe that in ACodec::LoadedState::onConfigureComponent, there is a call to initNativeWindow for all cases. In case of an encoder being employed as a ACodec, then initNativeWindow invokes enableGraphicBuffers on the encoder's output port with flag set

Re: [android-developers] NFC Card Emulation on android

2013-01-21 Thread Nikolay Elenkov
On Tue, Jan 22, 2013 at 1:56 AM, Eliseo Baruzzi baruzzi.softw...@gmail.com wrote: Hello, is it possible to use Card Emulation on Android? Generally, yes. Depends on the NFC controller and software support. That's how Google Wallet works. Using a Samsung Galaxy S II smartphone, If I put it

Re: [android-developers] NFC Card Emulation on android

2013-01-21 Thread Nikolay Elenkov
On Tue, Jan 22, 2013 at 2:12 AM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Tue, Jan 22, 2013 at 1:56 AM, Eliseo Baruzzi baruzzi.softw...@gmail.com wrote: Hello, is it possible to use Card Emulation on Android? Also search the group, there is a lengthy thread about this, with a lot

[android-developers] Android 4.2: Miracast: prependSPSPPSToIDRFrames

2013-01-21 Thread Ganesh
Dear experts, In Android 4.2 release, I observe that the miracast implementation mandates a OMX encoder to support a new extension index OMX.google.android.index.prependSPSPPSToIDRFrames. However, when I studied the subsequent implementation of MediaCodec, Converter and WifiDisplaySource, I

Re: [android-developers] Prob in sending Image

2013-01-21 Thread Kevin Duffey
Look into using a rest service if you can little easier to deal with. As the other poster said convert the byte[] into a string and base64 encode it then send it. On Jan 20, 2013 9:26 AM, ajinkyasaswad...@gmail.com wrote: Hi Everybody M sending the image from android to java server using

Re: [android-developers] using anctionbar to implement tab, how to jump to another tab programmly?

2013-01-21 Thread Summer Xia Jiang
Could you give me an example of how to set the fragment to be active? Thanks On Sun, Jan 20, 2013 at 9:15 PM, Michael Leung michaelchi...@gmail.comwrote: Can you set the tab with B Fragment to be active? On Mon, Jan 21, 2013 at 9:25 AM, Summer novelt...@gmail.com wrote:

Re: [android-developers] using anctionbar to implement tab, how to jump to another tab programmly?

2013-01-21 Thread Summer
Could you give me an example of how to set the fragment to be active? Thanks 在 2013年1月20日星期日UTC-8下午9时15分22秒,Michael Leung写道: Can you set the tab with B Fragment to be active? On Mon, Jan 21, 2013 at 9:25 AM, Summer nove...@gmail.com javascript:wrote:

[android-developers] Re: Jelly bean http post basic authantication give No authentication challenges found exception.

2013-01-21 Thread Lew
On Monday, January 21, 2013 4:31:15 AM UTC-8, AndroidDev wrote: Any Google Android developer, Please look at the problem and provide any way to fix this issue. Thanks On Monday, January 21, 2013 5:30:47 PM UTC+5:30, AndroidDev wrote: Hello Friends, You need to give a few days before

[android-developers] Re: Prob in sending Image

2013-01-21 Thread bob
I would say output a header telling the server the length of the file. Then just write all the binary data of the file. It would be similar to how a web server spits out an image… Content-length: 1000 [binary image data] On Sunday, January 20, 2013 11:26:37 AM UTC-6,

[android-developers] Overlay - Maps API v2

2013-01-21 Thread Diego N.
Good afternoon guys. Someone has created a new overlay on the maps API v2? I need to create one with a description and a button, but I'm not finding any reference. There is more to this version Overlay class. Thank you. att, -- You received this message because you are subscribed to the

[android-developers] Re: floating bubble buttons in android

2013-01-21 Thread bob
Those buttons are Flash, and Flash died on Android. You'd have to pretty much start from scratch, maybe by subclassing View. On Monday, January 21, 2013 1:17:37 AM UTC-6, Rahul Raja wrote: Can i get help on how to get floating bubbles buttons in android like this?/

[android-developers] Re: sliding in a new layout

2013-01-21 Thread G. Blake Meike
Done. There is now a basic eclipse Hello World example, with the slider added. Enjoy. G. Blake Meike Marakana Programming Android 2ed is now in stores: http://bit.ly/programmingandroid -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: how to make graphics fit to different screen resolutions

2013-01-21 Thread bob
I bet these two lines should help: res/layout-sw600dp/main_activity.xml # For 7” tablets (600dp wide and bigger) res/layout-sw720dp/main_activity.xml # For 10” tablets (720dp wide and bigger) So, you create two dirs: */res/layout-sw800dp/* */res/layout-sw1024dp/* On Monday, January

[android-developers] Re: Android Stock eMail no longer content: uris for EXTRA_STREAM

2013-01-21 Thread bob
I would just try using a File Uri like this: *final Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);* *emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(png));* *emailIntent.setType(image/png);* *startActivity(Intent.createChooser(emailIntent,

[android-developers] Re: inflated guess_flag.xml with an ImageView but not get good sized images(see attached screenshot), how fix

2013-01-21 Thread lselwd
I want 3 images (flags) per line - 3 lines - all about appropriate DIMs... -- 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: about custom listview

2013-01-21 Thread bob
You should have a class that implements ListAdapter. In that class, there is a method called getView: public View getView(int position, View convertView, ViewGroup parent) { Have it return a View that has a checkbox object with a listener already attached to it. On Sunday, January 20,

[android-developers] ExpandableListView Expand icon overlays the text titles of the items

2013-01-21 Thread saex
i have a ExpanableListView that i'm texting. I have a problem with the expand icon of the items. The icon is being painted overlaying the text title of each item. It means that for example, if the title of the first items is Ducados, the icon is overlaying Du and only cados is visible

[android-developers] Re: sliding in a new layout

2013-01-21 Thread dashman
Thanks. I had to change a line in DemoActivity.java class //case android.R.id.home: case R.id.menu_settings: then works...thanks! On Monday, January 21, 2013 1:53:46 PM UTC-5, G. Blake Meike wrote: Done. There is now a basic eclipse Hello World example, with the

[android-developers] Re: Android Stock eMail no longer content: uris for EXTRA_STREAM

2013-01-21 Thread Nobu Games
Your ContentProvider must be fully implemented for the correct handling of files. First of all your ContentProvider's query method must recognize and process MediaStore queries. Such a query returns detailed information about display name, file size and mime types of the queried Uri. In my

Re: [android-developers] ExpandableListView Expand icon overlays the text titles of the items

2013-01-21 Thread TreKing
On Mon, Jan 21, 2013 at 4:32 PM, saex elpablos...@gmail.com wrote: The icon is being painted overlaying the text title of each item. It means that for example, if the title of the first items is Ducados, the icon is overlaying Du and only cados is visible What can i do to align the text on

Re: [android-developers] using anctionbar to implement tab, how to jump to another tab programmly?

2013-01-21 Thread Michael Leung
actionBar.setSelectedNavigationItem(x)? On Tue, Jan 22, 2013 at 4:17 AM, Summer novelt...@gmail.com wrote: Could you give me an example of how to set the fragment to be active? Thanks 在 2013年1月20日星期日UTC-8下午9时15分22秒,Michael Leung写道: Can you set the tab with B Fragment to be active? On

[android-developers] SCEP protocol supported by Android

2013-01-21 Thread Monty Jain
hey guys I tried finding this info but couldn't find it. Is SCEP protocol supported by android? If yes which version. If its not supported in android SDK is there any 3rd party package that can be used? thanks Monty -- You received this message because you are subscribed to the Google

[android-developers] Searching for Contents within multiple PDFs

2013-01-21 Thread Oleg Konovalov
Hi, Can someone suggest a good utility (maybe good text editor like Textpad or fancy PDF reader) to search for contents within many many files (primarily PDFs) on Android? -- Thank you, Oleg. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Base and features to audio player

2013-01-21 Thread shiva pendem
Hi, I am working on a audio player and i am trying to add base settings and treble adjustments to the audio player, please suggest me how to implement the audio player with base and treble Thanks shiva shankar -- You received this message because you are subscribed to the Google Groups

[android-developers] Google Map Android Api V2 not working

2013-01-21 Thread Haps
Hi Guys, I am trying to use the latest api launched by google i.e. *Google Map Android Api V2* All the code and each scenario is correct, but I am still having the blank fragments screen i.e. *No Map Visible. *I have attached its screenshot with this post. * * *The logs shows the issue:-*

[android-developers] Uncaught exception thrown by finalizer - java.io.IOException: close failed: EIO (I/O error)

2013-01-21 Thread Marco Serioli
I have this piece of code that takes the server response and writes it into a file. The file contains json data. I write response into file in order to scan json sequentially and to avoid to load big json data in a List! public File getData(final String url) throws URISyntaxException,

Re: [android-developers] NFC Card Emulation on android

2013-01-21 Thread Eliseo Baruzzi
Il giorno lunedì 21 gennaio 2013 18:12:30 UTC+1, Nikolay Elenkov ha scritto: On Tue, Jan 22, 2013 at 1:56 AM, Eliseo Baruzzi baruzzi@gmail.com javascript: wrote: Hello, is it possible to use Card Emulation on Android? Generally, yes. Depends on the NFC controller and software