[android-developers] Application uploading problem.

2012-12-10 Thread askl
Dear Friends, *There is big problem with my application uploading when i going to upload my new android application to play. suddenly this message to prompt to me. "The icon for your application is not valid. Please use a 48*48 PNG" I can't believe this because of every icon automatically gener

[android-developers] Re: Application uploading problem.

2012-12-10 Thread Piren
and... have you checked the icon? :) On Monday, December 10, 2012 3:02:30 AM UTC-5, askl wrote: > > Dear Friends, > *There is big problem with my application uploading when i going to > upload my new android application to play. suddenly this message to prompt > to me. "The icon for your applica

[android-developers] Read file convert bytes

2012-12-10 Thread Antonis Kanaris
Hello.I have a simple file.txt with only data the 1 but when put if(value=="1") no work why? File sdcard = Environment.getExternalStorageDirectory(); //Get the text file File file = new File(sdcard,"LEDstate.txt"); byte[] byteArray = new byte[(int) file.leng

Re: [android-developers] Re: Application uploading problem.

2012-12-10 Thread AMAL SHIWANTHA
every icon format is PNG. * . Thank you, With Best regards, Sun Certified, * *Amal Shiwantha Ranasinghe.* * * *Google + | Linkedin | Ceylon Calendar - 2012 | Map

[android-developers] Re: Read file convert bytes

2012-12-10 Thread Piren
because you used "==" ... this isnt C#... in Java that will not return true. please look up some info on string comparison and the definition of "==" vs equals() On Monday, December 10, 2012 3:38:05 AM UTC-5, Antonis Kanaris wrote: > > > Hello.I have a simple file.txt with only data the 1 but whe

[android-developers] Re: Java knowledge

2012-12-10 Thread Piren
L-O-L ... On Sunday, December 9, 2012 4:08:09 PM UTC-5, Lew wrote: > > Lew wrote: > >> Check out the Java tutorials. The initial ones won't take you long to >> work >> through and it will give you a flavor of how hopeless you are. >> > > I don't know if this was a Freudian slip, but I totally d

[android-developers] How to save AsyncTask class object in onSaveInstanceState().

2012-12-10 Thread monty
Hello, is this possible to save AsyncTask class object on rotation and reuse it again.. public class MyTask extends AsyncTask { } any good solution. Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] Re: How to save AsyncTask class object in onSaveInstanceState().

2012-12-10 Thread monty
On Monday, December 10, 2012 3:05:53 PM UTC+5:30, monty wrote: > > Hello, > > is this possible to save AsyncTask class object on rotation and reuse it > again.. > > public class MyTask extends AsyncTask > { > > } > > I am using 4.03 version. > any good solution. Thanks > -- You rece

Re: [android-developers] NullPointerException in SharedPreferences Android

2012-12-10 Thread Alaeddine MELLITI
As a solution for your problem you can pass application context for the activity that will instantiate your class session as a constroctor argument, and then you can affect the context of your class to the context passed -- You received this message because you are subscribed to the Google Grou

[android-developers] How to save AsyncTask class object in onSaveInstanceState()

2012-12-10 Thread monty
Hello is this possible to save AsyncTask class object on rotation and reuse it again. public class MyTask extends AsyncTask { } i am using 4.03 version any good solution. Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Re: Required: Sr. NET Developer at Santa Clara, CA

2012-12-10 Thread Anton Kaiser
Hm nah, he didn't state anything about the salary. Kirk is way too overpowered and therefore too expensive I guess. Am Montag, 10. Dezember 2012 06:56:33 UTC+1 schrieb Fred Grott: > > Hmm, maybe we should just start suggesting fictional characters to see how > many get the joke? > > I say we sta

[android-developers] Re: Required: Sr. NET Developer at Santa Clara, CA

2012-12-10 Thread Anton Kaiser
Hm nah, he didn't state anything about the salary. Kirk is way too overpowered and therefore too expensive I guess. Edit: Chris Pine could do though. Am Montag, 10. Dezember 2012 06:56:33 UTC+1 schrieb Fred Grott: > > Hmm, maybe we should just start suggesting fictional characters to see how > m

[android-developers] Re: Required: Sr. NET Developer at Santa Clara, CA

2012-12-10 Thread Piren
personally i wouldn't hire a guy that would probably write his code with one word in each row... kinda hard to follow read this in his voice: int x = 5 ; On Monday, December 10, 2012 12:56:33 AM UTC-5, Fred Grott wrote: > > Hmm, maybe we should just start suggesting fictional characters to see

