Related
Just started teaching myself to program Android apps. I have a book called "Android Apps for Absolute Beginners" by Wallace Jackson. Im in the process of making a hello world app and the instructions for making an icon for my app is a bit convoluted.
I have 3 icons, 72x72, 48x48, and 32x32. I have put them in /res/drawable-hdpi/icon.png, /drawable-mdpi/icon.png, /drawable-ldpi/icon.png, respectively.
The app runs in the emulator, but when i goto the app drawer it shows a default icon instead of mine.
Any help would be great. As a side note, is 72x72/hdpi what would be used for qHD and 1280x800 tablet screens?
Still cant figure this out, if anyone could help itd be great. Thanks
Your Manifest file must point to the name of your icon in the drawable folder, instead of the default icon. So do that where it says android:icon="@drawable/icon"
Sent from my Nexus S using XDA Premium App
Not sure how you are having problems here.... If you have not edited the manifest file it will look for the icon.png in whichever drawable folder the phone is using. Eg.. HTC Desire will read from drawable-hdpi.
This is a good resource for creating icons btw...
http://android-ui-utils.googlecode.com/hg/asset-studio/dist/index.html
One thing to note is that the emulator (and sometimes real devices) are bad at refreshing icons. Try and uninstall your app before running it again from Eclipse.
Tony
Thx guys. My manifest and folders were good, but I was using a 1.5 AVD. As soon as I changed it to 2.3 it worked. I'll have to test later to find out how to get it to work on older versions of Android
Sent from my PG86100 using XDA App
Hello everyone
Im thinking of changing from S3 to note3, however I want to know if the app popup browser that comes with s3 also exist on the note 3....this feature ks also a deal break for me....
Let me know
Thanks
Sent from my GT-I9300 using xda app-developers app
HcMAX said:
Hello everyone
Im thinking of changing from S3 to note3, however I want to know if the app popup browser that comes with s3 also exist on the note 3....this feature ks also a deal break for me....
Let me know
Thanks
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
No pop up browser
Sent from my SM-N9005 using xda app-developers app
It doesn't exist. You have pen window though.
Just downloaded pop-up browser from the Playstore. IMO it's better than Samsung's anyways.
Sent from my SGH-T889 using Tapatalk 4
If you really miss the stock popup browser have a read over this thread. Should be able to install it in your Note 3. :good:
http://forum.xda-developers.com/showthread.php?t=2223456
i also used to used pop up on my old note 2.
But on note 3 using pen window ,is even better than popup !,
no need to be deal breaker ,
Is there text flow? Is it possessive to fit the note 2 battery in the note 3
Sent from my SPH-L900 using XDA Premium HD app
HcMAX said:
Hello everyone
Im thinking of changing from S3 to note3, however I want to know if the app popup browser that comes with s3 also exist on the note 3....this feature ks also a deal break for me....
Let me know
Thanks
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Nope, there's no more pop up browser, shame.
Pen Window is great. No worries.
Sent from my SAMSUNG-SM-N900A using Tapatalk 4
Thanks all for your input
Please look at the photo attached
Can you do that? For example when I am on Facebook, and there is a blue link to read the all stories from a post, I click it and appears the pop up browser. ..can you do that on note 3?
Thanks
Sent from my GT-I9300 using xda app-developers app
MohJee said:
It doesn't exist. You have pen window though.
Click to expand...
Click to collapse
willcor said:
But on note 3 using pen window ,is even better than popup !,
Click to expand...
Click to collapse
verks said:
Pen Window is great. No worries.
Click to expand...
Click to collapse
People, are you serius ? Have you ever used the pop-up browser ? In what way the Pen Windows can replace the pop-up browser ? IT CAN'T !!! :crying::crying:
Every Link you have, on Note 2, you can open it with pop-up browser, so it mean that if you are on hangout / facebook / whateveryouwant you can open a link in the pop-browser, so you can follow 2 things at time. Pen Windows can't open link in other app, so it can't replace the pop-up browser !
Volfied said:
People, are you serius ? Have you ever used the pop-up browser ? In what way the Pen Windows can replace the pop-up browser ? IT CAN'T !!! :crying::crying:
Every Link you have, on Note 2, you can open it with pop-up browser, so it mean that if you are on hangout / facebook / whateveryouwant you can open a link in the pop-browser, so you can follow 2 things at time. Pen Windows can't open link in other app, so it can't replace the pop-up browser !
Click to expand...
Click to collapse
Just downloaded popup browser from the play store it's quite like the old popup browser but not for me at the moment I uninstalled it.I do not miss the old popup browser the new multitasking is better.But my old phone was a note 1 so maybe popup on 2 was better
pen windows as popup browser
On my Note 1 if I have the browser running in split mode, any link I click in the other half will be opened here. I'd think pen window would act the same.
A Note 3 owner please confirm this:
1. Create a pen window
2. minimize it
3. click on a link in facebook (or whatever app)
4. Does it activate pen window?
if it does, I think pen window will be an improvement for popup browser, which I am also a big fan of on the Note 1.
HcMAX said:
Thanks all for your input
Please look at the photo attached
Can you do that? For example when I am on Facebook, and there is a blue link to read the all stories from a post, I click it and appears the pop up browser. ..can you do that on note 3?
Thanks
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
yes....i can on my Note 3...!!!
well is this what you looking for.??
My twitter feed i click on link and open chrome browser in a resizeable /switchable popup !!
( i do not know about facebook,as i don't really use it on my phone )
post edit
second screenshot i clicked on link in my gmail ..same results with blue icon options etc..!!!.
also to be clear i achieve this not by using multi window side bar, but in relevant standalone app itself,clicking on link..etc///( e.g tweetcaster ...gmail...)
Volfied said:
People, are you serius ? Have you ever used the pop-up browser ? In what way the Pen Windows can replace the pop-up browser ? IT CAN'T !!! :crying::crying:
Every Link you have, on Note 2, you can open it with pop-up browser, so it mean that if you are on hangout / facebook / whateveryouwant you can open a link in the pop-browser, so you can follow 2 things at time. Pen Windows can't open link in other app, so it can't replace the pop-up browser !
Click to expand...
Click to collapse
hi,plse see my screenshots in post 14...
apart from pen window you enable other settings,and you get results as shown in my post 14 screenshots
please try it on your Note 3
good luck
willcor said:
hi,plse see my screenshots in post 14...
apart from pen window you enable other settings,and you get results as shown in my post 14 screenshots
please try it on your Note 3
good luck
Click to expand...
Click to collapse
It's not the same, it's a workarount !
In that way you need to use multiwindows and you need to open 2 apps and this mean that the apps with links is compatible with multiwindows. With pop-up browser it's not needed (you can also disable multiwindows) and it's more fast and usable on the go.
Click on Link => Open in pop-up browser
Easy, no multiwindows, no more steps, Nothing Else.
You are not convincted ?
Easy Diagram Steps
Note 3 with no pop-up browser
1)Open Multiwindows
2)Drag the Internet app
3)Drag the Compatible App
4)Click on the central blue point and choose the apposite tool
5)Drag and Drop the link on the Internet navigation bar
AMAZING !!! So fast, few steps and .... compatible with all apps ... Ah wait, only with multiwindows compatible app
Note 2 With pop-up browser
1) Open whatever you want app and click the link
2) Choose to open in pop-up browser
Few steps, compatibile with all apps, fastest ..... Don't think i'll use multiwindows to open link instead of a pop-up browser :laugh:
BTW I'll use the app "Browser window", but this a big missing in Note 3
The way I, and I think a lot of people, use pop-up browser is to click on a link in another app (EG: e-mail) and have the browser content display less than full-screen so the original app (EG: e-mail) doesn't lose focus so you can close the browser content and continue where you left off. The N3 does this automatically. At least mine does. This is clicking on an advert link from within an e-mail. I don't have to "open" or "split" anything to get it to behave this way; it just does.
Pen window as popup browser
I mentioned multi window only as an example. My suggestion is to have a pen window browser minimized, and then click on a link in any app.
Is it directed into the pen-window-browser or a full screen browser is started?
I don't yet have an N3 to check it on
BarryH_GEG said:
The way I, and I think a lot of people, use pop-up browser is to click on a link in another app (EG: e-mail) and have the browser content display less than full-screen so the original app (EG: e-mail) doesn't lose focus so you can close the browser content and continue where you left off. The N3 does this automatically. At least mine does. This is clicking on an advert link from within an e-mail. I don't have to "open" or "split" anything to get it to behave this way; it just does.
Click to expand...
Click to collapse
So you get the multi-wndow browser behavior out of the box without applying any particular settings? I can't get mine to do it without first firing up the browser in a multi-window.
I've used pop up browser, Pen window is just as good
Sent from my SM-N900T using XDA Premium HD app
After attending a talk about how to market our applications in better ways I just published a library I developed to ask users to users a rating on the Play Store.
It is extremely simple. It keeps track of the first time the application has been used and a counter of the number of times the application has been launched.
You can configure when you want to ask the user to rate your application both in term of number of launches and days from the installation.
When the conditions are met, the library creates a dialog with a button to open the Play Store page of the application, a button to postpone the alert and a button to dismiss it and never get asked again.
You can get the library from GitHub.
Feedbacks and recommendation about how I could improve it are very welcome.
mariosangiorgio said:
After attending a talk about how to market our applications in better ways I just published a library I developed to ask users to users a rating on the Play Store.
It is extremely simple. It keeps track of the first time the application has been used and a counter of the number of times the application has been launched.
You can configure when you want to ask the user to rate your application both in term of number of launches and days from the installation.
When the conditions are met, the library creates a dialog with a button to open the Play Store page of the application, a button to postpone the alert and a button to dismiss it and never get asked again.
You can get the library from GitHub.
Feedbacks and recommendation about how I could improve it are very welcome.
Click to expand...
Click to collapse
I will try it, thanks a lot.
Cyclingforfun said:
I will try it, thanks a lot.
Click to expand...
Click to collapse
Great. Let me know what you think about the library.
I hope you won't have any issue but in case you have problems let me know and we will try to sort them out.
Sent from my GT-I9505 using Tapatalk
Hi,
Here the German Translation: dropbox.com/s/jeoqbshoigft840/values-de.zip
- Jan
Screenshot?
bigjan said:
Hi,
Here the German Translation: dropbox.com/s/jeoqbshoigft840/values-de.zip
- Jan
Click to expand...
Click to collapse
Thank you! I'm traveling without my computer and I cannot push your translation to the repository immediately. If you like you can fork the project on github and create a pull request, otherwise I'll integrate your translation as soon as I get back home
Sent from my GT-I9505 using Tapatalk
Looks great! Got a little confused trying to set up in Eclipse, any suggestions? Thanks for your work!
:good:
pangolin.rollin said:
Looks great! Got a little confused trying to set up in Eclipse, any suggestions? Thanks for your work!
:good:
Click to expand...
Click to collapse
Step 1ownload the libraries.
Step 2:-Then copy the .lib file to the android libraries folder in the project tree for the app you are designing.
Step 3:- Happy coding!
There doesnt seem to be a libs folder. I imported the Javas and followed the directions but don't know how to configure the gradle modules cause I'm using eclipse not studio.
Sent from my SPH-L710 using xda app-developers app
Hello, while this is a good idea to ask for a rating, don't harass the user with it, and don't ask it too soon, leave the user some time to poke around
Regards
pangolin.rollin said:
There doesnt seem to be a libs folder. I imported the Javas and followed the directions but don't know how to configure the gradle modules cause I'm using eclipse not studio.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I am going to make a compiled version of the library next week as soon as I get back home
Sent from my GT-I9505 using Tapatalk
Magissia said:
Hello, while this is a good idea to ask for a rating, don't harass the user with it, and don't ask it too soon, leave the user some time to poke around
Regards
Click to expand...
Click to collapse
Thanks for pointing it out. It is extremely important and the parameters regulating when the application should ask for a rating should be set with care.
I decided to try to make it the less annoying possible by showing the message only once (if not explicitly deferred by the user) when both the conditions on the number of launches and on the time from the first launch are met.
Do you have any idea about how I could make the message even less annoying?
Sent from my GT-I9505 using Tapatalk
mariosangiorgio said:
Thanks for pointing it out. It is extremely important and the parameters regulating when the application should ask for a rating should be set with care.
I decided to try to make it the less annoying possible by showing the message only once (if not explicitly deferred by the user) when both the conditions on the number of launches and on the time from the first launch are met.
Do you have any idea about how I could make the message even less annoying?
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
I guess a good way would be to be to add a little shiny icon, if the user is curious (s)he will tap on this little icon, and that's the moment to display the pop up kindly asking for the review. This nice little icon taking little space somewhere on the screen would appear after a period of use to leave some time to poke around.
It will have the advantage of playing with end user's curiosity, and not aggressively show a pop-up, since the user will trigger it from it's own action.
Application's developer will be able to use something that fit the current interface or game as icon, not throwing the immersion to trash in a brutal way.
Backup plan in case the user isn't curious would be to still show the pop-up the hard way after some more time.
Some usage example could be adding the icon to the levels list in a game, or adding the icon somewhere in the toolbar for a file manager, text editor. Placing it next to a connect button for a social/messaging application.
Regards
Magissia said:
I guess a good way would be to be to add a little shiny icon, if the user is curious (s)he will tap on this little icon, and that's the moment to display the pop up kindly asking for the review. This nice little icon taking little space somewhere on the screen would appear after a period of use to leave some time to poke around.
It will have the advantage of playing with end user's curiosity, and not aggressively show a pop-up, since the user will trigger it from it's own action.
Application's developer will be able to use something that fit the current interface or game as icon, not throwing the immersion to trash in a brutal way.
Backup plan in case the user isn't curious would be to still show the pop-up the hard way after some more time.
Some usage example could be adding the icon to the levels list in a game, or adding the icon somewhere in the toolbar for a file manager, text editor. Placing it next to a connect button for a social/messaging application.
Regards
Click to expand...
Click to collapse
Thanks for your comments. I'm going to support custom ways to show the alert to the user. The library will still contain the alert message but developers will be able to show whatever they want (possibly something less invasive) when the conditions are met
Sent from my GT-I9505 using Tapatalk
What is that you are doing to make sure the dialog will never be displayed twice ?
SagiLo said:
What is that you are doing to make sure the dialog will never be displayed twice ?
Click to expand...
Click to collapse
The library stores its data in a file and when the dialog is marked as processed it sets a flag which disables further notifications.
Actually a user may see the dialog twice on different devices. We could avoid that with the synchronisation of the data file but I don't know if ot is worth the effort
Sent from my GT-I9505 using Tapatalk
mariosangiorgio said:
The library stores its data in a file and when the dialog is marked as processed it sets a flag which disables further notifications.
Actually a user may see the dialog twice on different devices. We could avoid that with the synchronisation of the data file but I don't know if ot is worth the effort
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
In a file means its not shared preferences right?
So if the user clears the app data, the file content will live ?
SagiLo said:
In a file means its not shared preferences right?
So if the user clears the app data, the file content will live ?
Click to expand...
Click to collapse
Unfortunately I used shared preferences
I was not thinking at the scenario where the user first uninstalls and then reinstalls an application
Sent from my GT-I9505 using Tapatalk
mariosangiorgio said:
Unfortunately I used shared preferences
I was not thinking at the scenario where the user first uninstalls and then reinstalls an application
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
Ok... we can try creating some sub mechanism for that,
I.E. checking a file in external sdcard (requires pernission).
Or getting data from the internet whether the user has already rated or not.
Hello, using Internet or a file somewhere can be a good idea if the application itself already use on of those permissions, but it's not legit for an app to ask for Internet or file access just for this, security wise, we should only give the strict minimum permissions the application need to work.
Regards
In both my S3 & S4 I was able to label a picture in my gallery from any one of my albums a favorite picture making it easier to find a picture i wanted. I can't seem to find that option in my S5. Is this feature gone?
Also, I cannot open any type document files on my phone. I was able to open files on my S4 and I haven't changed the Microsoft Office program I use to normally create or edit files. I keep getting the error THIS FILE CANNOT BE OPENED BECAUSE IT IS NOT A VALID MS WORD 97-2011 FILE. This error happens with word, ppt, & excel files I try to open. Anyone else get this error. Thanks in advance
Sent from my SM-P600 using XDA Premium 4 mobile app
Anyone
Sent from my SM-P600 using XDA Premium 4 mobile app
Just wait someone will reply about this problem
We all know that HTC launched the Dot View Case along with the HTC One M8 which impressed a quiet a lot of us. But one of the drawbacks it had was the lack of support for apps other than the system apps.
Also recently Shen posted a tweet showing some progress in the right direction which definitely brought light to our hopes.
So I came across this idea which will help speed this up and could be ready in a few weeks.
My idea is to make use of an app called Dynamic Notifications which is available in the Play Store. For those who don't know, it like the Active Notification found on the Moto X.
So what we can do is replace the icons in the app with the ones similar to the Dot View icons. I have already ripped apart the Dot View App to get my hands on the font used which I have attached below. So using this font we can simple create icons like the one I have attached.
I know it would be inappropriate to modify someone else's work but we could take the permission of the developer and if possible the developer of the app could himself take this project up.
I already tried this but I am kind of novice in app modding and keep getting installation errors.
The icon which I make has white font with transparent background so you might not see the thumbnail but click on it to view it.
AshritShetty said:
We all know that HTC launched the Dot View Case along with the HTC One M8 which impressed a quiet a lot of us. But one of the drawbacks it had was the lack of support for apps other than the system apps.
Also recently Shen posted a tweet showing some progress in the right direction which definitely brought light to our hopes.
So I came across this idea which will help speed this up and could be ready in a few weeks.
My idea is to make use of an app called Dynamic Notifications which is available in the Play Store. For those who don't know, it like the Active Notification found on the Moto X.
So what we can do is replace the icons in the app with the ones similar to the Dot View icons. I have already ripped apart the Dot View App to get my hands on the font used which I have attached below. So using this font we can simple create icons like the one I have attached.
I know it would be inappropriate to modify someone else's work but we could take the permission of the developer and if possible the developer of the app could himself take this project up.
I already tried this but I am kind of novice in app modding and keep getting installation errors.
The icon which I make has white font with transparent background so you might not see the thumbnail but click on it to view it.
Click to expand...
Click to collapse
did you sign the app? that could explain the installation errors
Hi, Of interest if you install NOLed notifications app from market - which should show flashing squares on screen in stead of LED - designed for phones with no LED, but cool with this case as you should see different colours for each app - only odd side effect - it flashes time and weather when you have notifications - not its own squares - would be good if someone could code something without this side affect.
ssojyeti2 said:
did you sign the app? that could explain the installation errors
Click to expand...
Click to collapse
I used APK Manager to decompile and then recompile the .apk file. Do you know of a better way to do the same ?
kfasheldon said:
Hi, Of interest if you install NOLed notifications app from market - which should show flashing squares on screen in stead of LED - designed for phones with no LED, but cool with this case as you should see different colours for each app - only odd side effect - it flashes time and weather when you have notifications - not its own squares - would be good if someone could code something without this side affect.
Click to expand...
Click to collapse
Thanks for sharing, I will try and look into it !
Hey,
I've been trying to do the same thing. I also got stuck at resigning the app.
I'm trying to replace HTC voice assist with Google now.
The logcats implied that I needes to be signed with HTCs certificates. Does that make sense?
Any suggestions?
Sent from my HTC6525LVW using Tapatalk
Finally I was able to over come the signing problem and could get the app to install. The default size of the images used in the app was 216 X 216 which according to me was very small and the icon displayed is as shown in attachment 1.
After which i increased the size to 400 X 400 but sadly the image is now being chopped off from the sides.
This according to me is because of the image size set in the app which I don't know how to edit.
If it would be very kind if someone could help / guide me with this one.
I have also attached the .apk file if anyone is interested in looking into it
David 617 said:
Hey,
I've been trying to do the same thing. I also got stuck at resigning the app.
I'm trying to replace HTC voice assist with Google now.
The logcats implied that I needes to be signed with HTCs certificates. Does that make sense?
Any suggestions?
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
I used this app called APK Edit from the PlayStore to overcome the signature problems
David 617 said:
Hey,
I've been trying to do the same thing. I also got stuck at resigning the app.
I'm trying to replace HTC voice assist with Google now.
The logcats implied that I needes to be signed with HTCs certificates. Does that make sense?
Any suggestions?
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
If you can do this please let me know!
AshritShetty said:
I used this app called APK Edit from the PlayStore to overcome the signature problems
Click to expand...
Click to collapse
You used this - https://play.google.com/store/apps/details?id=com.gmail.heagoo.apkeditor ?
It seems that you can only replace the resources with this but now edit the actual code. Is that true or did I miss something?
David 617 said:
You used this - https://play.google.com/store/apps/details?id=com.gmail.heagoo.apkeditor ?
It seems that you can only replace the resources with this but now edit the actual code. Is that true or did I miss something?
Click to expand...
Click to collapse
Yes, its the same app.
Initially I thought the process will be as easy as replacing the images but now when I see, I need to edit the code to resize the images for which I will have to use the traditional methods like APK Manager.
But editing the code is beyond the scope of my knowledge and so will be looking forward to others.
I'm comfortable editing the code, I'm just lost as to how I repackage and replace the old apk.
Maybe if you find anything on that you can post it here and we can get to work on it together...
Thx
Sent from my HTC6525LVW using Tapatalk
When I make a apk into a signed zip I use this:
https://play.google.com/store/apps/details?id=zip.me
Don't know if it is any relevance to this thread but it's worth a try.
Sent from my HTC One_M8 using Tapatalk
David 617 said:
I'm comfortable editing the code, I'm just lost as to how I repackage and replace the old apk.
Maybe if you find anything on that you can post it here and we can get to work on it together...
Thx
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
I hope this guide is of help to you : http://droidcandy.weebly.com/how-to-use-apk-manager.html
My upcoming Xposed module will include notifications for all apps:
(Text at the bottom auto scrolls to show all text)
And a dialer... http://i.imgur.com/0pzY76H.jpg
And music metadata/controls.
And a game of Snake, cause why not, https://twitter.com/MohammadAG/status/467642113266421760
MohammadAG said:
My upcoming Xposed module will include notifications for all apps:
(Text at the bottom auto scrolls to show all text)
And a dialer... http://i.imgur.com/0pzY76H.jpg
And music metadata/controls.
And a game of Snake, cause why not, https://twitter.com/MohammadAG/status/467642113266421760
Click to expand...
Click to collapse
This is cool!
I recognise your handle. Did you used to frequent Nokia Users forum way back when?
Sent from my HTC One_M8 using Tapatalk
Chris_c81 said:
This is cool!
I recognise your handle. Did you used to frequent Nokia Users forum way back when?
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
NokiaUsers and talk.maemo.org
MohammadAG said:
My upcoming Xposed module will include notifications for all apps:
(Text at the bottom auto scrolls to show all text)
And a dialer... http://i.imgur.com/0pzY76H.jpg
And music metadata/controls.
And a game of Snake, cause why not, https://twitter.com/MohammadAG/status/467642113266421760
Click to expand...
Click to collapse
Awesome work my friend !
Also thank you for creating the 3 Finger Screen Lock Mod :laugh:
But wouldn't it be possible to achieve this without the need to root ? For example by modifying the Dot View App ?
AshritShetty said:
Awesome work my friend !
Also thank you for creating the 3 Finger Screen Lock Mod :laugh:
But wouldn't it be possible to achieve this without the need to root ? For example by modifying the Dot View App ?
Click to expand...
Click to collapse
As an art user I'd love this.
Sent from my 831C using XDA Free mobile app
I'm not a big fan of smali editting, especially with Dot View being a Play Store package, so no, sorry.
Sent from my HTC One_M8 using Tapatalk