[android-developers] how to create function in android ?

2012-02-28 Thread leon
)(sqlite3_context*,int,sqlite3_value**), void (*xStep)(sqlite3_context*,int,sqlite3_value**), void (*xFinal)(sqlite3_context*) ); I read it might be possible to use the android NDK to achieve this, is it possible, Anyone has some sample code ? Thanks, -leon -- You received this message because you

[android-developers] 回覆:Re: Strangely !! The RAM usage of my APK over 20MB

2011-05-05 Thread Leon Worker
icons of 48x48 pixel for Activities. Hope these information is enough for you to give some suggestion. Many Thanks. Leon. -- 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

[android-developers] 回覆:Re: Strangely !! The RAM usage of my APK over 20MB

2011-05-05 Thread Leon Worker
Hi, Sir: OK, i will open the Log function in my APK and then use DDMS to check message when the RAM Usage over 20MB again. Many Thanks. Leon. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] 回覆:Re: Strangely !! The RAM usage of my APK over 20MB

2011-05-05 Thread Leon Worker
Hi, Sir: OK, i will open the Log function in my APK and then use DDMS to check message when the RAM Usage over 20MB again. Many Thanks. Leon. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

回覆:Re: [android-developers] Re: Strangely !! The RAM usage of my APK over 20MB

2011-05-05 Thread Leon Worker
Hi, Sir: Thanks for your notice. I'll try to use MAT to find out the cause. Leon. -- 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

[android-developers] Strangely !! The RAM usage of my APK over 20MB

2011-05-04 Thread Leon Worker
Dear Senior Developers : I'm a junior Android developer. And i can't understand where the problem is. As my Message Title said, i can't convince my Project Manager the RAM usage is so high sometimes. Here is my Steps and Situation for your reference. Situation : My APK have 4 Activities and 1

[android-developers] Oracle Financial Developer Needed in TX -- F2F Required

2011-04-07 Thread Leon Parker
writing, reading and debugging PL/SQL code Thanks Leon Parker - l...@panzersolutions.com 203-983-9475 -- 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

[android-developers] Java Developer Needed in TN -- F2F required --

2011-04-05 Thread Leon Parker
. and they have to be very solid. Required: Core Java/J2EE OOAD JavaScripting I consultant who is strong in java. Communciation skills Thanks Leon Parker - l...@panzersolutios.com 203-983-9475 -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] 3 QA Testers/Analyst Tester/Analyst (3), preferably local who can do F2F -- F2F Required

2011-03-30 Thread Leon Parker
maintenance of a test environment (e.g. updating test data, adding new test data and test cases, coordinating new modules or tables to be added to the test environment); performing configuration management for a test environment. Thanks Leon Parker - l...@panzersolutions.com 203-983-9475 -- You

[android-developers] Pins for developers?

2011-02-17 Thread Leon Moreyn-Android Development
So I hear that Google gave away Android Pins at MWC. Any chance us lowly developers will be getting those pins? -- 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] NFC Concerns

2011-02-09 Thread Leon Moreyn-Android Development
I have my reservations about the NFC features on new phones. 1.) Does it read any NFC? Like say my Amex cards RDIF tag? 2.) The writer for the NFC chip in the phone does it write whatever I tell it to write? 3.) What is the security on this technology? -- You received this message because you

[android-developers] TTS User controlled

2011-02-08 Thread Leon Moreyn-Android Development
So I would say I am pretty much the office guru when it comes to TTS in Android Applications, I can enable, install and make it say pretty much whatever I want at this point. Someone in my office had the gale to ask me if I could make it stop talking as a setting and I said sure. Well This is

[android-developers] Re: Amazon to Policy Android Market Place

2011-01-14 Thread Leon Moreyn-Android Development
Im sure worst case they could probably package there market with the kindle app somehow. On Jan 14, 10:32 am, TreKing treking...@gmail.com wrote: On Fri, Jan 7, 2011 at 12:52 AM, SoftWyer karl.w...@gmail.com wrote: Furthermore, unless Amazon can get their app pre-installed onto devices, then

