[android-developers] Re: Communication with Flash (swf)

2011-06-05 Thread sleith
Hi, really thanks for your answer :) Did you ever tried this before? So the android app will continuously looping every x second to read a file for any input right? Is it really possible? i mean for swf to write and read a file in android platform. Maybe if you have a trial source code, it would

[android-developers] Re: Communication with Flash (swf)

2011-06-02 Thread sleith
that we have this possibility even if swf file is big? Peace Gaara On May 31, 8:05 am, sleith raysle...@gmail.com wrote: Hi, Is there anyway app/webview can communicate with flash? Is fscommand able to do this? Or anyone have tried using tcp/udp communication to communicate

[android-developers] Re: Communication with Flash (swf)

2011-06-02 Thread sleith
plugin instead of Text To Speech ,ant ideas?? Peace, Gaara 2011/6/2 sleith raysle...@gmail.com hi, do you found the solution on how to communicate with flash? big swf file i think is not an issue, just an issue to the memory, as it needs to be loaded into web browser memory, i

[android-developers] Communication with Flash (swf)

2011-05-31 Thread sleith
Hi, Is there anyway app/webview can communicate with flash? Is fscommand able to do this? Or anyone have tried using tcp/udp communication to communicate with flash? need help, Thanks . -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: swf in String base64

2011-04-13 Thread sleith
anyone? thx On Apr 12, 6:26 pm, sleith raysle...@gmail.com wrote: Hi, is it possible to load swf file as String base64 to webview? (i tried but not working) The problem is that i need the swf saved into sdcard (in .xyz package file). But when need to play, i have to extract the swf to sdcard

[android-developers] swf in String base64

2011-04-12 Thread sleith
Hi, is it possible to load swf file as String base64 to webview? (i tried but not working) The problem is that i need the swf saved into sdcard (in .xyz package file). But when need to play, i have to extract the swf to sdcard and load to webview, which is low in security that people can copy the

[android-developers] touch listener with background service

2011-03-01 Thread sleith
hi is there a way to get touch listener even if the app is on background or using service? i need to get the x y position. 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] bring task to front

2010-10-29 Thread sleith
Hi, i know this question has been ask many times, but i still don't find a solution... need helps :) I tried to handle about the hold screen button that makes screen off. Somehow the game is exit because of this. Then i try using broadcast listener for screen on/off and when detecting off the

[android-developers] Re: bring task to front

2010-10-29 Thread sleith
sleith raysle...@gmail.com: Hi, i know this question has been ask many times, but i still don't find a solution...  need helps :) I tried to handle about the hold screen button that makes screen off. Somehow the game is exit because of this. Then i try using broadcast listener

[android-developers] Re: bring task to front

2010-10-29 Thread sleith
Hi, but if i don't use it, it will be an error. btw, do you know how the mainscreen launch the app? launcher app code :D Thanks On Oct 29, 8:29 pm, TreKing treking...@gmail.com wrote: On Fri, Oct 29, 2010 at 3:19 AM, sleith raysle...@gmail.com wrote: Intent.FLAG_ACTIVITY_NEW_TASK

[android-developers] install to sdcard failed

2010-06-23 Thread sleith
Hi, I'm trying the feature android:installLocation=preferExternal my asset files is 155MB and sdcard has around 2GB. When trying to install, it seems the apk file is installing to the internal phone storage instead to the sdcard. This results : Unable to upload file: No space left on device When i

[android-developers] how to get CPU speed

2010-05-11 Thread sleith
Hi, is there anyway to know CPU speed running on device? 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] resized window for clicking other window app

2010-05-02 Thread sleith
Hi, i want to ask is it possible to launch activity in resized window, so that we can still see behind activity screen, and we can click the behind activity screen button or something? (interact with behind activity screen) Thanks -- You received this message because you are subscribed to the

[android-developers] layout on top of the InCallScreen

