how to complete an App ? - Android Q&A, Help & Troubleshooting

hi buddies, i am newly joined to developers society and i am trying to learn android programming, i have developed several basic and simple Appz. but now i have a problem. for example one of my app has 2 activities and a list adapter and so on. i have finished the first phase of my app, now i want to complete it as an ended app with icon and just one .apk file. i would be thankful if you help me how to put an icon on an app and how to incorporate activities in app so that when u install the app on your device there is only one item and named your app with its icon?
thanks a lot

Armansch said:
hi buddies, i am newly joined to developers society and i am trying to learn android programming, i have developed several basic and simple Appz. but now i have a problem. for example one of my app has 2 activities and a list adapter and so on. i have finished the first phase of my app, now i want to complete it as an ended app with icon and just one .apk file. i would be thankful if you help me how to put an icon on an app and how to incorporate activities in app so that when u install the app on your device there is only one item and named your app with its icon?
thanks a lot
Click to expand...
Click to collapse
How to set an icon for Android app is over here:
http://forum.xda-developers.com/showthread.php?t=1759211

Re:
thanks dude, your answer solved my first question but i have not received my other questions answer ! let me explain it more clearly :
i have sent my "aquarium.apk" file from this address : "C:\Users\arman\workspace\aquarium\bin" to my tablet to see what i had developed but it has been like this in my tablet (image in attachment), i want to know how to make only one item with icon for my app when it is installed on device.

Look into the AndroidManifest.xml.
I there, you marked the second activity too with the intent-filter "LAUCHER".
For you second activity, just remove the intent-filter block.
Sent from my Galaxy Nexus running Android 4.2 JB

Related

[Q] Implementing freezing apps functionality

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?

[Q] How Can I Find App Activity Name

Hi Everyone,
I will make a theme for android and i need app activity names for custom icons. I found a website for activity name but it's not working at the moment http://activities.droidicon.com/
Does anyone know how can i find activity names of apps. Is there a website like droidicon.com
zizifos said:
Hi Everyone,
I will make a theme for android and i need app activity names for custom icons. I found a website for activity name but it's not working at the moment http://activities.droidicon.com/
Does anyone know how can i find activity names of apps. Is there a website like droidicon.com
Click to expand...
Click to collapse
I don't know any website with all the activity names, but I remember that it wasn't so hard to find it. It will take some time decompiling each app and searching for the activity line in AndroidManifest.xml. You can try this way if You are patient and have some time. I could also help You finding the right line in AndroidManifest.xml if You had some problems or didn't know how to do that
I know how to do man . So hard working waiting me
zizifos said:
I know how to do man . So hard working waiting me
Click to expand...
Click to collapse
Yeah, but once You do it, You can save all the activity names for the future
Good luck
Good luck
Sent from my GT-S5830 using xda premium
android activities
i have a source code that might help you .....
i founded on the internet a long time ago....
if someone can do a apk file that can save the app info from the phone in a notepad or a .txt or send to a email address the info that will be great
i don't have the skills to do that... i will attach the project
please let me know if you guys can do it...
zizifos said:
Hi Everyone,
I will make a theme for android and i need app activity names for custom icons. I found a website for activity name but it's not working at the moment http://activities.droidicon.com/
Does anyone know how can i find activity names of apps. Is there a website like droidicon.com
Click to expand...
Click to collapse
Take a look at this very useful app and accompanying search engine: http://forum.xda-developers.com/showthread.php?t=2404405

[Request] how to get app in total stealth mode...

I happened to come to this app called "perfect app protector"...
In it I found a option which could get the app in stealth mode...
Once in stealth mode it would:
1) dissappear from app drawer <obviously>
2) dissappear from system application list too...!
3) it would simply not show that it's running in background...
Like u close the app and it would be out of notification panel...
4) it worked in the background but didn't show up in task manager...
5) only way to open the app wz by dailing the it's password in the dialer and calling... ( I wonder what wifi only user's do..)
I wanted to port it in other apps I have...
So I started learning the language but even after two weeks I cant get the coding which does all this....
Basically would anyone be able to hind me how to put all this in the apps...??
Apps that don't have them...
I will not be redistributing the modified apk and its purely for personal use only... for apps like my anti theft I need this.
Plus I have already brought in the donate version of app(perfect app protector) to support the dev and coz im taking inputs from his app ...
Im not talking about copying and pasting it. Just the feature in my preferred app which I'll b writing in it with the modification I want...
I'm talking about putting the code in the app , so I guess this iz the correct forum. If it's not direct me to one...(trying to learn the correct language to put in the app)
Sent from my GT-P3100 using xda premium
Im not sure, but if i could get a clue about this, ill inform u

WTF Viber??

Ok, im having some problems with Viber... each time I open the app it aways create a shorcut on my home screen..... always, any 1 know how to fix that?
Ok so no 1 use viber?????
This forum is for the device itself. It's not for troubleshooting apps. If you want your problem to be solved contact the app developers themselves.
SignetSphere said:
This forum is for the device itself. It's not for troubleshooting apps. If you want your problem to be solved contact the app developers themselves.
Click to expand...
Click to collapse
every wrong thing that happen on the device its about the device. its the same as (google maps issue on H1) then contact google for apps service..?
No, its not about the device. Its the app. Also, refrain from bumping until 24 hours has passed with NO activity. Its against the rules. Start following them, you agreed to them when you signed up.
Sent from my GT-I9300 using XDA Premium 4 mobile app
There is no option for that in viber. See in your launcher settings. Try another launcher to see. If it doesn't come from launcher see in Play Store and untick the option to add a new shortcut.
If no help, contact viber team on Twitter.
danieldp1990 said:
every wrong thing that happen on the device its about the device. its the same as (google maps issue on H1) then contact google for apps service..?
Click to expand...
Click to collapse
Google maps is a pre-installed system app viber isn't.
It's behavior of application itself, can't be helped
Some "rogue" apps are made to do that, keep user stick with it
I have lots apps which has such behavior and for lucky my home screen is already full so they can't put any icon more on it
Sent from my GT-I9300 using xda premium
Hi guys!
This is a member of the Viber Team.
Thank you for the report of the problem.
We would appreciate if you could take a minute and report the details to our support team using this direct link: http://bit.ly/ukGVJ0 (when you submit the ticket, please make sure to specify the link to this page in the approapriate place in the form, for monitoring purposes). With this information, our development team will hopefully be able to find the source of the problem, and ultimately resolve it.
Thanks in advance
Viber Team

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.

Categories

Resources