[android-developers] Re: HTML5 audio and video support

2011-01-12 Thread Leon Moreyn-Android Development
Are you using the inherit browser that comes with the phone or a third party browser like Opera? Since HTML5 is not standard across all browser it depends on which one you are using. On Jan 12, 10:21 am, ls02 agal...@audible.com wrote: I am trying to figure out of android (at least Froyo) has

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-11 Thread Leon Moreyn-Android Development
...@android.com wrote: On Mon, Jan 10, 2011 at 5:09 PM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Jan 10, 2011 at 4:46 PM, Leon Moreyn-Android Development lmor...@earthcam.com wrote: Ok. So here is what I am trying to understand. I have an X10A from ATT. I can not develop on the phone

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-11 Thread Leon Moreyn-Android Development
they are intended to be great for end users as much as being a tool for platform developers.) On Tue, Jan 11, 2011 at 6:39 AM, Leon Moreyn-Android Development lmor...@earthcam.com wrote: So clarify this once and for all. Unless I buy the phone as a developer phone, ie out of contract

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-10 Thread Leon Moreyn-Android Development
Sony Ericsson X10a as sold by ATT does not meet this standard I believe. On Jan 8, 3:25 pm, Dianne Hackborn hack...@android.com wrote: On Sat, Jan 8, 2011 at 8:34 AM, JP joachim.pfeif...@gmail.com wrote: On Jan 8, 7:57 am, Mark Murphy mmur...@commonsware.com wrote: Dev phones are for people

[android-developers] Re: Does Market support installing multiple apks

2011-01-10 Thread Leon Moreyn-Android Development
What are these other APKs you are trying to DL? Are you taking about something like a speech engine? Or completely independent applications? On Jan 9, 11:41 pm, xeagle xeagle...@gmail.com wrote: Hi, My application contains several apks. I'd like upload my app to android Market. If user

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-10 Thread Leon Moreyn-Android Development
Can you provide more details about CDD or confirm that the X10A as sold by ATT meets the CDD standard and is fully available for developer use with all features running. On Jan 10, 2:18 pm, Dianne Hackborn hack...@android.com wrote: On Mon, Jan 10, 2011 at 6:27 AM, Leon Moreyn-Android

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-10 Thread Leon Moreyn-Android Development
: CDD Details herehttp://source.android.com/compatibility/overview.html I believe it should be. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Tue, Jan 11, 2011 at 3:06 AM, Leon Moreyn-Android Development lmor...@earthcam.com wrote: Can you provide more details about

[android-developers] Re: Factory data reset - install app

2011-01-07 Thread Leon Moreyn-Android Development
Ummm, unless user backs up your app data I dont believe there is any way to actually auto install are factory reset. On Jan 6, 3:14 am, Hareef toar...@gmail.com wrote: Anyway to install App automatically when doing Factory Data Reset? Thanks in Advance -- You received this message because

[android-developers] Re: Prevent application - after Factory Data reset

2011-01-07 Thread Leon Moreyn-Android Development
Also maybe your app is the reason for the factory reset. IE Virus. On Jan 6, 3:14 am, Hareef toar...@gmail.com wrote: Factory Data reset will remove everything and uninstall the third party apps So, how can i prevent my app getting uninstalled? Thanks -- You received this message because

[android-developers] Re: INSTALL_FAILED_MISSING_SHARED_LIBRARY

2011-01-06 Thread Leon Moreyn-Android Development
Try using different target version. On Jan 5, 8:28 am, Nitilaksha niti...@gmail.com wrote: Hello , **I was getting this error initialy when i tried to use google map api** [2011-01-05 18:01:40 - GApp_Map] -- [2011-01-05 18:01:40 - GApp_Map] Android Launch!

[android-developers] Amazon to Policy Android Market Place

2011-01-05 Thread Leon Moreyn-Android Development
The almighty Amazon.com feels that is should police the Android Market for proper applications. On one hand I think this could be a good idea but on the other hand this feels took much like an Apple iOS development clone. With Amazon developing its own market place and limiting which apps can

