[android-developers] Why the licensing service response always Licensed

2013-05-28 Thread Perry168
Hi This is my fist time to use Licensing Service, so I have some problems about the testing result. The App is already uploaded to Play Store and saved to draft. I had two email accounts (Account “A” and Account “B”) for testing. Account “A” added to “testing gmail account” at developer

Re: [android-developers] How to program the apps which is download from play store?

2013-04-25 Thread Perry168
Hi TreKing, Can I check the user is using illegal copy or not? TreKing於 2013年4月24日星期三UTC+8下午10時22分23秒寫道: On Wed, Apr 24, 2013 at 5:42 AM, Perry168 perr...@gmail.com javascript: wrote: I hope to check user is download my apps from google play store or from other place. But I don't know

Re: [android-developers] How to program the apps which is download from play store?

2013-04-25 Thread Perry168
you asked for though, you asked to know where it was installed from. http://developer.android.com/google/play/licensing/index.html On Thursday, April 25, 2013 5:59:27 PM UTC+3, Perry168 wrote: Hi TreKing, Can I check the user is using illegal copy or not? TreKing於 2013年4月24日星期三UTC+8下午10時

Re: [android-developers] How to program the apps which is download from play store?

2013-04-24 Thread Perry168
Hi TreKing, I hope to check user is download my apps from google play store or from other place. But I don't know how to write the program. TreKing於 2013年4月24日星期三UTC+8上午9時14分54秒寫道: On Tue, Apr 23, 2013 at 5:46 PM, Perry168 perr...@gmail.com javascript: wrote: I need to add a function

[android-developers] How to program the apps which is download from play store?

2013-04-23 Thread Perry168
Hi, I need to add a function to check the apps installed/downloaded from google play store or not. How to do it? Please help. -- -- 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] Is this a bug at TabHost / TabActivity?

2012-10-23 Thread Perry168
Hi all, Following is my testing tabHost and activity. Layout ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@android:id/tabhost

Re: [android-developers] Is this a bug at TabHost / TabActivity?

2012-10-23 Thread Perry168
Could you tell me how to add? I am not clearly. Thanks a lot! Paul-Peter Tournaris於 2012年10月23日星期二UTC+8下午9時15分20秒寫道: Set it at the activity in Manifest! Add the FULLSCREEN option there! On Tue, Oct 23, 2012 at 10:24 AM, Perry168 perr...@gmail.comjavascript: wrote: Hi all, Following

Re: [android-developers] Is this a bug at TabHost / TabActivity?

2012-10-23 Thread Perry168
I found the method now ! It's work. Thanks a lot! Paul-Peter Tournaris於 2012年10月23日星期二UTC+8下午9時15分20秒寫道: Set it at the activity in Manifest! Add the FULLSCREEN option there! On Tue, Oct 23, 2012 at 10:24 AM, Perry168 perr...@gmail.comjavascript: wrote: Hi all, Following is my testing

[android-developers] Re: How to keep in the highlight on girdview?

2012-10-23 Thread Perry168
I found that the Highlight can't keep in API 7 10. But it can keep in API 14. Does anyone tell me how to do? Perry168於 2012年10月18日星期四UTC+8下午10時29分38秒寫道: Hi all, if I have a Drawable that used to highlight the currently selected item in GridView. How can I keep in highlight

Re: [android-developers] How to make Widgets not overlap

2012-10-19 Thread Perry168
readers. We don't have any idea what your code looks like or how you designed your app. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Oct 18, 2012 at 6:06 PM, Perry168 perr...@gmail.com javascript: wrote: What's information you need

[android-developers] How to make Widgets not overlap

2012-10-18 Thread Perry168
Hi all, In activity, it has five TabWidgets. I customized my own image. When running, I found that it will overlap between two TabWidgets. Can anyone tell me how to remove the overlap? -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] How to keep in the highlight on girdview?

2012-10-18 Thread Perry168
Hi all, if I have a Drawable that used to highlight the currently selected item in GridView. How can I keep in highlight on the selected item? Even I scroll the GridView. Thanks for help! -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] How to make Widgets not overlap

