[android-developers] Security lock replacement

2013-02-22 Thread galapogos
Hi, Is it possible to create a lockscreen replacement at the application level that replaces the device's security lock, whether it be PIN, passphrase, pattern or face unlock, or potentially a new method? I know it's possible in the framework level, and have done it before, but I'm just

Re: [android-developers] Re: why can't MediaPlayer access data via AssetFileDescriptor created by ContentProvider?

2013-02-22 Thread Latimerius
Thanks for your reply, I appreciate it. I know and have implemented the basic approach to sharing assets between separate applications. It works just fine for PNGs, XMLs etc. However, a specific problem comes up if you want to use the AssetFileDescriptor returned by openAssetFile() as a data

[android-developers] Draw 2d circle ontouch android

2013-02-22 Thread Numair Qadir
Hi! Greetings! I'm working in onTouch method to draw a circle, what i'm trying is to draw a circle when user draws on the screen, without using any fixed radius. Radius should calculate from the distance. I've tried but it is not drawing what i want. Here is my code @Override public boolean

Re: [android-developers] loading SharedPreferences in Fragment

2013-02-22 Thread Marcelo Corvezola
Thank for the reply guys, regarding the link that where I got this SharedPreferences sp = this.getActivity().**getSharedPreferences(** CHECKBOX, 0); I've been going over the documentation trying to figure it out Saving Key-Value Sets | Android

Re: [android-developers] Re: why can't MediaPlayer access data via AssetFileDescriptor created by ContentProvider?

2013-02-22 Thread skink
Latimerius wrote: Thanks for your reply, I appreciate it. I know and have implemented the basic approach to sharing assets between separate applications. It works just fine for PNGs, XMLs etc. However, a specific problem comes up if you want to use the AssetFileDescriptor returned by

[android-developers] AlertDialog in Fragment

2013-02-22 Thread abhijit
Hii My Question is I am Using ViewPager for my Application in which number of fragments are there .In one Fragment i have two buttons,my objective is that by clicking each button it should show a AlertDialog here i am getting stuck because here i cant use onCreateDialog(int id) to pass

[android-developers] ViewPager using FragmentPagerAdapter remove invisible pages from memory

2013-02-22 Thread Captain Comando
hi, i am developing an application which has view pager that includes 5 different fragments. Each fragment has many views, animations and listeners so my app runs slower. When i add only first second and third pages there is no problem but after adding others performance problem starts. I

[android-developers] Re: AlertDialog in Fragment

2013-02-22 Thread abhijit
On Friday, February 22, 2013 2:58:35 PM UTC+5:30, abhijit wrote: Hii My Question is I am Using ViewPager for my Application in which number of fragments are there .In one Fragment i have two buttons,my objective is that by clicking each button it should show a AlertDialog here i am

Re: [android-developers] Re: why can't MediaPlayer access data via AssetFileDescriptor created by ContentProvider?

2013-02-22 Thread skink
On Friday, February 22, 2013 10:01:56 AM UTC+1, latimerius wrote: Thanks for your reply, I appreciate it. I know and have implemented the basic approach to sharing assets between separate applications. It works just fine for PNGs, XMLs etc. btw could you post four openAssetFile

Re: [android-developers] Debugging beta apps

2013-02-22 Thread Kevin Gaudin
Hi, I am the first one troubled by the change in Google Forms and discontinuing its use as a backend for ACRA's reports. Using these Forms was the single original idea at the root of the project. Now, as it is some sort of hack, I have always been wondering about how long it would be possible

[android-developers] Picasaweb Service is not working.

2013-02-22 Thread Milind
Hi All, I am trying to synchronize Picasa albums photos from my project. I have following code that is giving me error. PicasawebService myService = new PicasawebService(Main.class.getName()); This line is giving me following error. 02-22 20:56:57.437: E/AndroidRuntime(1529):

Re: [android-developers] Picasaweb Service is not working.

2013-02-22 Thread Asheesh Arya
Put your all jar file in project direcory folder name lib. -- -- 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: why can't MediaPlayer access data via AssetFileDescriptor created by ContentProvider?

2013-02-22 Thread Latimerius
On Fri, Feb 22, 2013 at 11:53 AM, skink psk...@gmail.com wrote: btw could you post four openAssetFile method? I removed it in the meantime from my code base, plus there was a lot of unrelated leftovers from other tests, but if I reconstruct the substantial parts it was along the lines of:

[android-developers] Re: First day w/ android dev, have a few questions

2013-02-22 Thread bob
It sounds like you need to unlock your Android virtual device with a swipe of the mouse. Thanks. On Sunday, February 3, 2013 5:28:03 PM UTC-6, justaguy wrote: Hi, Ok, I developed a first app for entering a msg and then display it following a tutorial with ADT on Windows 7.

Re: [android-developers] Backup Manager not working on HTC Desire running Android 2.2

2013-02-22 Thread Amy Phillips
Hello! Thank you for your help - I reckon that backup is just not available on the standard install on my phone, so that's why it doesn't work. I've tested on another device and all works perfectly. What a good excuse to invest in a Nexus 10! :) As a side note, my SD card is still available

[android-developers] Re: Draw 2d circle ontouch android

