[android-developers] ContactManger Doubts

2012-07-15 Thread xinwei
Hi all, I'm referring to the android sample, ContactManager for API level 15. 1) ContactManager.java = getContacts() Is there any way that I could filter out contact only from sim card or phonebook ? 2) ContactAdder.java =

[android-developers] ContactManager doubts

2012-07-15 Thread xinwei
Hi all, I have doubts on android sdk-15 sample ContactManager. 1) ContactManager.java = getContacts() Is there any way i query out contacts only located in sim card or phone book ? 2) ContactAdder.java = onAccountsUpdated(Account[] a) When i'm in debug mode on my device, I

[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-15 Thread Ran
It seems that on the JB emulator everything works as before. Is that by design? Thanks. On Thursday, July 12, 2012 9:29:20 PM UTC+3, nnk wrote: There's no documented, approved way to read the log entries. Having said that, if you just exec() logcat, as you did before, you'll

Re: [android-developers] can we restart systemserver..............?

2012-07-15 Thread Dianne Hackborn
Not from a third party app. You can stop/start it with adb shell stop and adb shell start. If it is stopped, all of the framework goes down, including all applications. You can't stop/start individual system services. On Sat, Jul 14, 2012 at 10:17 PM, Abhilash baddam

[android-developers] Where is the link to google projects ??? before it was here http://code.google.com/

2012-07-15 Thread zousey
Before one had access to many google projects just by www.code.google.com is there a link that point to same ? -- 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] want to manually install android 2.3.3 samples into ANDROID SDK ???

2012-07-15 Thread krish
I have downloaded android 2.3.3 samples from dl-ssl.google.com . and now i want to intall the sample into ANDROID SDK.. IN WHICH SPECIFIC DIRECTORY SHOULD I WANT TO PLACE THE DOWNLOADED SAMPLES TO GET IT INSTALLED INTO SDK ?? Any help ??? Thankx in advance crazy on

[android-developers] Android SDK tools installation error

2012-07-15 Thread avotech
https://lh4.googleusercontent.com/-xAww2DabOX4/UAHtoe4FtPI/ACs/dq0ZwEh_HYE/s1600/andriod+sdk+tools+error.png I got this error when am trying to install the SDK I have updated my Java, i have restarted many times could anyone help me with some tips on how to fix this error thanks -- You

Re: [android-developers] Where is the link to google projects ??? before it was here http://code.google.com/

2012-07-15 Thread dwipam katariya
No its typically something new project On 7/15/12, zousey luc...@gmail.com wrote: Before one had access to many google projects just by www.code.google.com is there a link that point to same ? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: how to unit test drag n drop - honeycomb

2012-07-15 Thread Alex Stockinger
I am starting Android JUnit Testing at the moment and I am running in exactly the same issue. The first event (DOWN) seems to get processes properly, but the next event (MOVE) results in the mentioned security exception. Granting the requested permission resulted in no joy as well. Did you

[android-developers] Ask!

2012-07-15 Thread Kelvin saputra
Is the htc evo 3D much better tha sensation ? -- 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] ScrollView.setHorizontalScrollBarEnabled(true) doens't work

2012-07-15 Thread Dean Schulze
I have a ScrollView which scrolls vertically when I add enough rows to the table I create dynamically. When I additional columns so they cannot all be displayed and call ScrollView.setHorizontalScrollBarEnabled(true) there is no horizontal scrolling or scrollbar, however. The JavaDocs don't

[android-developers] NDK with stlport_shared for standalone binary?

2012-07-15 Thread Ezekeel
I want to compile a standalone binary from C++ sources which use some basic STL stuff like string, vector and so on. If I compile it with 'stlport_static' everything works fine. However with 'stlport_shared' I get this error message when executing the binary on the device: link_image[1965]:

[android-developers] Does Android Support Secondary Microsd Card?

2012-07-15 Thread Dan
Hi Everyone, I was wondering if Android supports a secondary MicroSD card. And if it does, then are there any phone or tablets on the market which provide a secondary slot for a secondary MicroSD card? Thanks, Dan -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: backend for app?

