Re: [android-developers] How to receive files via Bluetooth?

2012-06-26 Thread Rahul Radhakrishnanunnithan K
please refer the sdk example Bluetooth chat ,i think that example is partially suit for your question On Mon, Jun 25, 2012 at 5:13 PM, Giuseppe porcelli.giuse...@gmail.comwrote: In my app, I would like to add the function to receive files directly into it via Bluetooth. I know that I can use

Re: [android-developers] subject to device problem

2012-06-26 Thread ashok chakravarthy
Please explain clearly what you did and what did not work for you so that others can help you. The details you provided is not sufficient. On Tue, Jun 26, 2012 at 11:58 AM, Rahul Vijay rahul.vija...@gmail.comwrote: Hello sir, I have face few problem in a device to display a dynamic table. In

Re: [android-developers] subject to device problem

2012-06-26 Thread Narendra Singh Rathore
Hi Rahul, what problem are you getting in displaying tablelayout contents dynamically. Please specify it clearly. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Dynamic Table layout

2012-06-26 Thread Rahul Vijay
In a last message, I have display a table in a dynamic way. table header like Name, score and time and table row are Ram ,5, 2:15 and again print a another row in similar way. Yes it is display in a emulator. But it can not display in a device. I check it data can show logcat when I run

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-26 Thread Build Account
Hi. First, thank you for your advice. * Then, *I suppose about problem that probably the problem came from ADT plugin or Eclipse. The reason why is that sometime Android screaming ClassNotFound error when just launched an blank activyty in debugger about even usual normal start activity

[android-developers] Re: DEFECT(?) on the new Google 'Subscription' payment method(wrongly reconize purchase status?).

2012-06-26 Thread Build Account
Any advice? Especially...Google people, no advice? On Saturday, June 23, 2012 12:41:17 AM UTC+9, Build Account wrote: Hello. I have started bit aggressive subject since I believe payment issue is very important. Some of app (Like Glu mobile's games) which already apply this Subscription

[android-developers] Problems with ListView scroll.

2012-06-26 Thread Put_tiMe
I have a ListView, and a custom adapter. I have setup listeners for click, and long-click. The problem:: I can scroll, but the moment I take my finger off the screen, it scrolls back to the top of the list view. How can I fix this problem? -- You received this message because you are

[android-developers] OpenStreetMap API Tile Server and Third Party Library

2012-06-26 Thread ndiiie 90
I found that OpenStreetMap has a tight restriction on using its tile servers based on: http://wiki.openstreetmap.org/wiki/Tile_usage_policy#Requirements And I am interested to use third party library to implement OSM in my app, for example, OSMdroid and Routeme. However, I am curious, does third

[android-developers] Video Recording Problems

2012-06-26 Thread Terry
Recording video in Android should be relatively simple. Or so I thought. But after having wasted several days on trying to get it working, I would like to see if anybody can understand what is wrong with my code. This is the essential part of the relevant code (requiring Android 2.2 or later):

Re: [android-developers] Google App Engine and Users API and android

2012-06-26 Thread Arun C G
Hi, Does this plugin work if the appengine portion is hosted on googleplex and not on appspot? I am able to use it successfully on appspot, but not on googleplex. I am logging in into the app using a google.com account only. Arun. On Wed, Jan 11, 2012 at 12:32 PM, Sriram Saroop

Re: [android-developers] Android how to convert multiple images in to single gif format..

2012-06-26 Thread RAJESH
Thanks Mag. On Monday, June 25, 2012 11:54:08 PM UTC+5:30, MagouyaWare wrote: I stand by my previous answer: This has nothing to do with Android. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Jun 23, 2012 at 12:55 AM, RAJESH

[android-developers] Re: Android how to convert multiple images in to single gif format..

2012-06-26 Thread CuGBabyBeaR
Android do not support gif , that is truth . If what you want is make images active , you may be able to use a frame animation to achieve it 在 2012年6月22日星期五UTC+8下午8时55分01秒,RAJESH写道: Hi all , Anyone here can advice me , How to convert the multiple images into the Single GIF format. ??

[android-developers] Google Chart Tools not working in Android WebView

2012-06-26 Thread Remo
Hi All, I am trying to load google chart api in webView. But doesn't show graphical image. I also allowed internet permission in manifest. For your reference i mention the my code below ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;

Re: [android-developers] How can I execute Javascript on already loaded webpage in Android Webview

2012-06-26 Thread Mark Murphy
On Tue, Jun 26, 2012 at 1:06 AM, VP ims.proje...@gmail.com wrote: I want to execute a javascript on already loaded webpage in Webview. loadUrl(javascript:...), where ... is your JavaScript source, just like a bookmarklet. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] Phone getting crashed sometimes when using Euro2012 application

