-Kevin (mobile) On Oct 19, 2012 12:58 PM, <[email protected]> wrote:
> Today's Topic Summary > > Group: http://groups.google.com/group/android-developers/topics > > - IllegalArgumentException from the > MediaStore<#13a7a2cb77ea70e7_group_thread_0>[1 Update] > - Bluetooth App with Apple chip inside of > it.<#13a7a2cb77ea70e7_group_thread_1>[3 Updates] > - WiFi hotspot and 2.3.6 (or newer) <#13a7a2cb77ea70e7_group_thread_2>[3 > Updates] > - How to make Widgets not overlap <#13a7a2cb77ea70e7_group_thread_3>[1 > Update] > - Boot sequence and application > coordination<#13a7a2cb77ea70e7_group_thread_4>[1 Update] > - Context() getDir() without creation<#13a7a2cb77ea70e7_group_thread_5>[5 > Updates] > - ListView doesn't refresh when last item is > deleted<#13a7a2cb77ea70e7_group_thread_6>[3 Updates] > - please help me <#13a7a2cb77ea70e7_group_thread_7> [3 Updates] > - Converting LAt Long to UTM <#13a7a2cb77ea70e7_group_thread_8> [1 > Update] > - Android tabs <#13a7a2cb77ea70e7_group_thread_9> [4 Updates] > > IllegalArgumentException from the > MediaStore<http://groups.google.com/group/android-developers/t/b2920615e2901d98> > > Justin Anderson <[email protected]> Oct 19 11:41AM -0600 > > http://lmgtfy.com/?q=android+illegalargumentexception+databaseutils > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > > > > Bluetooth App with Apple chip inside of > it.<http://groups.google.com/group/android-developers/t/b8500abcffc2fd16> > > bob <[email protected]> Oct 19 08:58AM -0700 > > I think you mean Serial Port Profile (SPP). > > > > On Friday, October 19, 2012 10:10:00 AM UTC-5, ColorTheorist wrote: > > > > > ColorTheorist <[email protected]> Oct 19 10:31AM -0700 > > No, I mean what I meant as requested from within the Google > specifications > for communications over bluetooth. > > http://source.android.com/tech/accessories/guide/custom.html > > Let's actually respond with some semblance of professionalism without > trying to undermine people with caps and bold letters; even if they > were > wrong. > > > On Friday, October 19, 2012 11:58:33 AM UTC-4, bob wrote: > > > > > ColorTheorist <[email protected]> Oct 19 10:36AM -0700 > > While it is a bit confusing as to what complications would arise from > devices meant to connect with an Apple device from an Android device, > I > have communicated with proprietary devices from HID devices over the > USB > port once a driver had been introduced to handle the communication. So > I'm > not sure why there would be much of a difference with the Bluetooth > protocol, as long as both parties can still handshake and open up the > ports > between one another. > > Tough to pinpoint an exact place to request support, since it's > touching > base on both platforms, and I'm not really interested in how it works > on > iOS, other than the potential modifications introduced on their end > that > would affect me. > > > > WiFi hotspot and 2.3.6 (or > newer)<http://groups.google.com/group/android-developers/t/ec59aca3d54a362> > > falcon74 <[email protected]> Oct 19 05:25AM -0700 > > Thanks Justin. > > On Friday, October 19, 2012 1:29:05 AM UTC+5:30, MagouyaWare wrote: > > > 1) This feature is probably a combination of device & carrier > specific. > > Yes, that's about what I thought. > > > > 2) This question has nothing to do with this list... > > Well, I think it is in a way, because based on if the feature is > indeed > there or not, approach / design of my app changes, or rather the > overall > solution's architecture that I am thinking of. > > > > > Justin Anderson <[email protected]> Oct 19 10:41AM -0600 > > > > Well, I think it is in a way, because based on if the feature is > indeed > > there or not, approach / design of my app changes, or rather the > overall > > solution's architecture that I am thinking of. > > No, it really isn't... This group is for Android app development with > the > Android SDK. Just because you encounter a question/problem/issue while > developing an Android app doesn't automatically qualify it for this > list. > > Let's look at the description of this group (taken from > https://groups.google.com/forum/?fromgroups#!forum/android-developers): > > *"Android Developers — Discuss developing Android applications using > the > Android SDK. Get help with troubleshooting apps, advice on > implementation, > and strategies for improving your app's speed and user experience."* > > Now, let's look at your question again: > > Froyo apparently had an option to create a "portable hotspot" under > > Android for non-rooted phones ? > > Is this feature device specific (i.e. works on certain devices, but > not on > > others) ? > > How does this question relate to the stated purpose of this group? It > doesn't. Where are you asking for help with developing an Android app? > You > aren't. This question is off-topic for this group. > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > On Fri, Oct 19, 2012 at 6:25 AM, falcon74 <[email protected]> > wrote: > > > > > > bob <[email protected]> Oct 19 10:34AM -0700 > > This option does exist on my HTC Evo Design phone. > > > It has ICS. > > < > > https://lh6.googleusercontent.com/-DVXAcimGTeM/UIGPC4xRGGI/AAAAAAAAACU/DF7DltdT1-o/s1600/evo.jpg > > > > > > On Thursday, October 18, 2012 8:45:09 AM UTC-5, falcon74 wrote: > > > > How to make Widgets not > overlap<http://groups.google.com/group/android-developers/t/9ce58220746ca61> > > Justin Anderson <[email protected]> Oct 19 11:29AM -0600 > > > > What's information you need know more? Please suggest. I think who > have > > the exp. Who will know what I say. > > Your question is vague and doesn't give any specifics about what you > are > doing... > > > > In activity, it has five TabWidgets. > > > Great.. what approach did you take to create and set them up? There > are a > number of ways to do tabs in an activity. > > > > I customized my own image. > > > How? In code? In XML? What customizations did you make? > > > > > When running, I found that it will overlap between two TabWidgets. > > > Ok... What have you tried so far to fix the problem? > > > Can anyone tell me how to remove the overlap? > > I repeat my first answer... with the amount of information you gave... > no. > We aren't mind readers. We don't have any idea what your code looks > like > or how you designed your app. > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > On Thu, Oct 18, 2012 at 6:06 PM, Perry168 <[email protected]> wrote: > > > > > Boot sequence and application > coordination<http://groups.google.com/group/android-developers/t/7469e5399b835bbd> > > Bill Michaelson <[email protected]> Oct 19 10:13AM -0700 > > I recently modified an application such that a component Service is > now > started upon device boot via RECEIVE_BOOT_COMPLETED. But when the > service > started, I encountered a problem with sqlite opening - a failure that > was > critical to the application. Upon examining adb logcat output, I > noticed > messages that announced phases of fsck operating, and implying that > fsck > did not complete until after my sqlite open failure. I assumed that > the > underlying file was inaccessible because my app started too early > relative > to fsck. Based on this hunch, I inserted a 5 second Thread.sleep() > into > the start sequence. This seems to have solved the problem. > > But I am unsatisfied for two reasons: > > 1) My fix is non-deterministic. There is no guarantee that 5 seconds > will > always be adequate, or theoretically, that any arbitrary delay is > sufficient. > 2) I have not absolutely determined a causal relationship between the > fsck > and the open failure. > > Ideally, I will delay start until precisely the moment that the OS and > supporting processes are adequately prepared. > > So I seek advice from a more imaginative, knowledgeable or experienced > developer. > > TIA > > > > Context() getDir() without > creation<http://groups.google.com/group/android-developers/t/e17ecd340f91e92d> > > Paolo Mancini <[email protected]> Oct 19 08:47AM -0700 > > Hi, > I need to create some directory inside the application to maintain > some > internal data. > To obtain this, I use context.getDir() and It works fine. > Sometimes I need to know if some dir exists without create it..and to > do it > I can't use the context.getDir() cause this function create the > directory > if needed. > > How can I obtain this? > > Thanks > > > > > TreKing <[email protected]> Oct 19 03:52PM > > > > How can I obtain this? > > > > http://developer.android.com/reference/android/content/Context.html#getFilesDir%28%29 > > And standard Java IO. > > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > > > > bob <[email protected]> Oct 19 09:00AM -0700 > > new File("/mnt/sdcard/somedir").exists() > > > > On Friday, October 19, 2012 10:47:50 AM UTC-5, Paolo Mancini wrote: > > > > > Paolo Mancini <[email protected]> Oct 19 09:05AM -0700 > > For instance: > > I create a new Test dir with: > > context.getDir("Test",Context.MODE_PRIVATE); > > If after in another part of code I want to check if Test exist without > create it, which is the correct procedure?! > > thanks > > > Il giorno venerdì 19 ottobre 2012 18:00:40 UTC+2, TreKing ha scritto: > > > > > bob <[email protected]> Oct 19 10:12AM -0700 > > new File(context.getFilesDir(),"Test").exists() > > > On Friday, October 19, 2012 11:05:17 AM UTC-5, Paolo Mancini wrote: > > > > ListView doesn't refresh when last item is > deleted<http://groups.google.com/group/android-developers/t/1977a3fb153ad690> > > "Jacek Jabłoński" <[email protected]> Oct 19 06:43PM +0200 > > Hi, > > I have problem in my app. I have CursorLoader in conjcution with > CursorAdapter. Everything works as expected, except one condition: > when I > have some items on ListView and I swap cursor in adapter for cursor > that is > empty, visible items aren't deleted (only dividers between rows > disappear). > When I touch ListView it disappears instantly. > > Here is the situation. I have some non empty cursor: > > http://i.stack.imgur.com/VhvEb.png > > Then I swap for cursor that has no results: > > http://i.stack.imgur.com/uT6pP.png > > > > > > As you can see only dividers disappeard. After touching the screen both > items disappear. > > Source of my fragment class: http://pastebin.com/N2YGzgRj > > Please help me to solve this problem, because I have no idea what is > causing it. > > Greetings, > > Jacek Jabłoński > > > > > Justin Anderson <[email protected]> Oct 19 10:57AM -0600 > > I've never used a cursor with an adapter, but in general, when your > adapter > changes you need to call notifyDataSetChanged() on your adapter to let > it > know that the data needs to be refreshed... The adapter will then tell > the > listview it needs to update itself. > > Also, you shouldn't have to set the adapter on the listview when you > swap > out the data... just call notifyDataSetChanged(). > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > > > > > "Jacek Jabłoński" <[email protected]> Oct 19 07:11PM +0200 > > Thanks for your reply. I've tried notifyDataSetChanged() previously, > but it > doesn't do the work. The only situation with refreshing ListView > problem is > only when I swap cursor for cursor that doesn't contain any elements. > I think, I need toswap out the data because I am using CursorLoader. > > Thanks, > Jacek > > 2012/10/19 Justin Anderson <[email protected]> > > > > > please help > me<http://groups.google.com/group/android-developers/t/7d9bf6c92ea842cc> > > bob <[email protected]> Oct 19 08:15AM -0700 > > Sounds like you will want to launch the Adobe PDF Reader. I'm guessing > you > want something like this: > > Intent intent = new Intent(); > intent.setPackage("com.adobe.reader"); > intent.setDataAndType(Uri.parse(doc), "application/pdf"); > startActivity(intent); > > > > On Thursday, October 18, 2012 3:45:55 PM UTC-5, bahmani iman wrote: > > > > > bahmani iman <[email protected]> Oct 19 06:54PM +0330 > > > > > TreKing <[email protected]> Oct 19 03:38PM > > > > i want make a application like other application with text file no > with > > adobe pdf you know i want create a application that this have a home > page > > and other menu are you have a refrence or source for this work? > > > Your question is extremely vague and unclear. You need to clarify > exactly > what you're asking. > > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > > > Converting LAt Long to > UTM<http://groups.google.com/group/android-developers/t/be25ae7848c1d43b> > > RichardC <[email protected]> Oct 19 06:01AM -0700 > > It's not java.lang.math that needs to have the decimal point but Java > the > language: > 1/2 is integer 1 divided by integer 2 result integer 0 > 1.0/2.0 is double 1.0 divided by double 2.0 result double 0.5 > > On Friday, October 19, 2012 1:31:57 PM UTC+1, Karl Kristian Markman > wrote: > > > > Android > tabs<http://groups.google.com/group/android-developers/t/88970215b93e409c> > > ANKUR GOEL <[email protected]> Oct 19 02:10PM +0530 > > Hi all > > i am working on tabs > > one help needed tht is > > 1 am third tab -- inside that i have detail with one button > > i want to go to first tab on click of that button > > and i dont want new tab to launch > > > > > raju bhusani <[email protected]> Oct 19 04:49PM +0530 > > Hi, > > Use Tabhost object and call like this: > > Tabhost tab = getTabHost(); > > tab.setCurrentTab(m_currTab); > > > -- > Thanks & Regards > B.NagaRaju > Software Engineer(Android) > +91-9966990732 > > > > > ANKUR GOEL <[email protected]> Oct 19 05:38PM +0530 > > Hi > > please see the application flow > > 4 tabs > > 3rd tab -- listTab -- on click --> DetailActivity with button > > thn from this button click i want to move to 1 Tab > > > > > Thanks and Regards:- > > Ankur Goel > 09019040351 > S/W Engg. > > > > > > > > skink <[email protected]> Oct 19 05:39AM -0700 > > ANKUR GOEL wrote: > > > 4 tabs > > > 3rd tab -- listTab -- on click --> DetailActivity with button > > > thn from this button click i want to move to 1 Tab > > start DetailActivity by calling startActivityForResult() instead of > startActivity() > > pskink > > > > 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

