[android-developers] Re: I'm missing something dumb here...

2013-03-21 Thread Piren
Have the imageView's height be fill_parent and its adjustViewBounds set to true, scale_type should be fit_end. if you dont like the way the image will show, wrap it in a frame_layout/relative_layout that has the Fill_parent and then set its gravity to bottom On Wednesday, March 20, 2013

[android-developers] IABHelper, queryInventoryAsync returns 0 products but launchPurchaseFlow fails with Item Already Owned.

2013-03-21 Thread LostDev
I'm experiencing an intermittent problem with In App Billing Version 3 using IABHelper as provided by Google. Before Launching a new purchase I check for unconsumed purchases with queryInventoryAsync. If found I consume any unconsumed purchases and begin a new transaction, if not go directly

[android-developers] Re: IABHelper, queryInventoryAsync returns 0 products but launchPurchaseFlow fails with Item Already Owned.

2013-03-21 Thread LostDev
Sorry I redacted one of the product ID's in the sample above, but not the other. Both product ID's are identical as shown below. 2013/03/21-16:27:33:034 SH-12C 2.3.3 INFO [IABHelper] Constructing buy intent for jp.co.gmode.gp.charginglibexample.100points, item type: inapp

Re: [android-developers] Android Games SDK?

2013-03-21 Thread Ecthelion
Taylor mentioned that he is programming in Java. The SDK you mentioned is using C++ and Lua AFAIK and therefore does IMO not really fit. Cheers Am Mittwoch, 20. März 2013 23:27:20 UTC+1 schrieb Nathan: A member of this forum works on http://www.batterytechsdk.com/ Haven't used it yet.

[android-developers] Re: How to display Options Menu Vertically

2013-03-21 Thread abhijit
i also wanted that still there is no answar for this question. On Wednesday, November 11, 2009 12:00:29 PM UTC+5:30, Swati wrote: Hi, I was trying to display the Options Menu to be vertically stacked instead of the Horizontal one supported by the framework as of now.Can some one suggest

[android-developers] How to get other/neighbouring GSM operator's name (at my location)

2013-03-21 Thread Gaurav Wable
Dear all, I tried to get the list of all GSM networks available at my location through following code - TelephonyManager telManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); telManager.listen(gsmListener,

[android-developers] create stacked option menu by using API level 14

2013-03-21 Thread abhijit
I want a menu layout by using android API level 14 in which by pressing the menu button it should display the menu items in a stacked manner 1 after the other vertically column wise. *MenuItem3 MenuItem2 MenuItem1 * -- -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: How to display Options Menu Vertically

2013-03-21 Thread Mark Murphy
You do not control the layout of the options menu/overflow menu. Whether it is horizontal (I presume referring to the old-style options menu) or not is up to the framework and will be dependent on the OS version you are running on. Please allow the menu to render the same for your app as it does

[android-developers] zygote preloading jars

2013-03-21 Thread miten
Hi, I have few apps (apks) which share common framework (jar). Instead of saving jar in each apk I guess it would be more efficient to preload them from common location which will reduce apk size as well as memory. If it is possible with zygote please guide what I need to do like do I need

Re: [android-developers] zygote preloading jars

2013-03-21 Thread Mark Murphy
On Thu, Mar 21, 2013 at 7:27 AM, miten imi...@yahoo.com wrote: If it is possible with zygote Only if you are creating your own version of Android, from the source code, and rolling that into your own ROM mod or device. Please visit http://source.android.com for more information on the Android

[android-developers] Dalvik - local variable type mismatch when adding java file to project - Without proguard

2013-03-21 Thread inistel
My android project compiles and builds fine, however, when I'm adding NanoHTTPD java file (a pure java 1 file http server) I am getting the following error when launching (without proguard). *[2013-03-20 23:28:56 - test] Dx EXCEPTION FROM SIMULATION:[2013-03-20 23:28:56 - test] Dx local

[android-developers] Retreive Special characters from sqlite files.

2013-03-21 Thread Seshu
Hi All, I am doing a small dictionary app and the data is in sq-lite file. when i search the keyword then corresponding words ll showing in a list view. in my database i have special characters i.e., ábaco, ábaco psicométrico when i entered keyword a then above words also i want. Any body

[android-developers] Re: zygote preloading jars

2013-03-21 Thread skink
miten wrote: Hi, I have few apps (apks) which share common framework (jar). Instead of saving jar in each apk I guess it would be more efficient to preload them from common location which will reduce apk size as well as memory. If it is possible with zygote please guide what I need to do

[android-developers] How to get Wifi Access Point data + MTU on the Wifi interface

2013-03-21 Thread tom
HI , I have an APP that get some information from the AP that i am connected to such as SSID . BSSID , IP . Name , etc ... I am trying to get this information from it: 1.When my APP is loaded it check if its connectd to WIFI or not and if SO i want to know if i am connected to 5G or 2.4G

[android-developers] ANR from internal function

2013-03-21 Thread Mind
Hi, I have implemented a 2D game using SurfaceView + GameThread (does nothing atm) + ViewThread pattern that calls a draw method on the SurfaceView. However, it randomly stops redrawing the screen. Randomly means it can take up to several minutes of play to freeze. Other things like

Re: [android-developers] Re: Concurrency: Do you use Loaders? AsyncTask? or Runnables?

2013-03-21 Thread Streets Of Boston
Managed means that a lot of stuff is going on in the background that you don't have to worry about. E.g. - You don't have to create threads. Just subclass the AsyncTask/Loader/IntentService and implement/override the correct method and your code will run in some background thread.

[android-developers] Re: Android Games SDK?

2013-03-21 Thread Alexander Mikhnin
The list of mobile game engines. http://mobilegameengines.com/android среда, 20 марта 2013 г., 16:42:58 UTC+4 пользователь Taylor Ringo написал: Hey, Are there any game development SDK's by google, or some other established developers? I'm programming in JAVA. -- -- You received this

[android-developers] Re: I'm missing something dumb here...

2013-03-21 Thread Larry Meadors
Thanks Piren - trying that now, will follow up with the results! Larry -- -- 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] Re: Concurrency: Do you use Loaders? AsyncTask? or Runnables?