2012-10-18 Thread Perry168
/magouyaware On Thu, Oct 18, 2012 at 7:46 AM, Perry168 perr...@gmail.com javascript: wrote: Hi all, In activity, it has five TabWidgets. I customized my own image. When running, I found that it will overlap between two TabWidgets. Can anyone tell me how to remove the overlap? -- You

[android-developers] Why the Bitmap will disappear

2012-05-28 Thread Perry168
Hi, I am using the Camera class to make the bitmap rotate in X-Axis. When the bitmap rotated around 60 degrees, it will disappear. After certain degree, the bitmap appears again. Can anyone tell me how making the bitmap can flip correctly? -- You received this message because you are

[android-developers] How to active the other item in PreferenceActivity’XML

2012-05-19 Thread Perry168
Hi, Following is my XML for PreferenceActivity to use. PreferenceCategory android:title=* Settings* CheckBoxPreference android:key=*key1* android:title=*key1 test* android:defaultValue=*false*

Re: [android-developers] How to active the other item in PreferenceActivity’XML

2012-05-19 Thread Perry168
TreKing, Thanks a lot!! TreKing於 2012年5月19日星期六UTC+8下午4時15分26秒寫道: On Sat, May 19, 2012 at 1:28 AM, Perry168 perry...@gmail.com wrote: When the user clicks the key1 to ‘true’ , the key2 will be active for use. Otherwise key2 will keep in not selectable. Can anyone tell me how doing

[android-developers] Can I get user's city without using GPS?

2012-05-15 Thread Perry168
Hi all, I hope to get user's country and city without using GPS. Basically, I know how to get user's country. I searched some post from the web. It can use LocationManager through NETWORK_PROVIDER to have the Latitude Longitude. From Latitude Longitude, use GeoEncoder to find the city.

[android-developers] The file size is double at google play.

2012-05-11 Thread Perry168
Hi all, I found that the file size will show double at Google Play. For example: my app is 300K. After uploading to Google Play. The size will be 600K. Who has the same problem or just me only? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How to add AdSense to my apps?

2012-04-17 Thread Perry168
but I can't found the GoogleAdView.jar for download. tora於 2012年4月11日星期三UTC+8上午9時52分07秒寫道: The tutorial for a) is maybe below. https://developers.google.com/adsense-for-mobile-apps/docs/android/ On 4月11日, 午前8:52, Perry168 perry...@gmail.com wrote: Nobody can me? -- You received

[android-developers] Re: How to add AdSense to my apps?

2012-04-10 Thread Perry168
Nobody can 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

[android-developers] How to add AdSense to my apps?

2012-04-08 Thread Perry168
Hi, Today, I entered my admob account, it has a information about admob will transfer to adSense. Because of it, I have few question, I hope who can help me. a) How to add AdSense to apps? Does anyone can give a tutorial for me? b) Do I need to re-write the Apps which apps are using the admob as

[android-developers] Re: Add Admob in PreferenceScreen at LiveWallpaper setting screen

2011-10-17 Thread Perry168
Learn more is better. :) On 10月17日, 上午11時02分, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Oct 17, 2011 at 11:44 AM, Perry168 perry...@gmail.com wrote: I am very upset. The Admob haven't come out too. Too bad :) Consider that your users will open the preferences activity at most

[android-developers] Re: Add Admob in PreferenceScreen at LiveWallpaper setting screen

2011-10-16 Thread Perry168
/ ... /PreferenceScreen On 10月16日, 下午2時43分, TreKing treking...@gmail.com wrote: On Sat, Oct 15, 2011 at 9:35 PM, Perry168 perry...@gmail.com wrote: From the web, I found some solution. Unluckly, I don't know why the AD haven't show on the screen. If you don't even explain what solution you

[android-developers] Re: Add Admob in PreferenceScreen at LiveWallpaper setting screen

2011-10-16 Thread Perry168
Because I tried too much solution within 2 days, following is a one of the solution. layout/ad_layout.xml ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=wrap_content

[android-developers] Re: Add Admob in PreferenceScreen at LiveWallpaper setting screen