[android-developers] Re: Android TTS sound braking

2010-12-29 Thread Leon Moreyn-Android Development
There is a feature that can allow you make sure the clips plays fully before termination. I can recall the method/function off the top of my head but I believe it was in the API. On Dec 28, 10:03 pm, Chandana Napagoda cnapag...@gmail.com wrote: HI, I have developed TTS based application, When

[android-developers] Internal refresh of app

2010-12-22 Thread Leon Moreyn-Android Development
So I am working on an app that is memory intensive. Currently I can only go back and forth 18 times before my cause a critical memory crash. I have tried putting in onStop and onPause and releases onBack. Instead of releasing Process and threads, is there a way to quietly reset the app in memory

[android-developers] Re: Internal refresh of app

2010-12-22 Thread Leon Moreyn-Android Development
. On Wed, Dec 22, 2010 at 7:16 AM, Leon Moreyn-Android Development lmor...@earthcam.com wrote: So I am working on an app that is memory intensive. Currently I can only go back and forth 18 times before my cause a critical memory crash. I have tried putting in onStop and onPause

[android-developers] Re: Internal refresh of app

2010-12-22 Thread Leon Moreyn-Android Development
Thanks Mark. I will do the track-allocations first. On Dec 22, 2:07 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Dec 22, 2010 at 1:44 PM, Leon Moreyn-Android Development lmor...@earthcam.com wrote: ok. Would there be a way to track memory to determine where the leak is coming

[android-developers] Re: onDestroy() and finish()

2010-12-21 Thread Leon Moreyn-Android Development
If you want to verify in theory that you app has shut down put a log into the onDestroy() and have it log that the processes are all terminated. Leon On Dec 21, 9:54 am, André pha...@hotmail.com wrote: I was using just this.finish(); in my app when exiting my app. But using ESTaskManager after

[android-developers] Re: Cost effectiveness of JSON in Android

2010-12-21 Thread Leon Moreyn-Android Development
Thanks Brill. I will take this into consideration. On Dec 21, 12:42 am, Brill Pappin br...@pappin.ca wrote: I wouldn't be too hasty about removing the JSON. XML will cost you more in terms of resources and connecting directly to a database is likely also going to be more costly (although

[android-developers] Cost effectiveness of JSON in Android

2010-12-20 Thread Leon Moreyn-Android Development
I am working on replacing JSON and direct connection to database. I know using direct connection to database is extremely costly in android since I need to call on much the java library to so. And the only replace for such costly processing would be to put the burden onto something else like a

[android-developers] Re: Android TTS for Chinese

2010-12-06 Thread Leon Moreyn-Android Development
David, You dont need to wait for Android to support it per say. Depending on the engine used, you can have it speak in chinese. I am not sure if there is a chinese engine out there already but you could make it a requirement for your app like how the android tts engine checks for itself before

[android-developers] Re: How to differentiate a tap event generated by system or by user

2010-12-06 Thread Leon Moreyn-Android Development
when you drop the phone? On Dec 6, 12:16 am, XC He schosnab...@gmail.com wrote: is there any tap event generated not by user's taping behavior? 2010/12/6 ankit ankit.ag...@gmail.com: Hi All, Urgently needed help on this. Actually i am recording and playing a sequence of events using

[android-developers] Re: How i can migrate my app from 1.5 to 1.6 api fast and safe???

2010-12-03 Thread Leon Moreyn-Android Development
that and if your building in eclipse make sure to change the lib to 1.6. Right click on project, properties, android, then select 1.6 On Dec 3, 9:41 am, Streets Of Boston flyingdutc...@gmail.com wrote: If you don't need/want to support 1.5 phones, just set the project's Android SDK version to

[android-developers] Proposal to Market Place

2010-12-02 Thread Leon Moreyn-Android Development
As a developer I find it difficult to understanding ratings sometime. 1 to 5 is a good scale. But here is the problem with scale you can have people give you a five for the sake of giving you a five or a person give you one just because they want to be jerks. I would like to propose a change to

