[android-developers] Android Application Native Memory Leak Debug Problem

2019-10-23 Thread Harris Huang
Hi  guys,

I am tracking a native memory leak issue for a 3rd-part app on our android 
platform.

Environment:
1 Android 8.1 
2 user_debug
3 libc_malloc_debug.so exist

I got  a 
resource(https://source.android.com/devices/tech/debug/native-memory) from 
google that how to debug the native memory leak.
followed the steps described:

1 adb root
2 adb remount 
3 adb shell setprop wrap.com.xxx.xx.xxx 
'"LIBC_DEBUG_MALLOC_OPTIONS=backtrace logwrapper"'
4 adb shell getprop | grep wrap(the output 
shows that configuration was successful)
5 adb shell am force-stop com.xxx.xx.xxx
6 adb shell am start -n com.xxx.xxx.xx.xxx/.MainActivity
7 logcat -d | grep "malloc_debug"(can't find the 
"/system/bin/app_process64: malloc debug enabled")
8 operate the app, and try to duplicate the native memory leak
9 adb shell am dumpheap -n pid /data/tmp/local/heap.txt
10 adb shell cat /data/tmp/local/heap.txt
 
The heap.txt file is 0 byte.  I  don't know why i dump an empty heap file? 
anyone got the same issue?
please help.

Thanks

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/96af3c81-0977-4837-814b-9993ef750ecc%40googlegroups.com.


[android-developers] Android application developer @ Atlanta, GA

2019-10-14 Thread aravindkumar canopyone
hi
hope you doing well

*Role:Android application developer *
*Location: Atlanta, GA*
*Duration: Long Term*
*Need Passport Number and client id *

*Job Description is given below:*



*Mandatory Skills:*

   - Minimum of 8 years hands-on experience in Android application
   development
   - Strong knowledge of Android SDK, different versions of Android, and
   how to deal with different screen sizes
   - Familiarity with RESTful APIs to connect Android applications to
   back-end services
   - Strong knowledge of Android UI design principles, patterns, and best
   practices
   - Knowledge of the open-source Android ecosystem and the libraries
   available for common tasks >
   - Understanding of Google’s Android design principles and interface
   guidelines
   - Proficient understanding of code versioning tools, such as Git



*Preferred Skills:*

   - Strong communication skills (written and verbal) with the ability to
   work well solo and in a project team environment
   - Client facing experience e.g., product demos, requirements gathering,
   definition of technology needs and application design
   - Prior experience with SCRUM/Agile methodologies
   - Automation



*Roles and Responsibilities:*

   - Designing and developing advanced applications for the mobile platforms
   - Collaborate with cross functional teams to define, design, and ship
   new features
   - Unit testing code for robustness, including edge cases, usability, and
   general reliability
   - Bug fixing and improving application performance
   - Continuously discover, evaluate, and implement new technologies to
   maximize development efficiency
   - Work with the product and design team to understand end user
   requirements and use cases, then translate that into a pragmatic and
   effective technical solution
   - Integrate with the backend services to make sure that a great mobile
   user experience is delivered to the end users
   - Dive into difficult problems and successfully deliver results within a
   schedule

Thanks & Regards
Aravindkumar Komminenei

[image: cid:image008.png@01CE7195.60877940]

Phone: 703-831-8282 Ext 2532, Fax: 703-439-2550
Email: k.arav...@canopyone.com  URL: www.canopyone.com

USA : 4229 Lafayette Center Dr , Suite #1625, Chantilly, VA 20151  || *CANADA:
*Bankers Hall - West Tower, 888 - 3rd Street SW, 10th Floor, Calgary, AB
T2P 5C5*||* *INDIA:*  4th Floor, #7, Techno Enclave, Sector 3, Hyderabad
500081*||*

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAHdSO-EwJcuRM3W2tbQBET18m_K%3D6JPe_pXT6Oy8c412LiHF8A%40mail.gmail.com.


Re: [android-developers] Android Application - error while opening URL that uses WebRTC in WebView

2019-09-13 Thread Devnath jha
Update you chrome or mozzila, and it will working fine in chrome.

On Fri, 13 Sep 2019, 14:15 Shubham Pratap, <
shub...@coffeebeanstechnologies.com> wrote:

> I am working on developing an Android application, in which I want to open
> a URL in WebView. Now, if I open a simple URL in WebView (like
> www.google.com) is works just fine. But I want to open a URL which uses
> WebRTC (Web Real-Time Communication) which errs stating: "Looks like you
> are using unsupported browser version". I searched on google.com and
> found that WebRTC starts supporting from Android 5.0 (API level 21) and
> higher.
>
> My version of Webview is:
>
> using webView.getSettings().getUserAgentString() i get my webview details.
>
>
> ("Mozilla/5.0 (Linux; Android 5.1.1; Nexus 5 Build/LMY48B; wv) 
> AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/43.0.2357.65 Mobile 
> Safari/537.36");
>
>
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/9e874232-0810-4b74-a44d-2a25c873848c%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAAHA6UyAR9%3D1YPFPEDLLi2mmDUW_AUuBJ66W3VvHvUDTZ7LYmQ%40mail.gmail.com.


[android-developers] Android Application - error while opening URL that uses WebRTC in WebView

2019-09-13 Thread Shubham Pratap


I am working on developing an Android application, in which I want to open 
a URL in WebView. Now, if I open a simple URL in WebView (like 
www.google.com) is works just fine. But I want to open a URL which uses 
WebRTC (Web Real-Time Communication) which errs stating: "Looks like you 
are using unsupported browser version". I searched on google.com and found 
that WebRTC starts supporting from Android 5.0 (API level 21) and higher.

My version of Webview is:

using webView.getSettings().getUserAgentString() i get my webview details.


("Mozilla/5.0 (Linux; Android 5.1.1; Nexus 5 Build/LMY48B; wv) 
AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/43.0.2357.65 Mobile 
Safari/537.36");

 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/9e874232-0810-4b74-a44d-2a25c873848c%40googlegroups.com.


[android-developers] Android Application Development Company

2016-09-23 Thread Victoria Brinsley
 

By hiring an experienced 
*Android 
Development Company* , you 
can launch an engaging application which will surely have a high retention 
rate. Once you have submitted your application, now it's time that you 
inspire as many as users to continue using your app which will in return 
increase the monetization opportunities for you. In this dynamic market, 
every app owner wants to maximise its app retention rate and converting 
your first-time user into the long-term user is the best way to do so. 

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/7bf9d227-b3f8-4043-9eaa-e24319f2688e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Android application company

2016-07-13 Thread Jacob Carl
Anyone looking for best Mobile application development India 
 ? I suggest you FuGenX Technologies . FuGenX 
is the one of 
leading Mobile app development companies in USA & India. We have a 
professional team that is well-experienced in making applications for 
Androids, Windows as well as iOS.

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/9f358c41-1ba1-4a5f-ad49-66e516bd6468%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android Application example

2015-07-31 Thread Justin Anderson
Say what?

On Thu, Jul 30, 2015, 4:31 PM shiva pendem pendem.shiv...@gmail.com wrote:

 Hello,

 I need a android application where it will show two routes in first screen
 let say the route is from A to B and the second one is from C to D. and
  below that i need a button to which asks for show on map, on clicking the
 button  it should show the two route maps in the new screen, here i will be
 sending 4 points that is 4 latitudes and 4 longitudes to next screen.

 Can any one guide me how can i do this. my main moto or requirement is to
 show two routes for 4 different points as explained.

 Thanks,
 Pendem Shiva Shankar,
 Mob:+91-9533024675.

 --
 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/d/optout.


-- 
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/d/optout.


[android-developers] Android Application example

2015-07-30 Thread shiva pendem
Hello,

I need a android application where it will show two routes in first screen
let say the route is from A to B and the second one is from C to D. and
 below that i need a button to which asks for show on map, on clicking the
button  it should show the two route maps in the new screen, here i will be
sending 4 points that is 4 latitudes and 4 longitudes to next screen.

Can any one guide me how can i do this. my main moto or requirement is to
show two routes for 4 different points as explained.

Thanks,
Pendem Shiva Shankar,
Mob:+91-9533024675.

-- 
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/d/optout.


[android-developers] Android Application for 21.5 inch display in kiosk mode

2014-11-05 Thread Balaji D
Am going to develop an android application for 21.5 inch touch display 
android device in kiosk mode. But i don't know what kind of layout and 
drawables can i use and how to test in emulator. Anyone please suggest any 
ideas.

My Device spec

21.5 inch touch display
OS Android 4.2
10 point captive touch
Resolution 1920x1080
200W front facing camera

-- 
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/d/optout.


Re: [android-developers] Android Application for 21.5 inch display in kiosk mode

2014-11-05 Thread Peter Teoh
On Wed, Nov 5, 2014 at 6:28 PM, Balaji D jics...@gmail.com wrote:

 Am going to develop an android application for 21.5 inch touch display
 android device in kiosk mode. But i don't know what kind of layout and
 drawables can i use and how to test in emulator. Anyone please suggest any
 ideas.

 My Device spec

 21.5 inch touch display
 OS Android 4.2
 10 point captive touch
 Resolution 1920x1080
 200W front facing camera

 --



Is the configuration above supported?

http://developer.android.com/guide/practices/screens_support.html#ConfigurationExamples

-- 
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/d/optout.


Re: [android-developers] Android Application for 21.5 inch display in kiosk mode

2014-11-05 Thread Peter Teoh
On Thu, Nov 6, 2014 at 9:24 AM, Peter Teoh htmldevelo...@gmail.com wrote:



 On Wed, Nov 5, 2014 at 6:28 PM, Balaji D jics...@gmail.com wrote:

 Am going to develop an android application for 21.5 inch touch display
 android device in kiosk mode. But i don't know what kind of layout and
 drawables can i use and how to test in emulator. Anyone please suggest any
 ideas.

 My Device spec

 21.5 inch touch display
 OS Android 4.2
 10 point captive touch
 Resolution 1920x1080
 200W front facing camera

 --



 Is the configuration above supported?


 http://developer.android.com/guide/practices/screens_support.html#ConfigurationExamples



Sorry, I just found it is possible:

http://www.technotwinkle.com/acer-launches-21-inch-android-pc/

just use the normal layout as the phone, and it will be projected/expanded
on the monitor automatically.   Have tried it from Sony Ericsson to LED TV
as well, seemless.

-- 
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/d/optout.


[android-developers] android application with ipv6

2013-04-29 Thread Bryan Teo
Hi.

How do i link ipv6 together with a mobile application device such as 
android? I have a project given by the lecturer with 0 notes as reference. 
I have to combine both of them together, however i dont understand how to 
link them together and i dont see how it works. Hence, i would ask for any 
links or explanation or reference notes for such application. I have been 
googling out such examples and codes for reference and i have not even 
found one good reference link.

Thank you.

-- 
-- 
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] Android application - Image overlay

2013-01-08 Thread SundarRaj Lakshmanan
Hi,

I am new to Android development. I am looking for an application which 
overlays an image on top of a camera intent view, further the image can be 
moved anywhere in the screen inside the camera view, should be able to 
resize it and finally need capture the screen and save it.

I would appreciate one who explains me step by step process.

Looking for a reply.

Thank you

-- 
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] Android application with usb host shield 2.0 and arduino problem

2012-12-04 Thread Antonis Kanaris
I try test Usb host shield 2.0+Arduino duemilanove with example 
ArduinoBlinkLED sketch from Usb host shield 2.0 Library.I upload it in my 
arduino board and after upload to my android cell phone(4.0.4) this 
application 
http://allaboutee.com/2011/12/31/arduino-adk-board-blink-an-led-with-your-phone-code-and-explanation/
 
http://allaboutee.com/2011/12/31/arduino-adk-board-blink-an-led-with-your-phone-code-and-explanation/I
 upload the application to my phone but when push button for on led 
...stop and exit.Any help for this?I use external power supply.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] Android Application Update is becoming overhead...

