Re: [android-developers] Media Player full screen like youtube

2012-07-06 Thread TreKing
On Fri, Jul 6, 2012 at 12:24 AM, master revanth.andr...@gmail.com wrote: I there any API to make full screen mediaplayer. Try this first: http://lmgtfy.com/?q=android+set+fullscreen - TreKing

Re: [android-developers] adding media controoler in audio

2012-07-06 Thread HideCheck
Hi You must make your custom controller for the media player does not exist Thanks 2012/7/5 Sadhna Upadhyay sadhna.braah...@gmail.com: Hi, but i dont want to use video On Thu, Jul 5, 2012 at 11:59 AM, HideCheck hidech...@gmail.com wrote: Hi Sadhna As you can see. VideoView

Re: [android-developers] Re: call method after every 5 min

2012-07-06 Thread Rahul Kaushik
Now this comes up :( From Base Class on Some Method Intent myIntent = new Intent(this, TimeAlarm.class); PendingIntent pendingIntent = PendingIntent.getService(this, 0, myIntent, 0); AlarmManager alarmManager = (AlarmManager)getSystemService(ALARM_SERVICE); Calendar calendar =

Re: [android-developers] Re: HELP! Google removed my app with millions of users!

2012-07-06 Thread Michael Schollmeyer
If you are using AdMob, you could try to contact their support. They are losing money when your app is down and they might have a natural interest to get it up and running again. You are also more likely to find a contact person at AdMob. On Tuesday, July 3, 2012 10:39:57 PM UTC+2, CVP wrote:

[android-developers] How to use offline map in my Application.

2012-07-06 Thread Remo
Hi All, In Android, how to use offline map in my Application. Thanks Remo -- 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] Enable and disable GPS programatcally

