using whole screen in dev - Android Software Development

Hi All,
I'm doing a android project as part of my college course and I'm using eclipe as my IDE.
When I transfer the app to the device which is a nook color it will only take up a small part of the screen. I can't find a way for it to take up the whole screen. Any help would be great thanks.

Same problem here!
BUMP

Have you read this;
http://developer.android.com/guide/practices/screens_support.html
________________________________
http://ron-droid.blogspot.com

Thanks rigman I have not read this.
I also got a pm from fvztdk
I saw you asking a question about using all the screen on a android app, but i can`t post to the thread because some thing about "new users can`t post in developers forum".
I had the same problem, i develop for galaxy tab. The answer to your problem is that if you set your target sdk level to anything less than 9, then support for extra-large screens is assumed to be false. If you set targetSdkVersion=9 in the manifest, then xlarge support is assumed to be true. The galaxy version is 8, but you can use the fullscreen with it.
To set this put it on your AndroidManifest <uses-sdk android:minSdkVersion="8" />
Another thing to try, and get a fullscreen effect is to put android:theme="@style/Theme.FullScreen" on your activity declaration
If I helped it please put a solved tag on your thread, and post this answer to another users, i will try to find a admin of the forum to give me the necessary permissions to post.
Click to expand...
Click to collapse
Thanks all for the help it worked.

Related

Alphabetizing Icons

