[android-developers] Android shared preference via JNI

2013-05-21 Thread Mr cool
in my android application in need to access the shared memory between the two application ,i knew android kernel is not like Linux kernel to implement the shared memory concept ,so i have choosen the shared preference in android but i need to implement this via JNI not in java part i have

[android-developers] ISO 8583 Implementation

2013-05-21 Thread Krishna Mahadik
Hi Guys, I am starting working on ISO 8583 messaging for mobile application payment transaction. I have found http://j8583.sourceforge.net/index.html , using j8583-1.7.0.jar My questions are : 1. Am I on right track ? 2. I am looking for an example or an article which will guide me to learn:

[android-developers] Re: Donwloadin incomplete file

2013-05-21 Thread Piren
Sometimes i see your responses and wonder if you're responding to the same topic or something completely different... On Monday, May 20, 2013 10:48:00 PM UTC+3, bob wrote: Actually, I was looking at your code some more, and *I would want to know the URL you are downloading from* to get a

[android-developers] Re: Dispalying PDF files within a tablet application

2013-05-21 Thread Kromosome
What's wrong with https://github.com/jblough/Android-Pdf-Viewer-Library#readme ? On Sunday, May 12, 2013 1:33:23 AM UTC+10, Simon Giddings wrote: I have seen that this topic has been raised a number of times over the last few years. I am surprised that Google has not thought of adding a

[android-developers] Re: Some tablets marked as Incompatible in Play Store, but not in Developer Console

2013-05-21 Thread Rudolf Hornig
Probably those users set a custom DPI on their tablet? ask them. This is a common reason for such a case. On Monday, 20 May 2013 21:15:43 UTC+2, jjbunn wrote: I don't think it has anything to do with the 2.2 build (what makes you think it does?) as I already tried a version targeting 4.0 and

[android-developers] Re: Some tablets marked as Incompatible in Play Store, but not in Developer Console

2013-05-21 Thread Rudolf Hornig
Oh and probably you need to provide the supports-screen element in your manifest and declare explicitly the tablet support: supports-screens android:resizeable=true android:normalScreens=true android:anyDensity=true android:largeScreens=true android:smallScreens=true

Re: [android-developers] ListView with selected state does not work when list item view has a background

2013-05-21 Thread Miha Valencic
On Tue, May 21, 2013 at 12:11 AM, Miha Valencic miha.valen...@gmail.com wrote: In this case, which is the correct state? I now see that state_activated works as expected, though as Kostya mentions, it is API Level 11 and beyond. Is there an alternatvive for API level 10? So... I've implemented

Re: [android-developers] Re: Donwloadin incomplete file

2013-05-21 Thread Rahul Kaushik
yes am searching for the= sign and i have set both the permissions but same result Thanks On Tue, May 21, 2013 at 1:18 AM, bob b...@coolfone.comze.com wrote: Actually, I was looking at your code some more, and *I would want to know the URL you are downloading from* to get a better idea of

Re: [android-developers] Doc File in WEbview

2013-05-21 Thread Rahul Kaushik
i googled it and i found Google doc viewer for this http://stackoverflow.com/questions/12797651/how-to-open-excel-doc-files-in-webview-in-android but it opens empty doc viewer. Please suggest Thanks On Mon, May 20, 2013 at 8:05 PM, Justin Anderson magouyaw...@gmail.comwrote: Not very

[android-developers] Retiring Google Checkout

2013-05-21 Thread reaktor24
https://support.google.com/checkout/sell/answer/3080449 What does this mean for new Google Checkout accounts like mine. I only verified my merchant account today. Looks like yesterday (May 20th 2013) was the last day to sign up for Google Checkout so what happens now. Should I use the current

[android-developers] how to change background tab button on click

2013-05-21 Thread Sadhna Upadhyay
Hi friends can some one tell me how to change tab background on click -- -- 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] OpenMAL-AL based app in Ginger bread

2013-05-21 Thread vigneshwaran s
Hi, I'm trying to develop android app, in gingerbread using OpenMAX-AL.Basically openMAX-AL library not supporatable in GingerBread.So im using the openmax-al libray from ics (by building source).I able to compile my sample application using that library without error after installing in