2012-09-25 Thread Arunprasad Rajkumar
Hi All,

Suppose I have a Android Application in size of 50MB, if developer fixes a 
major bug  fix requires to change only one java class file which sizes 
about 1K. If update is made available then App user has to download the 
entire 50MB size from store. It will be unacceptable when user have limited 
data connection.

Is there any way to update only the updated class file?. I think it is of 
the advantage of Java  We are losing out here. Please ignore if it is 
really a bad question.

-- 
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] Android Application Load Time

2012-08-17 Thread Giang Hoang
Hi,

I would like to measure Android application load time across different 
platforms.  For application that I have source, that could be done by inserting 
log print outs with time stamp at the beginning of onCreate() and the end of 
onResume(), or through instrumentation.  However, I don't know what to do with 
applications that I don't have source.  Is there any tool that would allow me 
to recognize when these function calls start and finish?

Thanks,

Giang

-- 
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] Android application project error in linux

2012-07-12 Thread cadogan1
I tried to create a Android application project and i always get this error 
when it trys to install an update:

File not found: /opt/android-sdk-linux/temp/support_r09.zip (Permission 
denied)

I have it running on my ubuntu 12.04 (x86) machine.I tried creating 
downloading the file and putting it in the temp folder,but still get 
errors.Here is the full log file:

[2012-07-11 19:56:04 - SDK Manager] Fetching 
https://dl-ssl.google.com/android/repository/addons_list-2.xml
[2012-07-11 19:56:04 - SDK Manager] Validate XML
[2012-07-11 19:56:04 - SDK Manager] Parse XML
[2012-07-11 19:56:04 - SDK Manager] Fetched Add-ons List successfully
[2012-07-11 19:56:04 - SDK Manager] Fetching URL: 
https://dl-ssl.google.com/android/repository/repository-7.xml
[2012-07-11 19:56:04 - SDK Manager] Validate XML: 
https://dl-ssl.google.com/android/repository/repository-7.xml
[2012-07-11 19:56:04 - SDK Manager] Parse XML:
https://dl-ssl.google.com/android/repository/repository-7.xml
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 1.1, API 
2, revision 1 (Obsolete)
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 1.5, API 
3, revision 4
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 1.6, API 
4, revision 3
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 2.0, API 
5, revision 1 (Obsolete)
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 2.0.1, 
API 6, revision 1 (Obsolete)
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 2.1, API 
7, revision 3
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 2.2, API 
8, revision 3
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 2.3.1, 
API 9, revision 2 (Obsolete)
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 2.3.3, 
API 10, revision 2
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 3.0, API 
11, revision 2
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 3.1, API 
12, revision 3
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 3.2, API 
13, revision 1
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 4.0, API 
14, revision 3
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 4.0.3, 
API 15, revision 3
[2012-07-11 19:56:04 - SDK Manager] Found SDK Platform Android 4.1, API 
16, revision 1
[2012-07-11 19:56:04 - SDK Manager] Found ARM EABI v7a System Image, 
Android API 14, revision 2
[2012-07-11 19:56:04 - SDK Manager] Found ARM EABI v7a System Image, 
Android API 15, revision 2
[2012-07-11 19:56:04 - SDK Manager] Found ARM EABI v7a System Image, 
Android API 16, revision 1
[2012-07-11 19:56:04 - SDK Manager] Found Samples for SDK API 7, 
revision 1
[2012-07-11 19:56:04 - SDK Manager] Found Samples for SDK API 8, 
revision 1
[2012-07-11 19:56:04 - SDK Manager] Found Samples for SDK API 9, 
revision 1 (Obsolete)
[2012-07-11 19:56:04 - SDK Manager] Found Samples for SDK API 10, 
revision 1
[2012-07-11 19:56:04 - SDK Manager] Found Samples for SDK API 11, 
revision 1
[2012-07-11 19:56:04 - SDK Manager] Found Samples for SDK API 12, 
revision 1
[2012-07-11 19:56:04 - SDK Manager] Found Samples for SDK API 13, 
revision 1
[2012-07-11 19:56:04 - SDK Manager] Found Samples for SDK API 14, 
revision 2
[2012-07-11 19:56:04 - SDK Manager] Found Samples for SDK API 15, 
revision 2
[2012-07-11 19:56:04 - SDK Manager] Found Samples for SDK API 16, 
revision 1
[2012-07-11 19:56:04 - SDK Manager] Found Android SDK Platform-tools, 
revision 12
[2012-07-11 19:56:04 - SDK Manager] Found Android SDK Tools, revision 20
[2012-07-11 19:56:04 - SDK Manager] Found Documentation for Android 
SDK, API 16, revision 1
[2012-07-11 19:56:04 - SDK Manager] Found Sources for Android SDK, API 
14, revision 1
[2012-07-11 19:56:04 - SDK Manager] Found Sources for Android SDK, API 
15, revision 2
[2012-07-11 19:56:04 - SDK Manager] Found Sources for Android SDK, API 
16, revision 1
[2012-07-11 19:56:04 - SDK Manager] Fetching URL: 
https://dl-ssl.google.com/android/repository/addon.xml
[2012-07-11 19:56:04 - SDK Manager] Validate XML: 
https://dl-ssl.google.com/android/repository/addon.xml
[2012-07-11 19:56:04 - SDK Manager] Parse XML:
https://dl-ssl.google.com/android/repository/addon.xml
[2012-07-11 19:56:04 - SDK Manager] Found Google APIs, Android API 3, 
revision 3
[2012-07-11 19:56:04 - SDK Manager] Found Google APIs, Android API 4, 
revision 2
[2012-07-11 19:56:04 - SDK Manager] Found Google APIs, Android API 5, 
revision 1 (Obsolete)
[2012-07-11 19:56:04 - SDK Manager] Found Google APIs, Android API 6, 
revision 1 (Obsolete)
[2012-07-11 19:56:04 - SDK Manager] Found Google APIs, Android API 7, 
revision 1
[2012-07-11 19:56:04 - SDK Manager] Found Google APIs, Android API 8, 
revision 2
[2012-07-11 19:56:04 - SDK Manager] Found Google APIs, Android API 

[android-developers] android application development

2012-05-23 Thread AKASH PRIYADARSHI
I want to write a code for my application which blocks user from
accessing  all the other resources till my code  is running . someone
please suggest me any code module or concept to achieve this task.