I've been searching for days now, and can't seem to figure out why the icons are all mixed up...
Is there anyway to alphabetize the icons in the start menu?
I have a bunch of games loaded in a games folder and it's all mixed up, any ideas?
I tried searching the site and even googled it and all I came up with was a registry edit, but I don't have the key they say to edit.
I even tried deleting the folder and putting the icons back one at a time, in alphabetical order, but they still end up mixxed. ??
rjack88 said:
I've been searching for days now, and can't seem to figure out why the icons are all mixed up...
Is there anyway to alphabetize the icons in the start menu?
I have a bunch of games loaded in a games folder and it's all mixed up, any ideas?
I tried searching the site and even googled it and all I came up with was a registry edit, but I don't have the key they say to edit.
I even tried deleting the folder and putting the icons back one at a time, in alphabetical order, but they still end up mixxed. ??
Click to expand...
Click to collapse
You seem to be new to the forums. Thank you for joining XDA-Developers.
Please take a minute to go over the Rules and Regulations of the forum.
Also, it seems that you are a Blue Angel owner, in which case I will encourage you to go over the BA forum regulations here
For questions, please use the search function in the site or simply Google for an answer. More than likely, your question has probably been answered before and the answer is floating around somewhere in the site. That being said, unless you are contributing to the site with either skins, roms, ports, new applications, programs, games, etc., please [highlight]do not[/highlight] open new threads. However, if you do have questions, you can post them either in the BA Q&A section or in the General Q&A section.
Thanks.
I did search the forum, and I googled it... I'm new to this forum, but not computers or the internet, I know how to search, been doing it since 1988.
I posted this question in the Q&A thread, but it was ignored, so I posted in the general forum.
Sorry If I offended you, but I never received a response to my question, I figured somebody else here was experiencing the same problem, maybe not.
rjack88 said:
I did search the forum, and I googled it... I'm new to this forum, but not computers or the internet, I know how to search, been doing it since 1988.
I posted this question in the Q&A thread, but it was ignored, so I posted in the general forum.
Sorry If I offended you, but I never received a response to my question, I figured somebody else here was experiencing the same problem, maybe not.
Click to expand...
Click to collapse
It isn't a matter of me being offended, I am (as well as others) trying to keep some order in the forums. I do know that sometimes questions in the Q&A don't get answered right away, but if someone from the Q&A team (or other members out there) know the answer, they will reply. Maybe the reason why your question wasn't answered is because no one really knows the answer (or has bothered looking into it). You getting annoyed at the way the forums are handled does not give you the right to say "screw it, I'm opening a thread(s) anyways". On top of that, remember that not a single member in this site is forced to give you an answer. We all do it out of trying to help each other out since we are a community.
All of us have to abide by the site's rules.
Last but not least, this is a General Question (like you stated earlier) and not a device specific question. All I am saying in my previous post is "please follow the rules". If you searched earlier and posted the right questions in the right places, then either be patient or pm someone. Most of us are happy to help.
Anyways, now to your question. The way in which WM is designed, the application icons normally get a "first come, first serve" position. In other words, they are placed in chronological order of installation (at least in "Program Files"). I do not know if there is a way to organize the WM menus so that they will show apps in alphabetical order.
What you can do is look for a launcher or a replacement for the Program Folders (look in the Dev and Hacking sections for these). These normally organize the icons alphabetically and they are shown in a list format rather than a grid. I do agree with you though, it is pretty disorganized.... but then again M$ doesn't really care about the alphabet
Hope this helps...
rjack88 said:
I've been searching for days now, and can't seem to figure out why the icons are all mixed up...
Is there anyway to alphabetize the icons in the start menu?
I have a bunch of games loaded in a games folder and it's all mixed up, any ideas?
I tried searching the site and even googled it and all I came up with was a registry edit, but I don't have the key they say to edit.
I even tried deleting the folder and putting the icons back one at a time, in alphabetical order, but they still end up mixxed. ??
Click to expand...
Click to collapse
I recently had this issue with the new AT&T Fuze ROM. Check around in your PROVXML files for anything similar to the code below. Note: This example code is from an AT&T ROM, but you may find something similar. If you do, delete it, and everything will return to standard Alphabetical order.
Code:
<!--334.08_Program menu order-->
<characteristic type="Registry">
<characteristic type="HKCU\Software\Microsoft\Shell\StartMenu">
<parm name="order" datatype="multiplestring" value="MEdia Net Home.lnkAT&T MallAT&T MusicGames & AppsMessagingAT&T GPSAlbum.lnkActiveSync.lnkToolsCellular Video.lnkWindows Media.lnkPush to Talk.lnkOpera Browser.lnkInternet Sharing.lnk" />
</characteristic>
</characteristic>
egzthunder1 said:
Anyways, now to your question. The way in which WM is designed, the application icons normally get a "first come, first serve" position. In other words, they are placed in chronological order of installation (at least in "Program Files"). I do not know if there is a way to organize the WM menus so that they will show apps in alphabetical order.
What you can do is look for a launcher or a replacement for the Program Folders (look in the Dev and Hacking sections for these). These normally organize the icons alphabetically and they are shown in a list format rather than a grid. I do agree with you though, it is pretty disorganized.... but then again M$ doesn't really care about the alphabet
Hope this helps...
Click to expand...
Click to collapse
I figured that was the case, so I deleted all the icons in the folder, then copied them back from my PC, in alphabetical order, and they still ended up scrambled, M$ blows.
egzthunder1, you are f*cking idiot :/ i hate people like you :/ look. how loong it takes you to write that kind of sh*t? If you don't know the answer, don't write anything. If you want to make some new posts, there is off-topic thread. Everyone, at the beggining, is a begginer! It's not his guilt, so help him if u can, but don't do that sh*t :/ what a stupid country :/ & what a f*cking pommy :/ i'm proud i'm from PL
In WM6.5, you have option "move to the top" in start menu, if u tap and hold on icon, so u can sort all your icons, one by one.
Also you can use other launchers, which are more configure able.
btw sorry for bad english
MOD EDIT: The profanity is not needed. First warning... next step is a 3 day vacation.
I fugured it out...
HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Games
That's the folder I put all the games in, and inside that registry key was a bunch of .lnk entries corresponding to the games I had installed, each key had a rank, so I took the largest number of the key, and put that on the first icon, then in alphabetical order I changed the rank of each of the .lnk keys, decreasing by one as I went down the list, soft boot, now the folder is exactly how I wanted it.
Thanks
weteran said:
egzthunder1, you are f*cking idiot :/ i hate people like you :/ look. how loong it takes you to write that kind of sh*t? If you don't know the answer, don't write anything. If you want to make some new posts, there is off-topic thread. Everyone, at the beggining, is a begginer! It's not his guilt, so help him if u can, but don't do that sh*t :/ what a stupid country :/ & what a f*cking pommy :/ i'm proud i'm from PL
In WM6.5, you have option "move to the top" in start menu, if u tap and hold on icon, so u can sort all your icons, one by one.
Also you can use other launchers, which are more configure able.
btw sorry for bad english
MOD EDIT: The profanity is not needed. First warning... next step is a 3 day vacation.
Click to expand...
Click to collapse
Let's watch the personal attacks. Regardless of how you feel about egzthunder1 reply, there is no place for your post either. It serves no purpose other then to incite a fight.
While egzthunder1 could have said what he did in a couple different ways, he is not wrong in pointing members (new OR old) to the rules of XDA-Developers. He did not berate the OP in any way; he simply informed him of the policies in place here that require a member (again, new OR old) to search prior to posting in an existing thread, or creating a new one.
Q&A sections are popping up in just about every forum because of an experiment done in the Raphael section that was a complete success. In case you may have missed it, the forum rules have recently been updated. I quote:
Flar said:
1. Search before posting
Use one of our search functions before posting, whether you have a question or something new to share, it's very likely someone already asked that question or shared that news.
2. Be polite and respect your fellow xda-dev user.
There is no need for cursing, flaming, racism or personal attacks. There are a lot of different nationalities on this forum all with different cultures, this means that no matter what you're like, you'll have to adjust to people that are most definitely not like you. It will gain you a lot of respect if you help to keep the peace. It's disrespectful and therefore not permitted to create Alias Member names in an attempt to deceive others.
Click to expand...
Click to collapse
So let's keep it clean going forward. If you have an issue with a member, take it to PM, or contact any of the moderators.
Thank you,
NATF
NotATreoFan, i don't think that it's wrong, what he wrote, but it's matter of moderators and admins to worry about such things. thats all from me ;]
weteran said:
NotATreoFan, i don't think that it's wrong, what he wrote, but it's matter of moderators and admins to worry about such things. thats all from me ;]
Click to expand...
Click to collapse
@weteran,
While I don't necessarily appreciate the insults, particularly considering that I have not offended you (or even talked to you), I will say that if I have spoken badly in any manner, then point me at it and I will gladly apologize to the OP for my mistake. However, if I didn't, then why do you insult me?
I am not going to start a discussion with you (or a flame war). While it is true that I don't always know all the answers, at least I try to help or point people in the right direction to solve their problems. I do this because I love this community and its members and I have been helped countless times, so really it is my way of giving back.
@NATF,
Since the OP seems to have solved his issue, do you think that you could close this thread to keep it from growing needlessly? Thanks for your words
Issue resolved, closing thread.

