Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的代码:
Toast.makeText(this, "انتهای کتاب", Toast.LENGTH_SHORT).show();
结果(在eclipse模拟器上,android2.2):
尝试使用这个:
Toast.makeText(getApplicationContext(), "انتهای کتاب", Toast.LENGTH_SHORT).show();