[android-developers] how to flip the page similar to what Flipboard app does

2012-07-15 Thread KK
hi All, I'm working on creating a basic app and planning to use the page flip feature available on Flipboard app @ https://play.google.com/store/apps/details?id=flipboard.app&feature=related_apps Would appreciate, if someone could point me to some sample code that does similar job. Thanks in ad

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

2012-07-15 Thread Kristopher Micinski
No, there is no unique design pattern for Android. Other than being mostly a load of crap to account for under expressiveness within Java itself, you should also be thinking at a higher level than individual "code" patterns for your system. The major things that will affect your system are the fa

Re: [android-developers] Your Registration to Google Play is still being processed.

2012-07-15 Thread elirev4
I was already looking for the answer there, but there is nothing... On Monday, July 16, 2012 9:32:59 AM UTC+3, TreKing wrote: > > On Mon, Jul 16, 2012 at 1:20 AM, elirev4 wrote: > >> I registered to the Google Play Developers 24 hours ago and this message >> "Your Registration to Google Play is

[android-developers] query on protect api in VpnService

2012-07-15 Thread Amit
Hi, Can somebody provide insight on how android implements protect(int socket) in vpnservice class? Thanks, Amit -- 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] asking for device to buy android device...

2012-07-15 Thread TreKing
On Sun, Jul 15, 2012 at 10:02 PM, scu wrote: > so please which mobile device do you recommend for such case ?? > provided that the maximum pay i can afford is in the range of > Samsung galaxy S II price. > Search this group, this question is asked like every week. It really doesn't matter.

Re: [android-developers] Slow Android Developer Account Approval

2012-07-15 Thread TreKing
On Sun, Jul 15, 2012 at 10:15 PM, Alfred Sung wrote: > My accounts has been pending for few days, is there anyway I could > escalate my account creation? http://support.google.com/googleplay/android-developer/bin/answer.py?hl=en&answer=136601 ---

Re: [android-developers] Your Registration to Google Play is still being processed.

2012-07-15 Thread TreKing
On Mon, Jul 16, 2012 at 1:20 AM, elirev4 wrote: > I registered to the Google Play Developers 24 hours ago and this message > "Your Registration to Google Play is still being processed." is still > there... > > > How much time will I have to wait for Google to approve my account? > http://support

Re: [android-developers] Is it bad practice or rude to to do ContentResolver.setMasterSyncAutomatically in an android app?

2012-07-15 Thread TreKing
On Mon, Jul 16, 2012 at 1:16 AM, -v- wrote: > Is it considered a bad practice or rude to do a > ContentResolver.setMasterSyncAutomatically(true) to turn the sync on. > I would guess yes. If the user has opted to turn that off you should not be turning it back on. That smells like 1-star ratings

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

2012-07-15 Thread TreKing
On Mon, Jul 16, 2012 at 12:13 AM, Muhammad Rashid < muhammad.rash...@gmail.com> wrote: > I would like to say that I am working on a project using Google Cloud > Messaging Service. I am facing two issues; > Try the group dedicated to this feature: https://groups.google.com/forum/#!forum/android-gc

[android-developers] LaunchMode & ConfigChange HELP!

2012-07-15 Thread XiNoX
Hi, am new here and on android app .I was trying to make a litlle game but i cant figure how to properly make my game to not restart each time the keyboard get in/out or when the screen rotate. For the screen i locked is orientation to landscape. i tried to add lauchmode or configchange in the m

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

2012-07-15 Thread RE
Personally, this is my favorite (with regards to UI): http://www.androidpatterns.com/ On Sunday, July 15, 2012 8:30:50 PM UTC-4, Michael Leung 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

[android-developers] Your Registration to Google Play is still being processed.

2012-07-15 Thread elirev4
I registered to the Google Play Developers 24 hours ago and this message "Your Registration to Google Play is still being processed." is still there... How much time will I have to wait for Google to approve my account? -- You received this message because you are subscribed to the Google Gro

[android-developers] Re: Starting New Activities

2012-07-15 Thread Androdem
the best will be that you post your code so we can examine it and see where the problem is from. On Thursday, July 12, 2012 10:02:26 PM UTC+1, AChow wrote: > > I am a first time developer. I am trying to make an app but so far, I > cannot start another activity that I need. The way my apps shou

[android-developers] asking for device to buy android device...

2012-07-15 Thread scu
Hi all, am about to buy a new anroid device to have my applications tested. so please which mobile device do you recommend for such case ?? provided that the maximum pay i can afford is in the range of Samsung galaxy S II price. [what about Samsung galaxy II by the way :) ??] also I've sea

[android-developers] Audio Stream buffers within 8 secs on Emulator but takes almost 50 secs to buffer on a Phone