[Q] Finding right place to mod an app

I hope this is the right place to post a question about modifying an existing app. In the long run, I want to create a Xposed module to do the modification, but to get started I work with modding the decompiled app. The app in question is de.zeit.diezeit.epaper.android, which is a German newspaper reader app (I am not expecting anyone to know it). What I want to do is to get rid of the scrolling animation when reading an article, because I am using this app on an eInk device (Icarus Illumina).
Now my problem is, I don't find a starting point. I have to say I don't have much (read: almost none) experience with writing Android apps (although I have a lot of programming experience otherwise). Thus I have no idea how such an animation would be implemented. I searched for references to the Scroller class and replaced the duration argument of the startScrolling method by 5ms, but this didn't change anything.
Is there any way to run the app in some kind of debug mode to see which methods are called at which time? Another idea how to find the right spot might be the trigger of the scroll: I am using the hardware page turn buttons of the device to scroll down exactly one page. How would this be implemented, what should I search for to find the code that reacts on these buttons? (Also: how can I press these buttons in the emulator?)
I am sorry if I am asking too many noob questions. If there is relevant documentation I have obviously missed, please point me to it. Thank you very much for any help!
Try looking under res/anim*
mhier said:
I hope this is the right place to post a question about modifying an existing app. In the long run, I want to create a Xposed module to do the modification, but to get started I work with modding the decompiled app. The app in question is de.zeit.diezeit.epaper.android, which is a German newspaper reader app (I am not expecting anyone to know it). What I want to do is to get rid of the scrolling animation when reading an article, because I am using this app on an eInk device (Icarus Illumina).
Now my problem is, I don't find a starting point. I have to say I don't have much (read: almost none) experience with writing Android apps (although I have a lot of programming experience otherwise). Thus I have no idea how such an animation would be implemented. I searched for references to the Scroller class and replaced the duration argument of the startScrolling method by 5ms, but this didn't change anything.
Is there any way to run the app in some kind of debug mode to see which methods are called at which time? Another idea how to find the right spot might be the trigger of the scroll: I am using the hardware page turn buttons of the device to scroll down exactly one page. How would this be implemented, what should I search for to find the code that reacts on these buttons? (Also: how can I press these buttons in the emulator?)
I am sorry if I am asking too many noob questions. If there is relevant documentation I have obviously missed, please point me to it. Thank you very much for any help!
Click to expand...
Click to collapse
Hi, very late after the question, but I am considering buying an Illumina XL HD e-reader in order to have e-ink to read newspapers. What has been your experience with your device (which model in particular is it?)? Also, I would like to root it. Do you know if that is possible? Finally, did you manage to modify the app? If so, was it difficult?
Hi, hope you found the solution

[Q] Playing a video on lock screen

