[android-developers] Does paid app encryption also work on rooted device?

2014-02-10 Thread Build Account
As the title is 
Does any paid app encryption also work on even rooted device?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Re: D.E.F.E.C.T. 'Subscription' can be purchased for free

2014-01-25 Thread Build Account
Any update..more ?  any Google guys who connected to?

2014년 1월 18일 토요일 오후 3시 57분 34초 UTC+9, Build Account 님의 말:
>
> STEPS TO REPRODUCE:
> 1.implement billing client into any app. and register subscription product 
> in dev console.
> 2.run the app and purchase whatever item.
> 3.cancel the purchasement from Google play > my app > subscription
> 4. re purchase a subscription from the app.
> 5. cancel the purchasement from Google play > my app > subscription again.
> 6. Now the charging cancelled but we can use the subscription
>
> 7. try above steps for subscription on any app in market. Also it works 
> for any in-app products.
> get the prodcut for free.
>
> EXPECTED OUTPUT:
> When it's cancelled, it must be cancelled forever.
>
> ACTUAL OUTPUT:
> if repeat purcahse subscription and cencel, you cen get the product for 
> free.
>
> AFFECTED ORDER IDS (IF RELEVANT):
>
> OS VERSION:
> All OS include 4.4 Kitkat.(no-root, non-custom rom, it's on original 
> android OS)
>
> MARKET/MYAPPS VERSION:
> Any app which implement Google Billing
>
> DEVICE:
> Any Android device which support Google Play market
>
> OUTPUT FROM ADB BUGREPORT ATTACHED:
>
>
> NOTES:
>
> GOOGLE, 
> MUST TAKE THIS ISSUE SERIOUSLY AND  QUICKLY.
> THE ENEMY OF PUBLISHER IS THE GOOGLE NOT CRACKER OR SCAMER.
> Who is in charge of this billing defect issue?
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Re: D.E.F.E.C.T. 'Subscription' can be purchased for free

2014-01-20 Thread Build Account
It mean that the IABHelper always return as owned ever after all.
which is serious.

On Saturday, January 18, 2014 3:57:34 PM UTC+9, Build Account wrote:
>
> STEPS TO REPRODUCE:
> 1.implement billing client into any app. and register subscription product 
> in dev console.
> 2.run the app and purchase whatever item.
> 3.cancel the purchasement from Google play > my app > subscription
> 4. re purchase a subscription from the app.
> 5. cancel the purchasement from Google play > my app > subscription again.
> 6. Now the charging cancelled but we can use the subscription
>
> 7. try above steps for subscription on any app in market. Also it works 
> for any in-app products.
> get the prodcut for free.
>
> EXPECTED OUTPUT:
> When it's cancelled, it must be cancelled forever.
>
> ACTUAL OUTPUT:
> if repeat purcahse subscription and cencel, you cen get the product for 
> free.
>
> AFFECTED ORDER IDS (IF RELEVANT):
>
> OS VERSION:
> All OS include 4.4 Kitkat.(no-root, non-custom rom, it's on original 
> android OS)
>
> MARKET/MYAPPS VERSION:
> Any app which implement Google Billing
>
> DEVICE:
> Any Android device which support Google Play market
>
> OUTPUT FROM ADB BUGREPORT ATTACHED:
>
>
> NOTES:
>
> GOOGLE, 
> MUST TAKE THIS ISSUE SERIOUSLY AND  QUICKLY.
> THE ENEMY OF PUBLISHER IS THE GOOGLE NOT CRACKER OR SCAMER.
> Who is in charge of this billing defect issue?
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] D.E.F.E.C.T. 'Subscription' can be purchased for free

2014-01-20 Thread Build Account
Well...
If someone keep motivate us but provide no protection
then it's the enemy who have something behind.
That's true from history.

btw, any workaround or solution?
or any way to fix Google them up asap? any body?


On Monday, January 20, 2014 9:31:54 AM UTC+9, Kristopher Micinski wrote:

> "the enemy is the google"
>
> timeless words, so succinctly elucidated, captivating in a single sentence.
>
> Kris
>
>
>
> On Sat, Jan 18, 2014 at 1:57 AM, Build Account 
> 
> > wrote:
>
>> STEPS TO REPRODUCE:
>> 1.implement billing client into any app. and register subscription 
>> product in dev console.
>> 2.run the app and purchase whatever item.
>> 3.cancel the purchasement from Google play > my app > subscription
>> 4. re purchase a subscription from the app.
>> 5. cancel the purchasement from Google play > my app > subscription again.
>> 6. Now the charging cancelled but we can use the subscription
>>
>> 7. try above steps for subscription on any app in market. Also it works 
>> for any in-app products.
>> get the prodcut for free.
>>
>> EXPECTED OUTPUT:
>> When it's cancelled, it must be cancelled forever.
>>
>> ACTUAL OUTPUT:
>> if repeat purcahse subscription and cencel, you cen get the product for 
>> free.
>>
>> AFFECTED ORDER IDS (IF RELEVANT):
>>
>> OS VERSION:
>> All OS include 4.4 Kitkat.(no-root, non-custom rom, it's on original 
>> android OS)
>>
>> MARKET/MYAPPS VERSION:
>> Any app which implement Google Billing
>>
>> DEVICE:
>> Any Android device which support Google Play market
>>
>> OUTPUT FROM ADB BUGREPORT ATTACHED:
>>
>>
>> NOTES:
>>
>> GOOGLE, 
>> MUST TAKE THIS ISSUE SERIOUSLY AND  QUICKLY.
>> THE ENEMY OF PUBLISHER IS THE GOOGLE NOT CRACKER OR SCAMER.
>> Who is in charge of this billing defect issue?
>>  
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to 
>> android-d...@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-developers+unsubscr...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] D.E.F.E.C.T. 'Subscription' can be purchased for free

2014-01-17 Thread Build Account


STEPS TO REPRODUCE:
1.implement billing client into any app. and register subscription product 
in dev console.
2.run the app and purchase whatever item.
3.cancel the purchasement from Google play > my app > subscription
4. re purchase a subscription from the app.
5. cancel the purchasement from Google play > my app > subscription again.
6. Now the charging cancelled but we can use the subscription

7. try above steps for subscription on any app in market. Also it works for 
any in-app products.
get the prodcut for free.

EXPECTED OUTPUT:
When it's cancelled, it must be cancelled forever.

ACTUAL OUTPUT:
if repeat purcahse subscription and cencel, you cen get the product for 
free.

AFFECTED ORDER IDS (IF RELEVANT):

OS VERSION:
All OS include 4.4 Kitkat.(no-root, non-custom rom, it's on original 
android OS)

MARKET/MYAPPS VERSION:
Any app which implement Google Billing

DEVICE:
Any Android device which support Google Play market

OUTPUT FROM ADB BUGREPORT ATTACHED:


NOTES:

