.aidl to .java

Put your problem here if it does not fit any of the other categories.

.aidl to .java

Postby amitsingh18 » Fri Nov 21, 2008 8:16 pm

Hi All,

Can anybody explain me the answer of below questions regarding .aidl:
1. how to create .aidl file?
2. how to generate .java file from that? (with example)

Since i am new to Android, so pls. can anybody explain me in detail?

Thanks & Regards
amitsingh18
Freshman
Freshman
 
Posts: 6
Joined: Tue Nov 04, 2008 6:55 pm

Top

Postby richard.puckett » Fri Nov 21, 2008 10:26 pm

1. http://code.google.com/android/reference/aidl.html
2. Use the Eclipse plugin. It will generate the java files automatically.
Image
richard.puckett
Junior Developer
Junior Developer
 
Posts: 13
Joined: Thu Dec 27, 2007 2:37 am
Location: Seattle, WA

Postby amitsingh18 » Sat Nov 22, 2008 3:15 am

richard.puckett wrote:1. http://code.google.com/android/reference/aidl.html
2. Use the Eclipse plugin. It will generate the java files automatically.


Hi,
thanks for your reply, i read that but still i have same question. can you explain me step-by-step since i use command line to generate the .java file. but not able to generate, i think i missed something.

Regards
amitsingh18
Freshman
Freshman
 
Posts: 6
Joined: Tue Nov 04, 2008 6:55 pm

Postby amitsingh18 » Sat Nov 22, 2008 11:54 am

amitsingh18 wrote:
richard.puckett wrote:1. http://code.google.com/android/reference/aidl.html
2. Use the Eclipse plugin. It will generate the java files automatically.


Hi,
thanks for your reply, i read that but still i have same question. can you explain me step-by-step since i use command line to generate the .java file. but not able to generate, i think i missed something.

Regards


I also tried from Eclipse IDE to generate .aidl file but its not getting generated.

tried Package explorer->Android tools->Create Aidl for preprocess file..... but still no result....
Any idea...how to generate .aidl file and .java from there...

Regards
Amit
amitsingh18
Freshman
Freshman
 
Posts: 6
Joined: Tue Nov 04, 2008 6:55 pm

Postby MrSnowflake » Sun Nov 23, 2008 1:43 pm

Make sure your project doesn't have errors, otherwise the eclipse plugin won't be able to create java files from the aidl's (the same is true for R.java).
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 22 guests