Hello guys,
I'd like to modify my Xperia Z1's lock screen so that it plays a video when a wrong PIN code is entered. Any ideas how I can do that?
I've also attached the lock screen apk, just in case it would help.
Forgive me, if I'm posting in a wrong section, I'm new to the forum.
bump
I don't really know how to achieve this, but do you have an idea / requirements about the video format that you would like to play? That might be necessary for the others reading this to give hints.
On StackOverflow, I've found a question which might be relevant for you: http://stackoverflow.com/questions/20438426/running-an-android-application-on-top-of-the-lock-screen
Mr Dovis said:
Hello guys,
I'd like to modify my Xperia Z1's lock screen so that it plays a video when a wrong PIN code is entered. Any ideas how I can do that?
I've also attached the lock screen apk, just in case it would help.
Forgive me, if I'm posting in a wrong section, I'm new to the forum.
Click to expand...
Click to collapse
Basically in AOSP the screen locking is handled by keyguard which is built into the framework and the static java library is accessed at SystemUI. So you would need to include your changes there.
Let's say you need to display "why you do this?" In the logcat , When you type a wrong password. Your method which returns the boolean isThePasswordIsCorrect() when evaluated to false you would log the output.
Sent from my Moto G using XDA Free mobile app
MasterAwesome said:
Basically in AOSP the screen locking is handled by keyguard which is built into the framework and the static java library is accessed at SystemUI. So you would need to include your changes there.
Let's say you need to display "why you do this?" In the logcat , When you type a wrong password. Your method which returns the boolean isThePasswordIsCorrect() when evaluated to false you would log the output.
Sent from my Moto G using XDA Free mobile app
Click to expand...
Click to collapse
Thanks! I'll take a look there.
djscorchio said:
I don't really know how to achieve this, but do you have an idea / requirements about the video format that you would like to play? That might be necessary for the others reading this to give hints.
On StackOverflow, I've found a question which might be relevant for you: http :// stackoverflow . com /questions/20438426/running-an-android-application-on-top-of-the-lock-screen
Click to expand...
Click to collapse
I'm not sure about the format, but I think I'll start off with MP4. I'll probably have to do a lot of experimenting.
Thanks for your post! That StackOverflow post looks promising.

Need help fixing an app

Hi all, I'm attempting to modify/fix someone else's app. The app is a forum reader. It used to be on the Play store, but has now been removed.
I still use it, but it doesn't work properly. I'd like to fix it to continue using it. This is for my personal use only.
Basically, I can reply to threads/make new posts, but I can't create new threads. (There is other stuff I'd like to change as well).
Could anyone help? I won't attach the app here now, I'm not sure if I can post it, as the app doesn't belong to me. (Can anyone confirm?)
Thanks, Chris
You can post the app as long as its not a paid for application (posting paid apps is warez).
As for modifying/fixing it though, you'd have to use apktool to edit it and even then you wouldn't be able to work in java, it would be in smali which is a pain in the ass to work with.
Thanks for the reply. The app was free. Please see attachment.
The forum reader is for forums.overclockers.co.uk
I'm using Virtuous Ten Studio to edit the app.
My main issue is creating new threads. In the app I have this;
Code:
<string name="prule_create_new_topic_url">a[href^=/newthread.php?do=newthread&f=]</string>
........newthread&f=*
The forum uses the same command to post new threads, where the * is the sub-forum number.
I think the above string is correct, so I'm assuming the code is wrong elsewhere?
I'm really out of my depth here, learning as I go. Thanks

Adding intro.mp4 into apk

Like the title says how can I put a video into apk and let it play after someone opened the app
No one helps me ? I thought this is a forum
It is a forum. What you are asking for though isn't java help, its smali help so you're asking in the wrong forum. I would recommend doing some serious research into the decompilation process of apks. Additionally to me this looks like you are trying to make a spam version of a normal app (won't ever work btw because of the apk signing process) so its not really any wonder why no one has offered any help.
Jonny said:
It is a forum. What you are asking for though isn't java help, its smali help so you're asking in the wrong forum. I would recommend doing some serious research into the decompilation process of apks. Additionally to me this looks like you are trying to make a spam version of a normal app (won't ever work btw because of the apk signing process) so its not really any wonder why no one has offered any help.
Click to expand...
Click to collapse
I dont want to make a spam version its for private use
I saw modded apks which have toast frame messages and even a splash screen so I tought it would be possible to add a video too
PaulRichter said:
I dont want to make a spam version its for private use
I saw modded apks which have toast frame messages and even a splash screen so I tought it would be possible to add a video too
Click to expand...
Click to collapse
It is, its just a lot of work and I doubt anyone in this forum would be bothered enough to do it in smali, besides the developers that actually know smali properly enough to do this are very few and far between.
Jonny said:
It is, its just a lot of work and I doubt anyone in this forum would be bothered enough to do it in smali, besides the developers that actually know smali properly enough to do this are very few and far between.
Click to expand...
Click to collapse
Can you move the thread to proper forum ?
And btw maybe its possible to just make a splash screen but use an animated gif that would be awsome

Categories

Resources