2010-04-10 Thread sleith
Hi, i use the PhoneStateListener to listen for the call. When i receive ringing state, i tried to launch an intent to run my app. but i noticed that my app is go behind the InCallScreen. I've tried using delay time to make the InCallScreen pop up first, then launched my app, but still cannot

[android-developers] Re: GLSurfaceView and camera surface

2010-03-26 Thread sleith
AM, sleith raysle...@gmail.com wrote: Hi, thanks for your response. how do i give different z index? isn't it automatically when we call add() ? so i attach alParent.addView(mCameraView);  first and then alParent.addView(view); so isn't it means mCameraView at index 0, and view at index 1

[android-developers] Re: GLSurfaceView and camera surface

2010-03-26 Thread sleith
after trying i think the things that make it visible is the GLSurfaceView need to implements SurfaceHolder.Callback and then set it's holder : getHolder().setFormat(PixelFormat.TRANSLUCENT); i think its working, thanks for the link ^^ On Mar 26, 1:48 pm, sleith raysle...@gmail.com wrote: thanks

[android-developers] GLSurfaceView and camera surface

2010-03-25 Thread sleith
Hi, i tried to have a GLSurfaceView on top of camera surface, so that i can draw gl objects with camera preview as background. I tried but didn't works. the view i has is something like this:

[android-developers] Re: GLSurfaceView and camera surface

2010-03-25 Thread sleith
to each when adding them as childs. regards, Lucas On Mar 25, 3:07 am, sleith raysle...@gmail.com wrote: Hi, i tried to have a GLSurfaceView on top of camera surface, so that i can draw gl objects with camera preview as background. I tried but didn't works. the view i has is something

[android-developers] Re: email multi attachments

2010-03-02 Thread sleith
it to work...anyway you may want to check it out, if you make progress on this, please let me know: http://developer.android.com/reference/android/content/Intent.html#AC... On 2 mar, 02:41, sleith raysle...@gmail.com wrote: still dont find any solution for this.. please help . On Feb

[android-developers] Re: email multi attachments

2010-03-01 Thread sleith
still dont find any solution for this.. please help . On Feb 21, 9:16 pm, sleith raysle...@gmail.com wrote: anyone can help? . On Feb 21, 9:35 am, sleith raysle...@gmail.com wrote: Hi, is it possible to send email with multi attachments? Because what i see is only Intent.EXTRA_STREAM

[android-developers] Re: email multi attachments

2010-02-21 Thread sleith
anyone can help? . On Feb 21, 9:35 am, sleith raysle...@gmail.com wrote: Hi, is it possible to send email with multi attachments? Because what i see is only Intent.EXTRA_STREAM to attach the file, and it's only one file. Thanks for the help :) -- You received this message because you

[android-developers] email multi attachments

2010-02-20 Thread sleith
Hi, is it possible to send email with multi attachments? Because what i see is only Intent.EXTRA_STREAM to attach the file, and it's only one file. Thanks for the help :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Gallery view weird green color

2010-02-10 Thread sleith
For people who face the same problem, try set Gallery android:unselectedAlpha=255. It fixed my issue :) On Feb 10, 10:13 am, sleith raysle...@gmail.com wrote: Hi, i use Gallery, and don't know why the background color has weird green color on sdk 2.1. It didn't happen on 1.5. Please help. thx

[android-developers] Gallery view weird green color

2010-02-09 Thread sleith
Hi, i use Gallery, and don't know why the background color has weird green color on sdk 2.1. It didn't happen on 1.5. Please help. thx -- 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] virtual keyboard on dialog webview not shown

2010-01-19 Thread sleith
Hi, i wonder how to show the virtual keyboard on dialog webview? i've tried to show it manually but nothing happens . 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] broadcastreceiver never died?

2009-12-08 Thread sleith
hi, i created application with name Test, and has a class that extends broadcastreceiver that listen for PACKAGE_RESTARTED. i use Advanced Task Killer, and killed the Test application. but when i kill another application, for example gmail, the Test's broadcastreceiver got the intent (i logged

[android-developers] Re: broadcastreceiver never died?