-- 
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] android application development

2012-05-23 Thread David Olsson
http://www.catb.org/~esr/faqs/smart-questions.html

On Mon, May 21, 2012 at 12:56 PM, AKASH PRIYADARSHI 
akash39.nit...@gmail.com wrote:

 I want to write a code for my application which blocks user from
 accessing  all the other resources till my code  is running . someone
 please suggest me any code module or concept to achieve this task.

 --
 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 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] Android application StartUp Internals

2012-04-27 Thread Mansoor
Hi all,
I am very much interested to know how an android application
starts.After much googling I understood something but not fully.

Below some of my observations:

1.When i click an application icon from launcher ,System look for
activity with intent action main and category Launcher and starts
that activity.
   *I need some more clarity regarding who launch main activity or
who
filtering main activity from others(I think package manager does).

2.Once Activity is launched there will be no windows associated with
that application until i call setContentView(layout id).

3.When i call setContentView(layout id),Activity creates a new Window
inance and this window has some default root layout to which we set
our layout .
 *I think this window have a Surface instance and is associated with
native Bitmap ?Did this surface have a Canvas wrapper over native
bitmap ?

4.Once Layout is attached to Window ,This window is added to Window
manager.

5.Window manager gives gives all window(having Surface) on screen to
Surface Flinger.

6.SurfaceFlinger based on visibility of window set pixels in
FrameBuffer and displays to screen.

I am not sure whether what i said above is right or wrong.Please
correct me if my understanding is wrong.
Also add extra processes happening whilhe application start up.

Thanks and have a Nice day :)

-- 
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] Android application StartUp Internals

2012-04-27 Thread Mark Murphy
On Fri, Apr 27, 2012 at 2:21 AM, Mansoor musafir4frie...@gmail.com wrote:
 1.When i click an application icon from launcher ,System look for
 activity with intent action main and category Launcher and starts
 that activity.

No. The launcher already found the main/launcher activity, which is
why the icon appeared in the launcher.

   *I need some more clarity regarding who launch main activity or
 who
 filtering main activity from others(I think package manager does).

Yes.

 2.Once Activity is launched there will be no windows associated with
 that application until i call setContentView(layout id).

No. There will be a window associated with the activity regardless of
your call to setContentView().

 4.Once Layout is attached to Window ,This window is added to Window
 manager.

 5.Window manager gives gives all window(having Surface) on screen to
 Surface Flinger.

 6.SurfaceFlinger based on visibility of window set pixels in
 FrameBuffer and displays to screen.

If you care about any of this, you are on the wrong Google Group.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 4.0 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] Android application StartUp Initialization

2012-04-26 Thread Mansoor
Hi all,

I am very much interested to know how an android application
starts.After much googling I understood something but not fully.
Below some of my observations:

1.When i click an application icon from launcher ,System look for
activity with intent action main and category Launcher and starts
that activity.
   *I need some more clarity regarding who launch main activity or who
filtering main activity from others(I think package manager does).
2.Once Activity is launched there will be no windows associated with
that application until i call setContentView(layout id).
3.When i call setContentView(layout id),Activity creates a new Window
inance and this window has some default root layout to which we set
our layout .
 *I think this window have a Surface instance and is associated with
native Bitmap ?Did this surface have a Canvas wrapper over native
bitmap ?
4.Once Layout is attached to Window ,This window is added to Window
manager.
5.Window manager gives gives all window(having Surface) on screen to
Surface Flinger.
6.SurfaceFlinger based on visibility of window set pixels in
FrameBuffer and displays to screen.

I am not sure whether what i said above is right or wrong.Please
correct me if my understanding is wrong.
Also add extra processes happening whilhe application start up.

Thanks and have a Nice day :)

-- 
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] Android Application

2012-03-08 Thread ru
Hello people,
I wanted to ask if you'll can suggest me a tutorial for connectivity
between web server and android application. My application is about
ordering food from android mobile. So when the user enters the
restaurant name, he should get the details about the restaurant. On
further the menu.These details will b given to the user from web
server. Also the order details should be recorded in the server. So
basically, I want to connect my sever with my android phone to send
and receive data. How can I do this? Where can I find tutorial for it?
I read about JSON but don't know to use it. Can you'll suggest me any
tutorial?

-- 
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] Android Application

2012-03-08 Thread TreKing
On Mon, Mar 5, 2012 at 11:51 AM, ru ruchijain...@gmail.com wrote:

 Can you'll suggest me any tutorial?


Google app engine android

-
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

Re: [android-developers] Android Application Crashes at Deployment

2012-02-13 Thread TreKing
On Thu, Feb 9, 2012 at 10:07 AM, duadinam somethingcleve...@gmail.comwrote:

 I'd like to use the Memory Profiler, but the project crashes
 before launching, and I can't reach the Logcat files.


I try this, set it first thing, maybe in your custom Application class, or
main Activity class.
http://developer.android.com/reference/java/lang/Thread.UncaughtExceptionHandler.html


-
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] Android Application Crashes at Deployment

2012-02-11 Thread duadinam
Hi All

I'm working on Android project that crashes when it is deployed. Other
projects in the same workspace work fine. I increased the RAM usage on
the AVD that I'm using to 1 GB. I don't think there is a memory leak
because it seems to work on other peoples computer.

I'd like to use the Memory Profiler, but the project crashes before
launching, and I can't reach the Logcat files.

Right now I'm using eclipse, is there a way for me to launch it using
ANT or the command line, where I can execute it step by step and find
where the crash is happening?

Any help would be greatly appreciated.

Thank you,

David

-- 
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] Android Application Database Maintainence

2012-02-06 Thread TreKing
On Sat, Feb 4, 2012 at 6:25 AM, ankit.verma ankitverma...@gmail.com wrote:

 1) I want to build an Android app with a database table of 1000-2000
 records.Please can anyone guide how this can be done, How I can build
 table with all data inserted.


http://bit.ly/w9G8XT


 2) Later if I want to update my database table with 500 more records
 what is the procedure to do it.

Please note the insertion/Updation of data is not to be done
 programtically by Sqllite in the code rather by the creator of the app
 himself


See #1. Then update your app.

-
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] Android Application Database Maintainence

2012-02-05 Thread ankit.verma
Hi All,


I am trying to build an Information Portal type Android Application.
Please can anyone answer my 2 questions:



1) I want to build an Android app with a database table of 1000-2000
records.Please can anyone guide how this can be done, How I can build
table with all data inserted.



2) Later if I want to update my database table with 500 more records
what is the procedure to do it.



Please note the insertion/Updation of data is not to be done
programtically by Sqllite in the code rather by the creator of the app
himself



Thanks for any reply 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


Re: [android-developers] Android Application installed from Eclipse or adb

2012-01-13 Thread TreKing
On Sat, Jan 7, 2012 at 2:18 PM, Chris White phre...@gmail.com wrote:

 Any ideas?


   - Google the exact error message in quotes.
   - Reboot the device.
   - Install a release version of the app using ADB.


-
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] Android Application installed from Eclipse or adb

2012-01-08 Thread Chris White
For some reason when I Run/Debug the application from eclipse the
application will pull up just fine in the emulator and I can
successfully connect and debug if need be. If I try to relaunch the
application outside of eclipse though, I receive a Toast message that
states App isn't installed when trying to launch. The application
shows fine in the Apps list of the device. I thought maybe eclipse was
screwing something up (hard to believe i know...), so i copied my
entire bin directory to the platform-tools directory (for simplicity)
and ran adb install mypackage.apk after completely uninstalling the
application on the device itself first. Once again, the app gets
listed in my Apps list, but when I try and execute it, I recieve The
app isn't installed toast message. The only way I can get this app to
run is via eclipse run/debug. Any ideas?


Chris White

-- 
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] android application gets killed in stand by mode

2011-12-16 Thread sktniran
Hi friends,


When the device screen blanks or goes to stand by mode (or they turn
it off) my app gets killed and  sometimes forces closed as well .  but
the app should keep running and show up as soon as they turn on and
unlock the screen after it has gone blank. how to get this please help
me.




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


Re: [android-developers] android application gets killed in stand by mode

2011-12-16 Thread Harri Smått
Hi,

If there's a forced close from time to time, doesn't it indicate your code 
crashes during ramp down of your application for sleep mode, does it? Running 
application ought to be running once user returns from sleep mode without any 
extra work on your side. But for restarting your phone - do you really want it 
to be first thing the user sees?

--
H

On Dec 16, 2011, at 4:14 PM, sktniran wrote:

 Hi friends,
 
 
 When the device screen blanks or goes to stand by mode (or they turn
 it off) my app gets killed and  sometimes forces closed as well .  but
 the app should keep running and show up as soon as they turn on and
 unlock the screen after it has gone blank. how to get this please help
 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


Re: [android-developers] android application gets killed in stand by mode

2011-12-16 Thread TreKing
On Fri, Dec 16, 2011 at 8:14 AM, sktniran sktniranjanad...@gmail.comwrote:

 but the app should keep running


No, it shouldn't.

-
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

Re: [android-developers] android application