2012-06-26 Thread Mark Murphy
Their app and your device each have bugs, apparently. For technical support regarding the app, contact the app's authors. For technical support regarding your device, contact the device manufacturer, retailer, or carrier. On Tue, Jun 26, 2012 at 1:17 AM, Manoj manojkumar.m...@gmail.com wrote:

[android-developers] Re: Permissions for System Apps (not in /data/system/packages.xml?)

2012-06-26 Thread Jason Meyer
As Dianne already guessed, my intentions are semi-misguided. I am a researcher in the field of mobile malware, which is why I asked (and nope, this ain't my real name ;) ). Just to be sure I wanted some confirmation for my guesses. If all goes well, the result of my current work will be some

[android-developers] SQLite does not write inserts but does not raise error neither

2012-06-26 Thread Francisco M. Marzoa Alonso
Hi there, I have a function to write scores in an SQL database table. Here is the code: public void setScores(int scores[]) { int len = (scores.length 10) ? 10 : scores.length; SQLiteDatabase db = this.getWritableDatabase(); db.beginTransaction();

[android-developers] Creating the seat selection layout in a movie theater

2012-06-26 Thread Reddy
Hi, Can some one give me some idea on how to create a seat selection layout in a movie theater? Regards, Murali -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Package Manager API clarification required.....

2012-06-26 Thread Sudeep Sharma
Hi, I am using PackageManager API to disable some component. ComponentName name = new ComponentName(context, className); className == the class object of the class i wanted to disable. This class is my Home category with higher priority than Homescreen app. Now while disabling the class i

[android-developers] Re: SQLite does not write inserts but does not raise error neither

2012-06-26 Thread Francisco M. Marzoa Alonso
I answer to myself: there seems that there is nothing wrong with the function itself, but with some other code inherited from previous version where a file was used to store scores, that cleans the array and it is saved in the database through other function used to import old data from files to

[android-developers] detect if an app is launched

2012-06-26 Thread Narendra Singh Rathore
Hi all, I want to know if it is possible to detect an application launch, through its package name. Suppose, I have created a test app, in which I want to get some information about a specific app, For eg. Contact app of the devicelike how many times it has opened or closed, in a specific

[android-developers] Create an application which consists of another application

2012-06-26 Thread Sandeep Venkat
Hi folks could anyone tell me the way to store the downloaded application from google play in my application -- ThanksRegards *Sandeep MNVVB* * * -- 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] startForeground icon not showing on Galaxy Nexus

2012-06-26 Thread Kostya Vasilyev
Seeing a weird issue on my Galaxy Nexus with official 4.0.4 I have a service that uses startForeground to keep the process in memory, and, as required by the API, supplies a notification with an icon. Occasionally (about one every 5-10 calls to startForeground), the service's notification icon

Re: [android-developers] detect if an app is launched

2012-06-26 Thread Francisco M. Marzoa Alonso
Hi, Some guys was talking yesterday or the day before about getting CPU usage of running processes on a question about how to control battery use by apps that cannot be done directly. Make some search on the forum, I think it may be useful for you. Best regards, On 26/06/12 14:04, Narendra

[android-developers] NFC game

2012-06-26 Thread iconapp 2010
Hi Android developers, i m working on NFC hunter game on android, can any one tel me What kind of nfc tag is used in android how i should deploy in android. Brief description about that and if possible any samples for it.. Thank u -- You received this message because you are subscribed to the

[android-developers]

2012-06-26 Thread Vijay Krishnan
Hi all, How to resolve the java.lang.OutOfMemoryError while calling BitmapFactory.decodeStream(stream). Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] detect if an app is launched

