General :: Creating System Overlay (always On Top) Button In Android

Dec 19, 2010

I'm trying to create an always-op-top button/clickable-image which stays on top of all the windows all the time. The proof of concept is here URLs...I'm following this example code URL....

I have been successful and have a running service now. The service displays some text on top left corner of screen all the time while user can freely interact with rest of apps in normal manner. What I'm doing is subclass ViewGroup and add it to root window manager with flag TYPE_SYSTEM_ OVERLAY. Now I want to add a button/clickable-image in place of this text which can receive touch events on itself. I tried overriding "onTouchEvent" for the whole ViewGroup but it does not receive any event. How can I receive events only on certain parts of my always-on-top view group?

Code:
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.graphics.Canvas;
[code]....

General :: Creating system overlay (always on top) button in Android


Android :: Map Open Overlay When Pin Is Clicked - Overlay Contains Description / Button

Aug 18, 2010

I like tu use the MapActivity to display some pins. When a pin is pressed i like to open a description. This can I obtain following the tutorial: http://developer.android.com /resources /tutorials/views/hello-mapview. But now I like to put a button on the overlay window. That button should open a detail activity. How can I make this? How is possible to personalize the overlay "info window"?

View 2 Replies View Related

Android :: Display AlertDialog As System Overlay Window From Service

Sep 28, 2010

I have issue with displaying AlertDialog from Service. I am able to display custom layout window using Toast or using WindowManager(TYPE_SYSTEM_ALERT or TYPE_SYSTEM_OVERLAY). But, I do not want to use custom layout, I prefer to use nice AlertDialog GUI directly.

Scenario:

Running Service. No active Activity present. On some external event, Service sends Notification
When user press Notification, Service is informed via PendingIntent and AlertDialog should be displayed (created with AlertDialog.Builder(this))

Error: ERROR/AndroidRuntime(1063): Caused by: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application. Searching for the answer lead me to impression that I am trying something that is currently not possible (Android 2.2). Or maybe it is.

View 1 Replies View Related

Android :: Overlay OnTap Not Working After Back Button?

Jul 29, 2010

I have several Overlays drawn on a MapView with ItemizedOverlay, and an onTap that works when I first start my app. However, if I press the Back button on the Android then start my app again the onTap does not work at all. Other touch sensative operations work fine, like long press on the map and several face buttons. It is also fine if I press the Home button on the phone then go back into my app, so its only on the Back button. It will also work if I first open another app like the Maps app, then go back into my app, acting like a reset.

Overriding the onBackPressed method to move the task to the background also does not work, does anyone have any ideas what would cause this? It happens in both the emulator and on a real device.

I don't know if it will help but here is the relevent code:

CODE:...........................

View 1 Replies View Related

Overlay Bitmaps With Click Of Button

Oct 27, 2011

I am currently working on an app and I want to lay a Bitmap over the Google Maps bitmap with the click of a button. I am assuming this is possible, and maybe a lot easier than I'm making it.

