Re: [android-developers] Re: App closed but notification is visible

2011-09-23 Thread ashok chakravarthy
register receiver in Manifest file and given android:enabled=true On Fri, Sep 23, 2011 at 1:12 AM, b_t bartata...@gmail.com wrote: Ok, so it is normal that when the system stops my app the notification is still visible but when I force close it then it disappears. Then my only problem is

Re: [android-developers] Re: plz help...!!!

2011-09-23 Thread ashok chakravarthy
when you call stopService(service). is it throwing any errors? On Fri, Sep 23, 2011 at 8:08 AM, Spiral123 cumis...@gmail.com wrote: Easy. sevice.stop(plz); On Sep 22, 1:24 pm, Divyata Panchal panchal.divyat...@gmail.com wrote: Hie.. to al Android Developers... please tell me

[android-developers] Problems with setting translucent theme for activity

2011-09-23 Thread bhavani sankari
Hi All, I have set translucent theme for Activity 1 through AndroidManifest.xml file activity android:name=.help.PresetSecondMessage android:theme=@android:style/ Theme.Translucent.NoTitleBar.Fullscreen /activity Activity 2 appears on top of Activity 1.But the buttons of

[android-developers] Re: What exactly adb install do with apk?

2011-09-23 Thread FBondarenko
Haven't checked it myself, but have a look at tools/ddms/libs/ddmlib/src/com/android/ddmlib/AndroidDebugBridge.java. On 14 Sep., 17:05, Rahul Garg rahul.lnm...@gmail.com wrote: Hi All, Although I have been using adb install to install apk in my device. But I dont what exactly it do to apk,

[android-developers] Camera taking issue in LG optimus

2011-09-23 Thread ANKUR GOEL
Hi all, i am using lg optimus for taking camera and saving it .. with input stream its giving exception in out = new FileOutputStream(destination); this line can antbody help regarding this InputStream in = null; OutputStream out = null; try { File sd = new

[android-developers] How can i start a service after installing my apk.

2011-09-23 Thread crajesh
Hi, How can i start a service after installing application.?? Thanks C.Rajesh -- 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] OpenMAX codec interface +android

2011-09-23 Thread ProblemZone
Hello Developers, How to create OpenMax codec ffmpeg interface in android. i am getting ffmpeg lib, Open Max lib but how to interface in android with these lib . -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: OpenMAX codec interface +android

2011-09-23 Thread NAVI NEW
Please refer me some link regarding this issue. On Fri, Sep 23, 2011 at 12:19 PM, ProblemZone navi44...@gmail.com wrote: Hello Developers, How to create OpenMax codec ffmpeg interface in android. i am getting ffmpeg lib, Open Max lib but how to interface in android with these lib . --

Re: [android-developers] Re: plz help...!!!

2011-09-23 Thread Vinay Julme
post your code On Fri, Sep 23, 2011 at 11:33 AM, ashok chakravarthy ashoki...@gmail.comwrote: when you call stopService(service). is it throwing any errors? On Fri, Sep 23, 2011 at 8:08 AM, Spiral123 cumis...@gmail.com wrote: Easy. sevice.stop(plz); On Sep 22, 1:24 pm, Divyata Panchal

Re: [android-developers] Re: plz help...!!!

2011-09-23 Thread I-Sheng Lin
Plz post ur source. On Sep 23, 2011 3:16 PM, Vinay Julme vinayju...@gmail.com wrote: post your code On Fri, Sep 23, 2011 at 11:33 AM, ashok chakravarthy ashoki...@gmail.com wrote: when you call stopService(service). is it throwing any errors? On Fri, Sep 23, 2011 at 8:08 AM, Spiral123

Re: [android-developers] How can i start a service after installing my apk.

2011-09-23 Thread ashok chakravarthy
I think it is not possible for now. see below link http://groups.google.com/group/android-developers/browse_thread/thread/97f9664f2919b411?pli=1 On Fri, Sep 23, 2011 at 12:14 PM, crajesh crajesh2...@gmail.com wrote: Hi, How can i start a service after installing application.?? Thanks

[android-developers] Re: Same problem here also