2012-06-26 Thread Kristopher Micinski
I guess, I need to use BroadcastReceiver for this. What do you say? I would say that there isn't a broadcast event for when apps are launched (that aren't your app), however you can kind of fake the behavior by doing what Francisco says and polling the logs. kris -- You received this message

Re: [android-developers] detect if an app is launched

2012-06-26 Thread Francisco M. Marzoa Alonso
Hi, I have found the link, published by Nobu the day before yesterday: http://www.javachartingandroid.com/2011/04/android-get-application-process-cpu-usage-and-memory-usage/ Best regards, On 26/06/12 14:04, Narendra Singh Rathore wrote: Hi all, I want to know if it is possible to detect

[android-developers] Database

2012-06-26 Thread sri kanth
Suggest me differences between remote and local data base -- 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: Android how to convert multiple images in to single gif format..

2012-06-26 Thread RAJESH
Thanks or your reply. On Tuesday, June 26, 2012 3:15:13 PM UTC+5:30, CuGBabyBeaR wrote: Android do not support gif , that is truth . If what you want is make images active , you may be able to use a frame animation to achieve it 在 2012年6月22日星期五UTC+8下午8时55分01秒,RAJESH写道: Hi all ,

Re: [android-developers] Database

2012-06-26 Thread Justin Anderson
Suggest me differences between remote and local data base Well... a local database is available locally on the device. A remote database is not... it is, well, remote. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 7:14 AM,

Re: [android-developers]

2012-06-26 Thread Justin Anderson
Use this version of the method: http://developer.android.com/reference/android/graphics/BitmapFactory.html#decodeStream%28java.io.InputStream,%20android.graphics.Rect,%20android.graphics.BitmapFactory.Options%29 Pass in a BitmapFactory.Options that has an inSampleSize 1:

Re: [android-developers] NFC game

2012-06-26 Thread Justin Anderson
http://lmgtfy.com/?q=android+nfc+tutorial Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 6:53 AM, iconapp 2010 iconapp2...@gmail.com wrote: Hi Android developers, i m working on NFC hunter game on android, can any one tel me

Re: [android-developers] Create an application which consists of another application

2012-06-26 Thread Justin Anderson
What? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 6:12 AM, Sandeep Venkat sand...@believecreative.inwrote: Hi folks could anyone tell me the way to store the downloaded application from google play in my application --

Re: [android-developers] Package Manager API clarification required.....

2012-06-26 Thread Justin Anderson
My guess, though I very well may be wrong, is that it is because the enabled/disabled state in the manifest file of the upgrade app overwrites the enabled/disabled state of the component. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012

Re: [android-developers] Create an application which consists of another application

2012-06-26 Thread Kristopher Micinski
This topic has come up before, typically in the context of a stumbleupon like service for apps., the answer is basically that you can't. kris On Tue, Jun 26, 2012 at 8:12 AM, Sandeep Venkat sand...@believecreative.in wrote: Hi folks could anyone tell me the way to store the downloaded

Re: [android-developers] Creating the seat selection layout in a movie theater

2012-06-26 Thread Justin Anderson
GridLayout, RelativeLayout, TableLayout, nested LinearLayouts... You have many options. Choose the one that fits your needs best. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 5:33 AM, Reddy devireddy@gmail.com wrote: Hi,

Re: [android-developers]

2012-06-26 Thread Francisco M. Marzoa Alonso
Greetings, I have had a lot of those. You can reduce the sampling as told by Justin, and also use less bits per pixel: default is ARGB_, but you have also ARGB_ and ARGB_565. You should now anyway that use of ARGB_ is discouraged because it may generate a really bad quality output in

Re: [android-developers] Problems with ListView scroll.

2012-06-26 Thread Justin Anderson
Are you doing anything funky like programatically setting a selected item in the listview? What does your code look like? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 2:00 AM, Put_tiMe putt...@gmail.com wrote: I have a

Re: [android-developers] Dynamic Table layout

2012-06-26 Thread Justin Anderson
What does your code/xml look like? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 1:08 AM, Rahul Vijay rahul.vija...@gmail.comwrote: In a last message, I have display a table in a dynamic way. table header like Name, score

Re: [android-developers]

2012-06-26 Thread Vijay Krishnan
this error occurs when i read the stream for the second time On Tue, Jun 26, 2012 at 8:15 PM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: Greetings, I have had a lot of those. You can reduce the sampling as told by Justin, and also use less bits per pixel: default is ARGB_,

Re: [android-developers] Package Manager API clarification required.....

2012-06-26 Thread Sudeep Sharma
Thanks for the reply From the docs : public static final int COMPONENT_ENABLED_STATE_DISABLED Since: API Level 1 Flag for setApplicationEnabledSetting(String, int, int) and setComponentEnabledSetting(ComponentName, int, int): This component or application has been explicitly disabled,

Re: [android-developers] NFC game

2012-06-26 Thread Parthi K
thanks above links helpful for me On Tue, Jun 26, 2012 at 7:30 PM, Justin Anderson magouyaw...@gmail.comwrote: http://lmgtfy.com/?q=android+nfc+tutorial Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 6:53 AM, iconapp 2010

Re: [android-developers] Can I make different paths become an object?

2012-06-26 Thread Justin Anderson
Inside the onDraw method I have several paths that draw a shape... You are using several paths to draw a single shape? what I want to know is how can I select the image that the different paths create and move it around the screen. You would need to determine if the user touched inside one

Re: [android-developers] NFC game

2012-06-26 Thread Justin Anderson
I'm glad they were helpful... The point of that link was to illustrate that you didn't need to post this question on this list. I was able to point you in the right direction with a simple Google search... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware

Re: [android-developers]

2012-06-26 Thread Nobu Games
You need to call the recycle method on the previously decoded Bitmap. On Tuesday, June 26, 2012 9:52:04 AM UTC-5, Vijay Krishnan wrote: this error occurs when i read the stream for the second time On Tue, Jun 26, 2012 at 8:15 PM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote:

Re: [android-developers] How to receive files via Bluetooth?

2012-06-26 Thread mike digioia
sounds like you need to build a bluetooth server similar to IP based servers are created with one listener able to receive and process the incoming files from any BT clients. On Mon, Jun 25, 2012 at 11:09 PM, Rahul Radhakrishnanunnithan K rahu...@whiteovaltechnologies.com wrote: please refer

Re: [android-developers] Package Manager API clarification required.....

2012-06-26 Thread Justin Anderson
Flag for setApplicationEnabledSetting(String, int, int) and setComponentEnabledSetting(ComponentName, int, int): This component or application has been explicitly disabled, regardless of what it has specified in its manifest. Constant Value: 2 (0x0002) FWIW this does not say anything

Re: [android-developers] The Camera Intent doesn't return control to the application

2012-06-26 Thread Justin Anderson
This is pretty much identical to the other question you asked (which I just answered)... Please don't spawn multiple threads for the same question... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Jun 25, 2012 at 8:42 PM, frizzo rg...@vbrad.com

[android-developers] Re: leaked window again

2012-06-26 Thread G. Blake Meike
Mahmoud, I'd be interested in pursuing this, if you are still having the problem. Would you: - Post the code for the anonymous onClick handler, in which the exception is being thrown? - Post the entire exception that is the problem Thanks, G. Blake Meike Marakana The second edition of

Re: [android-developers] Package Manager API clarification required.....

2012-06-26 Thread jc
On Tuesday, June 26, 2012 10:40:28 AM UTC-5, MagouyaWare wrote: There is no state mentioned in manifest for the upgraded component, it should be in Disabled state until user enables it or Factory reset of phone is done. Why? I didn't read it that way. I agree that it is not well-defined,