[android-developers] How to dispaly XML format to normal UI in Run Time

2012-12-10 Thread laxman k
I got XML format from server into One String.How to that XML String convert into Normal UI url---> url returns xml format -- You received this message because you are subscribed to the Googl

Re: [android-developers]android bluetooth multi-connect one after another

2012-12-10 Thread akash roy
i have posted this because its not working like that. On Mon, Dec 10, 2012 at 12:47 PM, gjs wrote: > Hi, > > Then concentrate on getting 1 or 2 devices working with - > > mChatService.connect(device); > > Regards > > On Sunday, December 9, 2012 1:19:08 AM UTC+11, akash roy wrote: > >> please h

[android-developers] BadTokenException in ExtractEditText

2012-12-10 Thread santhu
Hello All, I am getting badTokenException in extractedittext. i am developing a Keyboard and i have Override *onCreateExtractTextView*() and supplied my layout to it and view is getting displayed well. when user types some text and *taps *on any text then i am getting *BADTOKENEXCEPTION*. how c

[android-developers] How to dispaly XML format to normal UI in Run Time

2012-12-10 Thread androidmediadeveloper
Fetch using asynctask, Parse the XML and assign to ui elements -- 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-de

Re: [android-developers] How to dispaly XML format to normal UI in Run Time

2012-12-10 Thread laxman k
how to parse xml On Mon, Dec 10, 2012 at 6:15 PM, androidmediadeveloper < kamathaj...@gmail.com> wrote: > Fetch using asynctask, Parse the XML and assign to ui elements > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to th

[android-developers] How to get Video width and height..?

2012-12-10 Thread abhay_401
Hi, I am playing a video from Gallery, how can i find the width and the height of that video which is playing...?? Can anybody is having any idea regarding this...??? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

Re: [android-developers] How to dispaly XML format to normal UI in Run Time

2012-12-10 Thread skink
laxman k wrote: > how to parse xml > > http://developer.android.com/training/basics/network-ops/xml.html pskink -- 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] edit text begin scroll after second line

2012-12-10 Thread Live Happy
i have a EditText in a relativelayout i want the edit text to begin scroll after writing the second line but its not work with me any help with that this is my code xml -- You received this message because you are subscribed to th

[android-developers] Re: Proximity Alerts Not Working on API Level 17 (Google APIs or otherwise)

2012-12-10 Thread Irwin Billing
Bump for Monday... -- 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 mo

[android-developers] Re: How to get Video width and height..?

2012-12-10 Thread bob
Maybe use this function in android.media.MediaPlayer? public int getVideoHeight () Added in API level 1 Returns the height of the video. Returns the height of the video, or 0 if there is no video, no display surface was set, or the height has not been determined yet. The OnVideoSizeChangedListe

Re: [android-developers] How to dispaly XML format to normal UI in Run Time

2012-12-10 Thread Jacky Alciné
This was the most direct request for help I've seen to date. Jacky Alcine http:// blog.jalcine.me Sent from my Nexus 7 On Dec 10, 2012 8:17 AM, "skink" wrote: > > > laxman k wrote: > > how to parse xml > > > > > > http://developer.android.com/training/basics/network-ops/xml.html > > pskink > >

[android-developers] Re: Can't Slide to Unlock Emulators on MacBook Pro

2012-12-10 Thread joe
Hi Nathan Maybe you have enabled the "Use Host GPU" option in the emulator settings. I had the same issue on my MacBook Pro so I disabled this option and the emulator worked as expected. cheers joe Am Dienstag, 4. Dezember 2012 19:39:43 UTC+1 schrieb Nathan: > > OK, > > I'm probably doing somet

[android-developers] Re: Required: Sr. NET Developer at Santa Clara, CA

2012-12-10 Thread bob
Please do not suggest Mr. Kirk as he is currently my pilot, and good pilots are hard to find. On Sunday, December 9, 2012 11:56:33 PM UTC-6, Fred Grott wrote: > > Hmm, maybe we should just start suggesting fictional characters to see how > many get the joke? > > I say we start with suggesti

[android-developers] Issues with get large image form url