2011-12-05 Thread TreKing
On Tue, Nov 29, 2011 at 11:53 PM, Jacob Shavia jacobsha...@gmail.comwrote:

 i'm new to android and am supposed to develop an android game that allows
 people to navigate a vehicle along simulated real life roads, i have
 autocad maps for the roads n their presentation is poor how can i implement
 this.


Do a bunch of other smaller apps that will help teach you what you need to
know to do this.
If you're new to android and have to ask how to do what vaguely sounds
like a major task, you're asking for trouble.

-
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] android application

2011-12-01 Thread Jacob Shavia
i'm new to android and am supposed to develop an android game that allows
people to navigate a vehicle along simulated real life roads, i have
autocad maps for the roads n their presentation is poor how can i implement
this.
http://ambroreenz.com

-- 
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] android application which communicates with one central database?

2011-11-21 Thread mark kelly
Hi
Im new to android development. The application I would like to write
needs to have one database on a server, which all instances of the
application needs to communicate with simply. So there will be no
database on each android, just an ability to send info to the central
database. Can anyone point me to tutorials or resources on this sort
of development? A lot of the tutorials i looked at just seem to have
native databases on each android...
Thanks
Mark

-- 
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] android application which communicates with one central database?

2011-11-21 Thread TreKing
On Sun, Nov 20, 2011 at 7:20 AM, mark kelly markkelly1...@gmail.com wrote:

 Can anyone point me to tutorials or resources on this sort of development?


Google web database server restful or some combination of said terms.
This is not Android-specific.

-
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] Android Application to Install a font

2011-09-27 Thread Mamun S.
Hi, i want a Android Application to Install a  font font without
rooting.


if any one do this for me please share this whats the way

-- 
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] Android Application to Install a font

2011-09-27 Thread Mark Murphy
Your application can use a font that is packaged with it or is
available on a local filesystem (e.g., external storage).

You cannot install a font system-wide, except via custom firmware or
perhaps via rooting.

On Mon, Sep 26, 2011 at 4:50 PM, Mamun S. banglatip...@gmail.com wrote:
 Hi, i want a Android Application to Install a  font font without
 rooting.


 if any one do this for me please share this whats the way

 --
 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/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0
Available!

-- 
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] AndRoid Application

2011-09-12 Thread abc xyz
can any one tall me how to develop Android Applications in DotNet

-- 
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] AndRoid Application

2011-09-12 Thread Appaholics
Of course. Just port the entire .NET framework to Android, write your own
.NET version of the SDK and you are set!!

Seriously, use Java.

Thanks


On Sat, Sep 10, 2011 at 2:17 PM, abc xyz axabc9...@gmail.com wrote:

 can any one tall me how to develop Android Applications in DotNet

 --
 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




-- 
--
Raghav Sood
CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
required to have complete control)
http://www.raghavsood.com/
https://market.android.com/developer?pub=Appaholics
http://www.appaholics.in/

-- 
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] AndRoid Application

2011-09-12 Thread TreKing
On Sat, Sep 10, 2011 at 3:47 AM, abc xyz axabc9...@gmail.com wrote:

 can any one tall me how to develop Android Applications in DotNet


http://tinyurl.com/6a63w4e

-
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

Re: [android-developers] AndRoid Application

2011-09-12 Thread Tom Opgenorth
Checkout Xamarin's Mono for Android: http://android.xamarin.com/

On Sat, Sep 10, 2011 at 02:47, abc xyz axabc9...@gmail.com wrote:
 can any one tall me how to develop Android Applications in DotNet

 --
 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



-- 
http://www.opgenorth.net

-- 
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] Android Application - NewsBook

2011-08-27 Thread Faizan Shaikh
Read News from various international sources like CNN,BBC,ESPN,FOX NEWS etc
using their RSS Feeds.

The application contains news feeds from more than 100
sources/channels/websites.

It consumes minimum bandwidth and runs very fast even if you are using the
GPRS.

News feeds are automatically UPDATED on hourly basis.

Read all the latest news at one place! Don't miss it!!!

https://market.android.com/details?id=app.news.main

-- 
Best Regards

-- 
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] Android Application Development

2011-08-10 Thread Matheus Bodo
I don't know if I undertood your question, but the way you wrote your code,
it will write the source code of the page in the Log.

If your intention was to open the browser to load the url, you should do it
via Intent.

This may help you:

http://developer.android.com/guide/topics/intents/intents-filters.html
http://www.androidsnippets.com/open-browser-to-web-page-url-via-intent


2011/8/9 TreKing treking...@gmail.com

 On Sat, Aug 6, 2011 at 3:19 AM, Lakshmi Priya 
 lakshmi_pr...@simply-logic.com wrote:

 Instead of the website opening up on the android emulator the source code
 appears.


 What does the source code appears mean?


 -
 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




-- 
Matheus Augusto Bodo

-- 
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] Android Application Development

2011-08-08 Thread Lakshmi Priya
I am developing an app in android and the search button in the
application needs to be linked to a website.  Instead of the website
opening up on the android emulator the source code appears.  Can
anyone help me with this...

I have pasted the code below...

package com.apache;

import java.io.BufferedReader;
import java.io.InputStreamReader;

import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class ApacheConnection extends Activity {

Button bt;
TextView textView1;
TextView textView2;

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
bt = (Button) findViewById(R.id.button1);
textView1 = (TextView) findViewById(R.id.editText1);
textView2 = (TextView) findViewById(R.id.editText2);
bt.setOnClickListener(new OnClickListener() {
  @Override
public void onClick(View v) {
// TODO Auto-generated method stub
textView2.setText();

 try {
/*Apache HttpClient Library*/
HttpClient client = new DefaultHttpClient();
HttpGet request = new HttpGet(http://google.com;);
HttpResponse response = client.execute(request);
/* response code*/
BufferedReader rd = new BufferedReader(
  new
InputStreamReader(response.getEntity().getContent()));
   String line = ;
while ((line = rd.readLine()) != null) {
  Log.d(output:,line);
   }
  } catch (Exception exe) {
   exe.printStackTrace();
  }
}
 });

}
}

LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent

TextView
android:text=Enter URL
android:id=@+id/textView1
android:layout_width=wrap_content
android:layout_height=wrap_content
/TextView

EditText
android:id=@+id/editText1
android:layout_width=match_parent
android:text=http://www.nancybishop.com/;
android:layout_height=wrap_content
/EditText

Button
android:text=Search
android:id=@+id/button1
android:layout_width=wrap_content
android:layout_height=wrap_content
 /Button


EditText
android:id=@+id/editText2
android:layout_width=match_parent
android:layout_height=fill_parent
 /EditText

/LinearLayout

Thanks a lot
P

-- 
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] Android Application Development

2011-08-08 Thread TreKing
On Sat, Aug 6, 2011 at 3:19 AM, Lakshmi Priya 
lakshmi_pr...@simply-logic.com wrote:

 Instead of the website opening up on the android emulator the source code
 appears.


What does the source code appears mean?

-
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] Android Application materials

2011-08-01 Thread Yashwant kumar
Hello there,

I am learning android. Please give some online links and please give some
practice application on android development.

thanks in advance.


Regards
Yashwant

-- 
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] Android Application materials

2011-08-01 Thread Antony K
you can follow this books

http://android-codes-examples.blogspot.com/2011/04/android-books-you-can-download-android.html


On Sat, Jul 30, 2011 at 9:34 PM, Yashwant kumar
kumar.eryashw...@gmail.comwrote:

 Hello there,

 I am learning android. Please give some online links and please give some
 practice application on android development.

 thanks in advance.


 Regards
 Yashwant

 --
 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 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] Android Application materials

2011-08-01 Thread Wenhua Li
Absolutely, ANDROID developer guide and the official site are good choices,
and of course this group.

On Sun, Jul 31, 2011 at 12:04 AM, Yashwant kumar kumar.eryashw...@gmail.com
 wrote:

 Hello there,

 I am learning android. Please give some online links and please give some
 practice application on android development.

 thanks in advance.


 Regards
 Yashwant

 --
 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 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] Android Application materials

2011-08-01 Thread TreKing
On Sat, Jul 30, 2011 at 11:04 AM, Yashwant kumar kumar.eryashw...@gmail.com
 wrote:

 I am learning android. Please give some online links and please give some
 practice application on android development.


http://www.google.com/

-
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] Android application connect to Server. Which is the best?

2011-06-27 Thread Piraba
I have Android Application. I have to connect to MSSQL server
database. so I have to create sever application. Which is best sever
application among from these
JAVA REST application OR JAX-WS SOAP,
WCF(Windows Communication Foundation),
socket programming
normal PHP script.

bulk of data transfer from phone to sever  sever to phone
application. Which is good performance wise? Please advice me
regarding this as soon as possible.

Please help me

Thank 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] Android application blocked by Market for Motorola Xoom

2011-06-27 Thread develop...@edh.co.za
I've got an android application which runs on a Motorola Xoom, but can
not be seen from the market on a Xoom. Here is the market link to the
app: https://market.android.com/details?id=com.flightscope.app

I'm also including my whole manifest without its activities.