2012-07-06 Thread dharmendra.sah...@gmail.com
Hi All, I want to enable and disable GPS programatically. for that we are using private void turnGPSOn(){ String provider = Settings.Secure.getString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED); if(!provider.contains(gps)){ //if gps is disabled final

Re: [android-developers] Re: Adding custom enum states to an ImageButton

2012-07-06 Thread Dianne Hackborn
Then write your own custom Drawable subclass that does what you want. On Thu, Jul 5, 2012 at 10:04 PM, lianyu li ice...@gmail.com wrote: But sometimes it's really not enough to express states only with booleans, actually I have the same issue with Nick, that is adding custom states in a list

[android-developers] How to get default emergency dialer

2012-07-06 Thread dharmendra.sah...@gmail.com
Hi All, In my application i want to call emergency number that 911 in USA. For that we are using below code. Its is opening default dialler screen. other than 911 call is going private void call() { try { Intent callIntent = new Intent(Intent.ACTION_CALL); //Intent callIntent = new

[android-developers] WEEK selection of day

2012-07-06 Thread jagadeeshbabu
Hi Iam doing n task week selection of the day ,how can be possible to do this,Any guide lines please In that calendar done, with previous month and next month done. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Single Database for two application

2012-07-06 Thread Rajis
Hi All I have one requirement here, I have two apps APP1 and APP2. I'm created the SQLite Database Hello.db in APP1. I want use the same DB Hello.db in APP2 like creating the table and inserting the values. I search more in google but didn't got a correct solution. Is it possible. Share your

[android-developers] (WTA) use color picker in activity

2012-07-06 Thread Alfa
hi every one, i want to ask about color pikcer. want to select a collor and use it to paint my text. i already read this article http://code.google.com/p/android-color-picker/. but i dont get it clearly. can someone help me. thanks. -- You received this message because you are subscribed to

Re: [android-developers] Bitmap.createBitmap to make an immutable copy of subregion, changes bitmap config on 2.2?

2012-07-06 Thread Olof Hedman
Thanks for confirming. Do you know where I can find information on when it was fixed? Ideally I'd like to only use the workaround when its needed. Cheers, Olof On Thursday, July 5, 2012 7:29:49 PM UTC+2, Romain Guy (Google) wrote: It's an unfortunate bug that was fixed in 3.x or 4.x. On Jul

Re: [android-developers] Single Database for two application

2012-07-06 Thread rambabu mareedu
you can share your database between multiple applications by using ContentProviders concept in android , search content providers in google you will find solution -- Regards Rambabu Mareedu 9581411199 -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Bitmap.createBitmap to make an immutable copy of subregion, changes bitmap config on 2.2?

2012-07-06 Thread Romain Guy
I just checked the git history and the bug was fixed in Android 3.0. On Fri, Jul 6, 2012 at 1:33 AM, Olof Hedman o...@illusionlabs.se wrote: Thanks for confirming. Do you know where I can find information on when it was fixed? Ideally I'd like to only use the workaround when its needed.

[android-developers] Re: Color Picker Preference

2012-07-06 Thread Alfa
in dont realy get it. can u explaint more? or a litle sample code maybe. because i need color picker. thanks. On Friday, March 12, 2010 11:39:16 PM UTC+7, Yougli wrote: Hi, I've been looking for a way to add a color picker to my application's preferences. I've found the ColorPickerDialog

Re:: [android-developers] Re: Color Picker Preference

2012-07-06 Thread Kostya Vasilyev
There is a nice color picker on Google Code called AmbilWarna. Converting it to a Dialog preference is trivial, start by subclassing :) 06.07.2012 13:04 пользователь Alfa 672008...@student.uksw.edu написал: in dont realy get it. can u explaint more? or a litle sample code maybe. because i need

[android-developers] Alaram Manager after 5 min

2012-07-06 Thread Rahul Kaushik
I need to call notification manager after ever 5 min Main Activity Calendar cal = Calendar.getInstance(); //for using this you need to import java.util.Calendar; // add minutes to the calendar object //cal.set will set the alarm to trigger exactly at: 21:43, 5 May 2011 //if you want to

[android-developers] Easy and fast String obfuscation?

2012-07-06 Thread Francisco M. Marzoa Alonso
Hi there, I am looking for a way to obfuscate some strings in a way that they may be unobfuscated later. The point is that my app -a casual game- will take some lines from a file on an http server, and I do not want to have it as readable plain text. Please, note that I do not care if a user

Re: [android-developers] How to use offline map in my Application.

2012-07-06 Thread Mark Murphy
On Fri, Jul 6, 2012 at 3:38 AM, Remo crajesh2...@gmail.com wrote: In Android, how to use offline map in my Application. Step #1: Find a provider of offline maps (e.g., OpenStreetMap) Step #2: Find an Android library that uses that provider (e.g., OSMDroid) Step #3: Read the documentation for

[android-developers] Re: Easy and fast String obfuscation?

2012-07-06 Thread Francisco M. Marzoa Alonso
Hi, JFTR, I have find a good implementation of the Rot13 algorithm for Java that is perfect for my needs with just slights modifications on the character mapping to add Spanish ones. And I think it will be easy to implement the same in PHP also. Though PHP has his own rot13 but it uses just

Re: [android-developers] Enable and disable GPS programatcally

2012-07-06 Thread Mark Murphy
On Fri, Jul 6, 2012 at 3:47 AM, dharmendra.sah...@gmail.com dharmendra.sah...@gmail.com wrote: I want to enable and disable GPS programatically. Fortunately, this is not supported, for obvious privacy reasons. for that we are using Fortunately, your script kiddie hack has been closed off and

Re: [android-developers] How to get default emergency dialer

2012-07-06 Thread Mark Murphy
On Fri, Jul 6, 2012 at 3:54 AM, dharmendra.sah...@gmail.com dharmendra.sah...@gmail.com wrote: In my application i want to call emergency number that 911 in USA. That is only possible if you have the CALL_PRIVILEGED permission, which in turn is only possible for apps that are pre-installed on

Re: : [android-developers] Re: Color Picker Preference

2012-07-06 Thread Mark Murphy
On Fri, Jul 6, 2012 at 5:14 AM, Kostya Vasilyev kmans...@gmail.com wrote: There is a nice color picker on Google Code called AmbilWarna. Converting it to a Dialog preference is trivial, start by subclassing :) I also put together a ColorPreference, based on a ColorMixer widget, some time ago:

Re: [android-developers] Single Database for two application

2012-07-06 Thread Rajis
I've googled so much about content provider but i haven't able to land on a single simple example. Everyone shows how to share a data inside an app, not between two apps. Pls try to put up an example or sample code; Will be much useful :) Thnx in advance :) Rajis -- You received