2011-10-16 Thread Perry168
. -- Kostya 16.10.2011 20:19, Perry168 пишет: Hi all, Following is my new layout Admob XML file. And I use setContentView to call this layout in PreferenceActivity. But I don't know why the Admob can't show out. Who can teach me what's my wrong? It make me crazy because I wasted 2

[android-developers] Add Admob in PreferenceScreen at LiveWallpaper setting screen

2011-10-15 Thread Perry168
hi, Who can teach me how to add the Admob in PreferenceScreen? From the web, I found some solution. Unluckly, I don't know why the AD haven't show on the screen. Pleasse help. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Can I save the wallpaper?

2011-10-13 Thread Perry168
Who can give a hints for me? Thanks a lot! On 10月11日, 下午4時00分, Perry168 perry...@gmail.com wrote: Hi, How can I  backup the current wallpaper? Also, does any method to check the wallpaper is a livewallpaper or not? Thanks a lot! -- You received this message because you are subscribed

[android-developers] Re: How to control the rotation

2011-10-12 Thread Perry168
hi all, I found that even I changed the PNG to a square, it not rotate at a point too. It may cause from matrix.setRotate. But I don't know how to do it. help pls. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Can I save the wallpaper?

2011-10-11 Thread Perry168
Hi, How can I backup the current wallpaper? Also, does any method to check the wallpaper is a livewallpaper or not? Thanks 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] How to control the rotation

2011-10-11 Thread Perry168
Hi, I have a png file. size is 60X180pixel. I hope to rotate the bitmap continuously and draw at the same location. My program is following: matrix.setRotate(gStep*2.0f); //rotation steps tempbitmap = Bitmap.createBitmap(oldBM, 0, 0,

[android-developers] Bitmap's getWidth problem

2011-10-10 Thread Perry168
Hi, Following is my simple testing code : public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Bitmap gImage = BitmapFactory.decodeResource( j111testActivity.this.getResources(), R.drawable.sbg);

[android-developers] Re: Bitmap's getWidth problem

2011-10-10 Thread Perry168
Hi all, I found that the problem not come from 2.1 or 2.2. When the AVD is using HVGA, the image resolution will display 574. But if AVD is using WVGA800, it will display 861. How can I get the correct image's width and height? Thanks a lot! -- You received this message because you are

[android-developers] Re: Block the upgrade

2011-09-26 Thread Perry168
Thank you for your suggection. On 9月22日, 下午12時09分, Dianne Hackborn hack...@android.com wrote: Also if you are using the license check or anything that requires the app be modified to be pirated, the pirate will need to sign it with their own cert which will not match that of the real app so

[android-developers] Re: Block the upgrade

2011-09-25 Thread Perry168
Thanks Chris On 9月22日, 上午3時34分, Chris crehb...@gmail.com wrote: On Wednesday, September 21, 2011 1:07:33 PM UTC-4, TreKing wrote: On Wed, Sep 21, 2011 at 7:47 AM, Perry168 perr...@netvigator.com wrote: How can I block the user to upgrade the Apps if who isn't downloaded from google

[android-developers] Re: Block the upgrade

2011-09-25 Thread Perry168
I don't think the question is no sense if you are concentrated to control the illegal copy. Also illegal copy is affected the imcome. That's samiler why software company need to prevent the illegal copy. When it have a method for developer, who can decide the Apps just can download from android

[android-developers] Block the upgrade

2011-09-21 Thread Perry168
Hi, How can I block the user to upgrade the Apps if who isn't downloaded from google market? -- 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

[android-developers] Re: Cavnas's pattern to bitmap

2011-09-21 Thread Perry168
ar. Which method is my need? On 9月19日, 上午10時11分, gjs garyjamessi...@gmail.com wrote: Hi, Seehttp://developer.android.com/reference/android/graphics/Canvas.html#s...) Regards On Sep 17, 11:55 am,Perry168perry...@netvigator.com wrote: Hi all, If I draw some graphic on the cavnas,

[android-developers] Cavnas's pattern to bitmap

2011-09-16 Thread Perry168
Hi all, If I draw some graphic on the cavnas, How can I convert the cavnas's pattern to a bitmap format? 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

[android-developers] AVD Emulator

2011-09-01 Thread Perry168
Hi! When the AVD emulator can emulate over 1024M memory! -- 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] Gallery Problem

2011-08-30 Thread Perry168
Hi, Today, I wrote a gallery example to show the photos. My problem is how to set the init 'position' isn't started from zero? For example: it has 9 photos. 1 to 9.jpg (array from 0 to 8) When the program started, the 1.jpg (position 0) always showed in gallery firstly. I would like the default is

[android-developers] Re: Gallery Problem

2011-08-30 Thread Perry168
o..o...oo.. success! Thanks Kumar! On 8月30日, 下午4時22分, Kumar Bibek coomar@gmail.com wrote: gallery.setSelection(int) http://developer.android.com/reference/android/widget/AbsSpinner.html... On Aug 30, 1:11 pm, Perry168 perry...@netvigator.com wrote: Hi, Today, I wrote a gallery

[android-developers] Read the Android SDK Doc in no-frame

2011-08-19 Thread Perry168
Hi all, Does any method that user read the Android SDK Doc in No-Frame mode? It like to read the Java API Doc in a no-frame mode. 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] Re: emulator problem

2011-08-18 Thread Perry168
Great! Thanks a lot! On 7月17日, 上午1時55分, stevejbrot...@gmail.com stevejbrot...@gmail.com wrote: Lemme EXPAND on the answer that Chrystian didn't explain... I don't know about Linux and Macs Operating systems, but you need to change to the short 8.3 format path (eg. the old MS-DOS 6.22 path)

[android-developers] Re: Home screen's Icon

2011-08-15 Thread Perry168
Um... I will try my best to explain. For example : AVD emulator At the home screen, it has search widget, dialer , contacts, browser icon etc. The max. number of icon on one screen is 16(4x4). How can I know the search widget used 1X4 space and the location is column 1 row 1. The browser icon

[android-developers] Home screen's Icon

2011-08-12 Thread Perry168
Hi all, Does anything method , I can 'get' icon and widget's location size at the current home screen? 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

[android-developers] Google Checkout Problem

2011-07-20 Thread Perry168
Hi all, Today, I login my google checkout. I found that it can't show all orders. Who has the same problem? -- 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

[android-developers] emulator problem

2011-07-16 Thread Perry168
Hi all, Today, I upgraded the emulator. After that, a error show are following: invalid command-line parameter: Files\Android\android-sdk-windows \tools/emulator-arm.exe. Hint: use '@foo' to launch a virtual device named 'foo'. please use -help for more information What can I do? Thanks a lot!

[android-developers] How to play the music

2011-07-04 Thread Perry168
Hi, I created a MID file for game's music. To prevent it be copied. I encoded the file. My problem is when I loaded the data and decoded (Maybe call char [] midA). how to play it? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] How to play the music

2011-07-04 Thread Perry168
Hi, I created a MID file for game's music. To prevent it be copied. I encoded the file. My problem is when I loaded the data and decoded (Maybe call char [] midA). how to play it? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] How to read the data from a object

2011-06-02 Thread Perry168
hi, I used a command Object xx = this.getPackageManager().getInstalledPackages(8); to get all InstallPackages. (Captured from Expressions at eclipse) xx (id=830060591992) Array Object[48] (id=830002602808) [0] PackageInfo (id=830060592240) [1]

[android-developers] How to read the data from a object

2011-06-02 Thread Perry168
Hi, I used a command Object xx = this.getPackageManager().getInstalledPackages(8); to get the Installed Packages List. (Cartured from expressions at eclipse) xx (id=830060591992) Array Object[48] (id=830002602808) [0] PackageInfo

[android-developers] Re: Does Ads can't compatible with requestWindowFeature command?

2011-05-26 Thread Perry168
Does no body has this problem? On 5月24日, 下午4時53分, Perry168 perry...@netvigator.com wrote: Hi ,   Today, I try to add the Ads in my activity. I found that it throw error. After trial and error, I found if I not turn off the title bar. The activity can run in perfect. But if I really hope

[android-developers] Does Ads can't compatible with requestWindowFeature command?

