Android :: Translucent & Wallpaper From Api Demo

Sep 19, 2010

On Sun, Sep 19, 2010 at 10:33 PM, Elonix <spider0qu...@gmail.com> wrote: > TranslucentActivity and WallpaperActivity are almost the same. Can > anyone tell me how does demo work?

Android :: Translucent & Wallpaper from Api demo


Android : Way For Translucent App To Tell Wallpaper Service To Pause?

Apr 7, 2010

I am developing an application that uses a Home screen widget as its launching point. The application uses the Translucent theme to give the appearance of being integrated with the Home screen when active. I recently discovered that launching a translucent activity over a live wallpaper will not pause the wallpaper as a default-themed activity would. The wallpaper will continue to animate and slow down my app significantly due to its hoarding of CPU resources. Is there some way for a translucent app to tell the wallpaper service to pause? I understand that it is up to each individual live wallpaper to determine what to do when its onVisibilityChanged method is called. Assuming the method is implemented properly, might there be some way of indirectly calling it?

View 4 Replies View Related

Android :: What Window.demo.clickOnAndroid() - Window And Demo?

Feb 7, 2010

<html>
<script language="javascript">
/* This function is invoked by the activity */
function wave() {
alert("1");
document.getElementById("droid").src="android_waving.png";
alert("2");
}
</script>
<body>
<!-- Calls into the javascript interface for the activity -->
<a onClick="window.demo.clickOnAndroid()"><div style="width:80px;
margin:0px auto;
padding:10px;
text-align:center;
border:2px solid #202020;" >
<img id="droid" src="android_normal.png"/><br>
Click me!
</div></a>
</body>
</html>

What is "window.demo.clickOnAndroid()"? I know that clickOnAndroid is a method in my Android application. But what is window and demo? My file is called demo.html. Is that it?

View 2 Replies View Related

Android :: How Can I Use Transparent Or Translucent View Effect?

May 1, 2009

I am a newbie in android UI programming. I want to create a custom SurfaceView for my own renderer. And this view has a transparent/ translucent effect with background. I follow api demo sample code to create TranslucentGLSurfaceViewActivity and TranslucentGLSurfaceView, but render result is blank screen.

View 3 Replies View Related

Android : Open An Translucent / Dialog Activity On Top Of Another?

Nov 1, 2010

Is there a way to open a translucent or transparent activity so that you can still see the old activity behind it on the screen?

View 1 Replies View Related

Android :: Translucent Activity Not Calling OnStop On Exit

Dec 3, 2009

I'm having this strange issue where upon exiting a subactivity that is translucent (android:theme="@android: style/Theme.Translucent" ) the onStop() method doesn't appear to be called. have a TimerTask that runs and is supposed to be terminated when the subactivity ends in the onStop() method, but I'm instead left with an orphaned thread running in the background. It go particularly bad when I ran the subactivity several times. When I revert to no theme, the onStop() method is called and the activity behaves properly. Is there something I missed about how Translucent activities'lifecycles differ from standard activities?

View 4 Replies View Related

Android :: Starting Translucent Activity From Broadcast Receiver

Sep 30, 2010

I got a graphical problem regarding the Translucent theme at Samsung Galaxy i9000.It works well in the emulator with android version ranging from 1.6 to 2.2 as well as on SE x10 mini.I have yet to test on more devices.I am starting an activity from a broadcast receiver. The activity started got the theme @android:style/Theme.Translucent If all the activities in my application are destroyed when the broadcast occurs, then the new activity got a working translucent theme and is presented on top of the activity currently in front. However, if the user left the application with the HOME-key, not destroying the activity, I get a graphical bug when the broadcast triggers. The application gets brought to the front with the activity the user last visited showing instead of the new activity that I started from my broadcast receiver. When I press the back key I can see my Translucent activity quickly showing itself and then getting destroyed.This flow results in the graphical bug: Start application. Activity A will be shown. Leave application by pressing HOME-key. Home screen is shown. Trigger broadcast. Start activity B.