?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=com.flightscope.app
  android:versionCode=9 android:versionName=v1.0.5 (June
2011)
  supports-screens
  android:normalScreens=true
  android:largeScreens=true
  android:smallScreens=true android:anyDensity=true/
  uses-feature android:required=false
android:name=android.hardware.telephony/uses-feature
  uses-feature android:required=true
android:name=android.hardware.wifi/uses-feature
  uses-feature android:required=true
android:name=android.hardware.bluetooth/uses-feature
  uses-feature android:required=true
android:name=android.hardware.touchscreen/uses-feature
  application android:name=App
   android:label=@string/app_name
   android:icon=@drawable/icon
   android:theme=@style/Theme.FullScreen
  uses-sdk android:minSdkVersion=8 android:targetSdkVersion=11/
  uses-permission android:name=android.permission.INTERNET/
  uses-permission android:name=android.permission.ACCESS_WIFI_STATE/

  uses-permission android:name=android.permission.CHANGE_WIFI_STATE/

  uses-permission
android:name=android.permission.ACCESS_NETWORK_STATE/
  uses-permission
android:name=android.permission.CHANGE_NETWORK_STATE/
  uses-permission
android:name=android.permission.WRITE_EXTERNAL_STORAGE/
  uses-permission android:name=android.permission.BLUETOOTH/
  uses-permission android:name=android.permission.BLUETOOTH_ADMIN/
/manifest

The website (https://market.android.com/publish) says the following
about the application:

This apk requests 8 permissions that users will be warned about
android.permission.INTERNET
android.permission.ACCESS_WIFI_STATE
android.permission.CHANGE_WIFI_STATE
android.permission.ACCESS_NETWORK_STATE
android.permission.CHANGE_NETWORK_STATE
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.BLUETOOTH
android.permission.BLUETOOTH_ADMIN

This apk requests 3 features that will be used for Android Market
filtering
android.hardware.wifi
android.hardware.bluetooth
android.hardware.touchscreen

This apk requests 1 native platforms that will be used for Android
Market filtering
armeabi

Copy protection is set.

Supported Devices
[Learn More]
This application is only available to devices with these features, as
defined in your application manifest.
Screen layouts: SMALL NORMAL LARGE XLARGE
Required device features
android.hardware.wifi
android.hardware.bluetooth
android.hardware.touchscreen
This application is available to over 411 devices. Show devices

And when I click on the Show devices link, the Xoom does appear in
that list. As you can see I already have the telephony feature set to
false and the application is still blocked.

Any advice will be greatly appreciated

Kind regards

Johan Radyn

-- 
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] Android application connect to Server. Which is the best?

2011-06-27 Thread Mark Murphy
On Sat, Jun 25, 2011 at 3:41 AM, Piraba pira...@gmail.com wrote:
 I have Android Application. I have to connect to MSSQL server
 database. so I have to create sever application. Which is best sever
 application among from these
 JAVA REST application OR JAX-WS SOAP,
 WCF(Windows Communication Foundation),
 socket programming
 normal PHP script.

 bulk of data transfer from phone to sever  sever to phone
 application. Which is good performance wise? Please advice me
 regarding this as soon as possible.

Choose whichever of those you have the talent to do. None of those
have anything to do with Android.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
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] Android application pause/resume state.

2011-06-06 Thread Dalvin
Hi TreKing

In my application I want to log how many times my application gets paused 
i.e. some outside activity appears on the top of it.

Thanks
Dalvin

-- 
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] Android application pause/resume state.

2011-06-06 Thread TreKing
On Mon, Jun 6, 2011 at 2:22 AM, Dalvin singh.dal...@gmail.com wrote:

 In my application I want to log how many times my application gets paused
 i.e. some outside activity appears on the top of it.


That's it? Hardly seems worth the effort if you ask me. But hey, it's your
app and your time.

-
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] Android application pause/resume state.

2011-06-03 Thread Dalvin
Hi

My question is can i get to know when the entire application gets 
paused/resumed start/stop etc.
For example if i have 5 activities in my application. Whenever any activity 
gets paused/resumed android notify the activity by calling the 
onPause/onResume methods.

So there are two possible scenarios when my activity gets paused.
1. My activity-2 gets paused because my activity-3 gets invoked.
2. My activity-2 gets paused because of some outside activity like incoming 
call.

Here I am interested only tracking when my activity gets paused by outside 
activities not my own application activities.

So is there any android provided solution for this or do I have to write my 
customized solution.

Thanks
Dalvin

-- 
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] Android application pause/resume state.

2011-06-03 Thread TreKing
On Fri, Jun 3, 2011 at 3:24 AM, Dalvin singh.dal...@gmail.com wrote:

 Here I am interested only tracking when my activity gets paused by outside
 activities not my own application activities.


I would question why you you need this? Perhaps there's a better way to
achieve what you're actually trying to achieve.

-
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] Android Application - External Tomcat Web server Communication

2011-04-20 Thread bhargav
Hi Everyone,

From my android application Iam trying to connect to a tomcat
webserver which is running on my local machine.

I am unable to connect.
Can an Android applicaiton connect to external web application which
is running on localhost or www.

Please clarify my doubts. If possible please send my sample code or
any working application source code.

Here is what Iam trying to do.

Androidmanifest.xml

?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=com.covalense.android.samples

uses-sdk android:minSdkVersion=11 /

uses-permission
android:name=android.permission.ACCESS_FINE_LOCATION/
uses-permission android:name=android.permission.ACCESS_LOCATION/
uses-permission android:name=android.permission.ACCESS_GPS/
uses-permission
android:name=android.permission.ACCESS_ASSISTED_GPS/
uses-permission android:name=android.permission.INTERNET/
uses-permission
android:name=android.permission.ACCESS_FINE_LOCATION /
application android:icon=@drawable/icon android:label=@string/
app_name
activity android:name=.UseGps 
android:label=@string/app_name
intent-filter
action 
android:name=android.intent.action.MAIN /
category 
android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity
/application
/manifest

In Activity Class

 HttpClient httpclient = new DefaultHttpClient();
 HttpPost httppost = new HttpPost(http://10.0.2.2:8084/
AndroidWebTest/TestServlet);
 HttpResponse response = httpclient.execute(httppost);


Please help me iam new to android.

If any one did a similar application please send me the code to my
mail knv200...@gmail.com

Thanks 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] Android Application Settings Problems

2011-03-23 Thread MattClark
I am trying to use application preferences in my app, following this
at AndroidDevelopes:
http://developer.android.com/guide/topics/data/data-storage.html

my code is as follows.

imports:
import android.content.SharedPreferences;

declarations:
public String PREFS_NAME = MyAppSettings;
public SharedPreferences settings = getSharedPreferences(PREFS_NAME,
0);


the program compiles fine, but when i deploy it to my device it errors
only if the second line of declarations is in place. I have no idea
what the problem is. i have tried (PREFS_NAME, 0)(MyAppSettings, 0)
(PREFS_NAME, MODE_PRIVATE)(MyAppSettings, MODE_PRIVATAE) and
every time it still errors on the device.
any and all help is greatly appreciated.
thanks
~Matt

-- 
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] Android Application Sold to 100,000 Users

2011-03-21 Thread sogan xie
Hi,
Maybe the first thing you want to consider is the popular degree of your
application. And make sure your application has some special features in.

On Mon, Mar 21, 2011 at 11:18 AM, varinag gold varinagg...@gmail.comwrote:

 Hi Guys,

 I'd like to know if any one of you (Individual Developer) have crossed
 this limit to sell android application to 100,000 users? If so how
 long it took to cross this limit .

 I plan to put my application in the market soon for all countries.

 Kind regards,
 varinag

 --
 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




-- 
B.R.
Sogan.X

Mail:soga...@gmail.com

-- 
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] Android Application Sold to 100,000 Users

2011-03-20 Thread varinag gold
Hi Guys,

I'd like to know if any one of you (Individual Developer) have crossed
this limit to sell android application to 100,000 users? If so how
long it took to cross this limit .

I plan to put my application in the market soon for all countries.

Kind regards,
varinag

-- 
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] Android Application Sold to 100,000 Users

2011-03-20 Thread TreKing
On Sun, Mar 20, 2011 at 10:18 PM, varinag gold varinagg...@gmail.comwrote:

 I'd like to know if any one of you (Individual Developer) have crossed this
 limit to sell android application to 100,000 users? If so how long it took
 to cross this limit .


What difference does it make?

-
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] android application connect to bluetooth mini keyboard

2011-03-09 Thread yooper
I wrote a simple application to connect to a bluetooth mini keyboard
but am having trouble with the BluetoothDevice.connect() call.

it gives discovery service failed. I have no problem using the
bluetooth pairing and connect from the bluetooth settings menu. The
same code works with a bluesnap serial to bluetooth device.

Am I missing something obvious?
I've got BLUETOOTH and BLUETOOTH_ADMIN permissions set.
I'm on galaxy tab froyo.

The code is:

package test.com;

import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Method;
import java.util.Set;
import java.util.UUID;



//import test.com.connect.ClientConnectThread;
import android.app.Activity;