[android-developers] Customized Soft keyboard

2012-06-26 Thread Harish
Hello Friends, For my Android tablet application I'm looking a customize keyboard, customize in the sense I have many list view in my application and to filter data in list I need keyboard with just 26 letter and 9 number,(list will only have character or numbers) I see many post where people

Re: [android-developers] Customized Soft keyboard

2012-06-26 Thread Mark Murphy
On Tue, Jun 26, 2012 at 12:21 PM, Harish hkacho...@gmail.com wrote: I see many post where people are trying to develop entire keyboard, however I'm looking for some solution where I can control keys of existing keyboard. That is not possible. I see that in numeric keyboard it's possible to

[android-developers] Re: the Android layout blues

2012-06-26 Thread G. Blake Meike
If the parent container for both the button and list view is a linear layout, you should be able to set the list view's layout_height=0dpi and layout_weight=1 G. Blake Meike Marakana The second edition of Programming Android is now on-line: http://shop.oreilly.com/product/0636920023005.do On

Re: [android-developers] Customized Soft keyboard

2012-06-26 Thread Harish Kachoria
bad luck, I need solution I can write keyboard but I know it is not easy to make it stable and that will kill my time, any other solution ? any idea how ime handles different input type, I mean when we give input type to number number key board appears and when I give input type to email keyboard

Re: [android-developers] Customized Soft keyboard

2012-06-26 Thread Mark Murphy
On Tue, Jun 26, 2012 at 1:03 PM, Harish Kachoria hkacho...@gmail.com wrote: bad luck, I need solution I can write keyboard but I know it is not easy to make it stable and that will kill my time, any other solution  ? Embed a bunch of buttons in your activity or fragment by some means. any

R: [android-developers] How to receive files via Bluetooth?

2012-06-26 Thread Giuseppe Porcelli- FINM
Thank you Da: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] Per conto di mike digioia Inviato: martedì 26 giugno 2012 17:36 A: android-developers@googlegroups.com Oggetto: Re: [android-developers] How to receive files via Bluetooth? sounds like you need

[android-developers] listenUsingInsecureRfcommWithServiceRecord

2012-06-26 Thread bob
Can someone help me understand why this feature did not show up until API Level 10? public BluetoothServerSocket listenUsingInsecureRfcommWithServiceRecord (String name, UUID uuid) Is this making use of some new feature that is not widely supported? I'm trying to program a desktop to talk to

[android-developers] Distributing Multiple APKs for Medical App

2012-06-26 Thread miwrig...@gmail.com
I am designing an app the is a intended to be a regulated medical device. The architecture we have setup is: 1) An .apk that contains the regulated software and 2) A second .apk that is not regulated (contains a more complex UI). Ideally we would like to be able to distribute these two apps

[android-developers] Re: startForeground icon not showing on Galaxy Nexus

2012-06-26 Thread Pent
Are you changing the state of a component sometimes ? If so, probably this: http://code.google.com/p/android/issues/detail?id=21635 Pent -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: startForeground icon not showing on Galaxy Nexus

2012-06-26 Thread Kostya Vasilyev
2012/6/26 Pent supp...@apps.dinglisch.net Are you changing the state of a component sometimes ? Yes, of a different component. If so, probably this: Looks like that's it. Thanks. -- K http://code.google.com/p/android/issues/detail?id=21635 Pent -- You received this message

Re: [android-developers] Distributing Multiple APKs for Medical App

2012-06-26 Thread Mark Murphy
On Tue, Jun 26, 2012 at 1:27 PM, miwrig...@gmail.com miwrig...@gmail.com wrote: I am designing an app the is a intended to be a regulated medical device.  The architecture we have setup is:   1) An .apk that contains the regulated software and   2) A second .apk that is not regulated (contains

[android-developers] Re: Distributing Multiple APKs for Medical App

2012-06-26 Thread miwrig...@gmail.com
Thanks Mark! This method would require install from unknown sources? On Tuesday, June 26, 2012 10:27:21 AM UTC-7, miwr...@gmail.com wrote: I am designing an app the is a intended to be a regulated medical device. The architecture we have setup is: 1) An .apk that contains the regulated