2011-09-23 Thread gjs
Hi, Are you sure you pressed 'publish' ? Regards On Sep 22, 11:47 pm, Eowyn Bards maria.antign...@gmail.com wrote: Just created and signed my first app, paid the market fee hours ago but does not show up anywhere. Does anyone know where and to whom can be addressed a message complaining for

[android-developers] Re: How to add a ViewFlipper to the layout?

2011-09-23 Thread MobileVisuals
How can I make use of adb logcat, DDMS, or the DDMS perspective in Eclipse if I can't reproduce the error in the emulator? It doesn't crash there. Have I implemented the right aproach with the threads? I call on yield() on the 2d thread for every onResume() and onPause() call to the 2d activity.

[android-developers] Regarding profile

2011-09-23 Thread sourabh sahu
How to create our own profile with custom settings.Please provide some code for it. THanks, 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

[android-developers] Re: Does it possible to use multiple jni(.so) library in one SDK project?

2011-09-23 Thread Build account
Thanks! On 9월22일, 오후6시08분, Doug beafd...@gmail.com wrote: On Sep 21, 11:22 am, Build account newandroi...@gmail.com wrote: Hello gurus. At first, I can build single 'jni' library in one SDK project with the directory name 'jni' and make file under eclipse. But, I'm looking for - how

[android-developers] Problems capturing GPS position in a Augmented Reality App

2011-09-23 Thread saex
I'm developing a simple AR app what must calculate user GPS position and show his latitude, longitude and compass accelerometer values on textviews on the screen (in top of the camera view). Something is going wrong, because i only can capture compass direction value, but i can't capture GPS

[android-developers] Re: How to add a ViewFlipper to the layout?

2011-09-23 Thread MobileVisuals
Or maybe the objects in the 3d activity are not garbage collected when I switch to the 2d activity? Maybe I should set the objects in the 3d activity to null, when it switches to the 2d activity? On Sep 22, 9:11 pm, Mark Murphy mmur...@commonsware.com wrote: Use adb logcat, DDMS, or the DDMS

[android-developers] Re: What exactly adb install do with apk?

2011-09-23 Thread FBondarenko
Well I had a look now, check out Device.installPackage() in Device.java in the same package. I hope, as incomplete as my two answers are, they will provide at least a starting point. On 23 Sep., 08:26, FBondarenko f.bondare...@web.de wrote: Haven't checked it myself, but have a look at

Re: [android-developers] Re: How to add a ViewFlipper to the layout?

2011-09-23 Thread Kostya Vasilyev
You said it crashes on your Samsung device, can't you get a stack trace there? -- Kostya Vasilyev 23.09.2011 13:01 пользователь MobileVisuals eyv...@astralvisuals.com написал: Or maybe the objects in the 3d activity are not garbage collected when I switch to the 2d activity? Maybe I should set

[android-developers] Saving form data to XML

2011-09-23 Thread ksmobilejava
Hello , developing application with form having multiple fields, at the end user need to submit the information. On this event, all the data need to be stored in XML file. thus XML write is required. plus when user asks for particular id then the data filled by that id is also to be displayed thus

[android-developers] How to get data From Status bar and disable it?

2011-09-23 Thread vishnu raj
I am creating a custom lock screen so that in my activity the Status bar won't be there. At the mean time i want to get the the status bar notifications such as missed calls, new chat messages, new emails, new voicemail, etc... How to implement this ... please give me a hint ..

[android-developers] Re: multi page form

2011-09-23 Thread ksmobilejava
Thank you all, for help. I used view flipper and it worked as expected. Thanks Again. But still not clear with how to submit that form information and store it in XML file. Pls share. Thanks. On Sep 8, 2:12 am, rich friedel rich.frie...@gmail.com wrote: Like Mark Murphy said... use ViewFlipper

[android-developers] Async Task, rotation and indeterminate progressbar in custom header.

2011-09-23 Thread Bluemercury
Hi! So i've been trying to get a solution for a very specific problem that involves using Async tasks and dealing with the rotation and also a custom header that contains a progressbar view(the small spinner one, including a text view saying Loading...). I've followed

[android-developers] Re: BitmapFactory 's decodeByteArray and decodeStream returns null

2011-09-23 Thread worked
His name is Doug, not Donug. Get a clue. -- 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] ACRA clear

2011-09-23 Thread bob
What is the easiest way to clear out an ACRA report in Google Docs? -- 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: How to add a ViewFlipper to the layout?

2011-09-23 Thread Mark Murphy
On Fri, Sep 23, 2011 at 4:11 AM, MobileVisuals eyv...@astralvisuals.com wrote: How can I make use of adb logcat, DDMS, or the DDMS perspective in Eclipse if I can't reproduce the error in the emulator? It doesn't crash there. adb logcat, DDMS, and the DDMS perspective of Eclipse are perfectly

Re: [android-developers] Webview is displaying an address bar

2011-09-23 Thread Mark Murphy
Your WebView is not displaying an address bar, as it does not have one. The user is seeing the actual browser application, most likely. A redirect or clicking a link would cause that, if you do not have shouldOverrideUrlLoading() implemented in a WebViewClient. On Thu, Sep 22, 2011 at 11:39 PM,

Re: [android-developers] How can i start a service after installing my apk.

2011-09-23 Thread Mark Murphy
Correct. Particularly with Android 3.1+, nothing in your application will be tied into the system (including BroadcastReceivers) until the user runs an activity. On Fri, Sep 23, 2011 at 3:44 AM, ashok chakravarthy ashoki...@gmail.com wrote: I think it is not possible for now. see below link

[android-developers] Break the execution

2011-09-23 Thread Sivaprakash
Hi How can I stop the execution at one point? For Example if (strUserName.equals()) { Toast.makeText(getBaseContext(), Enter User Name., 10).show(); } Inside this If condition I want to stop the execution and dont let the system to execute rest of the code which I have in bottom.

Re: [android-developers] Break the execution

2011-09-23 Thread tamil maran
use this line android.os.killprocess -- 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: How to resolve outOfMemoryError - Bitmap size exceeds VM budget

2011-09-23 Thread joaocruz04
I found a solution, thanks to Streets of Boston and laminina. Since every app uses 2 images (background and other image), i created 2 images in my Application class (global variables) and not in the XML (laminina idea). Each app at the onCreate/onResume phase will call these images from the

[android-developers] Re: OpenMAX codec interface +android

2011-09-23 Thread NAVI NEW
Please reply me someone On Fri, Sep 23, 2011 at 12:27 PM, NAVI NEW navi44...@gmail.com wrote: Please refer me some link regarding this issue. On Fri, Sep 23, 2011 at 12:19 PM, ProblemZone navi44...@gmail.com wrote: Hello Developers, How to create OpenMax codec ffmpeg interface in

[android-developers] how to get child or any component from the parent view

2011-09-23 Thread Addy
Hi All, Currently for my Android's Application testing purpose, I got the view of the device screen then I want to fetch the child of that parent view. e.g. If I am fetching the main home screen so then can I get the menu like setting, browser, etc.? Thanks in Advance. -- You received this

[android-developers] .html filed loading problem.how to i will solve it