import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.widget.Toast;
import android.bluetooth.*;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
public class connect extends Activity {

static final int ALERT_DIALOG_ID = 1;
private BtReceiver btReceiver;
private BluetoothAdapter btAdapter;
private final Handler handler = new Handler();

private static final UUID SIMPLE_BT_APP_UUID =
UUID.fromString(1101--1000-8000-00805F9B34FB);
private ClientConnectThread clientConnectThread;
private BluetoothDataCommThread bluetoothDataCommThread;
private BluetoothDevice remoteDevice;
private BluetoothSocket activeBluetoothSocket;
private final String deviceAddress=98:9A:10:12:03:6E;


@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);




setContentView(R.layout.main);



btAdapter=BluetoothAdapter.getDefaultAdapter();

if(btAdapter==null)
{
Toast.makeText(getApplicationContext(), No Bluetooth
Available,Toast.LENGTH_LONG ).show();
}else
{


if(!btAdapter.isEnabled())
{
Intent enableBtIntent=new
Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);


//REQUEST_ENABLE_BT is supposed to be 2 so
startActivityForResult(enableBtIntent, 2);

}

// we need a broadcast receiver now
btReceiver = new BtReceiver();
// register for state change broadcast events
IntentFilter stateChangedFilter = new
IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED);
registerReceiver(btReceiver, stateChangedFilter);
// register for discovery events
IntentFilter actionFoundFilter = new
IntentFilter(BluetoothDevice.ACTION_FOUND);
registerReceiver(btReceiver, actionFoundFilter);
// check current state
int currentState = btAdapter.getState();

if (currentState == BluetoothAdapter.STATE_ON) {
findDevices();
}



}

}

public void findDevicesHandler(View view){
int currentState = btAdapter.getState();
if (currentState == BluetoothAdapter.STATE_ON) {
Toast.makeText(getApplicationContext(), Finding
devices,Toast.LENGTH_LONG ).show();
findDevices();
}
else
{
Toast.makeText(getApplicationContext(), Adapter is
off,Toast.LENGTH_LONG ).show();

}
}

protected void onActivityResult(int request,int result,Intent
data)
{

if(result==RESULT_OK)
{
Toast.makeText(getApplicationContext(), TURNING ON
BLUETOOTH,Toast.LENGTH_LONG ).show();
}
}

public class BtReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED))
{
setStatus(Broadcast: Got ACTION_STATE_CHANGED);
int currentState =
intent.getIntExtra(BluetoothAdapter.EXTRA_STATE,
BluetoothAdapter.STATE_OFF);
if (currentState == BluetoothAdapter.STATE_ON) {
findDevices();
}
} else if (action.equals(BluetoothDevice.ACTION_FOUND)) {
setStatus(Broadcast: Got ACTION_FOUND);
BluetoothDevice foundDevice =
intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
setStatus(Device:  + foundDevice.getName() + @ +
foundDevice.getAddress());
remoteDevice=foundDevice;
if(remoteDevice.getAddress().equals(deviceAddress))
{
takeAction();
 }
}

}
}
private void setStatus(String string){
Toast.makeText(getApplicationContext(),
string,Toast.LENGTH_LONG ).show();
}

private 

[android-developers] Android Application without a Main Activity?

2011-02-13 Thread AndroidDevTime
Is it possible to have an Android application that runs without a Main
Activity?  I have mostly Widget--Service communication and I really
don't want a Main Activity to show most of the time.  But anyway my
question is can this be done?  Does an application have to have a Main
Activity? Can it start and run invisibly or does it always have to
have screen visible when its running?

-- 
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] Android Application without a Main Activity?

2011-02-13 Thread Kostya Vasilyev
You don't have to have the main activity in your application, or any
activities at all. Check the manifest and remove the launcher-specific
intent filter from your main activity if you don't want it to show up in the
application list.

However, my personal observation is that doing this can cause user confusion
and a bunch of 1-star duznt opin type comments in Market.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com
14.02.2011 2:40 пользователь AndroidDevTime androiddevd...@gmail.com
написал:
 Is it possible to have an Android application that runs without a Main
 Activity? I have mostly Widget--Service communication and I really
 don't want a Main Activity to show most of the time. But anyway my
 question is can this be done? Does an application have to have a Main
 Activity? Can it start and run invisibly or does it always have to
 have screen visible when its running?

 --
 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 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] Android Application testing on real device

2011-01-24 Thread DANI
Dear All,
I am new to android development. I was wondering how can
we test android application on real device. As there are so many
devices in the market and all these have different display size or
dimensions and differnt . How can we ensure that our application will

Any help will be greatly appreciated.

-- 
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] Android Application Cache

2010-10-20 Thread Tommy
Hi everyone,

I'm trying to understand the way android handles my application cache
dataSome times i'll go in there and the cache directory is 6-7mb.
What type of data is stored there? Is there a way in the mainifest I
can say don't use cache or clear cache at Xmb ?

Thank you for your time and help,

Tommy

-- 
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] Android Application Cache

2010-10-20 Thread TreKing
On Wed, Oct 20, 2010 at 11:48 AM, Tommy droi...@gmail.com wrote:

 What type of data is stored there?


Whatever you put in there using getCacheDir().
Also, I think I've read that WebView throws stuff in there, so maybe if
you're using one, that's the problem?


 Is there a way in the mainifest I can say don't use cache or clear cache at
 Xmb ?


Doesn't look like it. But if you determine what's putting stuff in the cache
to begin with, you can probably stop it from doing that. Or add your own
code to check the cache size and delete older entries or everything
entirely.

-
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

RE: [android-developers] Android Application Cache

2010-10-20 Thread Tommy
Interesting,

 

I'll try to figure out what is going in thereI am using a webview so
I'll have a look at that. Thanks for your help!

 

Tommy

 

From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of TreKing
Sent: Wednesday, October 20, 2010 12:58 PM
To: android-developers@googlegroups.com
Subject: Re: [android-developers] Android Application Cache

 

On Wed, Oct 20, 2010 at 11:48 AM, Tommy droi...@gmail.com wrote:

What type of data is stored there?


Whatever you put in there using getCacheDir().
Also, I think I've read that WebView throws stuff in there, so maybe if
you're using one, that's the problem?
 

Is there a way in the mainifest I can say don't use cache or clear cache at
Xmb ?


Doesn't look like it. But if you determine what's putting stuff in the cache
to begin with, you can probably stop it from doing that. Or add your own
code to check the cache size and delete older entries or everything
entirely.



-
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

-- 
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] Android Application Cache

2010-10-20 Thread TreKing
On Wed, Oct 20, 2010 at 12:43 PM, Tommy droi...@gmail.com wrote:

 I am using a webview so I'll have a look at that.


Check out the docs for WebView.

For obvious security reasons, your application has its own cache, cookie
store etc.

Also this:
http://developer.android.com/reference/android/webkit/WebSettings.html#LOAD_NO_CACHE

-
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

RE: [android-developers] Android Application Cache

2010-10-20 Thread Tommy
Yeah I found a place to where you can do webview.clearCache(True/False)
-Local Disk Data

 

Im going to try this and see if I can keep that cache directory under
control if not I'll look at other options or things that would be causing it
to grow.

 

Tommy

 

 

From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of TreKing
Sent: Wednesday, October 20, 2010 1:51 PM
To: android-developers@googlegroups.com
Subject: Re: [android-developers] Android Application Cache

 

On Wed, Oct 20, 2010 at 12:43 PM, Tommy droi...@gmail.com wrote:

I am using a webview so I'll have a look at that.


Check out the docs for WebView.

For obvious security reasons, your application has its own cache, cookie
store etc.

Also this:
http://developer.android.com/reference/android/webkit/WebSettings.html#LOAD_
NO_CACHE


-
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

-- 
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] Android application using other language

2010-09-25 Thread mishra


 Hello All

  Can it possible to made the application for android device
using .net

-- 
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] Android application using other language

2010-09-25 Thread Ted Neward
Google on Monodroid.

Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com
 


 -Original Message-
 From: android-developers@googlegroups.com [mailto:android-
 develop...@googlegroups.com] On Behalf Of mishra
 Sent: Saturday, September 25, 2010 12:09 AM
 To: Android Developers
 Subject: [android-developers] Android application using other language
 
 
 
  Hello All
 
   Can it possible to made the application for android device using
.net
 
 --
 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 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] Android application Session timeout

2010-09-21 Thread AUandroid

Hi guys ,

1) I am trying to have a session time out feature in my application. I
want to display the login screen after a time   out   period. I
searched around for pointers for this problem and it seems like the
preferred way is to start and stop timers at onREsume and onPause(),
and start the login activity if the time out has occured.
 Is this is a optimal way? I would appreciate any other ideas to
achieve this.

2) After the timeout  login screen is displayed, if the user hits the
back button, I want to display home, and not any of the previous app
activities. When the user hits on the app icon again, she must be
taken back to login screen to resume. There are some security issues,
user must not be able to visit any activities unless the login is
authenticated. The timeout must be handled at client(device) side, as
this app is doing only pull operations.
 - I thought of using the clearTaskOnLaunch, which might take care of
using going back to home if back button is hit. But I guess user
cannot go back to the activity he/she was doing. Any ideas

Thanks,
-vk

-- 
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] Android application upgrade scenario