[android-developers] Android ViewPager invalidate() not working

2012-07-06 Thread arun kumar
Hai all, I've just started with android development and invalidate the ViewPager is really bugging me :/ Can someone tell me how can i invalidate the ViewPager while changing the orientation. This is what I've tried so far - @Override public void onConfigurationChanged(Configuration newConfig)

Re: [android-developers] When a user uninstall my app, will the content provider be gone with the uninstalling, how about the changes I made to built in content provider?

2012-07-06 Thread Rajis
@Kumar Bibek: Could u pls tel me a way to use(read and write) a content provider of app1 in app2??? i've googled many examples but none found helpfil can u help thnx in advance :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Easy and fast String obfuscation?

2012-07-06 Thread Pent
Just use a 3rd party base64 library, it's a very small piece of code. e.g. http://www.source-code.biz/base64coder/java/ Pent -- 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: prevent your app from showing in defautl app selection

2012-07-06 Thread rayk
Here is the manifext file. If I take out the category LAUNCHER the app will not launch. I read the Intent section but can not see what I need to replace it with to get it to launch. ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android;

Re: [android-developers] Re: prevent your app from showing in defautl app selection

2012-07-06 Thread Mark Murphy
On Fri, Jul 6, 2012 at 9:36 AM, rayk raym...@kecklers.com wrote: If I take out the category LAUNCHER the app will not launch. That is not the activity that is appearing in the chooser. It is your third activity. I read the Intent section but can not see what I need to replace it with to get

Re: [android-developers] Jelly Bean errors with LVL

2012-07-06 Thread H
Looking at the javadoc on Signature.verify(), it looks like it has fixed one bug and introduced another: Indicates whether the given signature can be verified using the public key or a certificate of the signer. This Signature instance is reset to the state of its last initialization for

[android-developers] Mouse Scroll event on Gallery

2012-07-06 Thread shubh
Hi, like we have mouse scroll event on list view, but how can we have same scroll event for gallery view. any one have idea about it. How can we get scroll event on gallery. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Single Database for two application

2012-07-06 Thread Kristopher Micinski
On Fri, Jul 6, 2012 at 7:36 AM, Rajis rajeshrajar...@gmail.com wrote: I've googled so much about content provider but i haven't able to land on a single simple example. Everyone shows how to share a data inside an app, not between two apps. Pls try to put up an example or sample code; Will be

[android-developers] Bluetooth crash

2012-07-06 Thread bob
Any ideas why trying to enumerate a list of discoverable Bluetooth devices would cause an Android Ice Cream Sandwich device to crash? Unfortunately, all I have is a vague user report. -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Re: prevent your app from showing in defautl app selection

2012-07-06 Thread rayk
ah okay thanks. On Friday, July 6, 2012 9:42:54 AM UTC-4, Mark Murphy (a Commons Guy) wrote: On Fri, Jul 6, 2012 at 9:36 AM, rayk raym...@kecklers.com wrote: If I take out the category LAUNCHER the app will not launch. That is not the activity that is appearing in the chooser. It is

Re: [android-developers] Bluetooth crash

2012-07-06 Thread Kristopher Micinski
Use ACRA for your apps, at the very least, so you have a crash report... kris On Fri, Jul 6, 2012 at 10:06 AM, bob b...@coolfone.comze.com wrote: Any ideas why trying to enumerate a list of discoverable Bluetooth devices would cause an Android Ice Cream Sandwich device to crash?

[android-developers] Customize ListPreference (select_dialog_singlechoice) in the Preference screen

2012-07-06 Thread powder366
Hi, When defining a ListPreference you get a CheckedTextView with android:checkMark to a drawable btn_radio (as I understand it). Im trying to change the look of the radio button, but don't find a solution: 1. Where in android source (line and file) is the radio button defined for a

[android-developers] Re: Easy and fast String obfuscation?

