How do I add graphics to aide?
Sent from my HUAWEI H868C using xda premium
Ima beginner
And I don't know were to add these codes "mainactivity" "manifest" "main.xml"???
Sent from my HUAWEI H868C using xda premium
Please clarify you question. Ask in more detail.
Sent from my LT26ii using Tapatalk now Free
How do I add graphics in xml?
Sent from my HUAWEI H868C using xda premium
Use Android Drawables
midas 35 said:
How do I add graphics in xml?
Sent from my HUAWEI H868C using xda premium
Click to expand...
Click to collapse
Hello...
you can add graphics in android , like image , nine-patch png , Selectors for Buttons and much more..
use following guide to create those graphics for your app.. by coading in xml
http://developer.android.com/guide/topics/resources/drawable-resource.html
midas 35 said:
How do I add graphics in xml?
Sent from my HUAWEI H868C using xda premium
Click to expand...
Click to collapse
I wouldn't add graphics xml (I'm not actually sure if you can?) you can load bitmaps and display them using Canvas. I think it's the best way to get started displaying images onto the screen.
http://developer.android.com/reference/android/graphics/Canvas.html
Documentation
midas 35 said:
Ima beginner
And I don't know were to add these codes "mainactivity" "manifest" "main.xml"???
Sent from my HUAWEI H868C using xda premium
Click to expand...
Click to collapse
I think you never learn documentation about android developement.
You must learn it to have a global vision of android developement and after if you have questions you can ask it here.
Related
I tried to use fragmant tab+swipe layout default coding by eclipse but it doesnt allows to link activities in the tabs. Is there any way to do it?
I mean swiping the screen links to different activity
Sent from my GT-S5570 using xda premium
Are you talking about each tab hosting a different activity/fragment? then yes, it works.
If not, explain.
out of ideas said:
Are you talking about each tab hosting a different activity/fragment? then yes, it works.
If not, explain.
Click to expand...
Click to collapse
Yes but i dont know to how to do it
Can u tell me
Sent from my GT-S5570 using xda premium
Refresh
Sent from my GT-S5570 using xda app-developers app
Maybe this one helps: http://stackoverflow.com/questions/1306689/launching-activities-within-a-tab-in-android
nikwen said:
Maybe this one helps: http://stackoverflow.com/questions/1306689/launching-activities-within-a-tab-in-android
Click to expand...
Click to collapse
That is only for simple tabs not.for swipe and tabs
Sent from my GT-S5570 using xda app-developers app
I got these from the factory image of hammerhead
Downloads in attachment
These were extracted from the New GoogleHome.apk
Well done :good:
Upload the apk?
Sent from my HTC One XLL using XDA Premium 4 mobile app
I have made the Nexus 5 factory image into a system dump but its odexed and I really don't know how to deodex it
Sent from my GT-I9300 using XDA Premium 4 mobile app
Omar1c said:
I got these from the factory image of hammerhead
Downloads in attachment
These were extracted from the New GoogleHome.apk
Click to expand...
Click to collapse
Thank you so much!
Sexy Nexy, marclandis AOKP + franco
Where's the wall from all the images that was leaked lol
Sent from my Nexus 7 using Tapatalk 4
CheesyNutz said:
Where's the wall from all the images that was leaked lol
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
They werent in there haha but the reason I didn't upload the Google home is because I'm still trying to get it to work if I manage to launch it I'll upload it
Sent from my GT-I9300 using XDA Premium 4 mobile app
Great news I have the launcher working with the OK Google on home screen I will upload them asap
Sent from my GT-I9300 using XDA Premium 4 mobile app
Thanks. but seems the default one is missing.
why are these not in 1920px height format?
Andrewtst said:
Thanks. but seems the default one is missing.
Click to expand...
Click to collapse
Found it inside the framework-res.apk
Sent from my GT-I9300 using XDA Premium 4 mobile app
Omar1c said:
Found it inside the framework-res.apk
Sent from my GT-I9300 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
this looks compressed. can you host the files elsewhere?
Omar1c said:
Found it inside the framework-res.apk
Sent from my GT-I9300 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
The file became 1080x960 only.
Possible host it somewhere else? Better zip it.
Edit: I found the Nexus 5 - framework-res.apk
Here the missing wallpaper in full res - http://www.mediafire.com/?5jjnce7vie78pfz
Andrewtst said:
The file became 1080x960 only.
Possible host it somewhere else? Better zip it.
Edit: I found the Nexus 5 - framework-res.apk
Here the missing wallpaper in full res - http://www.mediafire.com/?5jjnce7vie78pfz
Click to expand...
Click to collapse
why doesn't it match whats on the google play page?
in terms of what is shown on the center screen
DiamondJay20 said:
why doesn't it match whats on the google play page?
in terms of what is shown on the center screen
Click to expand...
Click to collapse
It is different probably due to different phone resolution and margin setup.
I had try the Nexus 5 home launcher at my Note 3, frank said it does not look that nice and cannot do semi-translucent at status bar.
Andrewtst said:
The file became 1080x960 only.
Possible host it somewhere else? Better zip it.
Edit: I found the Nexus 5 - framework-res.apk
Here the missing wallpaper in full res - http://www.mediafire.com/?5jjnce7vie78pfz
Click to expand...
Click to collapse
thank you!
can i share it in neov forum??
Dude Can i share it in neov forum ??
Go ahead
Sent from my GT-I9300 using XDA Premium 4 mobile app
Omar1c said:
Go ahead
Sent from my GT-I9300 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Mind if i post in htc one s thread?
Awesome - Thanks
I tried to build cm9.2 (ics) systemui with eclipse.but it showed more than thousand errors.how to solve this problem
Sent from my GT-S5570 using XDA Premium 4 mobile app
As far as I know, building the system UI is not possible without building the whole ROM or at least having it in the complete ROM tree.
So no way other than ubuntu?and downloading GB's of sources?
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
So no way other than ubuntu?and downloading GB's of sources?
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well, you could run it in a VirtualBox. But I think that there is no other way. (I use it as my only OS btw.)
nikwen said:
Well, you could run it in a VirtualBox. But I think that there is no other way. (I use it as my only OS btw.)
Click to expand...
Click to collapse
Ubuntu is not the problem.my internet speed is low and i want to avoid downloading the whole cm9 sources
Sent from my GT-S5570 using XDA Premium 4 mobile app
Actually you can build it in eclipse itself. Remove the internal references and replace them by alternatives if needed. Again, use reflection as and when required although its not recommended. I've done it before and it works perfectly.
EatHeat said:
Actually you can build it in eclipse itself. Remove the internal references and replace them by alternatives if needed. Again, use reflection as and when required although its not recommended. I've done it before and it works perfectly.
Click to expand...
Click to collapse
I didn't understood that. Little bit new to this. Can you please elaborate. ??
Sent from my GT-S7392 using XDA Premium 4 mobile app
arpitkh96 said:
I didn't understood that. Little bit new to this. Can you please elaborate. ??
Sent from my GT-S7392 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
System apps use many of the internal references which are not available by the SDK for example com.android.internal.*, the ones denoted by @hide, etc.
Either patch up your SDK with internal references or use workarounds to make it compile.
So i can i patch the sdk?
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
So i can i patch the sdk?
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
EatHeat said:
http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Click to expand...
Click to collapse
Thanks.i will try to follow this
Sent from my GT-S5570 using XDA Premium 4 mobile app
[Q] I want to make a navigation app for my university, what should i do... Don't know much about java... But I have designed my frontend using xml.
Help!!!
Thank you
Sent from my C2104 using XDA Premium 4 mobile app
sonidepanshu said:
[Q] I want to make a navigation app for my university, what should i do... Don't know much about java... But I have designed my frontend using xml.
Help!!!
Thank you
Sent from my C2104 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Navigation is a really complex thing to code. Pathfinding is the first thing you'll want to understand. After that you'll want to know how to categorize rooms, inside buildings.
So for example you'll have an algorithm that: Looks for the correct building and the closest entrance-> looks for the correct floor in the building -> looks for the correct room in the floor.
Here is a (very) detailed pdf outlining the process: ase.cpsc.ucalgary.ca/uploads/Publications/ThesisV1.0.pdf
I read that pdf file, it is very complicated... i am new to android development, is there any easy way to do this.
Thanks
Sent from my C2104 using XDA Premium 4 mobile app
How do I crate and design the action bar?
Sent from my HUAWEI H868C using XDA Free mobile app
hackersthird said:
How do I crate and design the action bar?
Sent from my HUAWEI H868C using XDA Free mobile app
Click to expand...
Click to collapse
By using Google. There are tens, if not hundreds of tutorials for the ActionBar if you search for them.
I don't have a computer
But I'm using AIDE (Android ide)
Sent from my HUAWEI H868C using XDA Free mobile app
hackersthird said:
I don't have a computer
But I'm using AIDE (Android ide)
Sent from my HUAWEI H868C using XDA Free mobile app
Click to expand...
Click to collapse
That doesn't stop you from using Google does it?
Sent from my HTC One using Tapatalk
Its harder on a phone with the fixed sidebar
Sent from my HUAWEI H868C using XDA Free mobile app
If you could upload a zip folder of example projects for A.I.D.E
like before their ziped and etc.
Examples:
How to menus
How to action bars etc.
Sent from my HUAWEI H868C using XDA Free mobile app
My email:
[email protected]
Cause I really don't like this app chat thing
Sorry for all the replies
I didn't see the rules till now
Sorry about all the questions
Its just I don't get on alot so they pile up
Sent from my HUAWEI H868C using XDA Free mobile app