Re: [android-developers] How can I execute Javascript on already loaded webpage in Android Webview

2012-06-26 Thread imsproject ims
Hi Kristopher, I want to execute javascript after their page is loaded. I want to extract the relevant content and images from the pages just like Readabilityhttp://www.readability.com/bookmarklet does on the browser. How could I execute javascript in that case? Thanks, On Mon, Jun 25, 2012 at

Re: [android-developers] Package Manager API clarification required.....

2012-06-26 Thread Sudeep Sharma
No it should not be the case because when you buy a new android phone Google Google Setup Wizard package runs which has a Home category activity(com.google.android.setupwizard/.SetupWizardActivity having higher priority than home screen) which activates the phone, ask for setting up google account

Re: [android-developers] Distributing Multiple APKs for Medical App

2012-06-26 Thread Mark Murphy
On Tue, Jun 26, 2012 at 1:54 PM, Matt Wright miwrig...@gmail.com wrote: This method would require install from unknown sources? Yes. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android

Re: [android-developers] Package Manager API clarification required.....

2012-06-26 Thread Justin Anderson
No it should not be the case because when you buy a new android phone Google Google Setup Wizard package runs which has a Home category activity(com.google.android. setupwizard/.SetupWizardActivity having higher priority than home screen) which activates the phone, ask for setting up google

Re: [android-developers] Create an application which consists of another application

2012-06-26 Thread Sandeep Venkat
Why can't we find the solution could anyone tell me briefly On 6/26/12, Kristopher Micinski krismicin...@gmail.com wrote: This topic has come up before, typically in the context of a stumbleupon like service for apps., the answer is basically that you can't. kris On Tue, Jun 26, 2012 at

Re: [android-developers] Create an application which consists of another application

2012-06-26 Thread Justin Anderson
Why can't we find the solution could anyone tell me briefly We did... there is no solution. What you are trying to do is not possible. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 12:40 PM, Sandeep Venkat

Re: [android-developers] Create an application which consists of another application

2012-06-26 Thread Justin Anderson
How about you explain in more detail what you are trying to accomplish... What are you wanting your app to do? There may be another way to go about it that will work for your needs... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at

Re: [android-developers] Re: leaked window again