2012-07-06 Thread b0b
On Friday, 6 July 2012 12:47:03 UTC+2, Fran wrote: Hi there, I am looking for a way to obfuscate some strings in a way that they may be unobfuscated later. The point is that my app -a casual game- will take some lines from a file on an http server, and I do not want to have it as

[android-developers] Re: HELP! Google removed my app with millions of users!

2012-07-06 Thread FiltrSoft
That is sneaky, though, in his defense, the ads that I have at the bottom do not always show up when first initialized, sometimes it takes hitting the Activity a second time for them to show. On Thursday, July 5, 2012 11:54:09 PM UTC-4, John Coryat wrote: I just searched Alarm Clock Plus

[android-developers] Re: Android 4.1 Jelly Bean GIF Images Not Showing?

2012-07-06 Thread Josh F.
I'm not looking for your sympathy Zsolt, I am pointing out a flaw in the release as currently available and recommending other developers take action now to avoid it. Yes, I am very much aware that the SDK has (as far as I know always has) stated that the GIF is discouraged, but that does not

Re: [android-developers] Re: Android 4.1 Jelly Bean GIF Images Not Showing?

2012-07-06 Thread Mark Murphy
On Fri, Jul 6, 2012 at 11:01 AM, Josh F. joshful...@gmail.com wrote: This is a bug in Android 4.1 Jelly Bean as released on current devices and I hope that they fix it before full retail devices ship or this thread will get very busy. Please feel free to file a bug report on

Re: [android-developers] Updating text in a DialogFragment

2012-07-06 Thread Justin Anderson
Please post the relevant code... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jul 5, 2012 at 8:08 PM, Raymond Rodgers raym...@badlucksoft.comwrote: Hi folks, I've been searching for a solution to this problem for the last couple hours

Re: [android-developers] Re: Android 4.1 Jelly Bean GIF Images Not Showing?

2012-07-06 Thread Josh F.
I will create the bug report as soon as I can get a development device with this actual build on it as it does not happen in the emulator. As it stands right now you had to be at Google I/O to get one and tickets sold so fast I was not able to get one. To test this issue and the fix I have

Re: [android-developers] Re: HELP! Google removed my app with millions of users!

2012-07-06 Thread Raphael P.F.
Interesting, on Alarm Clock Xtreme Free when you are just about to tap 'dismiss', it pops up an ad. Pretty sure that qualifies as *core features of your application causes users to accidentally click on advertisements. * * * Didn't check your app, though. On Fri, Jul 6, 2012 at 11:56 AM,

[android-developers] call a service run into background many time having starting times are different

2012-07-06 Thread Aashish kumar
hi, can any one told me that run service having different 2 starting time??? -- 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

[android-developers] help me plz.

2012-07-06 Thread Aashish kumar
I am making a app similar to a Alarm Clock as the first exercise. I would like to let my app start up itself in the specified time,even it has not been actived in the background. Just like a Alarm Clock. how should I do? -- You received this message because you are subscribed to the Google

[android-developers] Re: OutOfMemoryException

2012-07-06 Thread RichardC
How large are your images (not file size, but width*hight*bits-per-pixel) images are uncompressed when loaded so you need to budget your memory on the expanded size? How many do you load the same time? Do you unload bitmaps that you have finished using? On Friday, July 6, 2012 5:16:17 PM UTC+1,

Re: [android-developers] Bluetooth crash

2012-07-06 Thread bob
Ok. I suspect android.bluetooth.BluetoothDevice.getName() is returning null sometimes. Don't know when. Don't know why. Here's what ACRA says: java.lang.NullPointerException at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:394) at

[android-developers] Bluetooth chat bug?

2012-07-06 Thread bob
I'm looking at the Bluetooth chat example: // When discovery finds a device if (BluetoothDevice.ACTION_FOUND.equals(action)) { // Get the BluetoothDevice object from the Intent BluetoothDevice device =

Re: [android-developers] help me plz.

2012-07-06 Thread Francisco M. Marzoa Alonso
AFAIK you need to create a service for that. Anyway why you not look for something easier for the first exercise? Regards, On 06/07/12 18:26, Aashish kumar wrote: I am making a app similar to a Alarm Clock as the first exercise. I would like to let my app start up itself in the specified

