please help me in android app development ( writing java codes ) - Galaxy S I9000 Themes and Apps

hi every body
im not developer or programmer but im so interest in developing android applications , i prepare my PC to that by downloading JDK , SDK and eclipse , i know how to use it and create the UI for app by XML in eclipse , my problem in writting the java codes for the objects in app for example , i know how to create button or text view or edit text but when i want that button to do action on click for example to save text to SD , I HAVE TO WRITE JAVA CODE FOR THAT SO WHEN I CLICKED THE BUTTON IT WILL SAVE THE TEXT TO SD , i dont know how to write java codes , is there is soft ware that perform that or java code generator to give the code for any object action i need , just finish the XML and give me codes directly . or i have to learn JAVE first then go for app developments
please help me
thanksssss

Hello and merry christmas
frozenhill said:
.. or i have to learn JAVE first then go for app developments
Click to expand...
Click to collapse
Until the "do-what-i-mean"-interface has not been developed, I guess this would be a good way to start ...

You may try asking your questions here....
Happy Developing!
Thread closed

Related

Build OS problem

Hi,
i'm currently facing one problem is when i using the hypercore to cook my rom, i can't complete the compile when i'm press the play button at BuildOS.exe. The error message that i get is " External component has thrown an exception". In the same time, the bottom of the BuildOS.exe window have a line of wording "Error, last creating initflashfiles.dat"
can i noe how to solve this problem? please help because i really wanna try to cook my own rom like putting input OEM package and the chinese support.
Thanks a lot for those who kindly reply me...
no people can help me???
Look at your log.txt within the TEMP folder.
Did you edit your initflashfiles.dat?

Hello need help

Hello< im not a noob but i need help okay i lost my dash yesterday i had 6.1 my girl gave me her old dash and i updated to 6.5 okay on the CHome config i created a new panel with all my games now this is the part i cant figure out< every time i type in the link i want it to open it doesn't like
\Windows\Start Menu\Games it doesnt open the games what am i doing wrong?? pls help
it should be \windows\start menu\games\"name of game".lnk
lather, rinse, repeat...
you could also just click the 2nd softkey button that say menu and select the first option change url and from there find the app in you file manager and place the link that way
Thank you, for the help but i just want to open that specific folder and its not letting me any way i can open it< cuz i know i had it on my other dash that way
Thank you, but im trying to to open that specific folder but i cant i had it that way on my other dash
Here is what you need to enter, I think.
Code:
\windows\fexplore;\windows\start menu\games\
Yes it works thank you very much!!!!
Tritan88 said:
Here is what you need to enter, I think.
Code:
\windows\fexplore;\windows\start menu\games\
Click to expand...
Click to collapse
why didn't i think of that....that is awesome....

[Q] Any way to _read_ the file system of WP7?!