2012-07-15 Thread Zoheb Rahman
I have tried the code on the emulator using Platform 2.2 API level 8 as well as an Emulator using Platform 4.0.3 using API level 15 .. it works perfectly and starts the stream in about 5 secs. But when i run the code on my HTC one x (Android Version 4.0.3)or tried running it on the HTC Desire

[android-developers] Android setup for windows xp 64 bit

2012-07-15 Thread Arun Prasad
Hi, I have tried to install android sdk in windows xp 64 bit. But when i try to install eclipse and adt plugin is not updating. When i search the net, i have seen lot of issues for installing windows xp 64bit, can any one guide me to install the same and get it work Thanks Arun Prasad S -- Y

[android-developers] Audio Stream buffers within 8 secs on Emulator but takes almost 50 secs to buffer on a Phone

2012-07-15 Thread Zoheb Rahman
I have tried the code on the emulator using Platform 2.2 API level 8 as well as an Emulator using Platform 4.0.3 using API level 15 .. it works perfectly and starts the stream in about 5 secs. But when i run the code on my HTC one x (Android Version 4.0.3)or tried running it on the HTC Desire

[android-developers] Slow Android Developer Account Approval

2012-07-15 Thread Alfred Sung
Hi All, I have created an android developer account last week, I have complete the payment by Google Wallet, However a message is shown as below: "Your Registration to Google Play is still being processed. You can upload applications to Google Play but you cannot publish until your registration

[android-developers] Re: adjustPan and adjustResize

2012-07-15 Thread ala hammad
any body can help me with that ?? On Monday, 2 July 2012 15:22:07 UTC+3, ala hammad wrote: > > hello all, > i want to use adjustPan and adjustResize together but when use it one is > working and display the other .. > mean i can't extend edittext when writing more than line .. > > any body have i

[android-developers] Is it bad practice or rude to to do ContentResolver.setMasterSyncAutomatically in an android app?

2012-07-15 Thread -v-
I am using the syncadaptor extensively in my application for its core functionality. I also use the periodic refresh provided by the syncadaptor. Hence it the "Accounts and sync" is disabled on a phone my application will be pretty much useless. Is it considered a bad practice or rude to do a

[android-developers] Android Syncadapter onPerformSync fails after cancel of previous sync

2012-07-15 Thread -v-
I am using the syncadapter to sync my applications data with my server. There are two ways in which I use the syncadapter - one is for continuos periodic background refresh and second for GETing or POSTing data every now and then upon user action. I use the following options for the one-time

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 wrote: > I'm looking for a way to protect video and audio content (around 2GB) from > being copied / played on other devi

[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. Wait

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 wrote: > Hi Everyone, > > I was wondering if Android supports a secondary MicroSD card.

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 TabHo

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 wrote: > http://developer.android.com/design/index.html > > On Sun, Jul 15, 2012 at 8:30 PM, Michael Leung > wrote: > > Hi all, > > Any Design Pattern for Android? I have sI ome in-hous

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] 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

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

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

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 de

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 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? > > -- > Regards, > M

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

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

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

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 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 manifest file. >

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 wrote: > On Sun, Jul 15, 2012 at 6:07 PM, Gelonida N 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 permis

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 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 m

[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" gr

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

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

[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' featu

Re: [android-developers] Resolution problem

2012-07-15 Thread Kostya Vasilyev
2012/7/16 user123 > 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 to xhdpi... Scal

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

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 ca

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

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 highe

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

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 why

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

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

2012-07-15 Thread 袁春龙
I think its your computer have some question! 2012/7/15 avotech > > > I got this error when am trying to install the SDK > I have updated my Java, i have restarted many times >

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 UTC+2,

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

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

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

[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

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

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

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 wrote: > 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. http://developer.android.com/reference/android/widget/Scrol

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 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] Help with listView App

2012-07-15 Thread TreKing
On Sat, Jul 14, 2012 at 7:32 PM, Oscar Franco 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 to download a

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 wrote: > Is the htc evo 3D much better tha sensation ? 2. T

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 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. Samples don't get "INSTAL

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

[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 wrote: > I'm using code to query the current

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

2012-07-15 Thread David Cesarino
Hi, Full details on StackOverflow . 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 DatePicke

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

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

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> wr

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

[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, because

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

[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. Somethi

[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

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 scr

[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] Showing Action Bar ONLY on tablet?

2012-07-15 Thread Latimerius
On Sun, Jul 15, 2012 at 4:31 AM, Dianne Hackborn 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 been an Apple us

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

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

[android-developers] JUnit, TouchUtils, Drag&Drop 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+ Drag&Drop 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] 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 dimensti

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

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 chapt

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

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 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 nothing el

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 messag

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

[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

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] 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 emula

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

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 wrote: > I have a ScrollView which scrolls vertically when I add enough rows to the > table I create dynamically. When

[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]: 146

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

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

  1   2   >