[android-developers] Re: Free version to Paid version

2010-12-02 Thread Leon Moreyn-Android Development
pretty much thats the general method being used. One thing to consider is unpublishing the app and releasing a paid version in its place. But users may find that kinda a slap in the face. I would say do as your doing, add features to the app and call it app Plus and charge money for it. Remember

[android-developers] Re: Binary sms?

2010-11-29 Thread Leon Moreyn-Android Development
All data is 0s and 1s. You can send an sms to the emulator using the simulator features in eclipse. Are you looking specifically to only send binary without a pre-established text? On Nov 26, 8:47 pm, vnv nikola1...@gmail.com wrote: Hi, is there a way to generate binary sms in emulator? --

Re: [android-developers] GPS Position realtime

2010-11-29 Thread Leon Li
yes,MyLocationOverlay,and the arrow icon is a ball on android. On Thu, Nov 25, 2010 at 4:39 AM, Mark Murphy mmur...@commonsware.com wrote: There is MyLocationOverlay. Other than that, you are on your own. On Wed, Nov 24, 2010 at 8:51 AM, Julien soad0...@gmail.com wrote: Hello I would like to

[android-developers] Re: What is the best way to send data from Android Application to a Remote MySQL Database?

2010-11-29 Thread Leon Moreyn-Android Development
You can create an online page to handle data posts to your database. On Nov 29, 7:34 am, priya naral naral.pr...@gmail.com wrote: What is the best way to send data from Android Application to a Remote MySQL Database? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Sony Ericsson LiveView™ m icro display SDK is released

2010-11-29 Thread Leon Moreyn-Android Development
Ba hum bug. Its not good for US developers as most of the Xperia line in the USA will not receive update to 2.1 until most likely well into the new year. On Nov 29, 3:40 am, Najat Baker najat.ba...@sonyericsson.com wrote: You can now download LiveView™ SDK here:

[android-developers] Re: Scale a Drawable dinamically

2010-11-26 Thread Leon Moreyn-Android Development
You want to set dimensions via programmed settings like setWidth() and setHeight()? Or are you talking about something else. Can you elaborate as to the over all goal of this? On Nov 26, 12:33 pm, gato chlr dany...@gmail.com wrote: Hi, i have a drawable and i want to scale it programatically,

Re: [android-developers] Re: about gps

2010-11-24 Thread Leon Li
thanks ip332 and Dan: i have found answer. Listener must be created,beacuse getBestKnownLocation() is just for getting gps immediately,so it is agps,not real gps. On Wed, Nov 24, 2010 at 4:45 AM, Dan dan.schm...@gmail.com wrote: On Nov 23, 2:28 am, Leon Li l...@leonstrip.com wrote: hi all: i

[android-developers] Re: Geocoding in android, api key? emulator?

2010-11-24 Thread Leon Moreyn-Android Development
yes, the API is so that you can retrieve and interpret the data. Otherwise the system wont give you access. On Nov 23, 10:16 pm, Mel melaniejeanbren...@gmail.com wrote: I am trying to turn a latitude and longitude into an address (text only, I dont want to display it on a map) Do I need an

[android-developers] Re: My app deleted from android market console

2010-11-24 Thread Leon Moreyn-Android Development
are you using the uses-features in your manifest? there are certain features the may not have your app appearing on certain devices. On Nov 24, 3:29 pm, TreKing treking...@gmail.com wrote: Try this:http://www.google.com/support/androidmarket/bin/request.py?contact_ty...

[android-developers] Re: help me understand: upper case characters in layout file names are disallowed

2010-11-23 Thread Leon Moreyn-Android Development
It a language structure concept. You just have to build around it. Its kind of like saying why can i only pay with quarters into a vending machine if I have two dimes and a nickel. The structure of the machine is not designed to handle you dimes and nickels and this way the machine can process

[android-developers] Re: Android onClick seems to be blocking onFling