2012-12-10 Thread 杨辉
Hi,everyone. if i want to get a large image (eg.a image which size is 2M or larger.)from url, i use the folllowing code ,and get the exception ."Out of Memory". Any good idea? Thank you. private Bitmap getBitmapFromUrl(String url) { Bitmap bitmap = null; try {

Re: [android-developers] Re: Application uploading problem.

2012-12-10 Thread TreKing
On Mon, Dec 10, 2012 at 2:39 AM, AMAL SHIWANTHA wrote: > every icon format is PNG. > And they measure ... what ... ? - TreKing - Chicago transit t

Re: [android-developers] Re: Application uploading problem.

2012-12-10 Thread Piren
pixels! On Monday, December 10, 2012 10:58:52 AM UTC-5, TreKing wrote: > > On Mon, Dec 10, 2012 at 2:39 AM, AMAL SHIWANTHA > > wrote: > >> every icon format is PNG. >> > > And they measure ... what ... ? > > > ---

Re: [android-developers] Issues with get large image form url

2012-12-10 Thread Piren
RTFT http://developer.android.com/training/displaying-bitmaps/load-bitmap.html On Monday, December 10, 2012 10:42:37 AM UTC-5, snowdream wrote: > > Hi,everyone. > if i want to get a large image (eg.a image which size is 2M or > larger.)from url, i use the folllowing code ,and get the except

Re: [android-developers] Issues with get large image form url

2012-12-10 Thread Nobu Games
You should first of all download that image and store it in a file instead of directly decoding a 2MB stream (which depending of the compression degree will of course explode to a much larger size in memory). From that file you can load a smaller version of that image which fits into the view t

[android-developers] Re: edit text begin scroll after second line

2012-12-10 Thread Piren
if scrollHorizontally is true, why should it scroll vertically? On Monday, December 10, 2012 8:28:13 AM UTC-5, Live Happy wrote: > > i have a EditText in a relativelayout i want the edit text to begin scroll > after writing the second line but its not work with me any help with that > this is my

Re: [android-developers] Re: Application uploading problem.

2012-12-10 Thread Nobu Games
:-D On Monday, December 10, 2012 10:04:23 AM UTC-6, Piren wrote: > > pixels! > > On Monday, December 10, 2012 10:58:52 AM UTC-5, TreKing wrote: >> >> On Mon, Dec 10, 2012 at 2:39 AM, AMAL SHIWANTHA wrote: >> >>> every icon format is PNG. >>> >> >> And they measure ... what ... ? >> >> >>

[android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread darrinps
Curious how everyone is configuring their JUnit tests. Using Eclipse Indigo, there doesn't seem to any way to store the tests inside of the application itself (I even tried to do it manually then ran into problems running the tests) so is everyone just creating a separate test project outside o

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread Larry Meadors
I believe that is "The Android Way" - you have your application in one project and your tests in another. Larry On Mon, Dec 10, 2012 at 9:14 AM, darrinps wrote: > Curious how everyone is configuring their JUnit tests. Using Eclipse Indigo, > there doesn't seem to any way to store the tests insi

[android-developers] Re: The new KeyChain API

2012-12-10 Thread Vladimir Kirnishni
fba gmail.com> writes: > once I go back and try to read out the > certificate data with KeyChain.getCertificateChain() I get the > exception "java.lang.IllegalStateException: uid 10040 doesn't have > permission to access the requested alias". > > Has anybody made something like

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread Mark Murphy
On Mon, Dec 10, 2012 at 11:14 AM, darrinps wrote: > Using Eclipse Indigo, > there doesn't seem to any way to store the tests inside of the application > itself (I even tried to do it manually then ran into problems running the > tests) so is everyone just creating a separate test project outside o

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread darrinps
Thanks. I was beating my head against the wall trying to do it the other way after reading the recommendation here: http://developer.android.com/tools/testing/testing_android.html Much easier to just keep them apart. On Monday, December 10, 2012 10:24:42 AM UTC-6, Larry Meadors wrote: > >

[android-developers] breakpoint in Google's code

2012-12-10 Thread bob
I have the Android source installed, and I want to put a breakpoint in the initParameters method of LomoishFilter. Anyone know how to do this? Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

Re: [android-developers] Re: Application uploading problem.

2012-12-10 Thread Michael Banzon
No way?! I measure all my images in elephants!! ;-) (Sorry, couldn't resist) -- Michael Banzon http://michaelbanzon.com/ On Dec 10, 2012 5:05 PM, "Piren" wrote: > pixels! > > On Monday, December 10, 2012 10:58:52 AM UTC-5, TreKing wrote: >> >> On Mon, Dec 10, 2012 at 2:39 AM, AMAL SHIWANTHA w

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread darrinps
Are you using Eclipse Indigo? I tried doing that and the thing griped that it could find the test runner and no matter what I did it just wasn't happy. What I did was: 1) Create a project (an old one I want to add JUnit tests to actually) 2) Create a test project based on that 3) Created a sub

Re: [android-developers] Re: Application uploading problem.

2012-12-10 Thread AMAL SHIWANTHA
thanks for the all comments. finally i found the solution. i've used "\n" for app name. it's wrong. looks like that *project name \n 2013* * * *can't use. it's should be* * * *project name 2013* * * * * *thanks for all feedback. * *thank you again* * * * . Thank you, With Best regards, Sun Certif

[android-developers] Re: How to get Video width and height..?

2012-12-10 Thread abhay_401
Hi bob, thanks for the reply I tried to record a video whose resolution is set to 320*240 from settings, after that i played the video and tried to retrieve the height and width as u said, is giving height as 240 and width as 320. suppose if i record a video whose resolution is 320*240 mea

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread Mark Murphy
On Mon, Dec 10, 2012 at 1:39 PM, darrinps wrote: > Are you using Eclipse Indigo? Yes. > I tried doing that and the thing griped that it could find the test runner > and no matter what I did it just wasn't happy. > > What I did was: > > 1) Create a project (an old one I want to add JUnit tests to

[android-developers] Re: working WebView example?

2012-12-10 Thread Ben Rosenberg
lol well, i did figure it out four years ago On Mon, Dec 10, 2012 at 10:15 AM, Roney Kakkanatt wrote: > To learn how to make a simple WebView Application > > http:/ > www.androidituts.blogspot.com/2012/12/android-tutorial-sample-webview.html > > For more tutorials > > Visit:www.androidituts.blogs

Re: [android-developers] Re: Application uploading problem.

2012-12-10 Thread TreKing
On Mon, Dec 10, 2012 at 12:40 PM, AMAL SHIWANTHA wrote: > thanks for the all comments. finally i found the solution. i've used "\n" > for app name. it's wrong. > looks like that > > *project name \n 2013* > * > * > *can't use. it's should be* > * > * > *project name 2013* > Well it's a good thin

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread darrinps
Thanks Mark. I downloaded the Prefs project and imported it. I then selected the tests directory and right clicked and selected Run as. It gave me one option, Run configuration. I clicked on that and got a dialog that had "Create, manage, and run configurations". Under Android JUnit Test it h

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread Mark Murphy
On Mon, Dec 10, 2012 at 2:45 PM, darrinps wrote: > So, just how are you running your JUnit tests? Select the test project and press the Run button in the toolbar. The first time I ran the tests/ project ac, it asked me for the project type, and I chose Android JUnit test. Results show up in the J

Re: [android-developers] Re: Required: Sr. Java Developer at Boston, MA

2012-12-10 Thread Pinkesh Gupta
Hi Definitely within a day or two i will provide you a guy with 8+ years of experience in java. If it is ok with you for about 3 years of experience java expertise guy than i am able to fulfill your project requirements. Thanks And Regards Pinkesh Gupta On Thu, Dec 6, 2012 at 11:56 AM, Asheesh Ar

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread darrinps
There must be something that doesn't get saved correctly or something in git with the zip. When I tried doing what you said (select tests, hit Run on toolbar, then select Run) I get this: [2012-12-10 14:15:28 - Prefs] Android Launch! [2012-12-10 14:15:28 - Prefs] adb is running normally. [2012-

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread Mark Murphy
No clue, sorry. On Mon, Dec 10, 2012 at 3:21 PM, darrinps wrote: > There must be something that doesn't get saved correctly or something in git > with the zip. > > When I tried doing what you said (select tests, hit Run on toolbar, then > select Run) I get this: > > [2012-12-10 14:15:28 - Prefs]

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread darrinps
OK, I ran into something like this before getting things from Git and I remembered... For some reason, sometimes they seem to get their Is Library boolean set. So I selected the Prefs project, then hit the Project button on the tool bar, then went into Preferences, then unchecked the Is Library

[android-developers] Re: missing stuff

2012-12-10 Thread bob
I was only able to get around this by reinstalling the Android SDK and pointing Eclipse to the new dir. On Monday, November 26, 2012 5:10:57 PM UTC-6, bob wrote: > > I'm trying to update my Android SDK. > > > Anyone know why it is complaining about missing stuff here? > > >

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread Mark Murphy
On Mon, Dec 10, 2012 at 3:44 PM, darrinps wrote: > For some reason, sometimes they seem to get their Is Library boolean set. So > I selected the Prefs project, then hit the Project button on the tool bar, > then went into Preferences, then unchecked the Is Library on the bottom > right. Except th

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread Lew
On Monday, December 10, 2012 8:35:28 AM UTC-8, darrinps wrote: > > Thanks. > > I was beating my head against the wall trying to do it the other way after > reading the recommendation here: > http://developer.android.com/tools/testing/testing_android.html > > Much easier to just keep them apart

[android-developers] Tomcat creating new HTTP jsessionid for each page on Android browser for Android versions 3.x and lower after switching from HTTPS to HTTP

2012-12-10 Thread jeff
Platform: Windows 2008 R2 Web Servers: IIS 7.5, Tomcat 5.5 I have a JSP website which uses login-form authentication, via a custom servlet. Below is the order of how login proceeds: Login (SSL) -> Auth (SSL) -> Intermediary Page 1 (SSL) -> Intermediary Page 2 (non-SSL) -> Intermediary Page

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread darrinps
Thanks. I'll try that. FWIW, you SHOULD be able to simply direct Eclipse to set up the test in the same directory as the project and I think at one time this was possible, but that's not the case (any more) it seems. On Monday, December 10, 2012 3:04:30 PM UTC-6, Lew wrote: > > > > On Monday

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread darrinps
If you look at the link I provided, it specifies otherwise: "You can create a test project anywhere in your file system, but *the best approach is to add the test project so that its root directory tests/ is at the same level as the src/ directory of the main application's projec*t. This helps

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread Mark Murphy
On Mon, Dec 10, 2012 at 4:18 PM, darrinps wrote: > FWIW, you SHOULD be able to simply direct Eclipse to set up the test in the > same directory as the project and I think at one time this was possible, but > that's not the case (any more) it seems. It's possible something changed with R21 -- I ha

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread darrinps
Yes, I am thinking that's the issue. Just did everything needed to get your other project set up (downloaded Action Bar Sherlock, created the library, etc.) only to see this when I tried to run it: JUnitDemo does not specify a android.test.InstrumentationTestRunner instrumentation or does not

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread Lew
darrinps wrote: > If you look at the link I provided, it specifies otherwise: > > "You can create a test project anywhere in your file system, but *the > best approach is to add the test project so that its root directory tests/is > at the same level as the > src/ directory of the main applicat

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread Mark Murphy
On Mon, Dec 10, 2012 at 4:56 PM, darrinps wrote: > Yes, I am thinking that's the issue. > > Just did everything needed to get your other project set up (downloaded > Action Bar Sherlock, created the library, etc.) only to see this when I > tried to run it: > > JUnitDemo does not specify a android.

[android-developers] cleaner shaders

2012-12-10 Thread bob
I'm looking at the BasicGLSurfaceView example, and I'm thinking maybe the vertex shader and fragment shader ought to be stored as assets for readability. Right now they are like this: private final String mVertexShader = "uniform mat4 uMVPMatrix;\n" + "attribute vec4 aPositi

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-10 Thread Lew
Mark Murphy (a Commons Guy) wrote: > darrinps wrote: > > Yes, I am thinking that's the issue. > > > > Just did everything needed to get your other project set up (downloaded > > Action Bar Sherlock, created the library, etc.) only to see this when I > > tried to run it: > > > > JUnitDemo do

[android-developers] New In-app billing (v3)

2012-12-10 Thread MathieuB
Hello everyone! Today, the Developers blog announced a new version of the in-app billing system : http://android-developers.blogspot.ca/2012/12/in-app-billing-version-3.html Just wanted to discuss about it. How is it compared to implementing in-app billing with v2? I did try the v2, and it wa

Re: [android-developers] New In-app billing (v3)

2012-12-10 Thread Nikolay Elenkov
On Tue, Dec 11, 2012 at 9:56 AM, MathieuB wrote: > Hello everyone! > > Today, the Developers blog announced a new version of the in-app billing > system : > http://android-developers.blogspot.ca/2012/12/in-app-billing-version-3.html > > Just wanted to discuss about it. How is it compared to implem

Re: [android-developers] New In-app billing (v3)

2012-12-10 Thread Nikolay Elenkov
On Tue, Dec 11, 2012 at 10:16 AM, Nikolay Elenkov wrote: > On Tue, Dec 11, 2012 at 9:56 AM, MathieuB wrote: >> Hello everyone! >> >> Today, the Developers blog announced a new version of the in-app billing >> system : >> http://android-developers.blogspot.ca/2012/12/in-app-billing-version-3.html

Re: [android-developers] New In-app billing (v3)

2012-12-10 Thread Nikolay Elenkov
On Tue, Dec 11, 2012 at 11:00 AM, Nikolay Elenkov wrote: > On Tue, Dec 11, 2012 at 10:16 AM, Nikolay Elenkov > wrote: >> On Tue, Dec 11, 2012 at 9:56 AM, MathieuB wrote: >>> Hello everyone! >>> >>> Today, the Developers blog announced a new version of the in-app billing >>> system : >>> http://a

[android-developers] AbstractThreadedSyncAdapter and Google Drive API

2012-12-10 Thread rukiman
I'm very confused with this. I'm trying to sync some files and folders in google drive with Android. I came across a Google IO presentation but there was no code attached to it. Using parts of it and what I can google around (there is lots of confusing thoughts about AbstractThreadedSyncAdapter

[android-developers] Re: AbstractThreadedSyncAdapter and Google Drive API

2012-12-10 Thread rukiman
Here is my code: DriveSyncAdapter.java: public class DriveSyncAdapter extends AbstractThreadedSyncAdapter { public DriveSyncAdapter(Context context, boolean autoInitialize) { super(context, autoInitialize); } @Override public void onPerformSync(Account account, Bundle ext

Re: [android-developers] AbstractThreadedSyncAdapter and Google Drive API

2012-12-10 Thread Nikolay Elenkov
On Tue, Dec 11, 2012 at 11:58 AM, rukiman wrote: > > Can anyone point me to a working example of hopefully using Google drive to > sync OR an example of AbstractThreadedSyncAdapter with a custom provider > where the sync is working correctly? This doesn't have the SyncAdapter part but has expla

[android-developers] Re: BadTokenException in ExtractEditText

2012-12-10 Thread Jonathan S
Did it said something like "token null is not for an application?" On Monday, December 10, 2012 6:15:52 AM UTC-5, santhu wrote: > > Hello All, > > I am getting badTokenException in extractedittext. i am developing a > Keyboard and i have Override *onCreateExtractTextView*() and supplied my > lay

Re: [android-developers] Issues with get large image form url

2012-12-10 Thread 杨辉
*Thank you,*Nobu. Your Advice is helpful for me. 2012/12/11 Nobu Games > You should first of all download that image and store it in a file instead > of directly decoding a 2MB stream (which depending of the compression > degree will of course explode to a much larger size in memory). From that

Re: [android-developers] Re: [ICS] Did Canvas / drawBitmap change in ICS ?

2012-12-10 Thread GJTorikian
The Bitmap was created in the Java layer: https://github.com/gjtorikian/Earthbound-Battle-Backgrounds/blob/1684ac485c934813f97653d798f16f4c967f4247/src/com/miadzin/livewallpaper/earthbound/EarthboundLiveWallpaper.java#L258 Then, I pass it over to JNI to do some math and pixels manipulation: ht

Re: [android-developers] Re: Application uploading problem.

2012-12-10 Thread Michael Leung
I suggest to InkScape http://inkscape.org/ On Tue, Dec 11, 2012 at 5:09 AM, TreKing wrote: > On Mon, Dec 10, 2012 at 12:40 PM, AMAL SHIWANTHA wrote: > >> thanks for the all comments. finally i found the solution. i've used "\n" >> for app name. it's wrong. >> looks like that >> >> *project name

[android-developers]

2012-12-10 Thread abhijeet tomar
Hello , This is my new e-mail id. -- Abhijeet Singh Tomar Place: Indore -- 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

Re: [android-developers] cleaner shaders

2012-12-10 Thread Harri Smått
I've been putting shader code into assets or raw resources for a long while. Writing your shaders as strings is a pain. -- H On Dec 11, 2012 12:29 AM, "bob" wrote: > I'm looking at the BasicGLSurfaceView example, and I'm thinking maybe the > vertex shader and fragment shader ought to be stored a

Re: [android-developers] cleaner shaders

2012-12-10 Thread Romain Guy
For sample code putting the shaders in strings makes it easier to see everything needed to understand the app. In practice if your shaders are static you should indeed put them in your resources directory instead. On Mon, Dec 10, 2012 at 10:38 PM, Harri Smått wrote: > I've been putting shader c