GOOGLE, 
MUST TAKE THIS ISSUE SERIOUSLY AND  QUICKLY.
THE ENEMY OF PUBLISHER IS THE GOOGLE NOT CRACKER OR SCAMER.
Who is in charge of this billing defect issue?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Does the 'App encryption' on JellyBean also work for free app?

2013-12-27 Thread Build Account
Hi, 

Does the 'App encryption' on JellyBean also work for free app? not only 
paid app for?

According to the material at the bottom of
http://developer.android.com/distribute/googleplay/about/distribution.html#stats
only saying that paid app for.

But some of guide at the bottom of 
https://support.google.com/googleplay/android-developer/answer/186113?hl=en
saying that JellyBean support the service for free and paid both.

Which information is correct?

Any one can clearify this for me?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] DEFECT of Calendar service.

2012-12-02 Thread Build Account
Hi, any Calender service engineer in Google.
 
the spec of event 
'RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1;' never worked.
Point is that negative BYSETPOS not working.
 
When r u people going to fix and implement the iCalendar spec properly?
I really hope you people hire professional engineer for the server 
implementation.
 
Fix it for the real useful Calendar service.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] NullPointerException from Billing API

2012-11-20 Thread Build Account
As far as you know, 
The ERROR from Billing API make below error very FREQUENTLY

-
java.lang.RuntimeException: Unable to start service 
com..yyy.BillingService@41b15648 with Intent { 
act=com.android.vending.billing.RESPONSE_CODE(or STATUS_CHANGE thing) 
cmp=com..yyy/com..yyy.BillingService 
(has extras) }: java.lang.NullPointerException
 at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2388)
 at android.app.ActivityThread.access$1900(ActivityThread.java:127)
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1214)
 at android.os.Handler.dispatchMessage(Handler.java:99)
 at android.os.Looper.loop(Looper.java:137)
 at android.app.ActivityThread.main(ActivityThread.java:4499)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at java.lang.reflect.Method.invoke(Method.java:511)
 at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:561)
 at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
 at com..yyy.BillingService.onStartCommand(Unknown 
Source)
 at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2371)

---

This must be fixed by Google side 
whoever Google Play people or framework people.
 
Why Google keep silent about those critical issues which regarding billing?
Fix it. pls.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-11-20 Thread Build Account
This is definitely the Android OS DEFECT
eventhough the people the framework engineer saying something mambo jumbo.
 
Shit...The Android getting sucks to develop which reveals not even stable.
 

On Sunday, June 24, 2012 6:51:50 AM UTC+9, Build Account wrote:

> Hello.
>
> If app has well defined BackupAgent class with definition in manifest, 
> the error suddenly occur randomly.
> (signed/unsiged same but maybe not debug mode).
>
> I tried find solution through web, 
> but everybody screaming about this error with no answer.
> The sample reference links from Stackoverflow are below
> -
> http://stackoverflow.com/questions/7506981/how-come-i-get-classnotfoundexception-when-backupagent-tries-to-start
> -
> http://stackoverflow.com/questions/7641765/mysterious-classnotfoundexception-when-android-system-engage-backupagent
> -
> http://stackoverflow.com/questions/6147241/android-app-classnotfoundexception-for-main-activity
> -
> http://stackoverflow.com/questions/3781151/java-lang-classnotfoundexception-on-working-app
> (and you can find more with keywords 'backupagent classnotfoundexception')
>
> Does anyone know solution to avoid this unexpected error??
> (All the source code and manifest is all okay surely).
>
> Here is the log file.
> 
> E/ActivityThread(1954): Agent threw during creation: 
> java.lang.ClassNotFoundException: com.company.appname.mybackuphelper in 
> loader dalvik.system.PathClassLoader[/data/app/com.company.appname-1.apk]
> W/dalvikvm(1954): threadid=1: thread exiting with uncaught exception 
> (group=0x4001e578)
> E/AndroidRuntime(1954): FATAL EXCEPTION: main
> E/AndroidRuntime(1954): java.lang.RuntimeException: Unable to create 
> BackupAgent com.company.appname.mybackuphelper: 
> java.lang.ClassNotFoundException: com.company.appname.mybackuphelper in 
> loader dalvik.system.PathClassLoader[/data/app/com.company.appname-1.apk]
> E/AndroidRuntime(1954): at 
> android.app.ActivityThread.handleCreateBackupAgent(ActivityThread.java:1895)
> E/AndroidRuntime(1954): at 
> android.app.ActivityThread.access$3200(ActivityThread.java:117)
> E/AndroidRuntime(1954): at 
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1030)
> E/AndroidRuntime(1954): at 
> android.os.Handler.dispatchMessage(Handler.java:99)
> E/AndroidRuntime(1954): at android.os.Looper.loop(Looper.java:130)
> E/AndroidRuntime(1954): at 
> android.app.ActivityThread.main(ActivityThread.java:3687)
> E/AndroidRuntime(1954): at 
> java.lang.reflect.Method.invokeNative(Native Method)
> E/AndroidRuntime(1954): at 
> java.lang.reflect.Method.invoke(Method.java:507)
> E/AndroidRuntime(1954): at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
> E/AndroidRuntime(1954): at 
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
> E/AndroidRuntime(1954): at dalvik.system.NativeStart.main(Native 
> Method)
> E/AndroidRuntime(1954): Caused by: java.lang.ClassNotFoundException: 
> com.company.appname.mybackuphelper in loader 
> dalvik.system.PathClassLoader[/data/app/com.company.appname-1.apk]
> E/AndroidRuntime(1954): at 
> dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
> E/AndroidRuntime(1954): at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:551)
> E/AndroidRuntime(1954): at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:511)
> E/AndroidRuntime(1954): at 
> android.app.ActivityThread.handleCreateBackupAgent(ActivityThread.java:1864)
> E/AndroidRuntime(1954): ... 10 more
> W/asset(143): Asset path /data/app/com.company.appname-1.apk is neither a 
> directory nor file (type=1).
> W/PackageManager(143): Failure retrieving resources forcom.company.appname
> E/(143): Dumpstate > /data/log/dumpstate_app_error
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: DEFECT(?) on the new Google 'Subscription' payment method(wrongly reconize purchase status?).

2012-06-26 Thread Build Account
Any advice? Especially...Google people, no advice?


On Saturday, June 23, 2012 12:41:17 AM UTC+9, Build Account wrote:
>
> Hello.
>
> I have started bit aggressive subject 
> since I believe payment issue is very important.
> Some of app (Like Glu mobile's games) 
> which already apply this Subscription method also working weired with the 
> process.
>
> Please everybody follow below description 
> to verify whether this is a problem or not.(I'm looking for a solution)
>
>
>
> *Regarding *the description on Google, 
> (
> http://developer.android.com/guide/google/play/billing/billing_subscriptions.html
> )
> and the sample from this page, 
> we can test the subscription and all the in-app billing process. and
> it SEEM quite work well.(you need to build up and test).
>
> BUT, to reproduce, 
> 1. Once purchase a pre-registered 'subscription item' which is well paid
> through your in-app billing test sample.
>
> 2. after that Immediately cancel the transaction WITHIN 15minites as 
> Google policy
> to avoid refund process through the app download page on Google Play(just 
> press cancel)
>
> then now you will receive totally two e-mails from Google system
> one is about well purchased, another one is well cancelled.
>
> After that, 
> you try to purchase the Subscription item again, 
> Google Market system will tell you that 
> 'You already has the subscription' or so(as relevant your language)
> even-though you cancel the subscription successfully.
>
>
>  *Here is what* 
> I want to tell you that the PROBLEM.
> If follow above simple steps, 
> 1. You can't purchase again before expire the payment cycle(at least a 
> month)
> mean that user can't buy the item with in the month
> also mean that you can NOT earn the profit for users.
> > Did you got a what the problem is? No? keep follow below.
>
> the real problem is that 
> 2. The app which contain Subscription selling/payment verifying module 
> recognize that
> user successfully purchase the item.
> Mean that user can access everything without any payment within a month!
> Follow?
>  Plus, 
> user can try to purchase and cancel every single payment cycle(monthly or 
> yearly).
> Follow?
>
> Ya, this Google's new subscription method SEEM that 
> security hole and serious problem which is unfiltered before 
> commercialized.
> You people try above
> on some of apps like Contract killer from the company Glu mobile or
> another applicant's app whatevery one 
> to repro whether immediately cancelled Subscription make wrongly work.
>
>
> *So, *
> my questions which I would like to ask you that
> 1. above is natural flow? not a problem/defect?
> 2. is there already exist any solution to correctly detect subscription 
> status
> whether cancelled?(even though user cancel the subscription immediately 
> within 15 mins after purchase?)
> 3. If anything wrongly understand subscription application how to??
>
> Please advice me anything since I need a solution to apply Subscription 
> method
> without defect.
>
> Thx.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-26 Thread Build Account
Hi.

First, thank you for your advice.


* Then,
*I suppose about problem that
probably the problem came from ADT plugin or Eclipse.
 The reason why is that 
sometime Android screaming ClassNotFound error when just launched an blank 
activyty in debugger about even usual normal start activity class which 
symptom is exactly same.
 In that case 'Clean' build is not even work.
 But deletion by manual resolve the problem.(Select 'bin', 'gen' folder in 
project explorer 
of Eclipse
and press delete key. Or maybe could works delete each folder 
on File Explorer out side of Eclipse).

I'll look carefully for further app release, 
but Google ADT people need to make sure the defect fix on ADT and Eclipse 
part.

 For now, 
thank you for everyone for all your time and effort.
See you later.



On Tuesday, June 26, 2012 9:08:41 AM UTC+9, Dianne Hackborn wrote:
>
> On Mon, Jun 25, 2012 at 12:07 AM, Build Account  wrote:
>
>> Do you know...which module/app save an apk into '/data/app/'
>> 1. when it downloaded from the app Google Play?(Google Play itself?)
>>
>
> PackageManagerService
>  
>
>> 2. when run debugger through Eclipse, which module save into?
>>
>
> PackageManagerService
>  
>
>> 3. Is that always overwrote prior same apk successfully?
>>
>
> That is an implementation detail, and you are doing something wrong if you 
> care about it.  The way this works has changed across different versions of 
> the platform.  In current versions, it picks a name that is different from 
> the name of the currently installed version, and once install of the new 
> version completed successfully it points its data structures to the new 
> path and deletes the old .apk file.
>
> -- 
> Dianne Hackborn
> Android framework engineer
>
>
> Note: please don't send private questions to me, as I don't have time to 
> provide private support, and so won't reply to such e-mails.  All such 
> questions should be posted on public forums, where I and others can see and 
> answer them.
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-25 Thread Build Account
Hi.

Oh, is it? understood.

Then..to investigate further..here is several questions, 

Do you know...which module/app save an apk into '/data/app/'
1. when it downloaded from the app Google Play?(Google Play itself?)
2. when run debugger through Eclipse, which module save into?
3. Is that always overwrote prior same apk successfully?

Could you share your opinion about above?


On Monday, June 25, 2012 6:50:48 AM UTC+9, RichardC wrote:
>
>
>
> On Sunday, June 24, 2012 10:35:12 PM UTC+1, Build Account wrote:
>>
>> hi.
>>
>> Yes you are correct 
>> but the point of question was(which is not so clear) 
>> why OS looking for the apk in that path because of?? 
>> why not from installed/extracted binary??
>
>
> The contents of of an APK are not extracted/installed.  APKs are just zip 
> files which the Android-OS can read (using ZLIB), it therefore does not 
> need to extract or install their contents.
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-24 Thread Build Account
Hi.

Please refer manifest snippet below.
Before you consider that
the path of backupagent applied in many ways
absolute full package path, one class name since exists in root, 
relative path as below.
But seem that not a differences.(No well consolidated chart for difference 
result
about when I change the backupagent path, 
but I 120% sure/believe my memory 
since I tried each way few dozen of times each...).


manifest.xml




---

On Monday, June 25, 2012 4:52:46 AM UTC+9, RichardC wrote:
>
> Would you post your manifest please.
>  
>  
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-24 Thread Build Account
hi.

Yes you are correct 
but the point of question was(which is not so clear) 
why OS looking for the apk in that path because of?? 
why not from installed/extracted binary??


On Monday, June 25, 2012 4:51:21 AM UTC+9, RichardC wrote:
>
> One thing weired is 
>> why OS looking path '/data/app/' ?? Do you know that?
>>
>>>
>>>
> From your LogCat:
> E/AndroidRuntime(1954): java.lang.RuntimeException:
> Unable to create BackupAgent com.company.appname.mybackuphelper: 
>
> java.lang.ClassNotFoundException: 
> com.company.appname.mybackuphelper in loader 
> dalvik.system.PathClassLoader[/data/app/com.company.appname-1.apk] 
>
> Teh class loader looking for a class called 
> "com.company.appname.mybackuphelper"
> and is looking for it in the file "/data/app/com.company.appname-1.apk", 
> which should be your APK file.
>
> APKs are installed into /data/app.
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-24 Thread Build Account
Hi.

Well...I don't agree with your comment, 
since the proguard option came(one came, another one derived)
which${sdk.dir}/tools/proguard/proguard-android.txt
and from my experience decompiling myself my app 
that the class was not obfuscation...
So...are you sure the setting your suggestion??


On Monday, June 25, 2012 4:38:55 AM UTC+9, Nobu Games wrote:
>
> *-keep public class * extends android.app.backup.BackupAgent*
>> *-keep public class * extends android.app.backup.BackupAgentHelper*
>
>
> I think that's your problem. Your setting only protects child classes of 
> BackupAgent and BackupAgentHelper from obfuscation. You should change these 
> lines to
>
> *-keep public class android.app.backup.BackupAgent*
>> *-keep public class android.app.backup.BackupAgentHelper*
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-24 Thread Build Account
Hi.

 Well...the class name of my backupagenthelper 
altered in the proguard.cfg(my config file name) with below setting.
*-keep public class * extends android.app.backup.BackupAgent
-keep public class * extends android.app.backup.BackupAgentHelper
*And the command 'adb shell bmgr run' also works fine.

This is randomly occur in idle time 
when user not using the app which is I don't understand...

 Here is the my situation again clearly fyi, 
-My 'BackupAgent*Helper*' exist in the path
-It defined in Manifest.xml.
-Backup request queue processed well by 'adb shell bmgr run'.
-Proguard also avoid obfuscation for this class by config.
-BackupAgentHelper added from someday wihile distributing.
Mean that previously my 'BackupAgent*Helper*' doesn't exist.
It is newly supported from someday.
-This error occur randomly from everywhere in OS since at least froyo.
-No right answer exist so far.
-This occur when run UNSIGNED binary either.

Does above situation seem okay..?

One thing weired is 
why OS looking path '/data/app/' ?? Do you know that?



On Sunday, June 24, 2012 7:14:42 PM UTC+9, Harri Smått wrote:
>
> Just to make sure, are you using obfuscation, and if yes, are you sure 
> this classname isn't altered?
>
> --
> H
> On Jun 24, 2012 9:46 AM, "Build Account" wrote:
>
>> First, thank you for your note.
>> but that is a kind of blinded name from commercial offical name on Google 
>> Play
>> to post on here.
>> The point is that, 
>> So far, nobody know the solution how to solve this serious problem
>> even on Gingerbread.
>>
>> Google guy must answer and announce a solution to solve this issue.
>>
>> Anyone else who know about this?
>>
>>
>> On Sunday, June 24, 2012 7:33:52 AM UTC+9, RichardC wrote:
>>>
>>> Unless this is just a test application I would really rename your 
>>> package.  "com.company.appname" is technically legal but it 
>>> is definitely not a good globally unique name.
>>>
>>> On Saturday, June 23, 2012 10:51:50 PM UTC+1, Build Account wrote:
>>>>
>>>> Hello.
>>>>
>>>> If app has well defined BackupAgent class with definition in manifest, 
>>>> the error suddenly occur randomly.
>>>> (signed/unsiged same but maybe not debug mode).
>>>>
>>>> I tried find solution through web, 
>>>> but everybody screaming about this error with no answer.
>>>> The sample reference links from Stackoverflow are below
>>>> -http://stackoverflow.com/**questions/7506981/how-come-i-**
>>>> get-classnotfoundexception-**when-backupagent-tries-to-**start<http://stackoverflow.com/questions/7506981/how-come-i-get-classnotfoundexception-when-backupagent-tries-to-start>
>>>> -http://stackoverflow.com/**questions/7641765/mysterious-**
>>>> classnotfoundexception-when-**android-system-engage-**backupagent<http://stackoverflow.com/questions/7641765/mysterious-classnotfoundexception-when-android-system-engage-backupagent>
>>>> -http://stackoverflow.com/**questions/6147241/android-app-**
>>>> classnotfoundexception-for-**main-activity<http://stackoverflow.com/questions/6147241/android-app-classnotfoundexception-for-main-activity>
>>>> -http://stackoverflow.com/**questions/3781151/java-lang-**
>>>> classnotfoundexception-on-**working-app<http://stackoverflow.com/questions/3781151/java-lang-classnotfoundexception-on-working-app>
>>>> (and you can find more with keywords 'backupagent 
>>>> classnotfoundexception')
>>>>
>>>> Does anyone know solution to avoid this unexpected error??
>>>> (All the source code and manifest is all okay surely).
>>>>
>>>> Here is the log file.
>>>> --**--
>>>> E/ActivityThread(1954): Agent threw during creation: 
>>>> java.lang.**ClassNotFoundException: 
>>>> com.company.appname.**mybackuphelper in loader 
>>>> dalvik.system.PathClassLoader[**/data/app/com.company.appname-**1.apk]
>>>> W/dalvikvm(1954): threadid=1: thread exiting with uncaught exception 
>>>> (group=0x4001e578)
>>>> E/AndroidRuntime(1954): FATAL EXCEPTION: main
>>>> E/AndroidRuntime(1954): java.lang.RuntimeException: Unable to create 
>>>> BackupAgent com.company.appname.**mybackuphelper: 
>>>> java.lang.**ClassNotFoundException: 
>>>> com.company.appname.**mybackuphelper in loader 
>>>> dalvik.system.PathClassLoader[**/data/app/com.company.appname-**1.apk]
>>>> E/

[android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-23 Thread Build Account
First, thank you for your note.
but that is a kind of blinded name from commercial offical name on Google 
Play
to post on here.
The point is that, 
So far, nobody know the solution how to solve this serious problem
even on Gingerbread.

Google guy must answer and announce a solution to solve this issue.

Anyone else who know about this?


On Sunday, June 24, 2012 7:33:52 AM UTC+9, RichardC wrote:
>
> Unless this is just a test application I would really rename your package. 
>  "com.company.appname" is technically legal but it is definitely not a 
> good globally unique name.
>
> On Saturday, June 23, 2012 10:51:50 PM UTC+1, Build Account wrote:
>>
>> Hello.
>>
>> If app has well defined BackupAgent class with definition in manifest, 
>> the error suddenly occur randomly.
>> (signed/unsiged same but maybe not debug mode).
>>
>> I tried find solution through web, 
>> but everybody screaming about this error with no answer.
>> The sample reference links from Stackoverflow are below
>> -
>> http://stackoverflow.com/questions/7506981/how-come-i-get-classnotfoundexception-when-backupagent-tries-to-start
>> -
>> http://stackoverflow.com/questions/7641765/mysterious-classnotfoundexception-when-android-system-engage-backupagent
>> -
>> http://stackoverflow.com/questions/6147241/android-app-classnotfoundexception-for-main-activity
>> -
>> http://stackoverflow.com/questions/3781151/java-lang-classnotfoundexception-on-working-app
>> (and you can find more with keywords 'backupagent classnotfoundexception')
>>
>> Does anyone know solution to avoid this unexpected error??
>> (All the source code and manifest is all okay surely).
>>
>> Here is the log file.
>> 
>> E/ActivityThread(1954): Agent threw during creation: 
>> java.lang.ClassNotFoundException: com.company.appname.mybackuphelper in 
>> loader dalvik.system.PathClassLoader[/data/app/com.company.appname-1.apk]
>> W/dalvikvm(1954): threadid=1: thread exiting with uncaught exception 
>> (group=0x4001e578)
>> E/AndroidRuntime(1954): FATAL EXCEPTION: main
>> E/AndroidRuntime(1954): java.lang.RuntimeException: Unable to create 
>> BackupAgent com.company.appname.mybackuphelper: 
>> java.lang.ClassNotFoundException: com.company.appname.mybackuphelper in 
>> loader dalvik.system.PathClassLoader[/data/app/com.company.appname-1.apk]
>> E/AndroidRuntime(1954): at 
>> android.app.ActivityThread.handleCreateBackupAgent(ActivityThread.java:1895)
>> E/AndroidRuntime(1954): at 
>> android.app.ActivityThread.access$3200(ActivityThread.java:117)
>> E/AndroidRuntime(1954): at 
>> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1030)
>> E/AndroidRuntime(1954): at 
>> android.os.Handler.dispatchMessage(Handler.java:99)
>> E/AndroidRuntime(1954): at android.os.Looper.loop(Looper.java:130)
>> E/AndroidRuntime(1954): at 
>> android.app.ActivityThread.main(ActivityThread.java:3687)
>> E/AndroidRuntime(1954): at 
>> java.lang.reflect.Method.invokeNative(Native Method)
>> E/AndroidRuntime(1954): at 
>> java.lang.reflect.Method.invoke(Method.java:507)
>> E/AndroidRuntime(1954): at 
>> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
>> E/AndroidRuntime(1954): at 
>> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
>> E/AndroidRuntime(1954): at dalvik.system.NativeStart.main(Native 
>> Method)
>> E/AndroidRuntime(1954): Caused by: java.lang.ClassNotFoundException: 
>> com.company.appname.mybackuphelper in loader 
>> dalvik.system.PathClassLoader[/data/app/com.company.appname-1.apk]
>> E/AndroidRuntime(1954): at 
>> dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
>> E/AndroidRuntime(1954): at 
>> java.lang.ClassLoader.loadClass(ClassLoader.java:551)
>> E/AndroidRuntime(1954): at 
>> java.lang.ClassLoader.loadClass(ClassLoader.java:511)
>> E/AndroidRuntime(1954): at 
>> android.app.ActivityThread.handleCreateBackupAgent(ActivityThread.java:1864)
>> E/AndroidRuntime(1954): ... 10 more
>> W/asset(143): Asset path /data/app/com.company.appname-1.apk is neither a 
>> directory nor file (type=1).
>> W/PackageManager(143): Failure retrieving resources forcom.company.appname
>> E/(143): Dumpstate > /data/log/dumpstate_app_error
>>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-23 Thread Build Account
Hello.

If app has well defined BackupAgent class with definition in manifest, 
the error suddenly occur randomly.
(signed/unsiged same but maybe not debug mode).

I tried find solution through web, 
but everybody screaming about this error with no answer.
The sample reference links from Stackoverflow are below
-http://stackoverflow.com/questions/7506981/how-come-i-get-classnotfoundexception-when-backupagent-tries-to-start
-http://stackoverflow.com/questions/7641765/mysterious-classnotfoundexception-when-android-system-engage-backupagent
-http://stackoverflow.com/questions/6147241/android-app-classnotfoundexception-for-main-activity
-http://stackoverflow.com/questions/3781151/java-lang-classnotfoundexception-on-working-app
(and you can find more with keywords 'backupagent classnotfoundexception')

Does anyone know solution to avoid this unexpected error??
(All the source code and manifest is all okay surely).

Here is the log file.

E/ActivityThread(1954): Agent threw during creation: 
java.lang.ClassNotFoundException: com.company.appname.mybackuphelper in 
loader dalvik.system.PathClassLoader[/data/app/com.company.appname-1.apk]
W/dalvikvm(1954): threadid=1: thread exiting with uncaught exception 
(group=0x4001e578)
E/AndroidRuntime(1954): FATAL EXCEPTION: main
E/AndroidRuntime(1954): java.lang.RuntimeException: Unable to create 
BackupAgent com.company.appname.mybackuphelper: 
java.lang.ClassNotFoundException: com.company.appname.mybackuphelper in 
loader dalvik.system.PathClassLoader[/data/app/com.company.appname-1.apk]
E/AndroidRuntime(1954): at 
android.app.ActivityThread.handleCreateBackupAgent(ActivityThread.java:1895)
E/AndroidRuntime(1954): at 
android.app.ActivityThread.access$3200(ActivityThread.java:117)
E/AndroidRuntime(1954): at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1030)
E/AndroidRuntime(1954): at 
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(1954): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime(1954): at 
android.app.ActivityThread.main(ActivityThread.java:3687)
E/AndroidRuntime(1954): at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(1954): at 
java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime(1954): at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
E/AndroidRuntime(1954): at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
E/AndroidRuntime(1954): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(1954): Caused by: java.lang.ClassNotFoundException: 
com.company.appname.mybackuphelper in loader 
dalvik.system.PathClassLoader[/data/app/com.company.appname-1.apk]
E/AndroidRuntime(1954): at 
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
E/AndroidRuntime(1954): at 
java.lang.ClassLoader.loadClass(ClassLoader.java:551)
E/AndroidRuntime(1954): at 
java.lang.ClassLoader.loadClass(ClassLoader.java:511)
E/AndroidRuntime(1954): at 
android.app.ActivityThread.handleCreateBackupAgent(ActivityThread.java:1864)
E/AndroidRuntime(1954): ... 10 more
W/asset(143): Asset path /data/app/com.company.appname-1.apk is neither a 
directory nor file (type=1).
W/PackageManager(143): Failure retrieving resources forcom.company.appname
E/(143): Dumpstate > /data/log/dumpstate_app_error

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] DEFECT(?) on the new Google 'Subscription' payment method(wrongly reconize purchase status?).