2009-12-08 Thread sleith
that broadcast it should be garbage collected. On Dec 8, 6:53 am, sleith raysle...@gmail.com wrote: hi, i created application with name Test, and has a class that extends broadcastreceiver that listen for PACKAGE_RESTARTED. i use Advanced Task Killer, and killed the Test application. but when

[android-developers] app for blocking apps

2009-11-28 Thread sleith
Hi, is there any way to block an app so that cannot be launched? thx -- 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] Re: app for blocking apps

2009-11-28 Thread sleith
any one know the code to block app so cannot be launched? . thx On Nov 28, 10:43 pm, sleith raysle...@gmail.com wrote: Hi, is there any way to block an app so that cannot be launched? thx -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Growing pains for Android developers??

2009-11-15 Thread sleith
Hahaha How about me, in indonesia? -_-' will take a lt of years i guess to be able sell app in android market . On Nov 16, 2:25 pm, biAji biaji...@gmail.com wrote: On Nov 14, 11:00 pm, wonae mat...@hanmail.net wrote: Hey guys, I'm a Korean and we don't even find a way to sell our apps!!

[android-developers] Re: ADC2 Results Post

2009-11-05 Thread sleith
I'm really happy that my first android app got top 20 ^^ Congratulations! Your application 'ClapCard' was selected by Android users as one of the top 20 in the Social category! We're excited that you chose to participate in the ADC 2 and wish you luck in the final round as your application is

[android-developers] Re: Sound in games

2009-10-09 Thread sleith
how about allocate many MediaPlayer? is it bad? On Oct 9, 4:07 pm, yarik...@gmail.com yarik...@gmail.com wrote: Hi all! I have pretty common question: is there any bug-free way to implement sound effects in a game? Or we only have unpredictable SoundPool with its horrible bugs? Or

[android-developers] detect onTouch for widget

2009-10-02 Thread sleith
Hi, I'm trying to make widget gallery at homescreen. I'm currently stuck because didn't find any example how to detect on touch in widget. Could someone help me? Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: detect onTouch for widget

2009-10-02 Thread sleith
Hi Mark, thanks for quick reply. I mean i would like to make something like image album widget on htc hero. when we swap finger, it change it's view :D is it possible? thanks On Oct 3, 8:18 am, Mark Murphy mmur...@commonsware.com wrote: I'm trying to make widget gallery at homescreen. I'm

[android-developers] Re: detect onTouch for widget

2009-10-02 Thread sleith
Ok Thanks for your help :D On Oct 3, 8:27 am, Mark Murphy mmur...@commonsware.com wrote: I mean i would like to make something like image album widget on htc hero. when we swap finger, it change it's view :D is it possible? thanks Probably not. I do not have an HTC Hero and so am not

[android-developers] Re: launch activity like phone call

2009-09-28 Thread sleith
automatically? if it won't, how to know if the CPU has been turned on/off? thanks On Sep 27, 5:35 pm, sleith raysle...@gmail.com wrote: Hi, thanks Mark for your advice, that's a nice input from you :) On Sep 27, 5:26 pm, Mark Murphy mmur...@commonsware.com wrote: sleith wrote: i've tested when

[android-developers] Re: launch activity like phone call

2009-09-28 Thread sleith
ok thanks for the explanation. i learn more :D On Sep 28, 8:13 pm, Mark Murphy mmur...@commonsware.com wrote: sleith wrote: Hi, wanna ask again about Mark's first warning: Your service will not be running for very long once the screen turns off. The phone will go to sleep, and your

[android-developers] launch activity like phone call

2009-09-27 Thread sleith
hi, i have 2 questions . 1. i have a service that will launch an activity. How to make the activity launched like a phone call? i mean when the phone screen is locked, it will awaken. 2. how to start a service right after downloaded and installed from android market? Thank you

[android-developers] Re: launch activity like phone call