[android-developers] Re: how to change background tab button on click

2013-05-21 Thread vigneshwaran s
In layout/main.xml : Button android:id=@+id/original android:background=@drawable/sample android:text=Original / create the sample.xml inside drawable directory paste the following code and copy 2 images to drawable directory with name color_1 and color_2: ?xml

Re: [android-developers] Re: What happens with the registered broadcast receivers after the application is killed?

2013-05-21 Thread Heila van der Merwe
Hi, Can somebody explain what happens to my broadcast receiver after the application is evicted from memory? If the BroadcastReceiver is dynamically registered by the Service, it will not be leaked if you make sure it is unregistered when the Service is destroyed. After the Service is

[android-developers] Re: attach remoteviews from service to viewgroup inside activity (not widget)

2013-05-21 Thread miten
Hi Piren, My apologies. I had read the docs exactly understood that apply does not add. But that was my question as to how to add and I could not understand from your reply that resultant view needs to be added back into viewgroup. I have exactly what you suggested and it works fine now.

[android-developers] Re: Retiring Google Checkout

2013-05-21 Thread reaktor24
*ATTENTION: On November 20, 2013, Google Checkout will no longer be supported. Sellers of digital goods on Google (Google Play, Chrome Web Store, Offers Marketplace and Google Wallet for digital goods) will automatically transition to Google Wallet and will not be impacted.* * * * * So I guess

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-21 Thread plnelson
I don't expect it to be reproducible unless you had my entire project and all its settings. This is a large (~20 Activities) industrial-control app. Think of the question as How do I debug a Resources.NotFoundException? or What EXACTLY does a Resources.NotFoundException mean? My IDE is

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-21 Thread plnelson
On Monday, May 20, 2013 5:48:03 PM UTC-4, Jonathan S wrote: clean remove all gen and bin folders. As I said in my OP did deleted the gen folder. I also deleted the bin folder. Everything has been cleaned and rebuilt. Would you post all stacktrace for this exceptions? Here's the

Re: [android-developers] Re: Donwloadin incomplete file

2013-05-21 Thread bob
What is the URL you are downloading from? Thanks. On Tuesday, May 21, 2013 4:45:44 AM UTC-5, rahul kaushik wrote: yes am searching for the= sign and i have set both the permissions but same result Thanks On Tue, May 21, 2013 at 1:18 AM, bob b...@coolfone.comze.comjavascript: wrote:

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-21 Thread Piren
Just to be sure... open the Eclipse Console and do a Clean on the project.. see if there are any errors showing during the build (these do not show in the Problems view) Sometimes something very stupid (like having capital letters in resource names) causes the entire build to fail, but the

[android-developers] Re: Some tablets marked as Incompatible in Play Store, but not in Developer Console

2013-05-21 Thread bob
I agree that *it probably does not have to do with the 2.2 build*. I was having the same problem and was using the 2.2 build. However, I switched from 2.2 to 4.2 SDK, and this did not remedy the problem. However, I was able to sort of remedy the problem by setting minSdkVersion=15

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-21 Thread bob
I bet it is looking for the resource in a directory called layout-somethingweird, and it's not there. What are the names of all your folders that start with layout? Do they all contain the resource in question? For instance, you might say: *layout-large* *layout-small* *layout-medium *

[android-developers] Problem with layout_above in conjunction with layout_alignBaseline

2013-05-21 Thread Dusk Jockeys Android Apps
I have a layout issue which it seems should be simple to do in a RelativeLayout. I have a view A, and a view B which is aligned to A's baseline, and aligned to the right of the parent. B appears correctly. Then I want a view C to be directly above B, and also aligned to the right of the

[android-developers] Re: Keep app from restarting when touching icon from Home screen

2013-05-21 Thread Dori
I think this is an Android bug. I have seen this so many times on differnt devices (more frequently on older ones). Common pattern is more often than not tapping the app icon as normal will launch the MAIN LAUNCHER activity on the top of the existing stack but occasionally will resume - i see

[android-developers] fatal errors

2013-05-21 Thread bob
I've been contemplating fatal errors. Back in the DOS days, I would just print them out and exit the program. This was often adequate because you could instantly see what had happened. However, with Android, when your program exits, nothing from it is left on the screen. Any ideas as to