Application gets brought to foreground and activity A is shown. Press BACK-key. Activity B quickly shows itself and disappears. Now activity A is shown.Also, after activity B is started and when activity A is shown in its place. Pressing the screen will triggers buttons that belong in activity B even if the user can't see them. If I remove the theme, then activity B will show itself when it's supposed to.Is there anyone else who have encountered a similar problem? Is there any good workarounds I can apply? (I don't want to rebind home to finish all activities) Is the problem my fault or can there possibly be some glitch in Touchwiz?

View 2 Replies View Related

Android :: Make Translucent Control Just Like 'zoom' In Pictures?

Mar 29, 2009

I have an image displayed in a view. I want to make some translucent control over that image, just like the zoom control on the built-in 'Pictures' application, or the 'Play' button on any youtube video.

What is the general practice to achieve this kind of effect?

View 4 Replies View Related

Android :: Black Screen With Translucent Transparent Background On HTC Hero

Jan 26, 2010

Why i get a Black screen with a translucent transparent background on my HTC Hero ? I used the code sample.It is OK with the emulators 1.5 and 2.1.Is there a way to have it on my Hero ?

View 3 Replies View Related

Android :: API Demos 8 Translucent The Class Is TranslucentActivity.java Doesn't Do Anything

Aug 3, 2010

TranslucentActivity.java doesn't do anything. There is no translucence, nothing special about it. It just shows an activity screen.

View 2 Replies View Related

Android :: Draw Translucent Bitmaps Using Canvas Without Having To Resort To OpenGL?

Mar 17, 2010

I have a Bitmap object and want to render it to a Canvas object with varying levels of translucency (i.e. make the whole bitmap partially see through). For example, I have sprites in a game (that are drawn over the top of a bitmap background) that I want to fade out from being opaque to being invisible. Can I do this without having to resort to OpenGL?

View 2 Replies View Related

Android :: How To Pass Touch Event To Application Behind Translucent Input View?

May 5, 2009

How to pass the "Touch" event to the application behind the translucent view? The view is an input view (IMF, implemented by "InputMethodService.setInputView()"). Need help.

View 4 Replies View Related

HTC Incredible :: Wallpaper - Set Them As My Background - Picture Set As Wallpaper But Just Default Wallpaper

May 14, 2010

I downloaded pictures off the internet and tried to set them as my background, and it says "This picture has been set as wallpaper" But its just the default wallpaper. So then I tried the Bar code scanner wallpapers and Android themes.com and same thing!

View 1 Replies View Related

General :: How To Disable KitKat Translucent Statusbar

Apr 20, 2014

I would like to disable KitKat translucent statusbar, to leave it like Jelly Bean.

View 9 Replies View Related

General :: Removing Translucent Black Shade On Locksreen Background?

Sep 8, 2013

I'm running CM10.1 on my HTC One x. I was wondering how to remove the black shade ontop of the lockscreen background and just have your background clear and not darkened. I've been looking around framework-res and trying to edit stuff but had no luck, just flashing custom roms and decompiling apks.

View 3 Replies View Related

General :: Translucent Status And Navbar Does Not Work Properly With WhatsApp?

Apr 29, 2014

I've seen in the WhatsApp+ themes thread an interesting theme:

http:[url].....

As you can see, it has both translucent nav and status bar. I know Xposed Framework has a plugin with this function but it does not work properly with WhatsApp, for example. My question is: How can I get this effect properly?

View 6 Replies View Related

Android : Need To Run Marquee Api Demo

Mar 4, 2009

I downloaded the Android SDK 1.1 and tried to run the Marquee demo (API Demos -> Text ->Marquee). But the program is not working. The text is static and does not move Did any one try this demo? And is it working?

View 2 Replies View Related

Android : How To Take A Screencast Demo Of App

Sep 24, 2009

I want to take a demo of my app, does anyone know how to do it?

View 5 Replies View Related

Android :: SlideIT Demo Expired

Feb 22, 2010

I had thought that the "Lite" version of SlideIT was nagware -- that you could use it for free as long as you were willing to put up with occasional interrupts by a pop-up asking you to buy the full version. That turns out not to be the case: the "Lite" version is actually a "demo" version that stops working after a while (apparently a week, if I have my dates straight).

Apart from the fact that it's deceptive advertising to promote a time-limited demo as a "Lite" version, the full version is still not available for purchase in the market.

View 6 Replies View Related

Android :: API Demo Remote Service Example

Sep 22, 2009

I am studying RemoteService example in Android's APISample. In the manifest file, it declares the service like this: My question is how can I specify the service to be 'auto-start', i.e. it gets start whenever the phone start?

<service android:name=".app.RemoteService" android:process=":remote" >
<intent-filter>
<!-- These are the interfaces supported by the service, which
you can bind to. -->
<action

android:name="com.example.android.apis.app.IRemoteService" />

View 1 Replies View Related

Android : Want To Release A Demo Version Of My App

Jul 10, 2009

I want to release a demo version of my app. I added a restriction that the app could only be used 5 times by storing a counter in the db. However a user can easily uninstall and install the demo again! What the best way to manage this?

View 3 Replies View Related

Android :: How To Setup Demo Multiple Alarms?

Apr 26, 2009

I like to create multiple alarms, but i does not work. how to set and how to request in my receiver what alarm intent came activated.

View 4 Replies View Related

Android : Looking For Uber Color Picker Demo

Apr 5, 2009

I have created what I believe is a relatively useful color picker, derived and massively extended from the ColorPickDialog example in the API Demos. If anyone would like to try it out, it is available on the Market at Applications/Tools/UberColorPicker Demo". It didn't put it in the Demo section because it isn't a demo in the sense of being a free teaser of a nonfree product, if you see my meaning. If you like it, you can download the source from http://keithwiley.com/Downloads/AndroidUberColorPickerDemo.zip. Feel free to drop it -- ready-to-go and unmodified - into your own apps (I use it for setting text color preferences in Shead Spreet)...or to hack, extend, and change it however you see fit.

View 2 Replies View Related

Android : Best Way To Perform Live Demo Apps

May 28, 2010

I want to be able to perform live demos of an app I've been working at conferences. There doesn't seem to be an easy way to get a video feed of what's going on onscreen onto a big screen. We've hooked up the screen capture utility of DDMS and keep hitting refresh. Its not ideal. I'm aware that there are more automatic solutions that continuously cause a refresh, but these don't really provide video, and I'd also like an audio feed. I can frame grab within my app pro grammatically, but the Android SDK's video encoder only supports capturing video feed from the camera. Any ideas? What's the best way to live demo Android apps to large audiences?

View 17 Replies View Related

Android :: Transfer Preferences From Demo To Paid Application

Nov 16, 2010

This comes up because I am changing the model for my freed and paid apps. Besides all the other things I need to figure out to build this (I'm trying the library method), I'd like to transfer preferences smoothly from DEMO app to paid App. I'm sure that some of you are old hands at this and can give some advice. I've tried the Demo and License, where a license app will unlock the Demo app and make it full.

The Market users can't handle that. My customers didn't want to have two app icons once they installed the license. So I made it invisible. Now I have users that say they can't "open" the license after purchase. It states very clearly in the app description that they need to install the free version first, but I've discovered that not everyone reads that vast 325 character description before buying even some of the most expensive apps on the Market.

I've decided not to fight it. I do believe that customers will be more happy overall and there will be less refunds, if they do try the demo app first. It gives them 16 days to try instead of 24 hours to get a refund. But I'm not going to force that. So, I'll be going down the Demo and Full model route. Just as an aside, I really wish the market would support time limited trials. There is difference between real support and faking it as I have been.

View 17 Replies View Related

Android : Recommended Way Of Creating A Demo Version Of Application

Apr 23, 2010

What is the recommended way of creating a demo version for an application. Basically, the demo version will be fully functional, but will be limited to running it 25 times. My worry is that if the user uninstalls and reinstalls, the count will be reset. I thought about writing a data file to the SD Card with the count of executions (hoping that would persist after uninstall), but I do not want to add that permission if I can avoid it. Any suggestions on how to have some type of demo flag persist after an uninstall?

View 1 Replies View Related

Android : Gallery Demo Null Point Exception

Aug 26, 2010

http://developer.android.com/guide/tutorials/views/hello-gallery.html I followed the guide exactly, I can compile and run the program but it crashes on load. When I try to view main.xml in I get errors in the Console. java.lang.NullPointerException Code...

View 2 Replies View Related

HTC EVO 4G : Demo To See 15 Fps Vs 30 Fps Vs 60 Fps

Jul 26, 2010

Can you tell the difference? I think the 60 fps version is noticeable, it just looks more fluid than the 30 fps: 15 FPS vs. 30 FPS vs. 60 FPS - A Visual Comparison

View 11 Replies View Related

Android : Possible To Make A Free Demo Version Of Game To Be Used For Contest

Jul 21, 2009

I'm finishing to write my game and i'm thinking to participate to the ADC2. Since I also want to start selling the game to the android market asap, I want to know if is it possible to make a free demo version of the game to be used for the contest and a full paid version that is available to users that want to buy it before the contest has finished. Is it a violation of TOS or it can be done at my own risk (because the demo valued by judges is not the complete version?

View 2 Replies View Related

HTC : Demo Of 3D Games On Evo 4g

May 27, 2010

I was on the forum yesterday asking about how 3d games play on the new Evo and today I found this.YouTube - Sprint EVO 4G Android 3D games preview

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved