Android Question Start 2x Main-Activity

D

Deleted member 103

Guest
Hi,

can anyone tell me why the main activity is started twice?
Or is it normal if InAppBilling is used?

** Service (starter) Create **
billmanager Starten
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Class not found: fg.speedpilot_pro.autotextsizelabel, trying: fg.speedpilot_lite.autotextsizelabel
Class not found: fg.speedpilot_pro.autotextsizelabel, trying: fg.speedpilot_lite.autotextsizelabel
Class not found: fg.speedpilot_pro.autotextsizelabel, trying: fg.speedpilot_lite.autotextsizelabel
Class not found: fg.speedpilot_pro.autotextsizelabel, trying: fg.speedpilot_lite.autotextsizelabel
Class not found: fg.speedpilot_pro.autotextsizelabel, trying: fg.speedpilot_lite.autotextsizelabel
Class not found: fg.speedpilot_pro.autotextsizelabel, trying: fg.speedpilot_lite.autotextsizelabel
** Activity (main) Resume **
Billing service connected.
Checking for in-app billing 3 support.
In-app billing version 3 supported for fg.speedpilot_lite
Subscriptions AVAILABLE.
** Activity (main) Pause, UserClosed = false **
true, Setup successful. (response: 0:OK)
Subscriptions supported: true
** Activity (main) Create, isFirst = false **
Class not found: fg.speedpilot_pro.autotextsizelabel, trying: fg.speedpilot_lite.autotextsizelabel
Class not found: fg.speedpilot_pro.autotextsizelabel, trying: fg.speedpilot_lite.autotextsizelabel
Class not found: fg.speedpilot_pro.autotextsizelabel, trying: fg.speedpilot_lite.autotextsizelabel
Class not found: fg.speedpilot_pro.autotextsizelabel, trying: fg.speedpilot_lite.autotextsizelabel
Class not found: fg.speedpilot_pro.autotextsizelabel, trying: fg.speedpilot_lite.autotextsizelabel
Class not found: fg.speedpilot_pro.autotextsizelabel, trying: fg.speedpilot_lite.autotextsizelabel
** Activity (main) Resume **
WakeLock already held.
CheckInternetConnection
** Service (httputils2service) Create **
** Service (httputils2service) Start **
JobDone: Starter.billmanager.GetOwnedProducts
Starting async operation: refresh inventory
Querying owned items, item type: inapp
Package name: fg.speedpilot_lite
Calling getPurchases with continuation token: null
Owned items response: 0
Sku is owned: test1
Continuation token: null
Querying SKU details.
** Service (httputils2service) Destroy **
Got sku details: SkuDetails:{"productId":"test1","type":"inapp","price":"0,60 €","price_amount_micros":600000,"price_currency_code":"EUR","title":"test1 (Speedpilot-Lite)","description":"test mit InApp"}
Querying owned items, item type: subs
Package name: fg.speedpilot_lite
Calling getPurchases with continuation token: null
Owned items response: 0
Continuation token: null
Querying SKU details.
queryPrices: nothing to do because there are no SKUs.
Ending async operation: refresh inventory
OwnedProducts: Success= true
purchases=(MyMap) {test1=Purchase(type:inapp): test1, state = 0}
test1, Purchased? true
Lizenzfile aktualisieren
 
D

Deleted member 103

Guest
Activities can be destroyed while they are in the background. Your program should expect it.

Based on these logs we cannot know why it was destroyed. Did the orientation change?
Thank Erel. :)
As always, you're right! There was a change Orientation.
 
Upvote 0
Top