[android-developers] Re: OpenMAL-AL based app in Ginger bread

2013-05-21 Thread bob
Is this file present in your jni directory? *libnative-media-jni.so* Thanks. On Tuesday, May 21, 2013 6:25:43 AM UTC-5, vigneshwaran s wrote: Hi, I'm trying to develop android app, in gingerbread using OpenMAX-AL.Basically openMAX-AL library not supporatable in GingerBread.So im using

Re: [android-developers] apkbuilder was deleted, how to replace it?

2013-05-21 Thread Felipe Monteiro de Carvalho
Hello, It would be great if it could be added back, or something equivalent, because otherwise from what I see then I will have to write a program to zip the parts, which adds to the complexity of the build system. The build system so far was very nice, everything could be done with 1 single

[android-developers] Re: Problem with layout_above in conjunction with layout_alignBaseline

2013-05-21 Thread Piren
I'm not too sure why this is happening... i'm guess that alignBaseline affects measuring differently and causes a cyclic dependency (Romain?) Try changing the relationships so you'll define A and B Below C instead, since C has a constant location anyhow. Also if your View hierarchy isnt too

[android-developers] Re: fatal errors

2013-05-21 Thread Piren
set the default uncaught exception handler, use it to launch your app with an intent/pendingintent that has the stacktrace, then use that activity to show the stacktrace. On Tuesday, May 21, 2013 6:23:41 PM UTC+3, bob wrote: I've been contemplating fatal errors. Back in the DOS days, I

[android-developers] Re: Android In App Billing version 3. Querying for Purchased Items returned null information

2013-05-21 Thread Kapil Lokhande
hello abdul, did you got solved this problem? i am also facing this issue with my app. please let me know how i can solve this problem. thanks kapil On Sunday, 10 March 2013 12:20:53 UTC+1, md abdul gafur (Bangladesh) wrote: After purchased product , i am try to get Purchased Items

[android-developers] Re: fatal errors

2013-05-21 Thread RichardC
ACRA see: http://acra.ch/ https://groups.google.com/forum/?fromgroups#!forum/acra-discuss On Tuesday, May 21, 2013 4:45:09 PM UTC+1, Piren wrote: set the default uncaught exception handler, use it to launch your app with an intent/pendingintent that has the stacktrace, then use that activity

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-21 Thread plnelson
There's no activity at all in the Console window during the clean and build. Only after I right-click on the target device (a tablet) and do a debug as... do I get console output (proprietary company and product names obfuscated) [2013-05-21 13:02:50 - TheProduct]

[android-developers] Google Drive Cache storage location

2013-05-21 Thread vgokila
In Google Drive, we have an option to increase the cache size (Default 50 MB) for the files to be cached. However we could see that only if we mark the file as available for Offline, its getting encrypted and stored in the following external storage location

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-21 Thread plnelson
* BINGO!* The missing layout file was in the wrong res folder. This app runs on a tablet and is constrained to run in landscape only so everything is supposed to be in layout-land but the missing file was in a different res folder. *Thank you!* ( is there a point system on this forum where

Re: [android-developers] ListView with selected state does not work when list item view has a background

2013-05-21 Thread Kostya Vasilyev
Miha, On Tuesday, May 21, 2013 12:57:38 PM UTC+4, Miha wrote: Kostya, how do you handle checked states then? I see two possible solutions: 1) in OnItemClickListener, call adapter.setChecked(position), which sets the checked item position and then calls notifyDataSetChanged() 2) in

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-21 Thread plnelson
PS - This bug was driving me crazy.I'll be at AndDevCon next week in Boston, so Bob, if by any chance you'll be there I'll buy you a beer. -- -- 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] Google drive Encryption and Decryption

2013-05-21 Thread vgokila
Google drive provides an option of Encryption and Decryption of offline files in mobile app. Can anyone update what is the decryption mechanism used to decrypt the files since for large files decrypting it every time will be time consuming. -- -- You received this message because you are

[android-developers] Android Studio - Project Tree divergence from core platform tools ( is crazy !)

2013-05-21 Thread Sanjay Mishra
I was baffled to find that a new Android Project created via Android Studio creates a project tree (on the file system) which shows significant divergence from the standard android project tree defined in the Android sdk documentation. One of the greatest attributes of the Android project