class MapOverlay extends com.google.android.maps.Overlay
{
@Override
public boolean draw(Canvas canvas, MapView mapView,
boolean shadow, long when)

[Code] ......

View 1 Replies View Related

Android :: Creating ListActivity With Button On Bottom

Oct 21, 2010

I wanted to know how to create a listActivity on Droid but on the bottom have a bottom to do whatever I want so like in a section of its own. Recently I tried merging two layouts with one being the row one for list Activity and a button but all I get are a list with buttons next to each line on the list so how can we do a list with a space on the bottom just for a button?

View 16 Replies View Related

General :: Xperia SP - How To Deactivate HW Overlay

Oct 15, 2013

Can i deactivate hw overlays forever?Every restart I must make it off again. I have a Xperia SP and the front camera and movies don't show a picture when it's on.

View 2 Replies View Related

General :: Overlay Folder In CM Build

Mar 30, 2012

What does "overlay" folder do in device/vendor/*DEVICE directory do? How do you make one? What needs to be in it? I am building for a CM7 port.

View 9 Replies View Related

General :: Restore System From Unlocked Bootloader System?

Jul 11, 2012

What will the cwm backup?

if I backup a system with locked bootloader,will the bootloader relock after I restore the system from an unlocked bootloader system?

Which content will cwm backup?(include kernel?)

View 5 Replies View Related

General :: Icon Overlay On YouTube Videos?

Nov 7, 2013

Did some Googling on this with no results. I have an N4 and have noticed (maybe since the last update to the YT app?) that there is an icon overlaying any video I watch, it's a rectangle with what looks like a wireless signal in the lower left that is there through the entire video. Accessing YT via Chrome it's not there. I'm almost always on wi-fi when watching videos.

View 4 Replies View Related

General :: Galaxy Nexus - Remove UI Background Overlay

Nov 19, 2013

I'm using latest Cyanogenmod ROM on my Galaxy Nexus. Changed the Softkeys and Navbar to transparency and it looks great. But it seems that in standard design there is an gradient Overlay on the Background Image?!

Is there anyway to remove that? i will attach screenshot. If I'm changing the Design to any other Theme like "holo glass" it works fine...no overlay, nothing. So there should be a way by decompiling SystemUI or something?

View 1 Replies View Related

General :: Creating User In Android 4.2.2 (LG P Pad 8.3)

Nov 12, 2013

LG G Pad 8.3 running stock Android 4.2.2? How to create a new user. It's like LG forgot to show the "Add User" button under "Settings -> Users". Unfortunately there are no LG G Pad forum on XDA, and LG do not have any customer support. They basically do not pick up the phone. And since it's a new device, there are not much information about it yet.

View 4 Replies View Related

General :: Creating Custom Keyboard In Android

May 10, 2011

I looked /read the sample sofkeyboard code and tried to run it on my emulator and on my device .The console shows that the app is installed but i can't locate it on my desktop to use it but it shows the name in the application location.

View 1 Replies View Related

General :: Getting Error When Creating New Contact In Android?

Mar 17, 2014

Whenever I create a new contact in Android (in both 4.3 and 4.4 GN3) for my outlook.com account via Exchange ActiveSync (e.g. First: John, Last: Smith, email:url...), after sync is complete, the email address entry in outlook.com becomes "John Smith (ur)" in its entirety rather than just url...

View 1 Replies View Related

General :: Software For Creating Android Apps?

Jun 5, 2012

give me a list of ALL Good and Best Softwares (not online app makers) used to create android apps WITHOUT KNOWING Java!I used Eclipse, but it's difficult.

I just know some basic tags in HyperText Markup Language... Not Java..

View 2 Replies View Related

General :: Creating Bootable SD Card From Within Android

Apr 6, 2013

Is it possible to do this within Android?

At the moment I've this rooted phone running ICS, an SD card, an SD to USB reader and a netbook that once ran windows 7 until an hour ago. Oh and no working computer access for a few days.

I've installed a couple of versions of linux on PC's in the past, mainly as quick fixes between windows installations as I've proved myself too much of a novice to use it full time, so I know it can be done from an SD card easily enough should you be able to make one bootable with linux installed.

As I've only got this phone for a few days, would it be possible to do the above directly from this device?

View 1 Replies View Related

General :: Stop Android From Creating Folders In SD

Sep 13, 2012

how do u stop android from creating folders in SD card like for example "Movies, Podcasts, Ringtones, My Documents"

View 1 Replies View Related

General :: Creating Zip Files In Android Command Line

Jun 27, 2011

I noticed in the newer releases of busybox there's no 'zip' command anymore. I'm running busybox 1.19 on my Incredible.

I have been using this command to create different bootanimation.zip files from my phone but am wondering if there is an alternative command I can use from within Android. I've tried tar -cvzf but I believe tar archives/compresses the files differently and renaming the extensions to .zip does not work.

View 8 Replies View Related

General :: SDcard Or Android Creating Unwanted MP3 Files?

Sep 28, 2012

I cannot play my mp3s without one or two songs repeating over and over, before going to a new song, then the player goes back to the same repeated ones. I noticed that extra files are being created continuously in the mp3 folder. Even if I make a play list the player still manages to go back to these invader files. Is that a micro sd card or android issue. I first notice it after I install ics on my SGS I9000. Now I am JB (I9300OXADLI8).

View 2 Replies View Related

General :: Multi-Touch IR Overlay Only Allows One Touch With Android Box

Oct 25, 2013

I purchased the IR overlay from here [URL] I got it working with my mk808b by using an idc fiile, however, it only allows one touch point which means no zoom. On the computer it is multitouch.

View 7 Replies View Related

General :: Creating New APN - 4.1.2

Jul 13, 2013

I can't create a new APN in my phone. I own a samsung galaxay star GT-S5282.

I tried using giffgaff, but when i save the APN that giffgaff made, it isn't there. And I tried doing it manually too. It's not there when i press save.

I tried using APN backup and restore, and when i open the app, it says "Unfortunately APNs cannot be restored or deleted on this device because android 4.0+ does not allow 3rd party apps to write APN settings."

I already checked the unknown sources in settings>security>unknown sources.

I don't know what to do to create new APN.

View 5 Replies View Related

General :: Spice Mi355 - Menu Button Change To Option Button

Nov 7, 2012

i update ics in spice mi355 bt in my phone status in about phn only 2.3.6 only show it bt looks are change.and menu button change to option button clockwise.hw do i knw whther ics change in phn or nt?bt file is download in our forum 1ly size is 90 mb.

View 1 Replies View Related

General :: How To Find Direct Link Used By Gmail When Creating Account On Android

Sep 6, 2013

I want to create a new account on Gmail Android.

Im interested to find the direct link used by Gmail when creating an account on Android

Then i want to paste that link into my Windows browser, and sign up like i do it from Android.

Is the link coded into the apk file?

View 2 Replies View Related

General :: Find Direct Link Used By Gmail When Creating Account On Android?

Sep 6, 2013

Is there any way to find the "Sign UP" link coded in Gmail.apk ?

Can i paste that link into my Windows browser, and sign up like i do it from Android. ?

How to capture the web requests from gmail.apk?

View 6 Replies View Related

General :: Lock Button Isn't Working / Home Button Gives Power Screen (Samsung Vitality)

Jul 26, 2012

My phone was working just fine and randomly the lock button stopped working and the home button brings up the power screen!

View 1 Replies View Related

General :: Creating A Custom Rom?

Nov 25, 2012

Where would one begin to create an Android rom? I have looked at a couple of tutorials but they all require me to download some application that is not open source and only has binaries for Windows.

View 2 Replies View Related

General :: Creating ROM From Nandroid?

May 4, 2012

I put together a ROM with the kitchen and did the major theming through the actual ROM and plan to backup fully when done and then run the backup through the kitchen.

Nexus One using XDA

View 1 Replies View Related

General :: Creating Photo Albums?

Jun 8, 2013

I just transferred a bunch of pictures (over 2000) from my ipod to my mytouch 4g slide. I had them all in neat little albums on the ipod and i would like to do the same on my phone. Problem is i cant figure out how, other than putting the files into separate folders on my sd card, which i don't like because i like to have a general folder of all of them together with separate albums for specific things, and sometimes a picture would go into more than one album. Is there an app or a way to do this on my phone, I don't mind if the app creates copies of my pictures as long as the original files are left untouched. And is there a way to organize my pictures by name rather than date? Because when I transferred them it don't keep date it was added but rather the date i copied it, and when organized by name its correct because of the numbers in the file name.

View 1 Replies View Related

General :: Creating OPS Files For Odin

Oct 21, 2011

I have a rather new phone, 2 weeks at most. I have rooted it, and am now trying to get it on odin. We have two bricked phones to work with, Download mode still works with both. I have dumped all partitions in /dev/block.I am working on the OPS file. I found this in the I believe Odin image. I think it's the OPS but I don't know.

here is the lines cleaned up this is the exact order I found it in from the image.

MIBIB
SIM_SECURE
FSBL
OSBL
NVBACKUP
AMSS
EFS2
APPSBL
DSP1
QDSP_Q
CPFOTA
boot
recovery
parameter
system
userdata
cache

View 2 Replies View Related

General :: Creating CWM Flashable Zip For APK File?

Aug 13, 2012

Can create a cwm flashable zip for my given .apk file

View 1 Replies View Related







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