2010-11-23 Thread Leon Moreyn-Android Development
I think that onClick() is an Override event. I am not to familiar with your onFling but if its a user created class it will most likely remain dormant due to the the digitizer recognizing the onClick and not registering your onFling. On Nov 23, 8:17 am, CB cbu...@gmail.com wrote: I have an

[android-developers] Background error reporting on HttpPost

2010-11-23 Thread Leon Moreyn-Android Development
I am running a background service were data is posted to an online site that process the information to post to online database. The problem i am encountering is that with the data being posted if there is an error there is not immediate way for me to know. i am considering several options. First

[android-developers] Re: Online Image in SimpleExpandableList

2010-11-23 Thread Leon Moreyn-Android Development
to show an image. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Thu, Nov 18, 2010 at 3:50 AM, Leon Moreyn-Android Development lmor...@earthcam.com wrote: Here is the code I am using. Currently I get and Location to appear but image doesnt.    mAdapter = new

[android-developers] Re: Send GPS Location Details to Server

2010-11-23 Thread Leon Moreyn-Android Development
I have you considering sending this data to web site to process the data on the server? You say your are using HttpConnection, you can use the HTTPPost to post to the site and let the site do the work for you. Leonid Moreyn On Nov 18, 3:49 am, jagan reddy saimohanj...@gmail.com wrote: Hello

[android-developers] Re: Maps doesn't show

2010-11-23 Thread Leon Moreyn-Android Development
The API key is the key assigned to you as a developer. You need to register your MD5 with google and they will assign you one. On Nov 23, 8:31 am, coy cawe...@gmail.com wrote: Tommy, Yes, it could be the problem. But what is the right API KEY? Moreover, I exported my app as a unsigned

[android-developers] about gps

2010-11-23 Thread Leon Li
hi all: i use Location location=manager.getLastKnownLocation(gps) to get real gps,but it allways return null,and i walk around outside office long time. but if i use network,it work. dose anyone else know what is wrong? -- You received this message because you are subscribed to the Google

[android-developers] Online Image in SimpleExpandableList