Hey Guys,
i'm looking for a method to read (and maybe transfer it to my PC) the files of the WP7 file-system for an analysis (not only the isolated storage files - i need more )
( I don't want to run unmanaged code, i only want to view the files of the system)
Reason:
i'm writing my bachelor thesis about the possibility's of a forensic analysis (on WP7).
It would be very (very!!) helpful for me if there is a code example how to do this (if possible)
Edit: i'm working on a samsung omnia 7
Thanks!
endeffekt
(sorry for my english )
you can read the isolated storage files in your PC now?
Search the forum. There are a couple threads here discussing that topic. Normally I would link to it but today I'm not in the mood to do someone's homework for them. (Dang, I'm in a rotton mood today).
You can use what I have of my filesystem lib here: http://forum.xda-developers.com/showthread.php?t=861501&page=3
jmorrill said:
You can use what I have of my filesystem lib here: http://forum.xda-developers.com/showthread.php?t=861501&page=3
Click to expand...
Click to collapse
can you or someone els make .xap of it ?
ceesheim said:
can you or someone els make .xap of it ?
Click to expand...
Click to collapse
There's not a whole lot you can do with that out of the box - It's mainly just a proof-of-concept, showing how you can use a COM Library to read the files. I'm working on a file browser that will attempt to load the files in a basic text reader, but there's little use for providing the sample as a XAP, it just attempts to read BasePolicy.xml.
thanks , then I will wait till you build a nice file explorer , so we can look what files are in the win dir .
FileBrowser
Source
Still very basic, not the most stable either, but at least you can browse the Windows folder, and read text files.
I'll probably put more effort in once I've got further with my SevenIRC App.
hounsell said:
FileBrowser
Source
Still very basic, not the most stable either, but at least you can browse the Windows folder, and read text files.
I'll probably put more effort in once I've got further with my SevenIRC App.
Click to expand...
Click to collapse
wow , thanks (sorry thanks are gone for today ) .
ps what is SevenIRC App ?
ceesheim said:
wow , thanks (sorry thanks are gone for today ) .
ps what is SevenIRC App ?
Click to expand...
Click to collapse
Homebrew IRC App based on jmorrill's Networking Library.
hounsell said:
Homebrew IRC App based on jmorrill's Networking Library.
Click to expand...
Click to collapse
Do you think it's possible to create a simple webserver or ftp server with this library?
ajhvdb said:
Do you think it's possible to create a simple webserver or ftp server with this library?
Click to expand...
Click to collapse
I didn't write any code to listen on a socket in that library. It shouldn't be too hard for you to write that in there and give it a try.
thank you very very much!
it will be very useful for me!
:-*

(FOR PROGRAMMERS) Create a ROM apks' images resizing tool

Hello Everybody , as i have seen this would apply to ALL android phones , so i posted it here !
I have searched over the xda , and couldn't see an apk resizing tool so it could fit on smaller devices more like hdpi to mdpi ... But it is easily possible with the script i am going to provide down ... I don't know if you heard about ImageMagick tools , a whole bunch of scripts almost capable of everything for editing pictures . These scripts contain a script called mogrify.c , this script can resize images in percentages , ratios , specific length and/or width ; but featuring a rare thing to find """RESPECT FOR ALPHA""" , yes it respects alpha = the transparent parts of the image are NOT filled with white instead of staying ...
USAGE :
So for the use of this script for example.png , if example.png was hdpi , we would type in for example "mogrify -resize 75% example.png" , and then example.png would be applicable to mdpi ... another example , but this time we have a bunch of pngs which need to be resized , so the command would be "mogrify -resize 125% *.png" and fastly they will be enlarged 25% each png in the specified folder ... and so on ... note that we can type in instead of 75% or 125% , 320x480 (but this will resize the image , not resolution , so only way for resizing from hdpi to mdpi using this script is by calculating ratios and percentages , and working on their basis ...
Ok so i was thinking one of the programmers could create a GUI for a proper use for ROMS , and this wouldn't be a hard task for programmers i guess , so what i want from the programmers to in this GUI is :
1-Extract every system apk except some(not at once , in alphabatical order) (if there was exceptions)
2-Run the script as wanted using percentages (from mdpi to hdpi , from xhdpi to mdpi etc ...)
3- XMLs are left to resize , so then include workspace.xml resizing or any other xmls (totally your job , i have no idea how it works)
4-Repack the apks and push them into a copy of the ROM
By that we could partially and most importantly ported a WHOLE rom to the desired device !!
The script is down , google for Mogrify if you needed a or wanted to know more info ! wish this stickies !
WARNING !! THIS TOOL DIDN'T WORK WELL FOR ME WHILE USING BATCHES (but worked pretty nice in normal cmd.exe) , TRY TO FIND AN ALTERNATIVE !!
PLEASE include me in the credits of it , I was very tiiirreeedd so i can find such an important script !!
How exactly do you run it? By making a batch file? I could definitely use this. Your OP is a bit confusing. But this does look promising.
hmm yeah forgot to tell how to run it , i will add it to OP ...
yes it looks prommising..let us know how to...gj
I am not a programmer myself , because of that i said [FOR PROGRAMMERS] , i am just a 14 year old student , but this GUI can be made like any other GUI , see like Virtous studio , it is a combination of many stuff all in one ! so this should be worth the hustle ! share it in your signitures , this will beautify the world of android !
any cotributions ??
Just came across this and first off thank you! I'm knee deep in a project that i need to convert a whole rom from hdpi to ldpi, this is a life saver. I will pass the word on to see if anyone wants to help you with the gui !
Sent from NS4G Pool Party
Thanks a lot , but actually i am NOT A PROGRAMMER , so i wished if i gave a headstart , the "guys" would continue the thing ! I can't do anything from now on , i gave what i had , and now its the programmers turn !
seaskyways said:
Thanks a lot , but actually i am NOT A PROGRAMMER , so i wished if i gave a headstart , the "guys" would continue the thing ! I can't do anything from now on , i gave what i had , and now its the programmers turn !
Click to expand...
Click to collapse
Yeah i got you, I'm going to see if any of my contacts want to take this on
Sent from my Sprint Galaxy Nexus
-Everything i post is opinion based on my experiences and should be taken a such.
any news ??
seaskyways said:
any news ??
Click to expand...
Click to collapse
you actually should stop in and talk to the guys who do TWRP i imagine a "one size fits all" theme zip would be awesome for them...
This is not meant for theming , this is for resizing a whole ROM apks ... so this is very important for the android devices , lets say the Sense 3.0 was given to the mdpi htc devices , wouldn't this be cool ??
seaskyways said:
This is not meant for theming , this is for resizing a whole ROM apks ... so this is very important for the android devices , lets say the Sense 3.0 was given to the mdpi htc devices , wouldn't this be cool ??
Click to expand...
Click to collapse
Trust me this is for themers too!
Sent from NS4G Pool Party
Yeah i know , I used this method to resize many things FOR THEMING , but i need help to spread it , I am not a recognized developer or even recognized user of anykind , so no one would look at this unless you guys spread it !
seaskyways said:
Yeah i know , I used this method to resize many things FOR THEMING , but i need help to spread it , I am not a recognized developer or even recognized user of anykind , so no one would look at this unless you guys spread it !
Click to expand...
Click to collapse
Believe me eyes are on this just be patient
Sent from NS4G Pool Party
Any updates ??
So I am the only one concerned about such a big project ??
seaskyways said:
So I am the only one concerned about such a big project ??
Click to expand...
Click to collapse
You made this rather confusing...
I see you attached some imagemajick code or something... But have you released something?
I don't understand from the OP if you've released something or written something, and there's no clear documentation of what's going on.
pulser_g2 said:
You made this rather confusing...
I see you attached some imagemajick code or something... But have you released something?
I don't understand from the OP if you've released something or written something, and there's no clear documentation of what's going on.
Click to expand...
Click to collapse
Dear Admin , No I haven't released anything , this is an Idea for the PC/Linux programmers... I have attached that file in there , so that I could make it easier for devs to accomplish what we all need , a tool to resize pngs without any loss of alpha data ... So if a Elite programmer could work on this , to decompile every apk in the system and resize all the pngs and xml files and recompile them into the ported system , then One Software would apply on all hdpi , mdpi , ldpi , xhdpi etc ! get it or still not yet clear ??
Hey OP - PM me, let's talk more. This sounds very doable to me, and I am a programmer. I just need some more details.

[Guide][tip]adding text that appears while flashing a rom from cwm

Okay so this guide is for peoples (and everyone who are intrested) who requested me to demostrate how to manupulate the text that comes im cwm screen during flashing of a custom rom
****I AM NOT RESPONSIBLE FOR MESSING OF BRICKING YOUR PHONE SO PLEASE TRY ON YOUR OWN RISK****
First decompress the rom (you should know how to do that if you are trying to mod it or use search button )
For custom text, you have to edit updater-script
If you dont have any knowledge of updater-script then:
***DO NOT EDIT ANYTHING EXEPT WHAT I DO OR YOU MAY MESS UP YOUR ROM***
You may find the it here at:
META-INF/com/google/android/*here*
**do a Backup of the file first**
use ONLY but ONLY notepad++ for opening the updater-script or it may get currupted
Add this in given format::
ui_print("TEXT should be here");
(Note: you can add many lines in the given format if you want many lined texts while flashing)
Add your text start at top in tje format as mentioned and save the updater-script and replace it with original in the rom
Now compress the rom again and make a flashable zip...
And you're ready to see your custom text while flashing it via cwm
Credits: all xda dev who are amazing teachers..
Ps. Its my first thread so correct me if something is wrong
press THANKS if i helped you in any way
Cheers
Hritik154 said:
use ONLY but ONLY notepad++ for opening the updater-script or it may get currupted
Click to expand...
Click to collapse
lol
I use Notepad (not Notepad++) and it never gets corrupted. To be honest, any text editor will do, so long as you don't mess up in your editing.
NightRaven49 said:
lol
I use Notepad (not Notepad++) and it never gets corrupted. To be honest, any text editor will do, so long as you don't mess up in your editing.
Click to expand...
Click to collapse
Im generally recommending notepad++ for editing files..plus i said it MAY corrupt the file..its just a precaution for my future posts where you (in general) may want to edit xml files and opening with notepad will corrupt it...for example try opening build.prop next time with notepad you'll know what im talking about
Hritik154 said:
Im generally recommending notepad++ for editing files..plus i said it MAY corrupt the file..its just a precaution for my future posts where you (in general) may want to edit xml files and opening with notepad will corrupt it...for example try opening build.prop next time with notepad you'll know what im talking about
Click to expand...
Click to collapse
notepad++ have a good layout for editing a code
btw my friend kurotsugi already create this thread
and last...u must sign ure rom
Development in galaxy y is so fast now and i think no one is noob here
and why we are using Notepad++
becoz it has 3 formats for diff. operating system.
1.windows/DOS
2 unix/posix
3.mac
if u r writing code for linux than u choose 2nd one in EOL CONVERSION.
Becoz Android is linux based OS.
kartik verma said:
Development in galaxy y is so fast now and i think no one is noob here
and why we are using Notepad++
becoz it has 3 formats for diff. operating system.
1.windows/DOS
2 unix/posix
3.mac
if u r writing code for linux than u choose 2nd one in EOL CONVERSION.
Becoz Android is linux based OS.
Click to expand...
Click to collapse
Lol someone is spamming thread just cuz i pointed out error in his mod xD dunno how xda came to this point...anyyyway you already said no noobs here so i guess everyone knows its a linux based os and how to use notepad++ i said use it its upto you if you want to or not..and as i said its for precaution while editing xml files cuz they may get corrupted while using notepad..greets
Hritik154 said:
Lol someone is spamming thread just cuz i pointed out error in his mod xD dunno how xda came to this point...anyyyway you already said no noobs here so i guess everyone knows its a linux based os and how to use notepad++ i said use it its upto you if you want to or not..and as i said its for precaution while editing xml files cuz they may get corrupted while using notepad..greets
Click to expand...
Click to collapse
m not spamming ur thread
u r a free lancer and their is no error in my mod.
peoples like u who figuring out useless error in other mods which arent exist.
This is a thread , on the request of users.
u made thread like this.... XD
Why not u post about permissions in android ...??? They are more helpful than this plus.
kartik verma said:
m not spamming ur thread
u r a free lancer and their is no error in my mod.
peoples like u who figuring out useless error in other mods which arent exist.
This is a thread , on the request of users.
u made thread like this.... XD
Why not u post about permissions in android ...??? They are more helpful than this plus.
Click to expand...
Click to collapse
Please check your post or pm me if you wanna know something not related to this thread..its actually spamming just dont increase postcounts until or unless you have something to ask from this specific thread
Hritik154 said:
Please check your post or pm me if you wanna know something not related to this thread..its actually spamming just dont increase postcounts until or unless you have something to ask from this specific thread
Click to expand...
Click to collapse
no need to ask already learnt many thing which u are learning now.
and i dont want to increase post counts and i dont want likes , i never say other user to like maah post , i help u so hit thanks buttons.
like u who say "press thanks buttons"
kartik verma said:
no need to ask already learnt many thing which u are learning now.
and also want to increase post counts and i dont want likes , i never say other user to like maah like , i help u so hit thanks buttons.
like u who say "press thanks buttons"
Click to expand...
Click to collapse
Why do you have to be so irritating :/
Just simple to understand line:
DONT POST IF YOU DONT HAVE SOMETHING TO ASK RELATED TO THREAD
grow up guys
back to topic or malybru come here
The reason why you should use notepad++ is due to the way windows handles the return key (and other functions)
If you make a new line (ie press enter) windows and Linux handles this differently and may cause the script to fail unless using the way Linux interpretates it by using notepad++
Anyway there are plenty of threads in xda that go into far more detail & explain all the commands of the updater script so I suggest if you want more details please search

Categories

Resources