2012-07-15 Thread Andrew Cesario
Why not use Java, eclipse SDK, sqlite? (*mysql is way better than sqlite, but sqlite seems more direct for apps) On Thursday, July 12, 2012 3:50:39 PM UTC-4, dave wrote: is there a better backend for apps? i know php and mysql. should i just go with what i know? -- You received this

[android-developers] Re: sdk version Compatibility

2012-07-15 Thread Andrew Cesario
Not sure why my posts are not saving, but I have an app that is hitting the same problem with 4.0.4 for one of my users. The app launches, the splash screen shows, then the program crashes and locks up the device. No user errors or stack trace is loaded to my developer console. I have no

[android-developers] Fragments, removing only 1 item from the backstack.

2012-07-15 Thread Niffy Shibby
I have a problem of managing fragments. (Using Support Package, revision 9 (June 2012)) I have an activity with 2 fragments on the screen. If I add fragment A, then add Fragment B, then destroy fragment A Fragment B is also destroyed. I'm managing fragments this way (there is the begin and

[android-developers] Device unable to read USSD Code

2012-07-15 Thread ghostofparta
Hello everyone, I have a problem with my phone, a Motorola XPRT, running on Android 2.2 Froyo; I just received it and I'm using it on a GSM network, everything works fine except the USSD Codes. When I dial any USSD Code the phone displays USSD Running then IMEI Canceled. I contacted Motorola

[android-developers] Re: sdk version Compatibility

2012-07-15 Thread Andrew Cesario
I have a user reporting the same behavior with 4.0.4. There are no errors listsed on my site, and he says that there are no errors or exceptions, the program just quits. I downloaded your app today but it doesn't work on my phone. I've got a new galaxy s 3. The app shows the splash screen

Re: [android-developers] ScrollView.setHorizontalScrollBarEnabled(true) doens't work

2012-07-15 Thread Romain Guy
ScrollView only supports vertical scrolling as documented. If you want horizontal scrolling you need to use HorizontalScrollView. On Sat, Jul 14, 2012 at 6:39 PM, Dean Schulze dean.w.schu...@gmail.comwrote: I have a ScrollView which scrolls vertically when I add enough rows to the table I

Re: [android-developers] Where is the link to google projects ??? before it was here http://code.google.com/

2012-07-15 Thread zousey
Yes I can see that it is something new, is there a link that point to google projects ? where not only https://developers.google.com/products/; they are many other google projects ho do I discover them ? On Sunday, July 15, 2012 10:19:45 AM UTC+2, Dwipam a.k.a. Appy wrote: No its typically

