0
我試圖通過發送一個對象而不是一個類的意圖。
代替:
從一個對象的類意圖
Intent intent = new Intent(EXGPS.this, LocationGPS.class);
我需要:
LocationGPS gps = new LocationGPS(this);
Intent intent = new Intent(EXGPS.this, gps);
我必須這樣做,在某些方面的原因,我不能把我的LocationGPS構造器是越來越語境下進行。
預先感謝您:-)