[Q] Implementing freezing apps functionality - Android Q&A, Help & Troubleshooting

Guys, I'm in the process of developing my first app using eclipse for my college project. I was thinking of developing an (root) app which allows me to hide other apps entirely, by say, freezing them (like in Titanium Backup). Can anyone please give me some pointers as to how I could actually achieve hiding/freezing the apps? Also, which part of such an app would require root access?
-Prasad.

Anyone??...

This is like asking, "I want to draw a totally awesome picture for art class. Can you tell me how to do it?" Start programming and when you come to specific problems then ask for help.

awesomecomb said:
This is like asking, "I want to draw a totally awesome picture for art class. Can you tell me how to do it?" Start programming and when you come to specific problems then ask for help.
Click to expand...
Click to collapse
Alright.. Can you atleast give me a pointer as to how one displays a list of all installed apps on the screen?
I built the tabbed interface in XML. Now I wanna know how to get a list of apps shown under the tabs... ?
Also, I code in Java. But I'm very new to Android coding, and a lot of calls made and other functions and the like, I'm unaware of... Can you give me the best reference for learning the same?

Please use the Q&A Forum for questions Thanks
Moving to Q&A

So how do I use a ListView to show the list of applications on phone?

Related

App ideas for beginners

I am just starting to learn how to develop apps for android. I want to start by making some nice easy apps and work my way up to harder stuff. Im having trouble thinking of apps that would be easy to make. I don't really care if they are usefull or reallistic.
Could developers post some app ideas that are good for learning perposes. I figure this will be usefull for others who are in the same situation as well.
It would be helpful if you put a general difficulty level and any hints/suggested research topics.
dmobbjr said:
I am just starting to learn how to develop apps for android. I want to start by making some nice easy apps and work my way up to harder stuff. Im having trouble thinking of apps that would be easy to make. I don't really care if they are usefull or reallistic.
Could developers post some app ideas that are good for learning perposes. I figure this will be usefull for others who are in the same situation as well.
It would be helpful if you put a general difficulty level and any hints/suggested research topics.
Click to expand...
Click to collapse
Look for some tutorials for a to-do list, or a currency converter.
Probably the best thing is to think about a "real" application and then try to implement it.
There are a lots of problem that you could find (connections, storing, parsing..), but they depends on the application.
Thanks thats the kind of stuff im looking for!
Keep them coming people. I would like to see this thread become a resource for people of different levels as well.
I'd really like someone to develop a calendar app where I can swipe down the hours on day view to set my shifts. I get 20 different shifts a per month, loading them individually into stock calendar on my phone is laborious. If I could press on 6am and swipe to 4pm, this would be great. I have searched high and low on the market for this function.
If this is something that you're interested in, let me know and I can expand somewhat.
Sent from my GT-I9300 using xda premium
Mr Woolf said:
I'd really like someone to develop a calendar app where I can swipe down the hours on day view to set my shifts. I get 20 different shifts a per month, loading them individually into stock calendar on my phone is laborious. If I could press on 6am and swipe to 4pm, this would be great. I have searched high and low on the market for this function.
If this is something that you're interested in, let me know and I can expand somewhat.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Business Calendar has the swiping action in its Add Event screen.
Questions should be asked in Q&A forums, not Development forums.
Thread moved.
There's a 'hello world' app tutorial, in coding one simple code.example I'be seen is making tthe screen print "hello world", I assume this is a similar concept. Theyvare in the Development and Hacking section.
Sent from my LG-P999 using xda premium

How do you develop and app?

Hi all. Feel great to join such a huge forum and I have a question. Yeah. New stupid member with studpid question. But I hope it's not stupid enough and you guys be able to answer it(hope so).
It's kinda simple question for all of you who have some experience in Android Freelancing. For example you get an job request to build a Android Bluetooth App to detect other devices and some other functionality which client asked to do. So, what is your first steps to create the app using Android SDK Eclipse or whatever(PhoneGap, Titanium, etc...)? Creating from the scratch or already have pre-build code to start with. I always curious how developers start making app for clients, so it would be awesome if someone have something to say in this situation. Appreaciate any answers. Thank you

