On Wed, Mar 21, 2012 at 1:26 AM, <[email protected]>wrote:
> Today's Topic Summary > > Group: http://groups.google.com/group/android-developers/topics > > - Progress bar and get info <#13631af38aed2f8d_group_thread_0> [1 > Update] > - need for speed class <#13631af38aed2f8d_group_thread_1> [1 Update] > - Does the file Manifest.java in Android source codes contain all the > list of permissions? <#13631af38aed2f8d_group_thread_2> [1 Update] > - OnTouchListener with multiple views > problem<#13631af38aed2f8d_group_thread_3>[2 Updates] > - Email-dependent app <#13631af38aed2f8d_group_thread_4> [4 Updates] > - Casting string as a class (ie. > RadioButton)<#13631af38aed2f8d_group_thread_5>[4 Updates] > - app freezes and get stucks <#13631af38aed2f8d_group_thread_6> [1 > Update] > - SMS as techinque for chatting <#13631af38aed2f8d_group_thread_7> [2 > Updates] > - implementing fade-in/fade-out effects in Java with frame-based > animation <#13631af38aed2f8d_group_thread_8> [2 Updates] > - Is there way of using NFC without Secure > Element?<#13631af38aed2f8d_group_thread_9>[1 Update] > - Testing AndroidTestCase as well as > ActivityInstrumentationTestCase2<#13631af38aed2f8d_group_thread_10>[1 Update] > - convert <#13631af38aed2f8d_group_thread_11> [1 Update] > - Can I customize the size of notification icon on the status > bar?<#13631af38aed2f8d_group_thread_12>[1 Update] > - Gps not working in phonegap-1.5.0 > android<#13631af38aed2f8d_group_thread_13>[2 Updates] > - serverSocket.accept(); <#13631af38aed2f8d_group_thread_14> [1 Update] > > Progress bar and get > info<http://groups.google.com/group/android-developers/t/2d9d53566c431045> > > oneking <[email protected]> Mar 20 12:27PM -0700 > > Thanks but no this doesn't help me > > > > > need for speed > class<http://groups.google.com/group/android-developers/t/ceaaf9b310de8982> > > bob <[email protected]> Mar 20 12:20PM -0700 > > Is there any way to determine what the speed class is of an SD Card on > an > Android device? (i.e. 600x read speed) > > > > Does the file Manifest.java in Android source codes contain all the > list of > permissions?<http://groups.google.com/group/android-developers/t/bc7b06856a5e8169> > > michael <[email protected]> Mar 20 12:00PM -0700 > > Could I say that the Manifest.java file contains all the permissions > for one version of Android? > > > > OnTouchListener with multiple views > problem<http://groups.google.com/group/android-developers/t/353a983d8dbe1bd8> > > metro <[email protected]> Mar 20 11:28AM -0700 > > Hi > I've seen it all... :) > They are all talking about drag&drop functionality implemented since > Honeycomb > (Api level 11) > Any other example please? > Thanks! > > > On Tuesday, March 20, 2012 6:43:02 PM UTC+2, MagouyaWare wrote: > > > > > Bill Lahti <[email protected]> Mar 20 11:49AM -0700 > > I have worked with some code that was in the API 8 Android Launcher. I > have > found that it is a pretty good framework for drag-drop. > For more about the sample apps I built, see my answer on > StackOverflow: > > > http://stackoverflow.com/questions/9661536/dragging-and-dropping-a-button-from-one-linear-layout-to-another-linear-layout/9683018 > > Bill > > On Tuesday, March 20, 2012 2:28:00 PM UTC-4, metro wrote: > > > > Email-dependent > app<http://groups.google.com/group/android-developers/t/c8d429ee7416d996> > > Kristopher Micinski <[email protected]> Mar 20 01:24PM -0400 > > > > Can you have behaviour dependent on a foreground process like this? > Is > > there another way of doing this? > > > Thanks. > > No, this is a frequently asked question, but basically, you can't > "extend" apps you didn't write with arbitrary functionality like this. > > kris > > > > > johnlugh <[email protected]> Mar 20 10:51AM -0700 > > Thanks very much for the advice. So I would have to write my own > separate email application if I wanted to have any kind of customised > 'extended' features like I want? It seems like I'm biting off more > than i can chew so to speak... > > > > > TreKing <[email protected]> Mar 20 01:02PM -0500 > > > > So I would have to write my own separate email application if I > wanted to > > have any kind of customised 'extended' features like I want? > > Basically. Then there's the minor task of getting people to use it to > get > actually relevant stats. > > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > > > > Kristopher Micinski <[email protected]> Mar 20 02:08PM -0400 > > That's right. The only way to extend functionality is to actually > write your own app, there's no way in existing apps to extend them... > (Unless they provide specific broadcasts, intents, etc... that you can > use, but this rarely happens, and it's almost never enough to actually > provide extra functionality for the app..) > > > > > Casting string as a class (ie. > RadioButton)<http://groups.google.com/group/android-developers/t/9936bbe2c2447690> > > Lew <[email protected]> Mar 20 10:20AM -0700 > > On Tuesday, March 20, 2012 9:25:54 AM UTC-7, Kostya Vasilyev wrote: > > > > > http://developer.android.com/reference/android/view/View.html#findViewWithTag(java.lang.Object > ) > > > I understand that neither option is very fast, so use carefully > (cache > > the results in a more directly accessible data structure). > > One such structure is a 'java.util.Map<String, RadioButton>'. > > -- > Lew > > > > > Nadeem Hasan <[email protected]> Mar 20 10:27AM -0700 > > All this is fine but OP needs to take a step back and ask himself why > he > needs to use a string as an identifier? In Android, numeric resource > ids > serve the same purpose and are already defined for you by the resource > compiler. > > > > > Justin Anderson <[email protected]> Mar 20 11:37AM -0600 > > > needs to use a string as an identifier? In Android, numeric resource > ids > > serve the same purpose and are already defined for you by the > resource > > compiler. > > Agreed... What I would do is create a member variable for each > RadioButton. Then show/hide and check/uncheck them as needed based on > the > user events. That is what I was trying to get at with my first > response. > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > > > > > Bozzified <[email protected]> Mar 20 11:04AM -0700 > > > > Many thanks everyone.. Some good suggestions. > > I mean I am getting how most things work in Android and have made > great > progress in making my own app that's fairly complex but I am still > lacking > experience in how to do some things because number of android classes > are > massive and it only comes with experience and usage. > > You've given me some good pointers where to look to achieve what I > need. > > @Lee > > I know exactly what you mean. I guess i have to straighten my mindset > a bit > in how Android treats and deals with view objects and how to target > them as > it is different from what I'm used to. > > It's all coming into place though. > > I will definitely ask if I stumble up more. I am really happy this > group is > so active to help me learn better by suggestions. > > Again thanks to everyone who replied. > > > > app freezes and get > stucks<http://groups.google.com/group/android-developers/t/ad309c6ad3b443a2> > > James Black <[email protected]> Mar 20 01:58PM -0400 > > There are many areas to look. > > Start with writing all exceptions to the log and perhaps before and > after > loading images. > > Then, when it locks up, get the log and see where it was when it died. > > You may want to log going into onPause also. > > > > SMS as techinque for > chatting<http://groups.google.com/group/android-developers/t/2102a1bf762114fb> > > Monerah AlOsaimi <[email protected]> Mar 20 10:38AM -0700 > > Hello there, > > How can i make an application that allows users to send and receive > sms and > this messages will be appear as chatting bw the users (like > whatsapp)..? > > I hv created an application that send and receive but couldnt mk these > msgs > as chatting? > > > > > Kristopher Micinski <[email protected]> Mar 20 01:42PM -0400 > > This isn't really a question that's formatted for this list. > > This list is for discussing implementation issues relating to apps. > > The answer is yes, you can, at least in some sense. It depends what > you mean by "chat," you could mean it temporally, in terms of how you > display things, etc... This isn't clear from your question. > > So basically, the answer is yes, you can do this, but if you have no > idea where to start, we're not really in a position to help you. > > kris > > On Tue, Mar 20, 2012 at 1:38 PM, Monerah AlOsaimi > > > > implementing fade-in/fade-out effects in Java with frame-based > animation<http://groups.google.com/group/android-developers/t/52e2b0e0bb8b6988> > > Serdel <[email protected]> Mar 20 10:23AM -0700 > > Thanks for the response but the animation is a set of bitmaps that I > show, it can't be done with the Android shapes. So I need this > approach. However I was thinking if I can find a way to use the alfa > approach in my need. Or anything that would bring a similar fade-in/ > out effect Is it possible? > > > > > > Justin Anderson <[email protected]> Mar 20 11:35AM -0600 > > > > Thanks for the response but the animation is a set of bitmaps that I > > show, it can't be done with the Android shapes. > > Animations don't have to be done on Android Shapes... They can be done > on > any view, like an ImageView. Is your set of bitmaps different in any > way > other than the rotation? If the only difference in the frames is the > rotation then you can use the approach I described. > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > > > > Is there way of using NFC without Secure > Element?<http://groups.google.com/group/android-developers/t/d29bd01f2a8dc2f> > > Cadu Silvestre <[email protected]> Mar 20 10:36AM -0700 > > Jeff, > > It really depends on what you wanna do. > > Do you want to read/write some standard NFC tags? Great, you don't > need a > secure element. > > Do you want to do anything related to Digital Certification or > Electronic > Payments? You probably need a secure element. > > On Monday, March 19, 2012 10:19:53 PM UTC-3, Jeff Wang wrote: > > > > Testing AndroidTestCase as well as > ActivityInstrumentationTestCase2<http://groups.google.com/group/android-developers/t/5eddbfb0562bb61e> > > Weston Weems <[email protected]> Mar 20 10:33AM -0700 > > So I've built a test suite that automatically grabs all testcases and > runs > them. > > The first chunk of tests I wrote were for AndroidTestCase, and just > tested > simple algorithms and shared functionality (non ui, Activity > in-specific). > > I came along and built a ActivityInstrumentationTestCase2, that > happens to > test the first activity of the app. > > When run alone, all my AndroidTestCase tests run just fine, and > likewise > when running my ActivityInstrumentationTestCase, they run as expected. > When > I run all tests for the test project, it appears as if testrunner > hangs > trying to run my activityinstrumentaiton test cases. (APPEARS to be in > the > call to getActivity() in setUp()). > > This as you might guess is terribly inconvenient. I was wondering if > anyone > has encountered it, and if so, any solutions out there? > > I saw a post here about making sure to .finish() the activity in > tearDown(), but as I only have one activity instrumentation test case, > the > .finish() didnt appear to have any effect on it whatsoever. Because > getActivity() is called in setUp(), setting timeouts etc for the test > themselves dont really seem to do much of anything. > > > Any advice would be greatly appreciated. > > > > > convert<http://groups.google.com/group/android-developers/t/9924b3f3aee97fba> > > Justin Anderson <[email protected]> Mar 20 09:01AM -0600 > > http://lmgtfy.com/?q=java+convert+string+to+hex > http://lmgtfy.com/?q=java+convert+string+to+decimal > http://lmgtfy.com/?q=java+convert+string+to+binary > http://lmgtfy.com/?q=java+convert+string+to+octal > > The internet is a wonderful tool... > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > > > > Can I customize the size of notification icon on the status > bar?<http://groups.google.com/group/android-developers/t/1032a91e2746c69e> > > Justin Anderson <[email protected]> Mar 20 08:53AM -0600 > > You have to create a custom notification layout: > > > http://developer.android.com/guide/topics/ui/notifiers/notifications.html#CustomExpandedView > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > > > > Gps not working in phonegap-1.5.0 > android<http://groups.google.com/group/android-developers/t/f0e0fe9d1f183d6f> > > subrat kumar panda <[email protected]> Mar 20 02:03PM +0530 > > Hi All, > > i am creating a Gps apps in android phonegap-1.5.0. > > i have added coredova-1.5.0 jar & coredova-1.5.0.js. > when i send mock data from the DDMS panel , sometimes it says "not > able to send data to emulator" > & sometimes nothing happens. > > Here is my code: > > > > <!DOCTYPE html> > <html> > <head> > <script type="text/javascript" charset="utf-8" src="coredova-1.5.0.js"> > function watchLocation(successCallback, errorCallback) { > successCallback = successCallback || function(){}; > errorCallback = errorCallback || function(){}; > > var geolocation = navigator.geolocation; > > if (geolocation) { > > try { > function handleSuccess(position) { > successCallback(position.coords); > } > > > geolocation.watchPosition(handleSuccess, errorCallback, { > enableHighAccuracy: true, > maximumAge: 5000 // 5 sec. > }); > } catch (err) { > errorCallback(); > } > } else { > errorCallback(); > } > } > > > function init() { > watchLocation(function(coords) { > document.getElementById('test').innerHTML = 'coords: ' + > coords.latitude + ',' + coords.longitude; > }, function() { > document.getElementById('test').innerHTML = 'error'; > }); > } > </script> > </head> > > <body onload="init();"> > <div id="test">Loading...</div> > </body> > </html> > > > if anybody have any suggestion , idea please share. > > thanks in advance. > > With Regards, > Subrat > > > > > Marcin Orlowski <[email protected]> Mar 20 09:36AM +0100 > > This group is not about phonegap development. you will get better > support > on phonegap list/forum/group (whatever they offer), not here. > > Regards, > Marcin Orlowski > > *Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule > handy... > *Date In Tray* <http://bit.ly/dateintraypro> - current date at > glance... > WebnetMobile on *Facebook <http://webnetmobile.com/fb/>*, > *Google+*<http://bit.ly/webnetmobile-gp>and > *Twitter <http://webnetmobile.com/twitter/>* > > > > > serverSocket.accept();<http://groups.google.com/group/android-developers/t/92ee2bc3d3fcfecb> > > Sumit Tiwari <[email protected]> Mar 20 12:16PM +0530 > > Thanks, > I read that. > > > > > You received this message because you are subscribed to the Google Group > android-developers. > You can post via email <[email protected]>. > To unsubscribe from this group, > send<[email protected]>an empty message. > For more options, > visit<http://groups.google.com/group/android-developers/topics>this group. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