2012-06-22 Thread Build Account
Hello.

I have started bit aggressive subject 
since I believe payment issue is very important.
Some of app (Like Glu mobile's games) 
which already apply this Subscription method also working weired with the 
process.

Please everybody follow below description 
to verify whether this is a problem or not.(I'm looking for a solution)



*Regarding *the description on Google, 
(http://developer.android.com/guide/google/play/billing/billing_subscriptions.html)
and the sample from this page, 
we can test the subscription and all the in-app billing process. and
it SEEM quite work well.(you need to build up and test).

BUT, to reproduce, 
1. Once purchase a pre-registered 'subscription item' which is well paid
through your in-app billing test sample.

2. after that Immediately cancel the transaction WITHIN 15minites as Google 
policy
to avoid refund process through the app download page on Google Play(just 
press cancel)

then now you will receive totally two e-mails from Google system
one is about well purchased, another one is well cancelled.

After that, 
you try to purchase the Subscription item again, 
Google Market system will tell you that 
'You already has the subscription' or so(as relevant your language)
even-though you cancel the subscription successfully.


 *Here is what* 
I want to tell you that the PROBLEM.
If follow above simple steps, 
1. You can't purchase again before expire the payment cycle(at least a 
month)
mean that user can't buy the item with in the month
also mean that you can NOT earn the profit for users.
> Did you got a what the problem is? No? keep follow below.

the real problem is that 
2. The app which contain Subscription selling/payment verifying module 
recognize that
user successfully purchase the item.
Mean that user can access everything without any payment within a month!
Follow?
 Plus, 
user can try to purchase and cancel every single payment cycle(monthly or 
yearly).
Follow?

Ya, this Google's new subscription method SEEM that 
security hole and serious problem which is unfiltered before commercialized.
You people try above
on some of apps like Contract killer from the company Glu mobile or
another applicant's app whatevery one 
to repro whether immediately cancelled Subscription make wrongly work.


*So, *
my questions which I would like to ask you that
1. above is natural flow? not a problem/defect?
2. is there already exist any solution to correctly detect subscription 
status
whether cancelled?(even though user cancel the subscription immediately 
within 15 mins after purchase?)
3. If anything wrongly understand subscription application how to??

Please advice me anything since I need a solution to apply Subscription 
method
without defect.

Thx.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: CursorAdapter? or OtherAdapter?

2012-03-03 Thread Build Account
Hello.

Well,
I don't understand what you point out 'these' part.
But simply say it again,
I'm looking for simplest way to not touch the current cursor further.
And i can not use selectionArg since that available datas are kind
of...random.(of course there is a condition to filter out row by row :
( ).

Is there any way to mask(or filter) record as what I need under cursor
adapter?
if there is no way, I may shoud use ArrayAdapter by manually

What do you think?



On Mar 3, 9:11 pm, Mark Murphy  wrote:
> Why are these rows in your Cursor in the first place, if they are not
> to be used?
>
>
>
>
>
> On Sat, Mar 3, 2012 at 1:59 AM, Build Account  wrote:
> > Hello,
>
> > If I have a cursor and need to display as a list through adapter,
> > then which adapter is best under below condition?
>
> >  The cursor have datas(of course).
> > But this cursor contains some of rows which should not be displayed.
> > For example, totally 10 records, but index 1, 4, 5, 8 should not be
> > displayed.
> > (Means, not sequentially sorted. and also cannot sort it by sort
> > order.).
>
> > With above cursor data,
> > how to filter out only available datas(which index 0, 2, 3, 6, 7, 9)
> > in adapter?
>
> > Any ideas or way to do???
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Training...At Your Office:http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] CursorAdapter? or OtherAdapter?

2012-03-02 Thread Build Account
Hello,

If I have a cursor and need to display as a list through adapter,
then which adapter is best under below condition?

 The cursor have datas(of course).
But this cursor contains some of rows which should not be displayed.
For example, totally 10 records, but index 1, 4, 5, 8 should not be
displayed.
(Means, not sequentially sorted. and also cannot sort it by sort
order.).

With above cursor data,
how to filter out only available datas(which index 0, 2, 3, 6, 7, 9)
in adapter?

Any ideas or way to do???

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] When using Custom control multiply, each member variables doesn't isolated!

2012-01-10 Thread Build Account
Hello. 

I have made some custom control and using which following 
the guide line at 
http://developer.android.com/guide/topics/ui/custom-components.html.
 


BUT, 
when i use a custom control A multiply in the same layout.xml 
through ListAdaptor, 
variables(private ones) in the custom control class mixed(shared-how 
to call this symtom). 
Mean that each variable not isolated as I expected. 
Is that something I'm missing?? 
Please comment me any thing... 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] When using Custom control multiply, variable doesn't isolated.

2012-01-06 Thread Build Account
Hello.

I have made some custom control and using which following
the guide line at
http://developer.android.com/guide/topics/ui/custom-components.html.

BUT,
when i use a custom control A multiply in the same layout.xml
through ListAdaptor,
variables(private ones) in the custom control class mixed(shared-how
to call this symtom).
Mean that each variable not isolated as I expected.

Is that something I'm missing??
Please comment me any thing...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to call/create a Customview from Custom view?

2011-11-30 Thread Build Account
Hello.

I have a CustomView class which work well.
And I want to use the Custom View A from Custom View B
programmatically.

Is that possible to call and create a CustomView A from Custom View B?

Please advice me anything.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Hello. StateList and Ninepatch from external storage

2011-11-28 Thread Build Account
Hello. (this is 3rd post with new account since my account was been
attacked by spamer).

I want to use external ninepatched image file from external file
system
to change button images with StateListDrawable.

But, from my test,
StateListDrawable class only works with normal png file.
(ninepatch image doesn't work as expected as stretch line,
just work as none-ninepatch image)

Is there any experiences to use external ninepatch image with
StateListDrawable?

Please advice me any thing a lot!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] About what the difference of ninepatch loading from 'drawable' and 'asset'.

2011-11-28 Thread Build Account
Hello.

Regarding Ninepatch image loading drawable or asset to use
StateListDrawable as a selector,

Current situation is that,
1. when I load the image from 'asset' folder through
'NinePatchDrawable.createFromStream()',
ninepatch not work as expected. Mean that border line just displayed
and stredtched as non-nine patch image.

2. when I load the image from drawable folder through
resources.getDrawable()',
ninepatch work well with StateListDrawable as we expected.


Then,
What makes difference of ASSET and DRAWABLE when I load? and how to
fix this problem?
Could you please advice me that what is the key of difference? since I
need to use asset folder not drawable in some cases.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to use statelistdrawable with ninepatchdrawable?

2011-11-23 Thread Build account
Hello.

Any idea to combine
StateListDrawable and NinePatchDrawable classes? to use programmatic
image changer?

What I want is that load some ninepatch image from external location.
Is it possible?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to combine 'StateListDrawable + NinePatchDrawable'?

2011-11-22 Thread Build account
Hello.

Any idea to combine
StateListDrawable and NinePatchDrawable classes? to use programmatic
image changer??

Any experiences or idea? since this is important to me..

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Is it possible that LINK/CALL a class in another package as a library or plug-in?

2011-11-12 Thread Build account
I'm considering a kind of plug-in system.
Is there any example to implement this?
(I had reviewed tic-tac-toe and others, but I couldn't found clear
answer).

Pls comment me more about how to implement detail or code snippet.

Thx

On Nov 12, 4:13 pm, BCS  wrote:
> there are (definitely) possibilities ~ pls provide some technical
> scope of how powerful need to be - situation better if all packages
> signed with same key = there are ways to do it
>
> On Nov 12, 1:06 am, Build account  wrote:
>
>
>
> > Hello.
>
> > Can we call a package 'com.sample.lib' from 'com.sample.main' which
> > installed as separate apks?
> > In order to split a large support class file from main app
> > since this is optional function.
>
> > Any possiblities, please let me know!!- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Is it possible that LINK/CALL a class in another package as a library or plug-in?

2011-11-11 Thread Build account
Hello.

Can we call a package 'com.sample.lib' from 'com.sample.main' which
installed as separate apks?
In order to split a large support class file from main app
since this is optional function.

Any possiblities, please let me know!!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Does it correct vealue on 'onPageScrolled' of ViewPager?

2011-10-27 Thread Build account
Hello.

Does the return value of onPageScrolled of ViewPager correct?(the
position value)
The reason why I'm ask you that

- I have layout xml contain Custom ViewPager.
- ViewPager also have adaptor
- and I can add/remove pages in pager with NO problem.

BUT,
a. the when reachs first page,
b. try to slide to backward(mean that to the page '-1'.).
in that case
onPageScrolled return position number '1'(mean that second page).

Are you guys doesn't have this kind of problem?
(since I'm not so good at viewpager so far...)

Please any one comment me.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Can we open the Market's search activity through intent?

2011-10-18 Thread Build account
Hey,
I'm really appreciate for your time and your humor
(I think the some keywords came from you on that link. :))
By the way,
Of course I know & had tried to find the inform about
how to link
market://search?q=pname:packagename
market://details?id=packagename
market://pubs?id=name

But those are kind of direct link to Market.

 The blank search activity mean that
the search bar when you press magnify icon on Market app.
Then you can see the search bar with some keyword list.
Can we call that activity directly??

On Oct 14, 6:36 am, Justin Anderson  wrote:
> 1) What is the Market's black search activity?
> 2)http://tinyurl.com/42texbr
>
> Thanks,
> Justin Anderson
> MagouyaWare Developerhttp://sites.google.com/site/magouyaware
>
> On Thu, Oct 13, 2011 at 3:31 PM, Build account wrote:
>
>
>
> > Hello.
>
> > Is there any intent option to open the Market's black search activity?
> > and
> > How to just launch the Market app?
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: In Textview, how to change the 'selected' color?

2011-10-18 Thread Build account
Wow! This is what a wonderful workaround!

Thank you GG!

On Oct 18, 3:51 pm, gaurav gupta  wrote:
> Hello ,
>
> U can try Html.fromhtml tag.
>
> Like this line
>
> hotelCity = hotel_Name_Str + ","+ ""+ "
> "+tracks.get(position).getHotelCity()+ "";
> then set this string in a Textview.
>
> hotelname.setText(Html.fromHtml(hotelCity));
>
> Note : *Here hotelCity and hotel_Name_Str is String and hotelname is
> TextView.*
>
> I hope this will work for you.
> Kindly let me know ur comment over this.
>
> Thanks n Regards,
> Gaurav Gupta
> Android Developer
> On Tue, Oct 18, 2011 at 12:13 PM, Build account wrote:
>
>
>
> > Hello, good to see you again.
>
> > I had looked into,
> > (but there is limitation which I can create only few selector xml
> > physically...since my app need to set various colors properly depends
> > on situation. Not only dozone of colors. lol)
>
> > Is there any way to programmtically implement?
> > I need programmatic way
>
> > Any advice?
>
> > On Oct 18, 3:07 pm, Justin Anderson  wrote:
> > > Have you tried looking at a selector?
>
> > > Thanks,
> > > Justin Anderson
> > > MagouyaWare Developerhttp://sites.google.com/site/magouyaware
>
> > > On Mon, Oct 17, 2011 at 10:42 PM, Build account  > >wrote:
>
> > > > Hello.
>
> > > > Is there any way to change the color of 'selected' state?
> > > > Since I'm trying to use textview as below.
>
> > > > - one simple textview with a standard TextAppearance attribute.
> > > > - with marquee attribute as well.
> > > > - I have set tv.setSelected(true); for marquee effect.
> > > > - in this case I want to change the text color which the moving text's
> > > > color.
>
> > > > setHighlightColor seem that not working..
>
> > > > Any workaround please?
>
> > > > Please advice me
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > > Groups "Android Developers" group.
> > > > To post to this group, send email to
> > android-developers@googlegroups.com
> > > > To unsubscribe from this group, send email to
> > > > android-developers+unsubscr...@googlegroups.com
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en-Hide quoted
> > text -
>
> > > - Show quoted text -
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: In Textview, how to change the 'selected' color?

2011-10-17 Thread Build account
Hello, good to see you again.

I had looked into,
(but there is limitation which I can create only few selector xml
physically...since my app need to set various colors properly depends
on situation. Not only dozone of colors. lol)

Is there any way to programmtically implement?
I need programmatic way

Any advice?


On Oct 18, 3:07 pm, Justin Anderson  wrote:
> Have you tried looking at a selector?
>
> Thanks,
> Justin Anderson
> MagouyaWare Developerhttp://sites.google.com/site/magouyaware
>
> On Mon, Oct 17, 2011 at 10:42 PM, Build account wrote:
>
>
>
> > Hello.
>
> > Is there any way to change the color of 'selected' state?
> > Since I'm trying to use textview as below.
>
> > - one simple textview with a standard TextAppearance attribute.
> > - with marquee attribute as well.
> > - I have set tv.setSelected(true); for marquee effect.
> > - in this case I want to change the text color which the moving text's
> > color.
>
> > setHighlightColor seem that not working..
>
> > Any workaround please?
>
> > Please advice me
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] In Textview, how to change the 'selected' color?

2011-10-17 Thread Build account
Hello.

Is there any way to change the color of 'selected' state?
Since I'm trying to use textview as below.

- one simple textview with a standard TextAppearance attribute.
- with marquee attribute as well.
- I have set tv.setSelected(true); for marquee effect.
- in this case I want to change the text color which the moving text's
color.

setHighlightColor seem that not working..

Any workaround please?

Please advice me

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Can we open the Market's search activity through intent?

2011-10-13 Thread Build account
Hello.

Is there any intent option to open the Market's black search activity?
and
How to just launch the Market app?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] In layout xml, how to a checkbox tied up on right side of parent?

2011-10-12 Thread Build account
Hello.

I want to tied up a checkbox on right side of layout in my custum
view.
Can you please comment me how to?
Below is the my sample xml which I tried many time to.(One Textview
and one checkbox)

-
sample.xml

http://schemas.android.com/apk/res/
android"
android:layout_height="60dp"
android:layout_width="fill_parent" android:id="@+id/frameLayout1" >












-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Can we detect 'screen touch' event itself from on any widget?

2011-10-12 Thread Build account
Hi,
It seem that work!

how come I couldn't found this... since tried search touch things
really many times.. :(

Thanks again.



On Oct 12, 3:48 am, TreKing  wrote:
> On Tue, Oct 11, 2011 at 12:35 PM, Build account wrote:
>
> > - I want to know the touch event whether screen touched on my
> > activity anywhere(not on specific widget)
>
> You want to know if your Activity can receive touch events. First step, go
> to the Activity documentation. Second step, do a find on "touch". Voila.
>
> http://developer.android.com/reference/android/app/Activity.html#onTo...)
>
> ---­--
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Can we detect 'screen touch' event itself from on any widget?

2011-10-11 Thread Build account
Hello.

My question might be ambigous to understand. But
let say that
In this situation,
- I have an activity which contain buttons and filled list view.
- I want to know the touch event whether screen touched on my activity
anywhere(not on specific widget)
- Is it possible to detect the event? then how? Should I use Gesture
calss stuff?

Please advice me..

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Is it possible a nested JAR in JAR?

2011-10-10 Thread Build account
Hello.

Is it possible repackage a my custom JAR with another JAR(which may
came from others)
for only another developer's convienence. Not the illegal purpose.

Possible? then how?

Please comment me.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Can check authority or situation whether installed as system app or market app?

2011-10-10 Thread Build account
Thank you for your advice which quick, simple and even clear. :)