2009-09-27 Thread sleith
that was launched by service. is there any way to make the screen on by programming? because when we receive call, the screen will on. so i think it is possible :D thank you On Sep 27, 3:50 pm, Dianne Hackborn hack...@android.com wrote: On Sun, Sep 27, 2009 at 1:47 AM, sleith raysle...@gmail.com wrote: 2

[android-developers] Re: launch activity like phone call

2009-09-27 Thread sleith
Hi, thanks Mark for your advice, that's a nice input from you :) On Sep 27, 5:26 pm, Mark Murphy mmur...@commonsware.com wrote: sleith wrote: i've tested when the phone screen is off, the service is still running, but when the service try to start intent, the screen is still not shown

[android-developers] Re: ADC2 entries so far...

2009-09-15 Thread sleith
Social Networking: ClapCard www.clapcard.com --~--~-~--~~~---~--~~ 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

[android-developers] Re: Translucent and FullScreen?

2009-09-10 Thread sleith
try this one :) requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); On Sep 10, 4:08 am, Illidane illid...@gmail.com wrote: Hi! I have an issue : I set

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-02 Thread sleith
Hi It's the first time i release application in Android. My app is ClapCard (in market i submit it as Clap Card, because when using ClapCard title it said the app has already exist, maybe they compared to the app in adc2 too) I started 3 months ago, doing the app in my free time (i have full

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-02 Thread sleith
CraigsRace: what is Gonorrhea? i googled it and in wiki said its bacteria? hehe i choose that name because clapcard.com domain is available and the names resembles to the game i played when i was a kid. (dunno if in your country has it's game, it's by tossing card with friend, who got upside

[android-developers] Re: adc2 submission site

2009-08-24 Thread sleith
i agree with you there's so many things that can happen to anyone and anytime that may make him fail to submit his apk On Aug 24, 2:20 pm, an0 an0...@gmail.com wrote: If the time window is too small, any little problems may cause you miss it. Also consider the sudden surge of submissions in

[android-developers] Re: map with compass like indicator

2009-08-22 Thread sleith
anyone can help? On Aug 21, 11:42 am, sleith raysle...@gmail.com wrote: hi, i'm trying to make a map with showing my location with an arrow that point to the way we are facing. the arraw image is something like this:  ^  0 always pointing north, so i rotate it with sensor orientation

[android-developers] map with compass like indicator

2009-08-20 Thread sleith
hi, i'm trying to make a map with showing my location with an arrow that point to the way we are facing. the arraw image is something like this: ^ 0 always pointing north, so i rotate it with sensor orientation event ( image.rotate(values[0]) ) i would like to ask if google map's north is

[android-developers] Re: adc2 submission site

2009-08-15 Thread sleith
the update, but still can't ! I guess, they haven't yet updated the page ! May be they will extend the deadline and introduce 2.0 Khurram Samad GenITeam | Mobile 2.0 Specialist Companywww.geniteam.com On Aug 15, 9:36 am, sleith raysle...@gmail.com wrote: Hi, i've just purchased to be an android

[android-developers] adc2 submission site

2009-08-14 Thread sleith
Hi, i've just purchased to be an android developer when i visit http://market.android.com/publish, i don't see anything about publish for adc 2 how to submit app for adc 2 ? thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: video screen disappeared after launch new task

2009-07-29 Thread sleith
...@commonsware.com sleith wrote: any idea? Is this hardware or the emulator? If it is the emulator, can you reproduce the problem on a device? -- Mark Murphy (a Commons Guy) http://commonsware.com|http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print

[android-developers] Re: video screen disappeared after launch new task

2009-07-28 Thread sleith
any idea about this problem? On Jul 28, 6:38 am, sleith raysle...@gmail.com wrote: here's the code try clicking that will trigger dial number, and then push back button, and you will see the video screen disappeared but the sound is playing thx :D public class VideoTest extends Activity

[android-developers] video screen disappeared after launch new task

2009-07-27 Thread sleith
hi, i tried to play video using media player, and it run ok like at the example at api demos. but the problem is, when i trigger something that launch a new task (for example click button that will dial number) and then back to it's task, the video screen is gone, only sounds is playing. i

[android-developers] Re: video screen disappeared after launch new task

2009-07-27 Thread sleith
any idea? On Jul 27, 4:42 pm, sleith raysle...@gmail.com wrote: hi, i tried to play video using media player, and it run ok like at the example at api demos. but the problem is, when i trigger something that launch a new task (for example click button that will dial number) and then back

[android-developers] Re: video screen disappeared after launch new task

2009-07-27 Thread sleith
) { } } } public void surfaceDestroyed(SurfaceHolder holder) { } public void onBufferingUpdate(MediaPlayer mp, int percent) { } } } On Jul 27, 10:40 pm, Mark Murphy mmur...@commonsware.com wrote: sleith wrote: any idea? Is this hardware

