- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
app_preferences = PreferenceManager.getDefaultSharedPreferences(context);
mApplication = (MyApplication)context;
if(mApplication.nomgor == 0 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID","");//в работе
}
if(mApplication.nomgor == 1 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID1", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID1","");//в работе
}
if(mApplication.nomgor == 2 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID2", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID2","");//в работе
}
if(mApplication.nomgor == 3 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID3", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID3","");//в работе
}
if(mApplication.nomgor == 4 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID4", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID4","");//в работе
}
if(mApplication.nomgor == 5 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID5", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID5","");//в работе
}
if(mApplication.nomgor == 6 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID6", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID6","");//в работе
}
if(mApplication.nomgor == 7 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID7", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID7","");//в работе
}
if(mApplication.nomgor == 8 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID8", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID8","");//в работе
}
if(mApplication.nomgor == 9 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID9", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID9","");//в работе
}
if(mApplication.nomgor == 10 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID10", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID10","");//в работе
}
if(mApplication.nomgor == 11 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID11", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID11","");//в работе
}
if(mApplication.nomgor == 12 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID12", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID12","");//в работе
}
if(mApplication.nomgor == 13 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID13", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID13","");//в работе
}
if(mApplication.nomgor == 14 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID14", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID14","");//в работе
}
if(mApplication.nomgor == 15 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID15", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID15","");//в работе
}
if(mApplication.nomgor == 16 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID16", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID16","");//в работе
}
if(mApplication.nomgor == 17 ){
mApplication.MyPacket.id = Integer.parseInt(app_preferences.getString("ID17", "0"));
mApplication.MyPacket.Pass = app_preferences.getString("PASS_ID17","");//в работе
}
Pythoner 10.10.2013 01:50 # +3
grampe 10.10.2013 23:45 # 0
anonimb84a2f6fd141 10.10.2013 02:45 # +4
3.14159265 10.10.2013 19:04 # +2
А в шарпике есть кодогенератор до боли похожий на ASP/JSP/PHP. Razor кажись.
kegdan 11.10.2013 02:43 # +1
roman-kashitsyn 11.10.2013 13:18 # +7
Lure Of Chaos 11.10.2013 21:38 # +2
Dummy00001 10.10.2013 23:43 # +4
anonimb84a2f6fd141 11.10.2013 03:23 # 0
Dummy00001 11.10.2013 13:12 # 0
ЗЫ капслок?
3.14159265 11.10.2013 17:35 # +1
anonimb84a2f6fd141 11.10.2013 18:58 # 0
bormand 11.10.2013 19:03 # 0
bormand 11.10.2013 20:17 # +1
3.14159265 11.10.2013 20:52 # +1
Lure Of Chaos 12.10.2013 01:32 # 0
1024-- 12.10.2013 09:01 # 0
guest 11.10.2013 14:15 # −17