[Q] Capture Stylus hover events before they get to apps

I'm trying to work with a custom build of Android based on KitKat to incorporate a stylus, copying some of the functionality (though not code) from Samsung which sells Android-with-stylus builds for e.g. the Note 3. I'm not including details of the specific device because right now I am working on a custom dev device and my aim is to write code which is generic enough to be usable from any Android (based on KitKat). The build (written by others) already incorporates drivers and sends stylus events correctly as motion events etc. Programming at the app level I can receive onHover, ontouch, onClick etc
The specific functionality I am trying to achieve is to pick up a stylus-button-click while hovering. It's perfectly possible to do this in any app, using an onGenericMotion Listener.
However, I want to make my "stylus-action" have system-wide effect - so that anywhere (in any other app, or in the launcher or whatever) I will pick up the event (prior to any other app) and bring up my custom menu. (just like AirCommand in Samsung Note 3) I guess in my custom Android this would then make that particular action somewhat protected or unusable for other users, but I'm ok with that.
In older Android (prior to ICS) you could try something by putting up a System Overlay (i.e in regular app code, without hacking the ROM at all), but this is no longer possible.
This is not an attempt to tapjack or whatever, I understand why this functionality has been removed from the domain of the regular programmer, and I don't want to regress my ROM back to pre-ICS behaviour by allowing the System Overlay hack. Now I am programming the system (if my change is good enough I'd like to submit it back to AOSP) so I would like to know the best method to address this. Since Samsung have already done this, it must be legal (using legal in the terms of "Android will allow it"), and I want to do it right.
Is it possible to write something similar to the System Overlay when you are running from a system service? Or is there a good choke-point to capture events before they are broadcast to the current running apps?
I was looking at (sorry, not allowed to post links) AndroidXRef /frameworks/base/core/java/android/view/View.java specifically in the function dispatchHoverEvent() which looks like a promising place. My naive idea is that I would place code here checking the MotionEvent to see if the button is pressed and if it is, don't call any listeners and instead call my little menu app (or broadcast a custom message, or something anyway). However, I've never written code on the ROM level before (LOTS of experience writing app code) so I don't know if this is a really bad point or a good point to add in code. Should I be putting things at a higher level or a lower one? Will this capture all events or not? Is it all just trial and error?
If this is the wrong place to ask questions like this, please tell me where on XDA I should be asking it. If it's the right place - please answer
Thanks
Kibi
Crickets....
Is this the wrong forum to ask? Anyone able to clue me in on where i should be asking?
Thanks
Last try
Bumping one more time for good luck.
if this is the wrong forum, please can someone point the way to the right forum for me
Thanks
Kibi
kibi1 said:
Bumping one more time for good luck.
if this is the wrong forum, please can someone point the way to the right forum for me
Thanks
Kibi
Click to expand...
Click to collapse
this is not a wrong section but your post is too long so no one intrested to wasting time to read whole post.even i haven't read the post
kibi1 said:
Bumping one more time for good luck.
if this is the wrong forum, please can someone point the way to the right forum for me
Thanks
Kibi
Click to expand...
Click to collapse
The guy above me is a ****. I stumbled across this post looking for something completely unrelated (title interested me). Five words in I knew this was something completely out of my league, but I still read the entire post. If I may offer you some probably useless advice, I would talk to the devs in the note forums. The only problem I could see is that the AOSP guys don't have this function in their roms because it's locked up Samsung code and the guys modding the stock roms leave it alone for the same reason. I could also be completely wrong. Like I said completely out of my league.

help with colouring app for my daugter

Hi and hello to all, sorry if I posted in wrong section but I guess its the right one.
I am rather clever person so I should cope, but need guide and help to do so.
I have daughter and wish to create colouring app without buttons like share or any adverts (basically anything that will make her get out of application and start to call foreign country and make my bill horrendously big etc.)
so for start I downloaded all android SDK and Studio.
My idea is to have menu with pictures (ill make those out of disney cartoons in photoshop)
once clicked it will enlarge and show colour pallet (preferably 256 colours, tiny boxes) that she could touch at top of screen,
and enlarged picture at bottom where she could fill empty spaces with desired colours.
device im intend to use is Samsung s4 or s5 my wifes or note 4 which im willing to get soon
I know I might ask for quite a lot but honestly its beyond me. I have tried to google some libs but after 6h I failed miserably.
onehans said:
Hi and hello to all, sorry if I posted in wrong section but I guess its the right one.
I am rather clever person so I should cope, but need guide and help to do so.
I have daughter and wish to create colouring app without buttons like share or any adverts (basically anything that will make her get out of application and start to call foreign country and make my bill horrendously big etc.)
so for start I downloaded all android SDK and Studio.
My idea is to have menu with pictures (ill make those out of disney cartoons in photoshop)
once clicked it will enlarge and show colour pallet (preferably 256 colours, tiny boxes) that she could touch at top of screen,
and enlarged picture at bottom where she could fill empty spaces with desired colours.
device im intend to use is Samsung s4 or s5 my wifes or note 4 which im willing to get soon
I know I might ask for quite a lot but honestly its beyond me. I have tried to google some libs but after 6h I failed miserably.
Click to expand...
Click to collapse
Perhaps you wish for a child's mode or guest mode in which only certain apps can be accessed? Because what you are suggesting is making an app that you can enter, but can't leave. How will you get out of it when you need to?
Try an applocker that can be disabled/reenabled via a password... This way you can only make a coloring app (and other games) available to her unless she has a special password. Apps like this should block the phone, gallery, messaging, or anything else you wish for her not to access.
Try something like this: https://play.google.com/store/apps/details?id=com.pluggdd.SmartAppLocker , but if you don't like this then there are a plethora of other alternatives.
Now you should be able to allow her to access several apps and games that you deem to be appropriate for her, then, when you need your phone you can exit it and use it however you please.
thanks that will solve a lot of my problems :good: but yet all this children apps have adverts that i dont want her to click and still i would like to create colouring app just for her.
onehans said:
thanks that will solve a lot of my problems :good: but yet all this children apps have adverts that i dont want her to click and still i would like to create colouring app just for her.
Click to expand...
Click to collapse
Is your phone rooted?
Sent from XDA app via my LG G3 D851.
yes its rooted and i know i can remove adverts, but whole point is to create colouring app where i can change pictures etc.
ps. im not willing to root all phones tablets in home
onehans said:
yes its rooted and i know i can remove adverts, but whole point is to create colouring app where i can change pictures etc.
ps. im not willing to root all phones tablets in home
Click to expand...
Click to collapse
Posting a new thread in a section dedicated to app development might attract individuals into trying to make the app for you.
Sent from XDA app via my LG G3 D851.

beginner need help about programming an app with vibration control!

Hello! Im a music technology student, my final year project is about improving the media experience on the smartphone. I want to make a simple app that plays video while vibrating in a certain pattern in low intensity. Is it possible? If yes, can a total newb like me can do that? I can provide a thin pay for anyone could help!!!!!Thanks!
Please help me!
Please help me! I really want to experiment with smart devices and I can't find any help in the school!!!!
sotszfung said:
Please help me! I really want to experiment with smart devices and I can't find any help in the school!!!!
Click to expand...
Click to collapse
Well first of all, this is the wrong place to ask this question but still. You'll need Android Studio to program an app (or use xamarin with c# if you don't want to use java). There are extensive tut's about creating your first android application on the internet provided by google. Try to complete (most of) the tut's that they suggest. After that you'll (hopefully) have a basic understanding of programming in android.
But be reminded that learning to program is a process that could take a long time, depending om how much time and effort you put in to it.
Goodluck!
https://developer.android.com/training/basics/firstapp/index.html

Categories

Resources