Re: [android-developers] Android Studio - Project Tree divergence from core platform tools ( is crazy !)

2013-05-21 Thread Tor Norbye
This is done as part of the new build system -- here's the talk from Google I/O last week: http://www.youtube.com/watch?v=LCJAgPkpmR0 On Tue, May 21, 2013 at 11:56 AM, Sanjay Mishra smit...@gmail.com wrote: I was baffled to find that a new Android Project created via Android Studio creates

Re: [android-developers] Android Studio - Project Tree divergence from core platform tools ( is crazy !)

2013-05-21 Thread Sanjay Mishra
I certainly agree with the concepts in this video IO/session, and appreciate the feature of the new build system However, my question is about : 1) the standard android project tree (and changes or abandonment thereof) , which this presentation does not mention... 2) the project tree

Re: [android-developers] Android Studio - Project Tree divergence from core platform tools ( is crazy !)

2013-05-21 Thread Tor Norbye
Android Studio, and the new build system, are both previews only (the version number for Studio is 0.1, the build system is at version 0.4). When it gets closer to release, both the documentation, and command line tools, will be brought up to date. On Tue, May 21, 2013 at 12:56 PM, Sanjay Mishra

[android-developers] revision 17 of the Android SDK Tools NoClassDefFoundError

2013-05-21 Thread Daniel Rindt
Hi, after upgrading to revision 17 of the sdk tools i got in my project NoClassDefFoundError. The missed class is not in a library in that case. They reside in the same package as the class initially started from launcher. And this is found well. I used dexdump to ensure this class is really

Re: [android-developers] ListView with selected state does not work when list item view has a background

2013-05-21 Thread Miha Valencic
Hi Kostya! On Tue, May 21, 2013 at 8:37 PM, Kostya Vasilyev kmans...@gmail.com wrote: I call setChecked directly, because my checkbox tracking is in the same layout (although it's not a checkbox) To track selected items (for getView to do the right thing during scrolling, and to know what

[android-developers] Re: Android shared preference via JNI

2013-05-21 Thread bob
Why would you *need* to implement that via JNI? The obvious solution is to just use Java. Thanks. On Tuesday, May 21, 2013 1:34:08 AM UTC-5, Mr cool wrote: in my android application in need to access the shared memory between the two application ,i knew android kernel is not like Linux

Re: [android-developers] Google drive Encryption and Decryption

2013-05-21 Thread Nikolay Elenkov
On Wed, May 22, 2013 at 3:41 AM, vgokila vgok...@gmail.com wrote: Google drive provides an option of Encryption and Decryption of offline files in mobile app. Can anyone update what is the decryption mechanism used to decrypt the files since for large files decrypting it every time will be

[android-developers] Exclude files from classpath when building with Ant

2013-05-21 Thread Deepwinter
In Eclipse I have some sources that I exclude from the classpath. When I compile with Ant, however, using 'ant release' I get build errors because these files are not being excluded. How can I exclude files from the classpath when building with ant ? The following line is included in

Re: [android-developers] revision 17 of the Android SDK Tools NoClassDefFoundError

2013-05-21 Thread TreKing
On Tue, May 21, 2013 at 3:25 PM, Daniel Rindt daniel.ri...@gmail.comwrote: So i don't know to investigate that error deeper and need assistance for that. Do a Google search for the exact phrase you used for this topic.

[android-developers] Re: onLongClickListener is driving me batshit crazy

2013-05-21 Thread Mind
Figured this out. Updating a TextView's text rapidly (more than 2 times/sec) will break ANY ListView Adapter's onLongClickListener in some other part of the layout. If I ever find the Android developer responsible for that one.. -- -- You received this message because you are subscribed

[android-developers] Re: onLongClickListener is driving me batshit crazy

2013-05-21 Thread Mind
Filed : 55676 https://code.google.com/p/android/issues/detail?id=55676 On Tuesday, May 21, 2013 11:35:57 PM UTC-4, Mind wrote: Figured this out. Updating a TextView's text rapidly (more than 2 times/sec) will break ANY ListView Adapter's onLongClickListener in some other part of the layout.