[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-15 Thread Ievgenii Nazaruk
On my instance of JB emulator it runs with new behavior. Make sure you've started correct emulator, as I noticed several times that ADT/SDK 20.0 could start something else (non-selected item) from the list. On Sunday, July 15, 2012 9:54:18 AM UTC+3, Ran wrote: It seems that on the JB

Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-15 Thread Ran Manor
I was definitely running the JB emulator. So if you install aLogcat on the emulator, you can see only your own app logs? and nothing else? - Ran On Sun, Jul 15, 2012 at 12:02 PM, Ievgenii Nazaruk ievgenii.naza...@gmail.com wrote: On my instance of JB emulator it runs with new behavior.

[android-developers] Memory issues in list view with bitmaps

2012-07-15 Thread user123
What is the best way to handle a very long list view with bitmaps in a low memory device? I'm getting crashes after I scroll a bit... I don't want to loose image quality... I was thinking about loading only the number of items which is possible for the available memory, but this is obviously a

[android-developers] Re: Memory issues in list view with bitmaps

2012-07-15 Thread user123
I forgot to say, I'm targeting API 7. -- 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: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-15 Thread b0b
On Sunday, 15 July 2012 11:08:13 UTC+2, Ran wrote: I was definitely running the JB emulator. So if you install aLogcat on the emulator, you can see only your own app logs? and nothing else? using aLogcat in the JB emulator I could see all system logs. -- You received this message

Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-15 Thread Ran Manor
me too. Isn't that the old behavior? - Ran On Sun, Jul 15, 2012 at 1:33 PM, b0b pujos.mich...@gmail.com wrote: On Sunday, 15 July 2012 11:08:13 UTC+2, Ran wrote: I was definitely running the JB emulator. So if you install aLogcat on the emulator, you can see only your own app logs? and

[android-developers] Emulator hardware keyboard mapping table?

2012-07-15 Thread Jonas Petersson
Hi all, Now that the emulator seemingly supports using the computer's physical keyboard in a more generic way, I have experimented a bit to try to get it to fully work. Specifically, I'd like to enter the åäöÅÄÖ characters without having to longpress A or O to get the popup menu and some

Re: [android-developers] Re: Best books for learning Android

2012-07-15 Thread Mark Murphy
Yeah, after having been bitten having out of date tools docs early in my book versions, I try to update them within a month for any changes to core workflow. That way, new developers with new tools have the right info. Secondary stuff might be a bit off for longer, and I still have more tools

[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-15 Thread b0b
in JB, a useful debug app like aLogcat becomes useless as it i unable to retrive the full log. I've had the perfect example a few mins ago. A JB user contacting me for an issue with my app and requiring that he send me a full log to troubleshoot WTF MediaPlayer is doing. Impossible easily on

[android-developers] Strange memory consumption numbers on the emulator

2012-07-15 Thread user123
I made a test about memory comsumption loading bitmaps. It runs fine on a device - it doesn't occupy even 2 mb, but on the emulator it soon occupies 20 mb. Both the device and the emulator have resolution 480 x 800 and both are running Android 2.3.3. In both cases, I also outputted the

[android-developers] JUnit, TouchUtils, DragDrop and INJECT_EVENTS permission

2012-07-15 Thread Alex Stockinger
Hi all, I am having serious trouble JUnit testing an Activity that uses the API Level 11+ DragDrop Framework. I am using TouchUtils.dragViewTo() to emulate a drag that in turn causes the Activity under test to start a drag using the API Level 11+ call View.startDrag() The test aborts with a

[android-developers] Facebook clipping my share text

2012-07-15 Thread Francisco M. Marzoa Alonso
Hi there, I am adding social sharing of highscores to my app. It works fine on Google+, but when sharing in facebook the text is clipped, showing only the link to the application and the text it gathers from google play, and also an image icon that has nothing to see with my app but it is also

[android-developers] Re: Facebook clipping my share text

2012-07-15 Thread Francisco M. Marzoa Alonso
JFTR I also tested with WhatsUp and it works fine also with this service, so it is pretty clear that the problem is just with FaceBook. On 15/07/12 14:07, Francisco M. Marzoa Alonso wrote: Hi there, I am adding social sharing of highscores to my app. It works fine on Google+, but when

Re: [android-developers] Showing Action Bar ONLY on tablet?

2012-07-15 Thread Latimerius
On Sun, Jul 15, 2012 at 4:31 AM, Dianne Hackborn hack...@android.com wrote: Okay: Apple is famous for having great UIs. iOS does not have a hard menu button. I believe there is an implication that you can do a great UI here without relying on a hard menu button. Forget Apple - I've never

[android-developers] PhoneGap Presentation

2012-07-15 Thread Bill Mote
I am *very* pleased to announce Bill Steele as this month's guest speaker. Bill will be presenting on PhoneGap at the Cincinnati Android Developers Group Monthly Presentation Discussion: http://www.meetup.com/cincy-android/events/70053092/ I have attended a couple of the PhoneGap meetings

Re: [android-developers] ScrollView.setHorizontalScrollBarEnabled(true) doens't work

2012-07-15 Thread Dean Schulze
Here's what the JavaDocs say: Define whether the horizontal scrollbar should be drawn or not. The scrollbar is not drawn by default. What do you mean by as documented? The Java Docs don't give any qualifications about its use. They're misleading. I need both vertical and horizontal

[android-developers] problem getting current EGL config

2012-07-15 Thread Latimerius
I'm using code to query the current EGL config similar to this: int [] curConfigId = new int [1]; egl.eglQueryContext (curDisp, curCtxt, EGL11.EGL_CONFIG_ID, curConfigId); EGLConfig [] cfgs = new EGLConfig [1]; int [] numCfgs = new

[android-developers] Re: Facebook clipping my share text

2012-07-15 Thread Francisco M. Marzoa Alonso
This seems to be a recurrent problem with Facebook. I have found a lot of messages of people that can share links but not text through a SEND_ACTION intent. And some of those messages are older than one year... it seems like FB guys are not very interested on its Android app. It's a pitty.

[android-developers] Re: sdk version Compatibility

2012-07-15 Thread Andrew Cesario
Reshmy I looked into my stack trace and found a couple of problems. Both were sqlite related and I fixed them with a few lines of code change. Do you have a stack trace? -ac On Thursday, July 12, 2012 9:37:37 AM UTC-4, reshmy anup wrote: Hi.. I have created an android application in sdk

[android-developers] Make SlidingDrawer's content always visible?

2012-07-15 Thread user123
I'm using android:bottomOffset to make the drawer stick out 100dip from the bottom. That works fine, but my content is not visible. It's only visible when I touch the drawer. How can I make that its always visible (the 100dip show the content)? I first thought it's a visibility issue,

Re: [android-developers] Re: backend for app?

2012-07-15 Thread Kristopher Micinski
He's not asking about on the device, he's asking about on the *server*, where you really aren't tied to any of the same constraints as when you're on a device, so as long as you use the same interface, you're free to implement the other database however you want... kris On Sat, Jul 14, 2012 at

Re: [android-developers] Re: backend for app?

2012-07-15 Thread Andrew Cesario
Sorry about that, misread the 'backend' statement. I get what he is doing now... look forward to learning more about the 'backend' development but I have no suggestions other than to agree with ... why not?. -ac On Sun, Jul 15, 2012 at 11:15 AM, Kristopher Micinski krismicin...@gmail.com

[android-developers] Re: Make SlidingDrawer's content always visible?

2012-07-15 Thread user123
This is an image of the problem. and P.S. This default behaviour also looks erroneous to me, I don't know why somebody would want to make the offset only for the handle, making a gap between it and the content, and then on touch put the content directly under the handle... -- You received

[android-developers] Re: Memory issues in list view with bitmaps

2012-07-15 Thread RichardC
Some options: - load thumbnails only and let the user click one to see it large - use a scrolling thumbnail image bar which and show its centre image above it as large as possible. On a phone imaging a small bar (full width) at the bottom of the screen with 3 or 5 thumbnails. You

[android-developers] Can't figure out DatePickerDialog behavior in Jelly Bean

2012-07-15 Thread David Cesarino
Hi, Full details on StackOverflow http://stackoverflow.com/q/11444238/489607. I'm asking here because I'm thinking nobody will answer, and for what I've found I believe this question warrants a position in this group. Anyway, I have basically 2 problems. #1 - Jelly Bean changed the

[android-developers] Re: problem getting current EGL config

2012-07-15 Thread Latimerius
Never mind, after an hour more googling I found out that eglQueryContext() is probably just another thing that's FUBAR in Android EGL implementation. It appears that it basically returns a random config ID. On Sun, Jul 15, 2012 at 4:04 PM, Latimerius l4t1m3r...@googlemail.com wrote: I'm using

[android-developers] Re: Jelly Bean and Strict Mode

2012-07-15 Thread b0b
Ok found the cause of StrictMode.setThreadPolicy() not working. I was making this call in the onCreate() of a subclass of the Application class. This worked prior to Jelly Bean. Now in JB, it must be called after an Activity's onCreate() to take effect. Looks like the default StrictMode

Re: [android-developers] want to manually install android 2.3.3 samples into ANDROID SDK ???

2012-07-15 Thread TreKing
On Sat, Jul 14, 2012 at 10:13 PM, krish getintouch.kr...@gmail.com wrote: IN WHICH SPECIFIC DIRECTORY SHOULD I WANT TO PLACE THE DOWNLOADED SAMPLES TO GET IT INSTALLED INTO SDK ?? Please check your keyboard. Your SHIFT and '? keys seem to be stuck. The directory shouldn't matter.

Re: [android-developers] Ask!

2012-07-15 Thread TreKing
1 - Please use a title that gives even a slight indication of what your post is about. This will help you get help and will help others find the topic in the future if they search for it. On Sat, Jul 14, 2012 at 9:04 PM, Kelvin saputra kelvinsaput...@gmail.comwrote: Is the htc evo 3D much

Re: [android-developers] Help with listView App

2012-07-15 Thread TreKing
On Sat, Jul 14, 2012 at 7:32 PM, Oscar Franco ozde...@gmail.com wrote: Hello i'm trying to make a simple feeder app right now I only have the UI but I seem to have problems with it... my code compiles and I'm parsing an static XML file from web any chance you could help? Few people are going

Re: [android-developers] is Button automatically increase the width when mode is changed ( portrait to Landscape)

2012-07-15 Thread TreKing
On Sun, Jul 15, 2012 at 6:25 AM, surya pavan tsuryapa...@gmail.com wrote: plz help me button size adjustment in landscape mode Please learn to spell please. Please explain your actual problem. http://www.catb.org/~esr/faqs/smart-questions.html

Re: [android-developers] ScrollView.setHorizontalScrollBarEnabled(true) doens't work

2012-07-15 Thread TreKing
On Sun, Jul 15, 2012 at 8:25 AM, Dean Schulze dean.w.schu...@gmail.comwrote: What do you mean by as documented? The Java Docs don't give any qualifications about its use. They're misleading. I think he's referring to the class overview for ScrollView.

[android-developers] Can't figure out DatePickerDialog behavior in Jelly Bean

2012-07-15 Thread David Cesarino
I'm sorry, I've noticed there is already a bug filled for this. Issue 34833. -- 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

[android-developers] Re: search box - search in sqlite

2012-07-15 Thread Béla Kürthy
I don't know how can i display it on screen. -- bé -- 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] hwlp me why this Error is arriving ;( in the log cat...

2012-07-15 Thread Sami Khan
-- 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...@googlegroups.com For more options, visit

[android-developers] Problem with running an app on Android Emulator

2012-07-15 Thread jibeso
I have a Macbook Pro, I've just launched my device following your amazing tutorial and tried to download an app following a video about how getting apps on our android emulator with 4shared.com . I tried to download the app called Kakaotalk but when trying to open it, it doesn't work (here's a

[android-developers] search box - search in sqlite

2012-07-15 Thread Béla Kürthy
Hi. Somebody made search dialog in android which is built in? Can somebody share a simple example? thanks, bela kurthy -- 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

[android-developers] HTTP Post works only on port 80 when on mobile network (Galaxy Nexus)

2012-07-15 Thread Zoran Smilevski
Hello! I have a problem with posting data when using mobile data network on a port different than 80. This happens only on Galaxy Nexus. I have also reported a bug with detailed description (http://code.google.com/p/android/issues/detail?id=34769). There is also a demo app so anyone can test

Re: [android-developers] Android SDK tools installation error

2012-07-15 Thread 袁春龙
I think its your computer have some question! 2012/7/15 avotech avosoftw...@gmail.com https://lh4.googleusercontent.com/-xAww2DabOX4/UAHtoe4FtPI/ACs/dq0ZwEh_HYE/s1600/andriod+sdk+tools+error.png I got this error when am trying to install the SDK I have updated my Java, i have

Re: [android-developers] Re: Custom DialogPreference and PreferenceManager.setDefaultValues issue

2012-07-15 Thread jdr88
I just came across the same issue and can confirm the same behaviour: *android:defaultValue* of a custom DialogPreference is *not* set with PreferenceManager.setDefaultValues() method. Seems like a bug? I'm using now the solution that you proposed... On Thursday, 13 October 2011 23:11:27

Re: [android-developers] Re: Memory issues in list view with bitmaps

2012-07-15 Thread 袁春龙
I think this must release bitmap! 2012/7/15 user123 ivanschu...@gmail.com I forgot to say, I'm targeting API 7. -- 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

[android-developers] TextView textSize unknown during Constrcutor (Jellybean)?

2012-07-15 Thread Piren
Hi I've noticed Jellybean is having a different behavior when it comes to creating TextViews. I have a class that extends Widget.TextView, up until API 16 the textSize was already known after you initialize your class using TextView's constructors (at least on APIs 7-15) Why is this no

[android-developers] Re: Can you have RadioButtons in a RadioGroup in a TableRow?

2012-07-15 Thread MRJ
Hi darrimps, Thanks for posting this question and the final solution that you produces was also awesome because I was stuck in the same kind of problem but it was using checkboxes.NOw I abandoned my idea an decided to go with ur idea using the radio buttons.Thanks again. -- You received

[android-developers] maybe a focus issue? EditText number problem

2012-07-15 Thread tbny
I am having a problem with entering numbers into an EditText field. I have a ListView of EditText fields in one column. If I click into the first field I can add a number with no problems, I also have the next option on the number pad to easily traverse to the next item. This all works fine

RE: [android-developers] Re: Make SlidingDrawer's content always visible?

2012-07-15 Thread golf oo
Date: Sun, 15 Jul 2012 08:50:52 -0700 From: ivanschu...@gmail.com To: android-developers@googlegroups.com Subject: [android-developers] Re: Make SlidingDrawer's content always visible? This is an image of the problem. and P.S. This default behaviour also looks erroneous to me, I don't know

[android-developers] session mangement

2012-07-15 Thread laxman k
hi.guys i am create some login page.i want when login successful .session was create.please tell me.how to mange session means.set,destroy,checking thank u -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] AppWidgetProvider

2012-07-15 Thread Gicci
Sorry, maybe I was not clear in describing the problem. The description of NetworkOnMainThreadException says: The exception that is thrown when an application attempts to perform a networking operation on its main thread. This is only thrown for applications targeting the Honeycomb SDK or

[android-developers] Resolution problem

2012-07-15 Thread user123
As far I know each folder covers certain resolution range. If I save bitmaps in hdpi it will be used by devices considered as hdpi. Now, for a 480 x 800 device, it will not matter if I store there 480 x 800 bitmaps or let's say 700 x 1000. As far I saw in some tests I made, the bitmaps look

Re: [android-developers] AppWidgetProvider

2012-07-15 Thread Kostya Vasilyev
Sounds like a bug to me. Even though widgets are rendered by another process - the home screen - the widget provider lives in your own application's process. What you can do is use IntentService, and push widget updates from there. It's not necessary to update widgets from within onUpdate - you

Re: [android-developers] Resolution problem

2012-07-15 Thread Kostya Vasilyev
-hdpi or -xhdpi is not resolution, it's screen density - pixels per inch. hdpi is 240 dpi xhdpi is 320 dpi mdpi is 160dpi, and is the reference density, at which dp's are same as pixels http://developer.android.com/guide/practices/screens_support.html Images placed in -hdpi will be used as is

Re: [android-developers] Resolution problem

2012-07-15 Thread user123
Ok, thanks. And how do I know what resolution put in the hdpi folder? I want that the resolution of the images there look well in 240 dpi devices and scale without wasting unnecessary memory to xhdpi... On Sunday, July 15, 2012 11:20:42 PM UTC+2, Kostya Vasilyev wrote: -hdpi or -xhdpi is not

Re: [android-developers] Resolution problem

2012-07-15 Thread Kostya Vasilyev
2012/7/16 user123 ivanschu...@gmail.com Ok, thanks. And how do I know what resolution put in the hdpi folder? Depends on the image. Only you can know the answer to that. I want that the resolution of the images there look well in 240 dpi devices and scale without wasting unnecessary memory

[android-developers] Re: Run application with system / root permissions.

2012-07-15 Thread Gelonida N
On 07/15/2012 12:19 AM, Kristopher Micinski wrote: That's the point of rooting your device. There is no permission or specifier that you can use to request root permissions. kris I think the point the OP wanted to make. If you have a rooted device: How can you grant certain 'root'

[android-developers] Re: Device unable to read USSD Code

2012-07-15 Thread ghostofparta
Sorry, it says *MMI Cancelled* after USSD Code Running. -- 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] Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility

2012-07-15 Thread Andy dev
I've got an app in the market which uses the accessibility service. For it to work correctly in Jelly bean I need to add the android.permission.BIND_ACCESSIBILITY_SERVICE permission to the service declaration in the android manifest file. Doing this is fine and gets things working for jelly

[android-developers] Re: Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility

2012-07-15 Thread Andy dev
Forgot to say my versions in the manifest are set as follows: android:minSdkVersion=8 android:targetSdkVersion=16 Plus I've updated to the latest android-support-v13.jar file in the project -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Re: Run application with system / root permissions.

2012-07-15 Thread Kristopher Micinski
On Sun, Jul 15, 2012 at 6:07 PM, Gelonida N gelon...@gmail.com wrote: On 07/15/2012 12:19 AM, Kristopher Micinski wrote: That's the point of rooting your device. There is no permission or specifier that you can use to request root permissions. kris I think the point the OP wanted to

Re: [android-developers] Re: Run application with system / root permissions.

2012-07-15 Thread Kristopher Micinski
On Sun, Jul 15, 2012 at 6:57 PM, Kristopher Micinski krismicin...@gmail.com wrote: On Sun, Jul 15, 2012 at 6:07 PM, Gelonida N gelon...@gmail.com wrote: On 07/15/2012 12:19 AM, Kristopher Micinski wrote: That's the point of rooting your device. There is no permission or specifier that you

Re: [android-developers] Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility

2012-07-15 Thread Mark Murphy
On Sun, Jul 15, 2012 at 6:51 PM, Andy dev andrewpmo...@gmail.com wrote: I've got an app in the market which uses the accessibility service. For it to work correctly in Jelly bean I need to add the android.permission.BIND_ACCESSIBILITY_SERVICE permission to the service declaration in the

[android-developers] Re: Hwo to use getLineCount method in TextView? what is the internal Layout?

2012-07-15 Thread Alfa
that work. thanks alot for your idea.thread help much. i'll let u know if i have similar problem. thanks. -- 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

Re: [android-developers] Re: Run application with system / root permissions.

2012-07-15 Thread Nobu Games
I just tested it and Runtime.getRuntime().exec(su); does the trick on my rooted device. I guess you also could use sudo in front of your commands. -- 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: session mangement

2012-07-15 Thread Nobu Games
1. This has nothing to do with the Android SDK 2. That's such a basic topic with loads and loads and loads of tutorials and source code readily available for your enjoyment on the mighty interwebs 3. Google is your friend 4. ... 5. Profit -- You received this message

[android-developers] Any Design Pattern for Android?

2012-07-15 Thread Michael Leung
Hi all, Any Design Pattern for Android? I have some in-house pattern I built for this purpose. But I am not 100% happy about them/. Do you have any recommendations? -- Regards, Michael Leung http://www.itblogs.info - My IT Blog http://diary.skynovel.info - My Blog http://www.michaelleung.info

Re: [android-developers] Any Design Pattern for Android?

2012-07-15 Thread Mark Murphy
http://developer.android.com/design/index.html On Sun, Jul 15, 2012 at 8:30 PM, Michael Leung michaelchi...@gmail.com wrote: Hi all, Any Design Pattern for Android? I have some in-house pattern I built for this purpose. But I am not 100% happy about them/. Do you have any recommendations?

Re: [android-developers] Wifi-Only tablet missing NETWORK_PROVIDER!?

2012-07-15 Thread RE
Thanks for the reply. I suspected that it was something like this, but I assumed that since it had the Google Play application that it had already been approved for location manager. I decided to go the skyhook way when I continued to develop the application. So back in May, I got the SDK and

Re: [android-developers] Re: What is the best way to handle out of memory, because of bitmaps, on devices pre-honeycomb with low memory limit

2012-07-15 Thread terry
Is your app needs bitmaps as many as Gallery ? My way is that, 1. re-use all the Manage Object which contains the reference of the Bitmaps to avoid gc to collection this structures. 2. manually recycle bitmaps when not needed 3. multi-thread decode bitmap and insert 2012/7/15 user123

[android-developers] Does a license validation return a user subscription token? What are the values returned by the license server, signedData?

2012-07-15 Thread Chloe
I see the LicenseValidator is passed a signedData value and a signature. The signedData looks like signedData=0|1581469947|com.kizbit.pairfinder|2|ANlOHQMztsdENZquudNmyH65HJt+4atp+g==|1342402183117 Is there anything special I should do with this data and does it contain the user subscription

Re: [android-developers] Does Android Support Secondary Microsd Card?

2012-07-15 Thread v bobbywink
It's hard to say support. if u want to support a secondary MicroSD card, many things should be done. i.e,: Apps should be installed in which card? How to mount sdcard? Which one should be mounted in /mnt/sdcard, cuz Android Api get default externel storage using this mount point. Galaxy Note has

Re: [android-developers] Jelly Bean Crash with Bitmap Recycle Sorry, an error has occurred: bitmap is recycled

2012-07-15 Thread Craig Mitchell
Ah, yes, thanks Romain, that was it! Cheers. On Sunday, 15 July 2012 06:45:58 UTC+10, Romain Guy (Google) wrote: Ah, this is an interesting bug that we ran into ourselves. createScaledBitmap() can return the *same* bitmap if the scaled copy would have the same dimensions as the original

Re: [android-developers] Any Design Pattern for Android?

2012-07-15 Thread Michael Leung
I mean any framework for design pattern, such as MVC and MVVP? On Mon, Jul 16, 2012 at 10:42 AM, Mark Murphy mmur...@commonsware.comwrote: http://developer.android.com/design/index.html On Sun, Jul 15, 2012 at 8:30 PM, Michael Leung michaelchi...@gmail.com wrote: Hi all, Any Design

Re: [android-developers] Switching Fragments to Full Screen

2012-07-15 Thread EpsilonOrion
Kostya, I understand what you are discussing, however I am having a hard time figuring out how to implement it. Specifically, I am trying to look at this when dealing with a MapFragment and a ListFragment. Since there was no direct way to handle the MapFragment it is created through the

Re: [android-developers] Does Android Support Secondary Microsd Card?

2012-07-15 Thread Dianne Hackborn
The standard platform does not support multiple cards. Many manufacturers make modifications to support multiple cards, but as a result this is not a consistent feature. On Sat, Jul 14, 2012 at 2:42 PM, Dan dan.bez...@gmail.com wrote: Hi Everyone, I was wondering if Android supports a

[android-developers] Some issues related to Google Cloud Messaging Service

2012-07-15 Thread Muhammad Rashid
Hi all, I would like to say that I am working on a project using Google Cloud Messaging Service. I am facing two issues; 1. I am not able to get Arabic Text Messages. Only I can receive English text message. 2. I am not able to receive messages on GPRS. Only I can receive messages on WIFI.

Re: [android-developers] How to protect video/audio content (OMA DRM on Android)

2012-07-15 Thread Xin Wang
hi, I am deal with the oma drm issue on android 4.0, do you have any idea to add the simple forward locked feature on the android? On Sat, Nov 6, 2010 at 3:14 AM, Mathias Lin m...@mathiaslin.com wrote: I'm looking for a way to protect video and audio content (around 2GB) from being copied /