2013-03-21 Thread Kristopher Micinski
I typed this on a phone, but I'm not sure why that autocomplete was appropriate.. kris On Wed, Mar 20, 2013 at 8:11 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, Mar 21, 2013 at 3:48 AM, Kristopher Micinski krismicin...@gmail.com wrote: Loafers are built on top of asynctasks.

Re: [android-developers] Getting the problem while fetching the current location...?

2013-03-21 Thread lbendlin
Credits go to Felix Ventero from RadarDroid *if* (lm.isProviderEnabled(LocationManager.GPS_PROVIDER)) { *if* (settings.getBoolean(use_other_gps_starter, *false*)) { // use brute force GPS starter for Galaxy Spica mLocationListener = *this*;

[android-developers] Re: I'm missing something dumb here...

2013-03-21 Thread Larry Meadors
On Thu, Mar 21, 2013 at 10:49 AM, Larry Meadors larry.mead...@gmail.com wrote: Thanks Piren - trying that now, will follow up with the results! That worked absolutely perfect! You rock. :-D Larry -- -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Concurrency: Do you use Loaders? AsyncTask? or Runnables?

2013-03-21 Thread Kristopher Micinski
I guess a higher level point is that there are some basic rules you have to follow regarding threading contexts, and these aren't specified and checked within code. E.g., you can't modify UI elements from a background thread, only the main thread can do this. Every Android app has a blessed main

[android-developers] Android 4.2.2: IndexedDB support in WebView

2013-03-21 Thread bardu
What is the state of support for IndexedDB in Android 4.2.2? Is there any support in WebView? If not, is there support for LocalStorage, if yes, what are the limitations? Thx, Stephan -- -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] How to get other/neighbouring GSM operator's name (at my location)

2013-03-21 Thread Robert Greenwalt
Those neighboring cells are all for your current carrier and it's optional - many radios don't support it at all. I don't think there's a public API to get the available networks. R On Thu, Mar 21, 2013 at 3:37 AM, Gaurav Wable gswa...@gmail.com wrote: Dear all, I tried to get the

[android-developers] Re: How to get Wifi Access Point data + MTU on the Wifi interface

2013-03-21 Thread tom
I was able to get the NetworkInterface by parsing the file /proc/net/wireless and get the correct interface name ( it is different on diffrent devices) and then get the network interface object then use it for the MTU so problem 2 is solved , Does anyone have an idea for problem 1? On

Re: [android-developers] Android 4.2.2: IndexedDB support in WebView

2013-03-21 Thread Harri Smått
Hi, According to this table there is no support for IndexedDB in Android browser; http://caniuse.com/indexeddb -- Harri On Mar 21, 2013, at 7:23 PM, bardu bard...@gmail.com wrote: What is the state of support for IndexedDB in Android 4.2.2? Is there any support in WebView? If not, is there

Re: [android-developers] Android 4.2.2: IndexedDB support in WebView

2013-03-21 Thread bardu
Hi, yes, I know, but it is not always up-to-date. This document recommends IndexedDB support in WebView, see section 3.4.1: http://static.googleusercontent.com/external_content/untrusted_dlcp/source.android.com/en//compatibility/4.2/android-4.2-cdd.pdf Stephan On Thursday, 21 March 2013

Re: [android-developers] Android Games SDK?

2013-03-21 Thread bob
FWIW, AndEngine has its own book: * http://www.amazon.com/AndEngine-Android-Game-Development-Cookbook/dp/184951898X/ * I bought the Kindle version, but I haven't gotten around to reading it much yet. On Wednesday, March 20, 2013 8:09:26 AM UTC-5, Spooky wrote: On Wed, Mar 20, 2013 at

[android-developers] SlidingDrawer

2013-03-21 Thread Pedro Cortez
Has Anyone used sliding drawer before? I'm using , but when i click on handler the content sliding bottom up, but i want the opposite. I like to have my handler at top and when i click on that my content sliding top down. Anyone knows? -- att, Pedro Cortez -- -- You received this message

[android-developers] Re: Retreive Special characters from sqlite files.

2013-03-21 Thread lbendlin
have you tried searching the web for sqlite unicode? On Thursday, March 21, 2013 8:45:29 AM UTC-4, Seshu wrote: Hi All, I am doing a small dictionary app and the data is in sq-lite file. when i search the keyword then corresponding words ll showing in a list view. in my database i

[android-developers] MediaMetadataRetriever extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE) gets null