On Oct 8, 7:49 pm, Kostya Vasilyev  wrote:
> https://groups.google.com/forum/#!topic/android-developers/0J0UF-MrBLY
> <https://groups.google.com/forum/#%21topic/android-developers/0J0UF-MrBLY>
>
> 08.10.2011 14:26, Build account пишет:
>
> > Hello.
>
> >   Is there any way to check apk-self the situation or authority
> > whether an apk installed as an system app(mean built with entire
> > platform) or
> > just installed from the market.
>
> >   I assume the package manager may provider something, is'n it?
> > getPreferredActivities or some other preferxxx method doesn't related
> > to?
>
> > Please advice me!
>
> --
> Kostya Vasilyev

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Can we 'include' a xml into another preference xml by file? and by jar(another package)?

2011-10-10 Thread Build account
First thank you for your reply.
(Beside that my questions, I've been found some workaround and
restrictions on adt env.)

1. Right...thank you for your reply. That was only way...
but as far as we know that addPreferencesFromResource() is deprecated
and
some time I want to keep my source in an absolute path to maintain
projects.

2. Hmm, as far as I found that is impossible to use preference xml in
jar file.
I thought that include or call-through addPreferencesFromResource() or
etc-
a pref XML which in a jar file.
But now I'm supposing that also impossible.

If I know any thing wrong, please let me know.

Thanks!

On 10월9일, 오후7시20분, Mark Murphy  wrote:
> On Sat, Oct 8, 2011 at 12:25 PM, Build account  wrote:
> > 1. Can we include a xml layout file from another JAR package?
> >  Like  ???
> >  Is this possible?
>
> Not that I am aware of. Note that you can call
> addPreferencesFromResource() multiple times, if needed.
>
> > 2. Can we include a xml preference file from another JAR package?
>
> What is "another JAR package"?
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android 3.1 Programming Books:http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Can we 'include' a xml into another preference xml by file? and by jar(another package)?

2011-10-08 Thread Build account
Hello.

I'm looking for any hint about below. Please advice me bit..

1. Can we include a xml layout file from another JAR package?
  Like  ???
  Is this possible?

2. Can we include a xml preference file from another JAR package?
  Is it possible?? how to???

Give me any hint..

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Can check authority or situation whether installed as system app or market app?

2011-10-08 Thread Build account
Hello.

 Is there any way to check apk-self the situation or authority
whether an apk installed as an system app(mean built with entire
platform) or
just installed from the market.

 I assume the package manager may provider something, is'n it?
getPreferredActivities or some other preferxxx method doesn't related
to?

Please advice me!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Does it possible to use multiple jni(.so) library in one SDK project?

2011-09-23 Thread Build account
Thanks!

On 9월22일, 오후6시08분, Doug  wrote:
> On Sep 21, 11:22 am, Build account  wrote:
>
> > Hello gurus.
>
> > At first, I can build single 'jni' library in one SDK project with the
> > directory name 'jni' and make file under eclipse.
>
> > But, I'm looking for
> > - how to build multiple jni in eclipse with the setting 'property >
> > builder > add cmd line'. I expect that possible. Does it possible?
>
> It does possible.  Build them on your command line outside of eclipse.
>
> > - and how to package multiple shared library in one apk? possible?
>
> Give them different names and load them using those different names.
>
> Doug

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Does it possible to use multiple jni(.so) library in one SDK project?

2011-09-21 Thread Build account
Hello gurus.


At first, I can build single 'jni' library in one SDK project with the
directory name 'jni' and make file under eclipse.


But, I'm looking for
- how to build multiple jni in eclipse with the setting 'property >
builder > add cmd line'. I expect that possible. Does it possible?
- and how to package multiple shared library in one apk? possible?


Please any comment to save one engineer..

Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to create 'Real Transparent activity' OR 'Real Modeless'??

2011-09-15 Thread Build account
Oh, seems a good idea!?

any one else for this??

On 9월15일, 오후10시42분, TreKing  wrote:
> On Thu, Sep 15, 2011 at 8:21 AM, Build account wrote:
>
> > I mean that if there is the popup, but user touch beside popup where
> > the background activiti's area,
> > wanna get disappear the popup which I created. It hopely called
> > onStop() or so.
>
> > Can you imagine that? Is it impossible?
>
> Probably - detect the touch event on your Activity and if it's outside the
> bounds of the main view, finish() yourself.
>
> ---­--
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to create 'Real Transparent activity' OR 'Real Modeless'??

2011-09-15 Thread Build account
Hello all.

 I'm creating a background serivce calling a popup when event occured.
But I couldn't found proper information how to create a modeless popup
from background service.

The what I'm exactly want is that
Can I create a popup(like alertdialog size) which don't have any kind
of glass wall around the dialog?
I mean that if there is the popup, but user touch beside popup where
the background activiti's area,
wanna get disappear the popup which I created. It hopely called
onStop() or so.

Can you imagine that? Is it impossible?

Does anyone know any trick or guideline or sample?!

Please comment and save me.

Thank you in advance!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to 'delete' allocated class by 'new'??

2011-08-31 Thread Build account
Hi,

Thank you very much to let me know clearly.
I tired to use your code snippet, but counldn't get sure.

Another question here,
If I use below code

String a = new String("test");
String b = a;

b = null;


In this case,
the variable 'a' still allocated? Am I right? As long as I keep
original variable?

On Aug 31, 1:51 pm, Damien Cooke  wrote:
> Hi Build Account,
>
> Java, the language that Android is programmed in, is garbage collected.  So 
> all you need to do is let the run time know you are finished with the object 
> you created.
>
> for example:
>
>         //create the object
>         String language = new String("Java");
>
>         //use the Object
>         Log.i("TEST", "Language used is: "+language);
>
>         //destroy the object
>         language = null;
>
> regards
> Damien
>
> On 31/08/2011, at 1:14 AM, Build account wrote:
>
>
>
> > Hello all.
>
> > I'm looking for explictic method to erase object from memory space
> > wich allocated by 'new' keyword.
>
> > But the syntax "delete object;" telling me an error that "delete
> > cannot be resolved".
>
> > How can I do? I don't believe there is no such kind of 'delete'
> > method..
>
> > Please advice me.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to 'delete' allocated class by 'new'??

2011-08-30 Thread Build account
Hello all.

I'm looking for explictic method to erase object from memory space
wich allocated by 'new' keyword.

But the syntax "delete object;" telling me an error that "delete
cannot be resolved".

How can I do? I don't believe there is no such kind of 'delete'
method..

Please advice me.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en