Re: [android-developers] Android Carousel

2012-07-06 Thread Francisco M. Marzoa Alonso
May be the emulator and the actual device has different screen sizes? Regards, On 04/07/12 14:11, Jorge Gil Royo wrote: Using the emulator 4.x working properly. When I use the phone there is no message in the logcat containing information about the carousel. Is the first time something

Re: [android-developers] Android Carousel

2012-07-06 Thread Francisco M. Marzoa Alonso
Ok, forgot my previous message... X-D On 05/07/12 12:43, Jorge Gil Royo wrote: Problem solved. What happened was that I did not realize the resolution of the mobile screen, then the carousel buttons appear, but were covered by other layouts. Once adjusted the size and position of the

Re: [android-developers] help me plz.

2012-07-06 Thread TreKing
First, 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 Fri, Jul 6, 2012 at 11:26 AM, Aashish kumar testchetu...@gmail.comwrote: I would like to let my app

Re: [android-developers] call a service run into background many time having starting times are different

2012-07-06 Thread TreKing
On Fri, Jul 6, 2012 at 11:19 AM, Aashish kumar testchetu...@gmail.comwrote: can any one told me that run service having different 2 starting time??? Your question is not very clear. If you are asking if you can have a service that starts up at two different times, then, yes, you can.

Re: [android-developers] Re: HELP! Google removed my app with millions of users!

2012-07-06 Thread CVP
Well I haven't heard back from anyone from Google... Doesn't particularly surprise me since it's the week of the 4th of July. From the Reddit post I got a clue... This most recent version of the app is using AdWhirl for ad mediation (as opposed to just admob)... The default adview for adwhirl

Re: [android-developers] Noob question: where to go for new development

2012-07-06 Thread Daniel Struve
thanks for the reply. Man, wish there was a faster way. Daniel Struve On Sun, Jul 1, 2012 at 7:14 AM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jun 29, 2012 at 4:28 PM, Daniel Struve dstr...@gmail.com wrote: I would love to join in development for the google glasses. Where to

Re: [android-developers] Re: HELP! Google removed my app with millions of users!

2012-07-06 Thread Justin Anderson
Well I haven't heard back from anyone from Google... Doesn't particularly surprise me since it's the week of the 4th of July. Or since it happens to be a week in any given year Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 6, 2012

Re: [android-developers] Noob question: where to go for new development

2012-07-06 Thread Mark Murphy
On Fri, Jul 6, 2012 at 5:21 PM, Daniel Struve dstr...@gmail.com wrote: thanks for the reply. Man, wish there was a faster way. You could try to get a job at Google. :-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog |

Re: [android-developers] UPD packets doesn't arrive on a Samsung Galaxy Tab 7.7 but they arrive on a HTC Desire

2012-07-06 Thread Harri Smått
Are you sure 255.255.255.255 is the correct broadcast address you want to use? It might be a good idea to give other private IP broadcast addresses a go too. This won't fix your problem with packet bundling though. -- H On Jul 7, 2012 3:18 AM, VansFannel oscar.alarcon.palo...@gmail.com wrote:

[android-developers] Re: In App Billing V2: Item not found, but purchase OK

2012-07-06 Thread fiber
This is a bug in the sample Dungeons application in the onClick method for the purchase button. I posted a solution here: http://stackoverflow.com/a/11371927/625030 The supplied method has a bug in the if {} else if {} statement where it causes the mBillingService.requestPurchase to be called

[android-developers] Transfering image file between two 2 emulators

2012-07-06 Thread Akki
I was trying to send an image file between 2 emulators using a TCP socket connection.The socket connection has been successfully made and the image file is stored on the SD-card of one of the emulators. I want to ask how can I convert the image file into byte stream and how on the other side

Re: [android-developers] Transfering image file between two 2 emulators

2012-07-06 Thread ashok chakravarthy
open the fileInputStream on the file that is stored in the sdcard. http://stackoverflow.com/questions/5298131/android-using-fileinputstream-for-reading-file-from-sdc-reporting-null-pointer and write the bytes of the file in to the Output stream of the Socket. You collect the bytes on the other