[android-developers] Is AlarmManager to be caused a serious security hole?
We can make and run cron-like program by the AlarmManager on Android. But I think those are dangerous for we. Because AlarmManager as stealthy as follows: * Not resident * Not shown in the Task Manager * No way to stop it (expect uninstall caco-program). * No way enumerate tasks that AlarmManager has. As just described, we can make malware using AlarmManager easily. (ex: http://isc.sans.edu/diary.html?storyid=10186) How can I guard users from this problem? -- 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 this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: When will GoogleMap 3D API be released?
Hi TreKing, Thanks for response. I understood it. This was discussed recently in another thread - the response was there is no ETA. I searched this discussion by keyword Map. However, I couldn't find the thread. Please tell another thread URL. -- 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 this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] When will GoogleMap 3D API be released?
Google Map 5.0 was released. Included many new features as follows: * Vector Rendering * Rotation * 3D Viewing * etc I think that the next Google Map API becomes a very big changes. Please tell the plan and schedule. Is Google Map 3D API release as an upgrade or new other SDK? -- 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 this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] AyncTask's cancel bug was fixed in Gingerbread?
http://groups.google.com/group/android-developers/browse_thread/thread/07ea01892ee7a5f4/9f71428217c2cd44?# This AyncTask's cancel bug was fixed in Gingerbread? Romain said, There was a race in the cancel() code that we fixed post-froyo. Post-froyo means after froyo, so not in froyo :) How about post-froyo Gingerbread? -- 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 this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] about AdSense for Mobile Applications
Nice to meet you. My Name is Syougo Hirooka. I am Japanese. Hereafter, App of Google Android is made. All App is opened to the public free of charge. The beta version of AdSense for Mobile Applications It is thought that it used it. How can I obtain the beta version of AdSense for Mobile Applications? I want to try not to have done yet in Japan. And, I want to use AdSense for Mobile Applications early. Please tell me. Thank you very much. -- 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 this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] About AdSense for Mobile Applications
Nice to meet you. It is Syougo Hirooka. I am Japanese. Hereafter, App of Google Android is made. All App is opened to the public free of charge. The beta version of AdSense for Mobile Applications It is thought that it used it. How can I obtain the beta version of AdSense for Mobile Applications? I want to try not to have done yet in Japan. And, I want to use AdSense for Mobile Applications early. Please tell me. Thank you very much. -- 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 this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: custom keyboard
This class manages input method settings : http://developer.android.com/reference/android/provider/Settings.Secure.html Unfortunately you can only read those settings and not modify them. I think you should find an other way to do what you want to do. Kwaku On Mon, Dec 28, 2009 at 5:38 PM, schwiz sch...@gmail.com wrote: Ok that was the problem thanks. This leaves me with two questions, how do I enable the keyboard without making the user do it, and how do I make it the default keyboard for my app. Thanks for the reply! On Dec 28, 10:06 am, Dai Hiro daie...@gmail.com wrote: Hi, Did you activate it in Locale Text Settings ? Kwaku On Sun, Dec 27, 2009 at 11:53 PM, schwiz sch...@gmail.com wrote: I am wanting to add a custom keyboard for my app, I was taking a look at the softkeyboard example on the included sample code in the SDK. When I install it in the emulator it isn't showing up though. I try to access it by longpressing an input box and then clicking select input when the context menu pops up. However, the latin keyboard made in the example doesn't show up as one of the options. Am I missing something? Anyone have advice or know of another example I can look at? -- 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 this group at http://groups.google.com/group/android-developers?hl=en -- 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 this group at http://groups.google.com/group/android-developers?hl=en -- 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 this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] custom keyboard
Hi, Did you activate it in Locale Text Settings ? Kwaku On Sun, Dec 27, 2009 at 11:53 PM, schwiz sch...@gmail.com wrote: I am wanting to add a custom keyboard for my app, I was taking a look at the softkeyboard example on the included sample code in the SDK. When I install it in the emulator it isn't showing up though. I try to access it by longpressing an input box and then clicking select input when the context menu pops up. However, the latin keyboard made in the example doesn't show up as one of the options. Am I missing something? Anyone have advice or know of another example I can look at? -- 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 this group at http://groups.google.com/group/android-developers?hl=en -- 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 this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Virtual keypad in landscape mode
Hi, I guess your are testing your software with the emulator. You should set the option 'keyboard support' to false on your avd in this case. Dai On Tue, Dec 22, 2009 at 11:28 PM, Yogi yogesh.agrawal2...@gmail.com wrote: Hi , I am working currently on an application which is in landscape mode by default. I want the virtual kepad to be poped up whenever I click on the edit box. Please, help me for the same. Thanks in advance, Yogi -- 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 this group at http://groups.google.com/group/android-developers?hl=en -- 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 this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] interrupt dialog
Hi, In the following code, mContext should be taken from Activity class. Would you tell me how to launch interrupt dialog from Service class? private void showAlert(){ if (mContext != null) { AlertDialog.Builder builder = new AlertDialog.Builder (mContext); builder.setMessage(Interrupt) .setCancelable(false) .setNegativeButton(OK, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) { dialog.cancel(); } }); builder.create(); } } Thanks, Hiro --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: JIS conversion is ignored!
Hi, Dan-san which will construct a string by interpreting the bytes in the default encoding. The default encoding on Android is UTF-8, so this is probably not what you want. I do understand the reason that a part of the input string is corrupsed. Thanks, Hiroyuki --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: JIS conversion is ignored!
I can resolve this by omitting the input parametter in getBytes as follows. unicode = new String(unicode.getBytes(), ISO-2022-JP); It seems to me getBytes(ISO-2022-JP) won't work... Thanks, Hiro --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: JIS conversion is ignored!
I've changed as follows. unicode = new String(unicode.getBytes(ISO-2022-JP), ISO-2022-JP); However it won't convert the string as I expect... Thanks, Hiro --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to display Japanese character on TextView
I mistook the word of locale... Currently I use Android SDK 1.1, should I upgrade it to v.1.5? It seems to me there is no locale in settings on Android emulator... --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] JIS conversion is ignored!
I prepared following method to convert JIS character string to UTF8 on Android SDK v.1.5.. However when I pass JIS character array into JIS the returned string value is same as input. I supposed it should return undefined or UTF8 string, Would anybody tell me why this phenomena is occurred? public String JIS2UNICODE(char[] jis) { String unicode = new String(jis); try { unicode = new String(unicode.getBytes(ISO2022JP), ISO2022JP); } catch (Exception e) { unicode = undefined; } return unicode; } Thanks, Hiro --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to display Japanese character on TextView
Hi, I'm tring to create SMTP-POP3 mailer application on Android. Then I came across a problem when I display e-mail written in Japanease. The subject and body string which is correctly decode (Base64 ,QP, JIS - UTF8) cannot display on TextView. Are there any way which I should do to display Japanese on TextView? Thx, Hiro --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to display Japanese character on TextView
it's just a suggestion, u can change the locale, that wud print everything in japanese... Would you tell me how to change the location for Android emulator? --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Accessing System Brightness
This is indeed frustrating. however, there's a funny new wrinkle whenever I use the new cupcake-approved sugar-free method, the brightness stays after I go back to the home screen. (yay) I seem to have problems when brightness gets too low though (IE, cant do anything with the unit ... obviously). So do yourself a favor and put a lower limit on it ;) I set mine to .1. On May 28, 12:06 am, Mark android.eggenst...@googlemail.com wrote: It must still be possible in 1.5 cupcake: - PowerManager can set it - Settings - SoundDisplay - Brightness can change it - haven't checked Locale While the system setting might have privileged access to the API, the PowerManager is just a normal program. So how do they do it? --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] ISO2022JP-UTF-8(unicode) conversion
HI, HT-03A will be release to the market in Japan, I'm lookig forward to it. Then I wonder whether String class support following charset type. String unicode = new String(jis); try { unicode = new String(unicode.getBytes(ISO2022JP), ISO2022JP); } catch (Exception e) { unicode = Undefined; } If String class doesn't support adove conversion funciton, are there any class those we can convert various charset types of Japanese to UTF8? Thanks, Hiroyuki --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to detect current screen is vertical or horizontal?
not sure how much help this is, but i'm using it on a canvas i have Integer width = canvas.getWidth(); Integer height = canvas.getHeight(); // Check Orientation so we know which grid to use if(widthheight) { // Landscape mode } else { // Portrait mode } On Jun 3, 1:43 am, aby orz0...@gmail.com wrote: Hi, I need to set different content view after rotating device screen. Is there any method to detect the direction of current screen is vertical or horizontal?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 unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: audio recorder
I seem to be having the same issue I've been playing with different buffer sizes, but this is where I'm at recorder = new AudioRecord (MediaRecorder.AudioSource.MIC, AUDIO_SAMPLE_FREQ, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT, (AUDIO_SAMPLE_FREQ)); it doesnt throw illegalargument, but recorder.getState() returns UNINITIALIZED. If I start recording, I get the same result as you. On May 28, 6:45 pm, intbt in...@tacberry.com wrote: With version 1.5, I keep getting this error 05-29 01:36:39.440: ERROR/AudioRecord-JNI(1280): Error creating AudioRecord instance: initialization check failed. 05-29 01:36:39.450: ERROR/AudioRecord-Java(1280): [ android.media.AudioRecord ] Error code -20 when initializing native AudioRecord object. and then: 05-29 01:36:39.630: ERROR/AndroidRuntime(1280): java.lang.IllegalStateException: startRecording() called on an uninitialized AudioRecord. My code: ar_test = new AudioRecord(MediaRecorder.AudioSource.MIC, 11025, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_8BIT, 20); ar_test.read(ar_buffer, 0, 15); ar_test.startRecording(); toneTimer.setTimer(1); toneTimer.countdownTimer(); ar_test.stop(); Can some one explain what I am missing? --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---