2012-06-26 Thread mahmoud emam
Event handler that call the AsyncTask OnClickListener processOnClickListener = new OnClickListener() { public void onClick(View v) { try { createProgressDialog(); pd.show(); new Segement(PreviewActivity.this, pd).execute(path);

[android-developers] MediaPlayer setVolume broken on some ICS devices?

2012-06-26 Thread mot12
Hi, I have been using the MediaPlayer for years without issues, controlling the volume via setVolume directly rather than setting the stream volume to allow for much finer control. Recently, I get reports that the volume always plays at 100% for MP3 files while OGG files are unaffected. The

Re: [android-developers] Create an application which consists of another application

2012-06-26 Thread Sandeep Venkat
Hi justin Let me explain you my app I want to download few applications from google play. the applications those were downloaded from the google play must be display in a grid format in my application.. Can we? On 6/27/12, Justin Anderson magouyaw...@gmail.com wrote: How about you explain in

Re: [android-developers] Create an application which consists of another application

2012-06-26 Thread Sandeep Venkat
Instead empty view will be display for us as far as we download and install any new app that app must be display in my app.. -- ThanksRegards *Sandeep MNVVB* * **Mobile Application Developer Believe Creative **sand...@believecreative.in * M: 0091 8019585636 W: www.believecreative.in First

[android-developers] ViewFlipper

2012-06-26 Thread chandur mani
I have 5 content views in view flipper, here i use to see all 5 content through viewflipperinstance.showNext() and viewflipperinstance.showPrevious(). Here my problem is both next and previous buttons click, it show all 5 content and again start 1st. I need whenever user click next it will up to

[android-developers] buffering problem with live streaming audio and media player

2012-06-26 Thread DanielleM
Hi All, I'm using MediaPlayer to stream an .mp3 radio broadcast. This stream is a live stream and therefore has no duration. I'm debugging it on my phone in eclipse and every few seconds I'm getting info/warnings that the buffering is starting and stopping. Sometimes the buffering lasts longer

Re: [android-developers] Create an application which consists of another application

2012-06-26 Thread Raghav Sood
Are you trying to make a launcher? Or a list of applications installed? Or something else entirely? Thanks On Wed, Jun 27, 2012 at 12:30 AM, Sandeep Venkat sand...@believecreative.in wrote: Instead empty view will be display for us as far as we download and install any new app that app must

Re: [android-developers] Create an application which consists of another application

2012-06-26 Thread Kristopher Micinski
The other app can't run inside your app because of the security constraints of the platform. In general it is impossible to run other app's code inside of your app, for security reasons. There are always ways to emulate this, but you can't share the screen with another app. kris On Tue, Jun

Re: [android-developers] Create an application which consists of another application

2012-06-26 Thread Sandeep Venkat
ok can we implement it in any other platforms like ios On 6/27/12, Kristopher Micinski krismicin...@gmail.com wrote: The other app can't run inside your app because of the security constraints of the platform. In general it is impossible to run other app's code inside of your app, for

Re: [android-developers] Create an application which consists of another application

2012-06-26 Thread Sandeep Venkat
hi ragava i want to install other app's downloaded and installed to be displayed in my app -- 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] Enforcing clearTop only when launching app from browser

2012-06-26 Thread Goat666
Hi everyone! I have an application with an activity named SplashActivity which has the following intent-filters defined. activity android:name=.SplashActivity android:configChanges=keyboardHidden|orientation android:launchMode=singleTop android:screenOrientation=portrait

Re: [android-developers] Top Developer?

2012-06-26 Thread niko20
No, I have seen developers with apps that have even fewer downloads than my apps, that have Top Developer. It seems completely arbitrary. Also, I've been a dev since April of 2009. So over 3 years. And my paid app has over 62000 downloads currently with a 4.5 rating. And I'm still not a Top

Re: [android-developers] Create an application which consists of another application

2012-06-26 Thread Kristopher Micinski
On Tue, Jun 26, 2012 at 3:19 PM, Sandeep Venkat sand...@believecreative.in wrote: hi ragava i want to install other app's downloaded and installed to be displayed in my app I don't know about iOS, but I would assume you also can't do it there... In Android it's a definite no, just because of

Re: [android-developers] ViewFlipper

2012-06-26 Thread Justin Anderson
Not sure I understand... The showNext() and showPrevious() methods only flip by one view... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 1:06 PM, chandur mani chandur.ind...@gmail.comwrote: I have 5 content views in view

Re: [android-developers] Re: leaked window again

2012-06-26 Thread Justin Anderson
How many times are you calling CreateProgressDialog()? It is called in your onClick() method and in onPreExecute() Also, what does the Segement class do? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 12:48 PM, mahmoud emam

Re: [android-developers] Re: leaked window again

2012-06-26 Thread mahmoud emam
*no each call in different places and the Segment class its my own class that i use it to do extract Numbers from an image I can send you the whole code if you want * On Tue, Jun 26, 2012 at 10:15 PM, Justin Anderson magouyaw...@gmail.comwrote: How many times are you calling

[android-developers] Instantiating (but not attaching!) a View from a non-UI thread

2012-06-26 Thread Tamás Kovács
I know that the UI elements (View hierarchy) may only be manipulated from the UI thread. For a background operation, the AsyncTask can be used, which offers event handers to reach the UI thread. To be brief, is it allowed to instantiate a View (tied to getApplicationContext()) in a non-UI thread?

[android-developers] getOrientation wierd issue

2012-06-26 Thread Vlad
Hi guys, I need to know the current rotation of the screen from its natural orientation. fortunately enough there's an API for exactly that at Display.getOrientation() this works well on most devices i tested it on, but for some reason, GT-P1000 device, returns the wrong value i've used adb shell

Re: [android-developers] Re: leaked window again

2012-06-26 Thread Justin Anderson
Generally sending the whole code won't be beneficial... How about posting the code for your activity? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 2:25 PM, mahmoud emam mahmude...@gmail.com wrote: *no each call in different

Re: [android-developers] Instantiating (but not attaching!) a View from a non-UI thread

2012-06-26 Thread Justin Anderson
I'm not sure, but I doubt it... Have you tried it? Did it work? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 2:27 PM, Tamás Kovács falcon.firebre...@gmail.comwrote: I know that the UI elements (View hierarchy) may only be

Re: [android-developers] getOrientation wierd issue

2012-06-26 Thread Justin Anderson
Have you checked if there are any available updates for your Galaxy Tab? I have heard reports of some Samsung devices having this issue, and an update from Samsung fixed it... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 2:35

[android-developers] Re: Instantiating (but not attaching!) a View from a non-UI thread

2012-06-26 Thread Tamás Kovács
It works seamlessly like a charm. It would be nice to know if this is supported/acceptable generally. I hope we'll get an answer from the Android guys/ladies. On Jun 26, 10:53 pm, Justin Anderson magouyaw...@gmail.com wrote: I'm not sure, but I doubt it...  Have you tried it? Did it work?

Re: [android-developers] Re: leaked window again

2012-06-26 Thread mahmoud emam
public class PreviewActivity extends Activity { private ImageView previewIV; private final int CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE = 100; private String path; private boolean crop = true; private boolean resample = true; private ProgressDialog pd; OnClickListener

Re: [android-developers] Top Developer?

2012-06-26 Thread Robert Nekic
The app I work on has 600,000+ installs, 14,000+ ratings, and a 4.5 average. The app has a higher average than others in our category from Top Developers so I'm not sure what it takes. I'm mostly just curious. I'm not sure it would generate more downloads or anything like that. On Tue, Jun 26,

[android-developers] Problem with notifications and recent activities list

2012-06-26 Thread Brett
I'm having nothing but trouble with something that seems pretty basic. So I have a notification set up so that it launches to my main activity with SINGLE_TOP and CLEAR_TOP. All this works well and I act accordingly to the notification. But what happens is that in the recent app list (if you

[android-developers] Re: Instantiating (but not attaching!) a View from a non-UI thread

2012-06-26 Thread Tamás Kovács
OK I made additional research and source code exploring: only *ViewGroup* and its descendants check the Thread, the *View* class does not. It does not even STORE the thread which created it. Based on this, it should be safe to create Views (but never Viewgroups) in different threads. It would be

Re: [android-developers] Re: Instantiating (but not attaching!) a View from a non-UI thread

2012-06-26 Thread Dianne Hackborn
No, it is not safe. Don't do this. The documentation is very clear about this: http://developer.android.com/reference/android/view/View.html Note: The entire view tree is single threaded. You must always be on the UI thread when calling any method on any view. This wasn't written to mislead

Re: [android-developers] Re: Instantiating (but not attaching!) a View from a non-UI thread

2012-06-26 Thread Romain Guy
It is not safe, and definitely not guaranteed to even work. On Tue, Jun 26, 2012 at 3:04 PM, Tamás Kovács falcon.firebre...@gmail.com wrote: OK I made additional research and source code exploring: only *ViewGroup* and its descendants check the Thread, the *View* class does not. It does not

[android-developers] Re: Instantiating (but not attaching!) a View from a non-UI thread

2012-06-26 Thread Streets Of Boston
I would still advise against it, because you don't have control of the code after you call the constructor of the View. Creating a View should never be that expensive (i.e. time consuming) that it could not be done on the UI thread. If the creation of the View needs other pieces of data that

Re: [android-developers] Problem with notifications and recent activities list

2012-06-26 Thread Dianne Hackborn
As per the current UI guidelines, a notification should either go to a complete activity back stack (entirely replacing whatever your current task is), or it should launch an activity that is entirely separate from your main activity's task. For the former, you can use things like

  1   2   >