2011-09-23 Thread shital suryawanshi
WebView mWebView =(WebView) findViewById(R.id.webView1); mWebView.loadUrl(file:///android_asset/html/raj.html); this my code -- 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] .html filed loading problem.how to i will solve it

2011-09-23 Thread shital suryawanshi
WebView mWebView =(WebView) findViewById(R.id.webView1); mWebView.loadUrl(file:///android_asset/html/raj.html); this my code -- 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: BitmapFactory 's decodeByteArray and decodeStream returns null

2011-09-23 Thread Siji T G
Sorry for that typo. Actually it was a bug in my h264 video decoding native code ,which caused the problems And i am still a new be in C. As I now understand decodeByteArray() can decode compressed image data of format PNG and JPG and my image data is of type ARGB. Any way my problems solved.

[android-developers] Video Playing issue

2011-09-23 Thread ProblemZone
ERROR/MediaPlayer(16809): Error (1,-18) WARN/QCvdec(1294): == WARN/QCvdec(1294):Open Max Statistics WARN/QCvdec(1294): == WARN/QCvdec(1294):

[android-developers] openmax framework android

2011-09-23 Thread ProblemZone
i want to integrate openmax framework android for media player , give me guide line for implement that one. -- 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]write data to server

2011-09-23 Thread a a
Hi developers, I want to send the the id, name, score to my server ( write the records to server in a file named ranking, path is http:// ***.***.***.***/man/ranking, I am sure the file exist, i have created it before, then i use the following code to write, but it can't write into successful,

[android-developers] Re: java.lang.exceptionInInitializerError

2011-09-23 Thread RichardC
What is the source code around TestGame01.java:369 ? On Sep 23, 4:55 am, onionbread futh...@gmail.com wrote: 09-22 22:47:08.036: ERROR/AndroidRuntime(31237): FATAL EXCEPTION: main 09-22 22:47:08.036: ERROR/AndroidRuntime(31237): java.lang.ExceptionInInitializerError 09-22 22:47:08.036:

[android-developers] Re: FragmentPager Scrolling

2011-09-23 Thread Eric Carman
Thank you both for your time and efforts. Best Regards, Eric -- 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: ACRA clear

2011-09-23 Thread RichardC
I usually just: * open the spreadsheet and save a copy (just to keep a record) * re-open the original sheet, select all the report rows and delete them On Sep 23, 11:37 am, bob b...@coolgroups.com wrote: What is the easiest way to clear out an ACRA report in Google Docs? -- You received this

[android-developers] Re: Unexpected Canvas Behavior when using Threads and supporting Methods

2011-09-23 Thread Dancing Fingers
My dumb - and embarrassed. Put the clear in the wrong spot. Chris -- 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] regarding camera issue

2011-09-23 Thread TreKing
On Thu, Sep 22, 2011 at 10:51 PM, nageswara rao rajana nagu.raj...@gmail.com wrote: But it didnt worked on HTC(Versions are same).So please anyone suggest me solution for this issue. The error is Force close Application. That is only slightly less vague and useless than is not working.

Re: [android-developers] parcelable again: passing object BACK through activity stack

2011-09-23 Thread TreKing
On Thu, Sep 22, 2011 at 7:15 PM, John Goche johngoch...@googlemail.comwrote: Not sure how to try this out on the emulator. F12 or F11 or something causes the emulator to rotate. See the emulator section in the Docs. Since the Intent is returned to the parent activity inside

Re: [android-developers] org.xmlpull.v1.XmlPullParserException

2011-09-23 Thread arun kumar
here is the response plz can u guide mw how to add response or can u send me any links which will be match to my task soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:urn=urn:sap-com:document:sap:soap:functions:mc-style soapenv:Header/ soapenv:Body

[android-developers] Can Wifi be enabled on emulator?

2011-09-23 Thread Sunil Mishra
Hi, I am trying to develop a wifi application, but when i try to turn on the wifi via code or directly through emulator, it shows error. Any fixes available for this? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] java.lang.OutOfMemoryError: bitmap size exceeds VM budget,how to deal with it?

2011-09-23 Thread Hitendrasinh Gohil
Hi, As i have number of images in my drawable folder.I am displaying it using R.drawble.imageid everywhere in imageviews and layouts as background. Sometimes it cause java.lang.OutOfMemoryError: bitmap size exceeds VM budget. I have seen this link from stackoverflow

Re: [android-developers] parcelable again: passing object BACK through activity stack

2011-09-23 Thread Streets Of Boston
You can try this on the emulator. Hit Ctrl+F11 and you'll 'rotate' the device. setResult does not immediately return results back to its parent activity (You can call setResult many times: only the last call to setResult will be effective, superseding all previous calls) The Intent you use

[android-developers] Re: How to resolve outOfMemoryError - Bitmap size exceeds VM budget

2011-09-23 Thread Streets Of Boston
Good to know you got it working. Just checking; You put images in 2 global vars in your application object. Be sure that these images are not (Bitmap)Drawables, since Drawables may hold references to a Context that could be an Activity. Holding a global (indirect) reference to an Activity may

Re: [android-developers] org.xmlpull.v1.XmlPullParserException

2011-09-23 Thread Streets Of Boston
I am not quite sure (i never used ksoap2), but i can come up with these possible causes: 1. Does your XML have some extra white-space before the top XML tag * Envelope*? 2. Try to set your NAMESPACE variable to http://schemas.xmlsoap.org/soap/envelope/; instead. 3. If that