2010-11-22 Thread Leon Moreyn-Android Development
Here is the code I am using. Currently I get and Location to appear but image doesnt. mAdapter = new SimpleExpandableListAdapter( this, groupData, android.R.layout.simple_expandable_list_item_2,

[android-developers] Re: ATT HTC ARIA - Can not install APK

2010-11-22 Thread Leon Moreyn-Android Development
You would most likely need to contact ATT. You need to either gain root access or get an unlock code from ATT. On Nov 18, 1:08 pm, Néstor rot...@gmail.com wrote: I have been looking for 3 days on how to install an APK that I created with my SDK on my desktop. I was able to copy the APK from my

[android-developers] Is it possible to using a url image in ImageView

2010-11-22 Thread Leon Moreyn-Android Development
So here is my question. I am trying to use an online thumbnail. I can have looked around and have not found too much data on this. Can some provide me the simplest way to do this. Also If i implement a simpleExpandableListAdapter which is designed as a textView Adapter is there a way to force the

[android-developers] Re: Android app naming policy

2010-11-22 Thread Leon Moreyn-Android Development
Are you trying to run the same app multiple times? What exactly is the result you are trying to achieve or verify? Leon Moreyn On Nov 19, 12:19 pm, vnv nikola1...@gmail.com wrote: Hi, I would like to run multiple instances of same application for dev purpose. How does app define it's name

[android-developers] Re: ATT HTC ARIA - Can not install APK

2010-11-22 Thread Leon Moreyn-Android Development
Hm I develop for Sony Ericsson X10 and I still havent been able to get the adb to work for me. H maybe ATT is dropping its restrictions. On Nov 19, 11:18 am, Néstor rot...@gmail.com wrote: PROBLEM SOLVED!!! Yes, I am using Eclipse and I tried adb.  I did not try sideload but I

[android-developers] Re: Android Market, specify products in Dollars instead of euros.

2010-11-22 Thread Leon Moreyn-Android Development
So here is my question to this. I have two places I can develop out of. I can develop out of Latvia and out of the USA. So if I was posting a new app in Latvia the currency would be LAT? And if I posted the app here in the USA the currency would be USD? On Nov 19, 11:28 am, sblantipodi

[android-developers] Re: make JPEG image has map

2010-11-22 Thread Leon Moreyn-Android Development
Im not sure of sample code for this, but here is how I would implement this. You dont necessarily need a map. An image view with a moving curses could be possible. You would set the location on the cursor in the image by using GPS location. You can receive lat and lon to your device. You would

[android-developers] Re: streaming mp4 from Internet

2010-11-22 Thread Leon Moreyn-Android Development
If this video is your video is stored locally on your computer. If its not video, ie you are trying to steam from Youtube or something like that that is streaming this video on the web then you will not be able to do so. You must have admin access to the video for it to be your video. MP4Box is

[android-developers] Re: Anyone seeing mysterious application crashes lately?

2010-11-22 Thread Leon Moreyn-Android Development
I believe there was a recent sweep of the market. And i think there was also a market update. So this maybe some of the reasoning for this. On Nov 22, 4:45 pm, Jonas Petersson jonas.peters...@xms.se wrote: Hi Kostya, On 11/22/2010 09:00 PM, Kostya Vasilyev wrote: I've am seeing some pretty

[android-developers] TTS not inheritable?

2010-11-17 Thread Leon Moreyn-Android Development
i have setup a basic TTS class to run for all files in a my app. When I pass items to synthesis speak the app crashes. I have tried many different ways of passing the variable changing returns and what not. I compiles every time but the app still crashes when the synthesis is suppose to occur. The

[android-developers] Re: Problem using the audiorecord API

2010-02-02 Thread Leon
Hi, Perhaps try to see if AudioRecorder is ready to go, by using this API: public int getState () Since: API Level 3 Returns the state of the AudioRecord instance. This is useful after the AudioRecord instance has been created to check if it was initialized properly. This ensures that the

[android-developers] Re: onContextMenuClosed() not called under 2.x?

2010-01-29 Thread Leon Chen
Hi all, I also met the same problem. Here my app registers a context menu to be shown for our view and overwrite the onContextMenuClosed() for listening the back key event. When a context menu is closed by a back key event, there is no way to be informed that any item is selected or not. My

[android-developers] Made Android TextMate Bundle (Eclipse Plug-In Alternative)

2009-12-04 Thread Leon
It's my first TextMate bundle and Android-related project (can't wait to make an android app now) and I plan on adding more features in the future. It's not as full-featured as the Eclipse Plug-in, but I hope some of you guys find it useful. Leon -- You received this message because you

[android-developers] Re: How to avoid Touch Event

2009-08-20 Thread Leon Zhang
Event? Thanks! On Thu, Aug 20, 2009 at 1:19 PM, Dianne Hackborn hack...@android.comwrote: Well put a transparent full-size view on top of the rest of your hierarchy and have it consume all the events. On Wed, Aug 19, 2009 at 6:44 PM, Leon Zhang linuxzh...@gmail.com wrote: Thanks! In fact, I

[android-developers] Re: How to avoid Touch Event

2009-08-19 Thread Leon Zhang
Thanks! In fact, I have tried overriding OnTouch(), and I tried two cases to overriding OnTouch(): 1 OnTouch(){ return false; } In this case, OnTouch event will be passed to the next view in Viewgroup. It is not I want. 2 OnTouch(){ return ture; } In this case, OnTouch event will not be

[android-developers] How Settings application launch the clear data function?

2009-06-22 Thread Leon
Settings launch the clear data function, so I can clear the related database at that time too. Are there anyone happens to know it? Thanks! Best Regards, Leon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] How to get the currently foreground activity class name?

2009-03-23 Thread Leon
Hi, does any one konw how to get the currently foreground activity class name? In my project, I need get the info of the foreground activity, not only my own application, but also the third party application. --~--~-~--~~~---~--~~ You received this message