Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,846 Members 37,196 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Android Studio - Add Superclass

Tip us?
 
Hawkysoft
Old
(Last edited by Hawkysoft; 19th September 2014 at 02:48 AM.)
#1  
Hawkysoft's Avatar
Senior Member - OP
Thanks Meter 167
Posts: 731
Join Date: Jul 2010
Location: Rotterdam

 
DONATE TO ME
Question [Q] Android Studio - Add Superclass

Hey all,

Well I finally started to mess around with Android Studio, however I stumbled onto a little problem (probably me being noobish)

I'm trying to add an class to my project, however when I add the "Java Class" I don't get the option to set the superclass.. (New Java Class wizard doesn't appear at all but just an option to add a class and other types..)

Anyone know what I maybe am doing wrong or how to do it on the right way?

The place where I added it is

Name>app>src>main>java>packagename>

With regards,

Hawkysoft
Signature(string Device) {
...if(Device = ("HTC One M8") {
......if(Firmware = Stock) {
.........AndroidOS = 4.4.2;
.........Status = S-OFF+ROOT;
......}
...}
...if(Device = ("ASUS Transformer Prime") {
......AndroidOS = 4.0.4 AOKP;
......Status = BL-unlocked+ROOT;
...}
...return MySignature;
}

next_device() { return "unknown"; }
 
Hawkysoft
Old
#2  
Hawkysoft's Avatar
Senior Member - OP
Thanks Meter 167
Posts: 731
Join Date: Jul 2010
Location: Rotterdam

 
DONATE TO ME
Anyone?
Signature(string Device) {
...if(Device = ("HTC One M8") {
......if(Firmware = Stock) {
.........AndroidOS = 4.4.2;
.........Status = S-OFF+ROOT;
......}
...}
...if(Device = ("ASUS Transformer Prime") {
......AndroidOS = 4.0.4 AOKP;
......Status = BL-unlocked+ROOT;
...}
...return MySignature;
}

next_device() { return "unknown"; }
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes