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 wrote: > when you call stopService(service). is it throwing any errors? > > > On Fri, Sep 23, 2011 at 8:08 AM, Spiral123 wrote: > >> >> Easy. >> >> sevice.stop(plz); >> >> On Sep 22, 1:24 pm, Divyata Panchal >> wrote: >> > Hie.

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" wrote: > post your code > > On Fri, Sep 23, 2011 at 11:33 AM, ashok chakravarthy wrote: > >> when you call stopService(service). is it throwing any errors? >> >> >> On Fri, Sep 23, 2011 at 8:08 AM, Spiral123 wrote: >> >>> >>> Easy. >>> >

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 wrote: > Hi, > > How can i start a service after installing application.?? > > Thanks > C.Rajesh > > -- > You

[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 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 this? In the developers

[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 fro

[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 wrote: > On Sep 21, 11:22 am, Build account 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 to build multiple jni in e

[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 pos

[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 wrote: > Use adb logcat, DDMS, or the DDMS perspective in Eclipse to

[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 wrote: > Haven't checked it myself, but have a look at > tools/ddms/libs/ddmli

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" написал: > 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

[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 wrote: > Like Mark Murphy said... use ViewFlipper to create the illusion

[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 this

[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+unsubscr...@

[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 andro

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 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 capable of examining L

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, bo

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 wrote: > I think it is not possible for now. see below link > http://groups.google.

[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+unsubscr...@goog

[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 Applic

[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 wrote: > Please refer me some link regarding this issue. > > > On Fri, Sep 23, 2011 at 12:19 PM, ProblemZone wrote: > >> Hello Developers, >> >> How to create OpenMax codec ffmpeg interface in android. >> >> i am getting ffmpeg

[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 mess

[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-devel

[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-devel

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): e

[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 unsubscr

[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 succes

[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 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: ERROR/AndroidRuntime

[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-dev

[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 wrote: > What is the easiest way to clear out an ACRA report in Google Docs? -- You received this message because you

[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 andro

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 w

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 wrote: > 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 > onActivityResult, what is the differen

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 http://schemas.xmlsoap.org/soap/envelope/"; xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style"> xxx -- You rece

[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 http://stackoverflow.com/quest

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 when

[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 c

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 doesn

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);             mWebView.getSetti

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@googl

[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 sub

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 wrote: > 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 your own firmware. You

[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 custo

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

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 8:04 AM, arun kumar 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 wrote: > Hey! > > I've actually had the EXACT same problems and i

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 APIs..

[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 ACTION

[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 th

[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 wel

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 Activi

Re: [android-developers] Using Dropbox with Android

2011-09-23 Thread TreKing
On Thu, Sep 22, 2011 at 10:41 PM, Bishan 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 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 laucnhed > the task in

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 Murp

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 : > 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 start

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. regards

Re: [android-developers] Break the execution

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 6:06 AM, Sivaprakash 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 23, 2011 at 6:10 AM, tamil m

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 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, browser, etc.? >

[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 andro

Re: [android-developers] Free 2 Paid

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 11:46 AM, bob 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 wrote: > Sounds like this should not be an AsyncTask, but perhaps an > IntentService instead. > > 2011/9/23 João Rossa :

[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 Fi

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 > On Fri, Sep 23, 2011 at 11:46 AM, bob 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

[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 don

[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 I

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 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 > on that view. > T

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 wrote: > 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() being called when I didn'

[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); t

[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 wrote: > I have implementedPointattenuationaccording to the Android > specification in tw

[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 wrote: > 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 back to activity A by a c

[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 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 w

[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, Bitmap.Confi

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 and

[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 wrote: > On Fri, Sep 23, 2011 at 1:46 PM, Addy 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 grou

[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 varia

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 Activitie

Re: [android-developers] Set Wallpaper pop up

2011-09-23 Thread TreKing
On Fri, Sep 23, 2011 at 12:37 PM, OneaDayJ 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 specifical

[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" wrote: > First time, I am trying to run Monkeyrunner script on a device. I have > been getting the Java

[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 makin

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 : > I've read about Android Market filtering which involve "uses-feature" > tag. But what about permission? > > Will Android Market f

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

2011-09-23 Thread kdı gjofd
Thanks 2011/9/23, 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 =

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 : > 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); >        

Re: [android-developers] openmax framework android

2011-09-23 Thread kdı gjofd
i dont know what is openmax :D 2011/9/23, 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 th

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

2011-09-23 Thread Dianne Hackborn
No, there is no vibration feature. All of the features are defined in the PackageManager class here: http://developer.android.com/reference/android/content/pm/PackageManager.html On Fri, Sep 23, 2011 at 12:36 PM, Kakyoin wrote: > I've read about Android Market filtering which involve "uses-feat

[android-developers] ListFragment with a custom view hierarchy?

2011-09-23 Thread worked
I'm attempting to learn fragments and to customize my fragment layout by returning a view hierarchy from onCreateView(LayoutInflater, ViewGroup, Bundle). This inflates my custom view, but behind the default ListView, I see everything at once. Any help is appreciated. Thanks! --MyActivity.java-- pu

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

2011-09-23 Thread kdı gjofd
Every android phones got vibrate but you want to use multitouch and not every phone god multitouch..So android market will filter for doesnt have multitouch feature 2011/9/24, Dianne Hackborn : > No, there is no vibration feature. All of the features are defined in the > PackageManager class here

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

2011-09-23 Thread lbendlin
http://developer.android.com/guide/topics/location/obtaining-user-location.html -- 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 em

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

2011-09-23 Thread lbendlin
wild guess here but I had a similar problem and for whatever reason adding a GpsStatusChange listener kicked the GPS alive. -- 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@googlegroup

[android-developers] SQL query issue

2011-09-23 Thread Nency Robert
HI all, I found this is a weird issue :( I type this command: *C:\android-sdk-windows\tools>adb shell sqlite3 /data/data/com.android.browser/databases/browser.db 'select count(url) from bookmarks where url like %www.android.com%'* * * *I want to run this query: 'select count(url) from bookmarks

Re: [android-developers] openmax framework android

2011-09-23 Thread Pratik Prajapati
http://free-electrons.com/pub/video/2011/elc/elc-2011-garcia-matsubara-hayama-munakata-video-codec-android-openmax-il.webm -- Regards, Pratik Prajapati On Fri, Sep 23, 2

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

2011-09-23 Thread Dianne Hackborn
How did multitouch get in to this? Not all Android devices have a vibrator -- for example the Xoom doesn't. There is no vibrate feature, you can't filter your app out from such devices. I have no idea what this has to do with multitouch. On Fri, Sep 23, 2011 at 3:27 PM, kdı gjofd wrote: > Ever

  1   2   >