2013-03-21 Thread Marty Rehder
I'm trying to retrieve the MP3 tags from some music files I set up the folder and path to the file and set thet data source to extract metadata. However, I'll getting null for just about all tags. I get the proper duration and bitrate, so I know I'm getting to the right file, and I can even

Re: [android-developers] SlidingDrawer

2013-03-21 Thread TreKing
On Thu, Mar 21, 2013 at 2:50 PM, Pedro Cortez pedro.fellipe.cor...@gmail.com wrote: Anyone knows? Try this first: http://lmgtfy.com/?q=android+slidingdrawer+top+to+bottom - TreKing

[android-developers] MediaMetadataRetriever extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE) gets null

2013-03-21 Thread Marty Rehder
I'm trying to get mp3 tags from some music files MediaMetadataRetriever mmr = new MediaMetadataRetriever(); File filenm = new File(path, availableFiles[0]); mmr.setDataSource(showFileActivity.this,Uri.fromFile(filenm)); String column =

Re: [android-developers] SlidingDrawer

2013-03-21 Thread Pedro Cortez
i've already tried, i find something, it works http://blog.sephiroth.it/2011/03/29/widget-slidingdrawer-top-to-bottom/ but you helped a lot On Thu, Mar 21, 2013 at 5:33 PM, TreKing treking...@gmail.com wrote: On Thu, Mar 21, 2013 at 2:50 PM, Pedro Cortez pedro.fellipe.cor...@gmail.com

Re: [android-developers] SlidingDrawer

2013-03-21 Thread Nathan
Has anyone figured out how to make it open partially - ie not snap open all the way? I have not seen an example of that and some of things that I have tried have had weird and undesirable effects. Nathan -- -- You received this message because you are subscribed to the Google Groups

[android-developers] How to solve the issue with Dalvik compiler limitation on 64K methods?

2013-03-21 Thread Ricardo Amaral
My team and I have inherited a large Android project from another team. The whole application with all the included libraries is reported to have around 35000 methods. We now have the task to implement a new service in the app where we need to use Protocol Buffers. The problem is that the

[android-developers] Re: Preferred coding style to reference internal Android resources?

2013-03-21 Thread Ricardo Amaral
Anyone? On Wednesday, January 11, 2012 3:16:49 PM UTC, Ricardo Amaral wrote: When referencing internal Android resources in my app (mostly in a *parent *attribute of a *style *element, haven't really tested anywhere else) I see different examples: Option 1) style name=NotificationTitle

Re: [android-developers] How to solve the issue with Dalvik compiler limitation on 64K methods?

2013-03-21 Thread Mark Murphy
ProGuard should get rid of many of the protobuf methods. http://stackoverflow.com/questions/15508477/android-my-application-is-too-large-and-gives-unable-to-execute-dex-method-id On Thu, Mar 21, 2013 at 6:51 PM, Ricardo Amaral mas...@ricardoamaral.net wrote: My team and I have inherited a large

[android-developers] Relates to In App Billing, is it possible to get the currency code back from a purchase?

2013-03-21 Thread sammiwei
I have searched around, Found serval places talking about it but without the answer I am looking for. My question is when a user purchased an item from google play, after the transaction is done, I would call startIntentSenderForResult and get the purchase data back. Someone on

[android-developers] Re: How to get other/neighbouring GSM operator's name (at my location)

2013-03-21 Thread Gaurav Wable
I Think... the only task remaining is USE CID TO FIND THE NAME. How can CID (Cell ID) be used to get Network operator's (Service Provider's) name. On Thursday, 21 March 2013 16:07:03 UTC+5:30, Gaurav Wable wrote: Dear all, I tried to get the list of all GSM networks available at

[android-developers] Re: Retreive Special characters from sqlite files.

2013-03-21 Thread Seshu
Hi, Thanks for the reply. i searched in Google regarding select statement for retrieving uni-code characters but unfortunately i didnt got any query. can u post a sample query how to retrieve such type of unicode characters.. Thanks and Regards, S.Seshu. On Mar 22, 1:25 am, lbendlin

[android-developers] Translate Animation doesn't work with samsung's S3

2013-03-21 Thread Ansh
Hi guys , i am doing translate animation where i need to move my view( which is at the center of the screen ,but not exactly ) upward so that it can fit to the container placed 9dp from top.I have figured it out that if i translate view from 0%p to 52%p it will exactly fit the in the container