2011-05-24 Thread Perry168
Hi , Today, I try to add the Ads in my activity. I found that it throw error. After trial and error, I found if I not turn off the title bar. The activity can run in perfect. But if I really hope to hidden the title bar with Ad, what can I do? Also, who can teach me about this problem come from?

[android-developers] Re: Five-In-Row Tic-Tac-Toe

2011-05-24 Thread Perry168
Hi, May I have a copy too? Thanks! On 5月24日, 下午4時35分, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: sure :) do you want that in 3D?? On Tue, May 24, 2011 at 1:47 PM, khanh_qhi(tm) khanhqh20...@gmail.com wrote: Hi all, Could anyone give me full source code of this game in Android?

[android-developers] How to send Widget cfg activity's user value to widget

2011-05-22 Thread Perry168
Hi, I completed the Widget CFG activity and widget. But I don't know to send the value to widget. At the CFG activity, user can select 1, 2 or 3 value. The widget will following the value to running the different case. Thanks for help!. -- You received this message because you are subscribed to

[android-developers] Re: How to send Widget cfg activity's user value to widget

2011-05-22 Thread Perry168
Hi Mark, Thanks a again. Because I haven't using this command as before, so I had a problem. Does the sharedPreferences.getInt(INT,VALUE) use in the onUpdate too? On 5月22日, 下午6時57分, Mark Murphy mmur...@commonsware.com wrote: Step #1: Persist the data (e.g., as a SharedPreference) Step #2:

[android-developers] Re: Can I change appwidget-provider XML 's android:initialLayout? How to do?

2011-05-20 Thread Perry168
Thanks a lot! Could you give me a hint? I just know to use RemoteViews(getPackageName(),R.Layout.LO1) to change the layout. About AppWidgetProvider XML, i had try to use (getPackageName(),R.xml.sc1), but I failed. On 5月20日, 下午6時07分, Mark Murphy mmur...@commonsware.com wrote: Just use your

[android-developers] Re: Can I change appwidget-provider XML 's android:initialLayout? How to do?

2011-05-20 Thread Perry168
, at runtime. On Thu, May 19, 2011 at 3:06 AM, Perry168 perry...@netvigator.com wrote: Hi all, Following was the appwidget-provider XML for my widget. About the android:initialLayout=@layout/sc1 , how to change the @layout/ sc1 value in activity(Java)? e.g. change the sc1 to sc2

[android-developers] Re: Can I change appwidget-provider XML 's android:initialLayout? How to do?

2011-05-20 Thread Perry168
Thanks for your teaching! ~^O^~ On 5月20日, 下午11時41分, Mark Murphy mmur...@commonsware.com wrote: 2011/5/20 Perry168 perry...@netvigator.com: Or how to change appwidget-provider XML in onUpdate()? As I wrote, you cannot change appwidget-provider XML, or any resource, at runtime. In your

[android-developers] Can I change appwidget-provider XML 's android:initialLayout? How to do?

2011-05-19 Thread Perry168
Hi all, Following was the appwidget-provider XML for my widget. About the android:initialLayout=@layout/sc1 , how to change the @layout/ sc1 value in activity(Java)? e.g. change the sc1 to sc2. From this , I hope my widget is more flexible to use different layout. ?xml version=1.0

[android-developers] Can I change appwidget-provider XML 's android:initialLayout? How to do?

2011-05-19 Thread Perry168
Hi all, Following was the appwidget-provider XML for my widget. About the android:initialLayout=@layout/sc1 , how to change the @layout/ sc1 value in activity(Java)? e.g. change the sc1 to sc2. From this , I hope my widget is more flexible to use different layout. ?xml version=1.0

[android-developers] How to read a object array

2011-04-20 Thread Perry168
Dear all, I faced a question, I hope who can help me. Today, I used following method to get all installed package information. Object [] xx = paramContext.getPackageManager().getInstalledPackages(8).toArray(); But I don't know how to withdraw the provider's name and package name from Object

[android-developers] This is True / False or a bug!?

2011-04-20 Thread Perry168
Hi, Today, I wrote a program. The function is to get the installed packages name through the provider name. But I find a problem, when I compare two SAME strings. The Boolean result will be FALSE. I used the Eclipse to watch the value change. From expression, I saw the Local1 and xx are same. But