2013-02-22 Thread Nobu Games
Alright, let's try to help you again. First of all your problem is as follows: 1. On first touch (ACTION_DOWN) you determine the center point C of the circle. 2. While moving the finger you determine the radius of the circle by measuring the distance from the center point C to the current move

Re: [android-developers] Security lock replacement

2013-02-22 Thread Kristopher Micinski
It is not possible to do this at the app level, unfortunately. Kris On Fri, Feb 22, 2013 at 12:59 AM, galapogos gois...@gmail.com wrote: Hi, Is it possible to create a lockscreen replacement at the application level that replaces the device's security lock, whether it be PIN, passphrase,

Re: [android-developers] Re: why can't MediaPlayer access data via AssetFileDescriptor created by ContentProvider?

2013-02-22 Thread skink
Latimerius wrote: On Fri, Feb 22, 2013 at 11:53 AM, skink psk...@gmail.com wrote: btw could you post four openAssetFile method? I removed it in the meantime from my code base, plus there was a lot of unrelated leftovers from other tests, but if I reconstruct the substantial parts it

[android-developers] Re: Box2d on Android

2013-02-22 Thread bob
I guess that is a red herring. I think people must be using JBox2d. Here's a quick test I wrote in case it helps anyone: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Vec2 gravity = new Vec2(0, -10);

Re: [android-developers] Re: why can't MediaPlayer access data via AssetFileDescriptor created by ContentProvider?

2013-02-22 Thread Latimerius
On Fri, Feb 22, 2013 at 5:02 PM, skink psk...@gmail.com wrote: as I can see your data source is some asset. in this case you don't have to use a pipe: my code I sent a link to is enough to play with MediaPlayer Excellent, you're right, this works! Sorry I missed this while reading your

[android-developers] Re: Android socket timeouts

2013-02-22 Thread bob
I think that works well. Thanks. On Friday, February 22, 2013 1:14:59 AM UTC-6, Tamilarasi Sivaraj wrote: Hi bob, The Following link is help to you...This is got how to time out the socket like this, *Socket socket = new Socket(ip_address, 31000);* So try this,

[android-developers] Re: Android socket timeouts

2013-02-22 Thread Lew
bob wrote: I'm doing TCP, not UDP. Also, it is not HTTP. I want to set the timeout for something like this: *Socket socket = new Socket(ip_address, 31000);* Always reach for the Javadocs first, bob. http://developer.android.com/reference/java/net/Socket.html Specifically,

[android-developers] Re: Multi-Page Form with Fragments and Tabs

2013-02-22 Thread Evan Ruff
So I ended up implementing this by putting the switching logic in onBackPressed(); E On Thursday, February 14, 2013 6:28:54 AM UTC-5, Evan Ruff wrote: Hey guys, I was hoping someone could give me a little insight as to how I can make my multi-page form work a little better. Currently,

Re: [android-developers] Re: Android AppEngine SSL Weirdness

2013-02-22 Thread Evan Ruff
Hey guys, I've been getting some additional SSL I/O errors as well: javax.net.ssl.SSLException: Read error: ssl=0x5e2727d8: I/O error during system call, Connection timed out at org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_read(Native Method) at

[android-developers] [Android 2.3.5] SoundPool native code crash during playback

2013-02-22 Thread Nobu Games
I'm currently developing a game that makes use of SoundPool and OpenGL for rendering 2D sprites. I just encountered for the first time a native library crash while testing it for a bit. The log looks like as follows: 02-22 17:04:28.105: I/DEBUG(86): *** *** *** *** *** *** *** *** *** *** ***

[android-developers] When change reminder on calendar event, it changes event id!

2013-02-22 Thread don rhummy
I am trying to write some code that can tell if the reminders on an event were changed (either one added or removed) but I'm getting a weird occurrence. Instead of the reminder being removed or altered, it appears the event is being removed and re-added! Is my code incorrect? Or is this what's

[android-developers] Is it possible to do a query that joins the Events and Reminders tables?

2013-02-22 Thread don rhummy
I want to do a query that joins the Events.CONTENT_URI and Reminders.CONTENT_URI tables into one query. Is this possible? -- -- 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: Is it possible to do a query that joins the Events and Reminders tables?

2013-02-22 Thread Nobu Games
Short answer: no unless there is a special data view provided by CalendarContract that provides this feature (I do not know about that). Long answer: as I understand the design decisions behind the Android ContentProvider, it is meant to be data source backend-neutral. An implementation of a

Re: [android-developers] Picasaweb Service is not working.

2013-02-22 Thread Milind
Thanks for reply but this way also not working same error... referring other articles included activation.jar and mail.jar but still same problem Following image is my project directory structure and red boxes consist of jar files...

Re: [android-developers] Re: why can't MediaPlayer access data via AssetFileDescriptor created by ContentProvider?

2013-02-22 Thread skink
Latimerius wrote: On Fri, Feb 22, 2013 at 5:02 PM, skink psk...@gmail.com wrote: as I can see your data source is some asset. in this case you don't have to use a pipe: my code I sent a link to is enough to play with MediaPlayer Excellent, you're right, this works! Sorry I

[android-developers] Android updated zip not working

2013-02-22 Thread Mr cool
I need to push some .so files in android system directory such as system/lib and system/bin so I wrote updated-script in android and also I signed my zip, I did the following manner working directory system lib my.so I am using updated