[android-developers] font typeface dynamically

2009-07-13 Thread sleith
i've learned that to set typeface needs font to be under asset folder how to dynamically load the ttf file to be used in code? or maybe how in runtime to add ttf file into the asset folder? is there any solution for this problem? thx --~--~-~--~~~---~--~~ You

[android-developers] prevent close the dialog when click on the button

2009-07-05 Thread sleith
Hi, I want to ask about dialog. when i clicked the Ok button with setPositiveButton(Ok, listener) i need to make a validation, and when not valid i don't want the dialog to be closed. how to make the dialog not closed when click on the button? thank you

[android-developers] Re: weird drawing on bitmap to canvas

2009-06-24 Thread sleith
hello...could anyone help? thx On Jun 23, 10:37 pm, sleith raysle...@gmail.com wrote: hi, i'm trying to draw bitmap in canvas. the bitmap is used to draw text and background using canvas (named canvasBitmap) but the text or background that are drown to bitmap is not displayed, as if it's

[android-developers] Re: weird drawing on bitmap to canvas

2009-06-24 Thread sleith
and text background is drawn. On Jun 24, 11:22 pm, MrChaz mrchazmob...@googlemail.com wrote: setTextSize() and setStyle() need to be called on the Paint object I think. On Jun 23, 4:37 pm, sleith raysle...@gmail.com wrote: hi, i'm trying to draw bitmap in canvas. the bitmap is used to draw

[android-developers] weird drawing on canvas bitmap

2009-06-23 Thread sleith
hi, i'm trying to draw bitmap in canvas. the bitmap is used to draw text and background using canvas (named canvasBitmap) but the text or background that are drown to bitmap is not displayed, as if it's out of bounds. i have to translate the canvasBitmap at some points to make it draw at right

[android-developers] weird drawing on bitmap to canvas

2009-06-23 Thread sleith
hi, i'm trying to draw bitmap in canvas. the bitmap is used to draw text and background using canvas (named canvasBitmap) but the text or background that are drown to bitmap is not displayed, as if it's out of bounds. i have to translate the canvasBitmap at some points to make it draw at right

[android-developers] strange behavior on rotating and scaling text

2009-06-22 Thread sleith
hi, i'm trying to animate text, but strange behavior happened when i tried to rotate and scale. When rotating, the text width becoming wider and narrower randomly When scaling, the text y position is going upper. i've test with image, but image works perfectly. don't know why text is not. Here's

[android-developers] Re: strange behavior on rotating and scaling text

2009-06-22 Thread sleith
, the antialiasing, etc. to improve on readability. If you want to scale text linearly you should turn the text into a bitmap first. If your animation is implemented using Views, you can simply enabled the drawing cache of the animated view. On Mon, Jun 22, 2009 at 8:46 AM, sleith raysle

[android-developers] remove drop icon in expandablelist

2009-05-21 Thread sleith
hi, is there anyway to remove the default drop down icon on ExpandableList? thx --~--~-~--~~~---~--~~ 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] get listview object from xml

2009-05-18 Thread sleith
hi all, i have a listview on xml, and i need to get it's object using findViewById, but i cannot find it in R.id need help . thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to