2010-08-26 Thread { Devdroid }
On 25 August 2010 08:22, Android Developer core.test.accou...@gmail.com wrote:
 I have a pre-installed application on device, when user upgrades
 application on pre-installed application, i want to show alert
 something similar change log when user opens the application. In pre-
 installed application, it's not  storing any version specific
 information.Is there any way to recognize user is upgraded from the
 pre-installed application?

Why do you even need to bother what version user upgraded from? The
simpliest approach could
be i.e. to store in app preferences app versionCode. On launch, check
if that prefs value exists.
if it does, check if value is lower than your versionCode, if it is,
user upgraded = show changelog.
If there's no prefs entry = show changelog as it is definitely old
code which did not store
such entry. Afterall store current versionCode so on next launch you
won't show changelog
as versionCodes would be equal.

-- 
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] Android application upgrade scenario

2010-08-25 Thread Android Developer
I have a pre-installed application on device, when user upgrades
application on pre-installed application, i want to show alert
something similar change log when user opens the application. In pre-
installed application, it's not  storing any version specific
information.Is there any way to recognize user is upgraded from the
pre-installed application?

I registered for PACKAGE_ADDED, PACKAGE_REMOVED and PACKAGE_REPLACED
intents. I am able to receive those intents when i try read the
version name it's not able read the version name when application is
removed. Any suggestions 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


[android-developers] Android application error

2010-08-16 Thread flirts
I have the following activity but when called it crashes in my
emulator any advice application has stopped unexpectedly...Im using
netbeans any advice i  can post the xml file if needed

package org.me.androidapplication;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.DatePicker;
import android.widget.TextView;
import android.widget.TimePicker;

/**
*
* @author kurt_cuffe
*/
public class AppointmentTime extends Activity {
private DatePicker dateAppointment;
private TextView lblTitle;
private TimePicker timeStart;
private TimePicker timeEnd;
private TextView lblStart;
private TextView lblEnd;
private Button btnNext;
private Button btnCancel;
private int ACTIVITY_CREATE;

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
// ToDo add your GUI initialization code here
setContentView(R.layout.studentime);
initControls();
}

private void initControls() {
dateAppointment = (DatePicker) findViewById(R.id.dateAppointment);
lblTitle = (TextView) findViewById(R.id.lblTitle);
timeStart = (TimePicker) findViewById(R.id.timeStart);
timeEnd = (TimePicker) findViewById(R.id.timeEnd);
lblStart = (TextView) findViewById(R.id.lblStart);
lblEnd = (TextView) findViewById(R.id.lblEnd);
btnNext = (Button) findViewById(R.id.btnNext);
btnCancel = (Button) findViewById(R.id.btnCancel);
}

}
kurtgambino
Once Poster


Posts: 1
Joined: Sat Aug 14, 2010 7:39 pm
Top

-- 
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] Android application error

2010-08-16 Thread Filip Havlicek
Post your studentime.xml and perhaps a specific crach line from DDMS.

2010/8/15 flirts kurtgamb...@gmail.com

 I have the following activity but when called it crashes in my
 emulator any advice application has stopped unexpectedly...Im using
 netbeans any advice i  can post the xml file if needed

 package org.me.androidapplication;

 import android.app.Activity;
 import android.os.Bundle;
 import android.widget.Button;
 import android.widget.DatePicker;
 import android.widget.TextView;
 import android.widget.TimePicker;

 /**
 *
 * @author kurt_cuffe
 */
 public class AppointmentTime extends Activity {
 private DatePicker dateAppointment;
 private TextView lblTitle;
 private TimePicker timeStart;
 private TimePicker timeEnd;
 private TextView lblStart;
 private TextView lblEnd;
 private Button btnNext;
 private Button btnCancel;
 private int ACTIVITY_CREATE;

 /** Called when the activity is first created. */
 @Override
 public void onCreate(Bundle icicle) {
 super.onCreate(icicle);
 // ToDo add your GUI initialization code here
 setContentView(R.layout.studentime);
 initControls();
 }

 private void initControls() {
 dateAppointment = (DatePicker) findViewById(R.id.dateAppointment);
 lblTitle = (TextView) findViewById(R.id.lblTitle);
 timeStart = (TimePicker) findViewById(R.id.timeStart);
 timeEnd = (TimePicker) findViewById(R.id.timeEnd);
 lblStart = (TextView) findViewById(R.id.lblStart);
 lblEnd = (TextView) findViewById(R.id.lblEnd);
 btnNext = (Button) findViewById(R.id.btnNext);
 btnCancel = (Button) findViewById(R.id.btnCancel);
 }

 }
 kurtgambino
 Once Poster


 Posts: 1
 Joined: Sat Aug 14, 2010 7:39 pm
 Top

 --
 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.comandroid-developers%2bunsubscr...@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 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] Android application ideas

2010-08-09 Thread Anki
Hello,
I am final year engg student planning to develop an android
application,I want some suggestions for the same.My group desires to
develop an android application for video editing or image
processing.can anyone guide us for the project or provide materials
regarding the same?Material in the form books,articles,links or
videos.Thanking you people in advance and i hope i get replies as soon
as possible!
tc

-- 
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] Android Application with embedded e-reading

2010-07-27 Thread Brinson Tatum
I am pretty new to mobile development and I'm struggling with how to
go about accomplishing one task.  The application that I'm working on
is for a state government agency and is going to include a variety of
features, one of them the ability to read a handbook.  I want to make
the user experience as nice as possible by making the handbook
readable in a similar as other e-reading software, but I'm at a loss
as to how to accomplish it.

I started by using a WebView and looking at packaging the handbook
into an epub file and displaying the contents in the WebView.  On the
surface, displaying the content was pretty easy in the webview.  The
challenge is with making it not have the user scroll down.  I would
rather them flip pages like a standard e-reader.  I'm not looking to
build a full featured e-reader, but I would like the basic
functionality.  It seems the WebView may not be the best UI component
for this task, but maybe it is.

Any suggestions or ideas would be MUCH appreciated!

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] android application error reports

2010-07-21 Thread nick
Are there any details on this? There is an 'official' blog post, but
that tells us very little.

Is this a Froyo only feature? Or does it work for certain devices
only? I've being getting
reports from Motorola Droid for some time, and that are supposedly
running Eclair only
(at the time). I couldn't trigger it on my NexusOne though with stock
Eclair and Froyo.

BTW, it would be nice to get the Android version in the crash report.

Anyone care to shed some light?


-- 
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] Android Application Development India, Houston, London

2010-07-02 Thread Jay H Thakkar
DevITSolutions is offshore mobile development industry since more than
7 years with venture of new technologies our potential and competent
team of developers has quickly developed high levels of proficiency to
offer to you for your diverse needs.

We are proficient in developing core Android applications like email
clients, maps, calendar programs, browser, contacts, and others
written in Java. It would be our pleasure to answer all your queries
concerning android application development, android game development,
android mobile application, and offshore android development services.
Please feel free to Contact Us for your Android development needs
today.

For more details about our Android Application Development Services:

Visit Our Site @
 http://www.devitsolutions.com/android-applications-development.html

-- 
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] Android Application design?

2010-06-29 Thread TreKing
On Fri, Jun 25, 2010 at 4:22 AM, sagare sagar.ekb...@gmail.com wrote:

 1) Can i use some design pattern like MVC or something in my android
 application


Sure, you can use any design pattern you like in your app. Some will work
better than others, of course, given the way the Android Framework is
designed and depending on what you're trying to do.


 I this I mean to say I have a controller which is called by activities and
 controller decides which activity to show something on this lines. Is this
 good design?


Maybe? Your one sentence description of what you're trying to do is
insufficient to determine whether it's a good design. No one will really
be able to answer this without knowing the full scope of you app and what
you're trying to accomplish.

And even then you will get a different idea of a good way to do things
from each programmer you ask - each one thinking they know better than the
others =P


 Can i get a link for a design approach to follow in android?


Can you Google?


  2) What is the advantage of using Ubuntu for development as compared with
 windows?


Who said there was an advantage?

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
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] Android Application design?

2010-06-25 Thread sagare
Hi All,

   I am a newbie in android and i had some questions
1) Can i use some design pattern like MVC or something in my android
application I this I mean to say I have a controller which is called
by activities and controller decides which activity to show something
on this lines. Is this good design? Can i get a link for a design
approach to follow in android?

2) What is the advantage of using Ubuntu for development as compared
with windows?

Thanks,
Sagar

-- 
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] Android Application and Desktop Application Communication

2010-06-24 Thread Boardy
Dear All,

I am doing some research in developing an application for the Android
platform that will transfer data to and from the android device and
PC. I would like this to be done via USB.

The android application will store information within the built in
SQLite3 database.

I will also write a program either in Java or C# for the Windows PC. I
want to be able to connect the phone to the PC via the USB connection
and from the program on the PC get the data out of the sqlite3 on the
android device and store the information in a sqlite3 database on the
PC. I also want it to do it the other way round, i.e. get the data out
of the database on the PC and store the information in the database on
the Android device.

Is this idea at all possible.

Thanks for your help with this 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 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] Android application

2010-06-23 Thread Idoia Olalde
Hi,