Re: [android-developers] .html filed loading problem.how to i will solve it

2011-09-23 Thread Chirag Raval
Hi Shital Please try below code. WebView mWebView=(WebView)findViewById(R.id.mWebView); mWebView.loadUrl(file:///android_asset/html/raj.html);             mWebView.getSettings().setJavaScriptEnabled(true);             mWebView.getSettings().setSaveFormData(true);            

Re: [android-developers] org.xmlpull.v1.XmlPullParserException

2011-09-23 Thread arun kumar
thanks for reply it contains Content-Type: text/xml;charset=UTF-8 SOAPAction: Authorization:Basic u1JJtklWQVNVuzppbml0aWfsMQ== -- 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: Async Task, rotation and indeterminate progressbar in custom header.

2011-09-23 Thread Bluemercury
IS there a way to avoid the static references to the views, but at the same time giving the possibility of the tasks to change the visibility of the progressbar even if the current activity visible is not the one who laucnhed the task initially? -- You received this message because you are

Re: [android-developers] How to get data From Status bar and disable it?

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 4:40 AM, vishnu raj android.vis...@gmail.comwrote: At the mean time i want to get the the status bar notifications such as missed calls, new chat messages, new emails, new voicemail, etc... How to implement this ... please give me a hint .. Build

[android-developers] USB Host API on XOOM tablet

2011-09-23 Thread Anil Sasidharan
Hi All, I'm trying to get the USB Host API (introduced in sdk-version 12) working with the Motorola XOOM tablet. The details of the tablet are as follows: Model: MZ601 Android-version: 3.1 Firmware configuration version: GAS_ASIA_USAEVRSTURTIRD_P035 Build-number: H.6.3-25-5 We are using a

Re: [android-developers] org.xmlpull.v1.XmlPullParserException

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 8:04 AM, arun kumar arun.kata...@gmail.com wrote: here is the response plz can u guide mw how to add response or can u send me any links which will be match to my task This has nothing to do with Android.

Re: [android-developers] Re: USB Host mode on galaxy tab 10.1 / android 3.1 - Device repeatedly re connecting in dmesg output

2011-09-23 Thread Anil Sasidharan
Hi, I'm curious to know if you were able to get this fixed using Acer Iconia A500. Are you able to use the android application to enumerate devices using USB Host API? Warm Regards, Anil On Thu, Sep 22, 2011 at 1:05 AM, Taylor tlalexan...@gmail.com wrote: Hey! I've actually had the EXACT

Re: [android-developers] How to read data from external device using android USB Host Api ?

2011-09-23 Thread Anil Sasidharan
Hi, Would you please let me know which Android device that you are using and what is the Android firmware version? Does USB Host APIs work fine on your Android device? I'm trying out a similar app on Motorola XOOM, but unfortunately that crappy device just does not seem to work for USB Host

[android-developers] Re-configure/install widget on home screen

2011-09-23 Thread ramindroid
Hi, Suppose we have an area defined for widget frame. Now using ACTION_APPWIDGET_PICK intent via onLongPress() at home screen, we install a widget in that area. Now since onClick() and other events are now listened by widget itself, what can be best approach to re- launch Widget_List (using

[android-developers] How to obtain the GPS position of the user and actualice a textview everytime the position has changed?

2011-09-23 Thread saex
I'm trying to make a simple activity that reads the GPS position of the user and actualices a simple textview everytime the position of the user changes. I find some examples en google but all of them are not nice examples, because only capture the position of the user ONE time, and i need that

[android-developers] Re: Async Task, rotation and indeterminate progressbar in custom header.

2011-09-23 Thread Streets Of Boston
Don't hold static references to Activities or Views. You will run into memory issues and such. But you could put your instance of ProgressBarThread into a static reference that is accessible by Activity B. Then Activity B can register/attach and de-register/detach to this background task as

Re: [android-developers] Re: Async Task, rotation and indeterminate progressbar in custom header.

2011-09-23 Thread João Rossa
Ok ProgressBarThread is already a static inner class, so what you're telling is to change the instance reference to static too: private ProgressBarThread task=null; to private static ProgressBarThread task=null; But now how i tell the task initiated by activity A to attach to the current

Re: [android-developers] Using Dropbox with Android

2011-09-23 Thread TreKing
On Thu, Sep 22, 2011 at 10:41 PM, Bishan tvbis...@gmail.com wrote: I tried to create folder in my dropbox account as below. DropboxAPI api = new DropboxAPI(); api.createFolder(sandbox, StockSys); but i got below exception. Contact DropBox.

Re: [android-developers] Re: Async Task, rotation and indeterminate progressbar in custom header.

2011-09-23 Thread Mark Murphy
On Fri, Sep 23, 2011 at 10:25 AM, Bluemercury joao.ro...@gmail.com wrote: IS there a way to avoid the static references to the views, but at the same time giving the possibility of the tasks to change the visibility of the progressbar even if the current activity visible is not the one who

Re: [android-developers] Re: Async Task, rotation and indeterminate progressbar in custom header.

2011-09-23 Thread João Rossa
Its an indeterminate progressbar the only thing i need is to hide or show the animation, nothing else, but i just to reflect there background work being done from whatever activity started it, even if the current activity was not responsible... regards, On Fri, Sep 23, 2011 at 5:01 PM, Mark

Re: [android-developers] Re: Async Task, rotation and indeterminate progressbar in custom header.

2011-09-23 Thread Mark Murphy
Sounds like this should not be an AsyncTask, but perhaps an IntentService instead. 2011/9/23 João Rossa joao.ro...@gmail.com: Its an indeterminate progressbar the only thing i need is to hide or show the animation, nothing else, but i just to reflect there background work being done from

Re: [android-developers] Re: Async Task, rotation and indeterminate progressbar in custom header.

2011-09-23 Thread João Rossa
** sorry for the bad english... ts an indeterminate progressbar the only thing i need is to hide or show the animation, nothing else, but i just want to reflect that there's background work being done from whatever activity that started it, even if the current activity was not responsible.

Re: [android-developers] Break the execution

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 6:06 AM, Sivaprakash sivaprakashshanmu...@gmail.com wrote: Inside this If condition I want to stop the execution and dont let the system to execute rest of the code which I have in bottom. That's pretty much the exact purpose of an if condition On Fri, Sep

Re: [android-developers] how to get child or any component from the parent view

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 6:16 AM, Addy joyy.bl...@gmail.com wrote: Currently for my Android's Application testing purpose, I got the view of the device screen then I want to fetch the child of that parent view. e.g. If I am fetching the main home screen so then can I get the menu like setting,

[android-developers] Free 2 Paid

2011-09-23 Thread bob
Anyone know why you can't change an Android app from Free to Paid? -- 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] Free 2 Paid

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 11:46 AM, bob b...@coolgroups.com wrote: Anyone know why you can't change an Android app from Free to Paid? Because it's not allowed. - TreKing

Re: [android-developers] Re: Async Task, rotation and indeterminate progressbar in custom header.

2011-09-23 Thread João Rossa
What if i create a reference of the progressbar on the application class and refresh it on the onCreate methods of the activities? On Fri, Sep 23, 2011 at 5:09 PM, Mark Murphy mmur...@commonsware.comwrote: Sounds like this should not be an AsyncTask, but perhaps an IntentService instead.

[android-developers] Android setImageUri not working with asset Uri

2011-09-23 Thread Ash McConnell
Hi Folks, I am using the following code to set an image from the assets folder. Uri numBgUri = Uri.parse(file:///android_asset/background_numbers.png); numBgImage.setImageURI(numBgUri); The background_numbers.png file definitely exists in the assets root directory. I am getting a

Re: [android-developers] Free 2 Paid

2011-09-23 Thread Lucas de Jesus Matias
You can put ads in it and create a paid version more complete. Depends of the case. 2011/9/23 TreKing treking...@gmail.com On Fri, Sep 23, 2011 at 11:46 AM, bob b...@coolgroups.com wrote: Anyone know why you can't change an Android app from Free to Paid? Because it's not allowed.

[android-developers] Set Wallpaper pop up

2011-09-23 Thread OneaDayJ
Hello, I am trying to figure out how to add that set wall paper popup into my app when people hold down on an image I have on my app. When on the internet on my g2 and I hold down on an image I get a pop up that says save image, view image, set as wallpaper, but on my app I do not get that and I

[android-developers] Re: how to get child or any component from the parent view

2011-09-23 Thread Addy
Thanks for your reply, I want to track the event of user interecation so I think, If I am able to get the device's screen as a view then I will get the child views of that view. And from that child view I will get the all events which will perform on that view. Or if this is impossible (As we

[android-developers] Re: Async Task, rotation and indeterminate progressbar in custom header.

2011-09-23 Thread blake
AsyncTasks are a nifty tool but they have a fairly limited specific set of uses. The previous responses have pointed out a several problems with this code: you can't keep static refs to Activites or Views, multiple Activities can't share a progress bar, etc. I don't understand the use case, but

Re: [android-developers] Re: how to get child or any component from the parent view

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 12:45 PM, Addy joyy.bl...@gmail.com wrote: I want to track the event of user interecation so I think, If I am able to get the device's screen as a view then I will get the child views of that view. And from that child view I will get the all events which will perform

Re: [android-developers] parcelable again: passing object BACK through activity stack

2011-09-23 Thread John Goche
On Fri, Sep 23, 2011 at 3:27 PM, Streets Of Boston flyingdutc...@gmail.comwrote: You can try this on the emulator. Hit Ctrl+F11 and you'll 'rotate' the device. Yes, I saw the problem pop up with my onRestart() called when I wasn't expecting it. I can see the problem here with onRestart()

[android-developers] Re: How to add a ViewFlipper to the layout?

2011-09-23 Thread MobileVisuals
Thanks, it got stable when I removed the finish() calls and added this code to the 2d view class: @Override public void onWindowFocusChanged(boolean hasWindowFocus) { if (!hasWindowFocus) { thread.setRunning(false);

[android-developers] Re: Why doesn't HTC devices support Point attenuation?

2011-09-23 Thread MobileVisuals
I noticed that a lot of other new devices from LG and SonyEricsson don't support point attenuation either. Why is this the case? Shohuldn't they follow the Android standard? On Sep 20, 2:27 pm, MobileVisuals eyv...@astralvisuals.com wrote: I have implementedPointattenuationaccording to the

[android-developers] Re: how to get child or any component from the parent view

2011-09-23 Thread Addy
OK, Thanks. I got it. And one more thing, do you know how does ROBOTTIUM jar work for testing android application? I think it also do same, as get the screen view, from that screen It get the perticulat x,y coordinates where user touch then from that portion it will get the text.And from that text

Re: [android-developers] parcelable again: passing object BACK through activity stack

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 1:38 PM, John Goche johngoch...@googlemail.comwrote: 1. if I don't pass an intent to setResult(), ie. use the one-parameter version of setResult(), then will the null Intent be passed back to my onActivityResult callback function? 2. Can I pass activity B's intent

[android-developers] Save $500 on AnDevCon - register today!

2011-09-23 Thread Nathan
Hi fellow Android Developers. Today is the last day to save $300 on AnDevCon. http://www.andevcon.com/AnDevCon_II/registration.html Since I'll be speaking there, you can use the code Mellor to get an additional $200 off! I look forward to Andevcon, where you can choose to hear from me or

Re: [android-developers] Re: how to get child or any component from the parent view

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 1:46 PM, Addy joyy.bl...@gmail.com wrote: And one more thing, do you know how does ROBOTTIUM jar work for testing android application? Nope. Check their site? - TreKing

Re: [android-developers] Re: USB Host mode on galaxy tab 10.1 / android 3.1 - Device repeatedly re connecting in dmesg output

2011-09-23 Thread Taylor Alexander
Hi Anil, Yes, I did get it working with the Acer. I had replied off list to Will because my original reply to the list was taking too long to get approved (it was my first post to this list). Here is my first off-list message, where I gave some details: On Thu, Sep 22, 2011 at 1:43 AM, Taylor

[android-developers] Re: bitmap reuse via BitmapFactory.Options.inBitmap?

2011-09-23 Thread elliot
If anyone needs an example, here you go- public class BitmapReuseActivity extends Activity { private Paint mPaint = new Paint(); private Rect mRect = new Rect(0,0, 123, 109); private Canvas mCanvas = new Canvas(); private Bitmap mBitmap = Bitmap.createBitmap(124, 110,

Re: [android-developers] Re: Activity Help

2011-09-23 Thread Derek Winstead
My SQL queries are fine, I copy and paste the queries into SQLite Database Browser with the current database that is on the VM. Runs fine and returns the results expected. If it was a SQL error wouldn't the program error out before finishing the load? No breakpoints get hit on my debug mode

[android-developers] Re: how to get child or any component from the parent view

2011-09-23 Thread Addy
Ok, Thank you very much. On Sep 23, 11:58 pm, TreKing treking...@gmail.com wrote: On Fri, Sep 23, 2011 at 1:46 PM, Addy joyy.bl...@gmail.com wrote: And one more thing, do you know how does ROBOTTIUM jar work for testing android application? Nope. Check their site?

[android-developers] Will android.permission.VIBRATE permission make my app invisible to tablets(in Android Market)?

2011-09-23 Thread Kakyoin
I've read about Android Market filtering which involve uses-feature tag. But what about permission? Will Android Market filter my app out if the device has no vibrator? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Activity Help

2011-09-23 Thread Derek Winstead
I changed the name of my variable in the fetchLiteratureTypes function on the LiteratureEditor.java file so it wasn't the same as the one in the LiteratureManager.java. That seemed to work and fix my problem. I no longer error when running my app. I assume it had something to do with the

Re: [android-developers] parcelable again: passing object BACK through activity stack

2011-09-23 Thread Streets Of Boston
1) The onActivityResult will have a result-code of RESULT_CANCELED and its 'Intent data' parameter will be null. 2) Yes, you can pass back any Intent, even the one that started the child-activity. You don't need to create a brand new one. When an Intent is passed back or forth between

Re: [android-developers] Set Wallpaper pop up

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 12:37 PM, OneaDayJ onead...@gmail.com wrote: When on the internet on my g2 and I hold down on an image I get a pop up that says save image, view image, set as wallpaper, but on my app I do not get that and I want that. Is there a tutorial on this anywhere? On that

[android-developers] Re: MonkeyRunner sample scripts

2011-09-23 Thread rp.circ
Two questions: 1. are you giving the full path to the apk? 2. can you perform any other device function? such as 'device.getProperty(build.model)' On Sep 21, 8:48 pm, mandeepa...@gmail.com mandeepa...@gmail.com wrote: First time, I am trying to run Monkeyrunner script on a device. I have been

[android-developers] Re: Multicast Receive

2011-09-23 Thread rp.circ
It seems that receiving multi-cast may be a problem forsome devices: http://stackoverflow.com/questions/3623143/multicast-on-android-2-2 And being that you have it working on other platforms...It would be great if you could get shark for root on your phone to actually see if the packets are

Re: [android-developers] Will android.permission.VIBRATE permission make my app invisible to tablets(in Android Market)?

2011-09-23 Thread kdı gjofd
Yes..it will be..and people will know to you want to use vibrate service..İf people dont want to vibrate via app they wont download it..So simple 2011/9/23, Kakyoin lgmc...@gmail.com: I've read about Android Market filtering which involve uses-feature tag. But what about permission? Will

Re: [android-developers] Re: bitmap reuse via BitmapFactory.Options.inBitmap?

2011-09-23 Thread kdı gjofd
Thanks 2011/9/23, elliot elliot.nathan...@gmail.com: If anyone needs an example, here you go- public class BitmapReuseActivity extends Activity { private Paint mPaint = new Paint(); private Rect mRect = new Rect(0,0, 123, 109); private Canvas mCanvas = new Canvas();

Re: [android-developers] .html filed loading problem.how to i will solve it

2011-09-23 Thread kdı gjofd
yYes...you should enable javacsript.. 2011/9/23, Chirag Raval chirag.android.develo...@gmail.com: Hi Shital Please try below code. WebView mWebView=(WebView)findViewById(R.id.mWebView); mWebView.loadUrl(file:///android_asset/html/raj.html);            

Re: [android-developers] openmax framework android

2011-09-23 Thread kdı gjofd
i dont know what is openmax :D 2011/9/23, ProblemZone navi44...@gmail.com: i want to integrate openmax framework android for media player , give me guide line for implement that one. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

  1   2   >