I would like to create an application to establish a RFComm
communication with other Bluetooth devices (not Android). I'm using
the Bluetooth API.

I'm able to scan nearby devices, but when I select one to connect, I
get the following error:

E/BluetoothEventLoop.cpp(   92): onCreateDeviceResult: D-Bus error:
org.bluez.Error.AlreadyExists (Device already exists)

but the device isn't paired.

Which UUID do I need to use?I'm trying with this:

BluetoothDevice device = btadapter.getRemoteDevice(address);

String s = new String(RFCOMM);
byte[] identifier=s.getBytes();
uuid=UUID.nameUUIDFromBytes(identifier);

BluetoothSocket socket =
device.createRfcommSocketToServiceRecord(uuid);
socket.connect();

but the connection fails

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] Android Application memory usage monitor

2010-06-08 Thread Mihai Dumitrache
Hello,
I am trying to get the memory usage for every application at different
periods of time. I have checked the docs / threads / forums, and i
only found that you can get the total available memory value,  but i
could not find in the sdk an api call for getting the memory used by a
single application.

I know that one way to do this is by reading the values from /proc/
pid virtual file system but this is painful for the device cpu.
Can you help me figure out how to solve this problem ? Or does anyone
know how settings - applications - manager applications read the
memory usage values.

Thank you,
Mihai

-- 
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] Android Application Wordpress Widget

2010-04-06 Thread ikalbeniz
Hi,

I have developed widget for wordpress that will show your app info and
comments on your blog side. It is now available on:

http://wordpress.org/extend/plugins/android-application-widget/

if you want to know how looks like:

http://www.ikeralbeniz.net

Regards.


-- 
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

To unsubscribe, reply using remove me as the subject.


[android-developers] Android Application Engineers required in Fremont, CA for contract work

2009-12-10 Thread VJ
Responsibilities

· Work with UX designers to design and develop applications
that combine an Android UI with web based content and media services.

· Integrate Android/Java applications on an embedded Linux
system

Required Experience

· Expert in GUI development for embedded applications.

· Demonstrable experience developing Android applications

· Implementation experience in MVC UI design and at least one
Java-based UI framework

· Expert in Java, C/C++ and JNI, including object-oriented
design methodology (patterns, generic programming, etc.)

· Excellent hands-on knowledge of Linux OS.

· Experience integrating with web services (http, HTML, XML,
JSON, Javascript, SOAP, REST)

· Experience with Agile methodologies like Scrum, XP, Test-
Driven Development a plus

· Strong analytical, problem solving and communication skills

· BS in computer science or equivalent. Advanced degree a
strong plus

 Thanks
Vijay Basotia
510-402-4736

-- 
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] Android application communicate with external application.

2009-10-19 Thread Leo Liang

Hi,

I'm new to android development, and I'm wondering if there's a way
that android application can call a external application
or do some system function like load/unload a module, modify the
system configuration, etc.
can anyone give me some idea about this? thanks a lot

Leo


--~--~-~--~~~---~--~~
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] android application enable handset

2009-09-16 Thread Ajaz Ahmed
Hi,

Can any one send me the list of android application enable handset, where i
can install my android application?
want to know about company,model  ??

Regards!

--~--~-~--~~~---~--~~
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] Android application trying out rss feed read using Rome. Getting exception ExceptionInInitializerError

2009-07-12 Thread MCON Dev
Hello All,
I am trying to write some test code to receive RSS feeds. I am using the
ROME api's. But I am getting a exception when executing the following line
of code
  SyndFeed feed = new SyndFeedInput().build(reader);
I googled this exception and found the following. I dont know if thats
helpful or not. Please advice me on my next steps.
Ok, I figured it out after traversing through the Rome code.
ClassLoader isn't supported by Android's DalvikVM. Is there an
implementation of this project that doesn't use ClassLoader?
*Exception Stack*
Thread [3 main] (Suspended (exception ExceptionInInitializerError))
 SyndFeedInput.build(Reader) line: 123
 MainActivity.onCreate(Bundle) line: 42
 Instrumentation.callActivityOnCreate(Activity, Bundle) line: 1123
 ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord) line:
2231
 ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord) line:
2284
 ActivityThread.access$1800(ActivityThread, ActivityThread$ActivityRecord)
line: 112
 ActivityThread$H.handleMessage(Message) line: 1692
 ActivityThread$H(Handler).dispatchMessage(Message) line: 99
 Looper.loop() line: 123
 ActivityThread.main(String[]) line: 3948
 Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean)
line: not available [native method]
 Method.invoke(Object, Object...) line: 521
 ZygoteInit$MethodAndArgsCaller.run() line: 782
 ZygoteInit.main(String[]) line: 540
 NativeStart.main(String[]) line: not available [native method]


*Code*

import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Iterator;

import android.app.Activity;
import android.os.Bundle;
import com.sun.syndication.*;
import com.sun.syndication.feed.synd.SyndEntry;
import com.sun.syndication.feed.synd.SyndFeed;
import com.sun.syndication.io.FeedException;
import com.sun.syndication.io.SyndFeedInput;
import com.sun.syndication.io.XmlReader;

public class MainActivity extends Activity
{
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState)
  {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.main);
  URL url;
  try
  {
  url = new URL(http://viralpatel.net/blogs/feed;);
  }
  catch (MalformedURLException e1)
  {
  // TODO Auto-generated catch block
  e1.printStackTrace();
  return ;
  }
  XmlReader reader = null;

  try
  {
  reader = new XmlReader(url);
  SyndFeed feed = new SyndFeedInput().build(reader);
  System.out.println(Feed Title: + feed.getAuthor());
  for (Iterator i = feed.getEntries().iterator(); i.hasNext();)
  {
  SyndEntry entry = (SyndEntry) i.next();
  System.out.println(entry.getTitle());
  }
  }
  catch (IllegalArgumentException e)
  {
  e.printStackTrace();
  }
  catch (FeedException e)
  {
  e.printStackTrace() ;
  }
  catch (IOException e)
  {
  // TODO Auto-generated catch block
  e.printStackTrace();
  }
  /*finally
  {
  if (reader != null)
  try
  {
  reader.close();
  } catch (IOException e)
  {
  // TODO Auto-generated catch block
  e.printStackTrace();
  }
  } */
  }
}

--~--~-~--~~~---~--~~
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] Android Application for Public Service to report, dispatch and resolve repairs

2009-07-06 Thread Richard R

http://code.google.com/p/fixxit/

I had an idea to use Android in the public space to report public
works and other problems that need repairs.

Android provides a great tool to document and locate problems. Google
APIs like Maps and Appengine can link these reports to help direct
efforts to make the public space a better place to live.

Unfortunately I'm a Java rookie and so lack the skills to even start
the coding at this point.

I welcome the contributions or suggestions of you advanced developers
to help get this open source application started.

Or if such an application already exists, please let me know.

Thank you.

--~--~-~--~~~---~--~~
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] Android Application with Google App Engine

2009-05-07 Thread radarcg

Is it possible to have an android application (NOT mobile website)
sign-in as a user to a web application hosted on the Google App
Engine?

--~--~-~--~~~---~--~~
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] Android application upgrade and marketplace listing

2009-03-03 Thread ChrisD

Hi All,

Can anyone tell me if when you upgrade your marketplace application if
it then appears at the top of the list of applications by release
date? Or is it only when you release a brand new application?

thanks 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] Android application without UI

2009-03-01 Thread Javier Segura

Hello All,

I've written a simple app for android that changes the content of a
System Setting. For use it I create a simple Activity that makes the
job. When I execute this app it shows for less than a second a black
ui (the layout of this activity). There is any method for refactor my
app in a windowless way?

-- 
Javier

--~--~-~--~~~---~--~~
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] Android application, with native code

2009-01-01 Thread roy.vi...@googlemail.com

Hi,
I need to implement an Android application (with Activity, Intents and
all that jazz), which can be deployed with native code (legacy native
C code).
The Android application will call a single method in the native code
during runtime.

Is that possible and how?

Happy new year :-

--~--~-~--~~~---~--~~
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] Android Application for salesforce.com

2008-10-03 Thread dai

Ciao, gentlemen. I've started Android open-source project targeting
Salesforce (http://www.salesforce.com/) using Apex API (http://
www.salesforce.com/developer/).

This app is to connect to salesforce thru soap base web serivce
(really really fandamental part :)), and now I'm planing to open the
source code to do enhance with lots of folks.

I've post my code to google code page below. You could download and
run on google android.
http://code.google.com/p/salesforceandroid/

Salesforce is B2B saas/paas company that deals with sfa, marketing,
support, hr, mainly.

This app is really um-matured. This is read-only for now.

[Avaialble Salesforce Standard Object on my app]
- Event
- Task
- Lead
- Account
- Contact
- Case
- Opportunity

- Chart Viewer (google chart api)
- Web Viewer (Visualforce viewer. you could see 2 visualforce pages if
you log in as hard-coded user)

With this app, username is harded coded but you could change it to
your user name that has Salesforce API enable option.

If you are interested in it, please come in the page :
http://code.google.com/p/salesforceandroid/
Some gentlemen said to me to help the project :)

Thank you very much,
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---