[android-developers] Hello Bench People ! Connect and Work Together !

2022-08-18 Thread VINEET SHARMA
Hello Bench Sales !



Connect with me directly through my skype to work together, to work
immediately, to work effectively.





My Skype: https://join.skype.com/invite/jAdZ0lvqnq1F



LinkedIn: linkedin.com/in/vineet-sharma-11043aa4




VINEET SHARMA | Talent Acquisition Lead

vinee...@1pointsys.com | +1 (803) 818-3474 Ext: 112

1 Point System LLC | www.1pointsys.com

115 Stone Village Drive • Suite C • Fort Mill, SC • 29708

An E-Verified company | An Equal Opportunity Employer

-- 
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/CAMeueKrQfjAP%2BA99YZZYewfTk9XLeskxKiwLG_MXfwRLfnbLRA%40mail.gmail.com.


[android-developers] Hello Associate,Hope you are doing well We have below requirement open. Please send me your genuine candidate on my email ID ifthek...@canopyone.com Note: SendONLY Genuine Profil

2021-06-18 Thread Mohammed Ifthekhar
Hello *Associate*,

Hope you are doing well
We have below requirement open. Please send me your genuine candidate on my
email ID  *ifthek...@canopyone.com *

*Note: Send ONLY Genuine Profiles who can Share Passport Number *



*Role: Angular Developer JS & 4 + Versions (Strong Coding background)*

*Location: Cherry Hill, NJ / Fort Mill, SC / NYC, NY / Charlotte, NC*



*Visa:  NO H1 Transfers *

*Interview Mode:*

* WebEx Video Interview + Coding Assessment – Total 60 minutes*



*Job Roles / Responsibilities:   *


   - Designing and developing user interfaces using Angular  best practices.
   - Adapting interface for modern internet applications using the latest
   front-end technologies.
   - Writing JavaScript, CSS, and HTML. Developing product analysis tasks.
   - Making complex technical and design decisions for Angular projects.
   - Developing application codes and unit tests in Angular




*Thanks & Regards*

*Mohammed Ifthekharuddin*

 Tel: 703-831-8282 Ext 223 Cell: 323-825-5662
  Email: ifthek...@canopyone.com  Web: www.canopyone.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/CAHa9xHCjj_g%2Bwm%3D5A44dXBGiHwmj2Qkt2KoRB0GZt4ojbZreaQ%40mail.gmail.com.


[android-developers] Hello Vendors, Hot list of Mirth Consulting.

2021-04-09 Thread Jim alex
Hello Associates,



Hope you are doing great...!


Here you go with my current - Hotlist of the Candidates USC & GC. who are
looking for opportunities in C2C, Do you have any positions open for them?
Would you like to look at their resumes?


Please email me with the *Job Description. Client Details and Rate...*


I'm looking forward to working with you and making some good placements. My
ID : david.john...@zadontechnology.com



Name

Technology

Visa

Ablelom

Java Developer

US Citizen

Andrew

Android Developer

TN

David

Business Analyst

US Citizen

Tabinda

SAP FICO

US Citizen

-- 
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/CAP63fLG2fBuzk08jXkybryiAcfeKSw5AErLXBXk6zJyB17rmFw%40mail.gmail.com.


[android-developers] Hello Vendors, Hot list of Mirth Consulting.

2021-04-09 Thread Jim alex
Hello Associates,



Hope you are doing great...!


Here you go with my current - Hotlist of the Candidates USC & GC. who are
looking for opportunities in C2C, Do you have any positions open for them?
Would you like to look at their resumes?


Please email me with the *Job Description. Client Details and Rate...*


I'm looking forward to working with you and making some good placements. My
ID : david.john...@zadontechnology.com



Name

Technology

Visa

Ablelom

Java Developer

US Citizen

Andrew

Android Developer

TN

David

Business Analyst

US Citizen

Tabinda

SAP FICO

US Citizen

-- 
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/CAP63fLGE4E9tMXDb6jK4RUKOVB1gwqwKh2vzq8s_oV79jO19%2Bg%40mail.gmail.com.


[android-developers] Hello Vendors, Hot list of Mirth Consulting.

2021-04-09 Thread Jim alex
Hello Associates,



Hope you are doing great...!


Here you go with my current - Hotlist of the Candidates USC & GC. who are
looking for opportunities in C2C, Do you have any positions open for them?
Would you like to look at their resumes?


Please email me with the *Job Description. Client Details and Rate...*


I'm looking forward to working with you and making some good placements. My
ID : david.john...@zadontechnology.com



Name

Technology

Visa

Ablelom

Java Developer

US Citizen

Andrew

Android Developer

TN

David

Business Analyst

US Citizen

Tabinda

SAP FICO

US Citizen

-- 
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/CAP63fLGaPEc8ctsNXbjesOiSiHdukhgGCsf7Pg3L%2B%2BKhjHEgCg%40mail.gmail.com.


[android-developers] hello any samsung dev here?

2017-08-23 Thread IT technology
Hello. 
how are you allz?
i,m new here. 

i want to know something. 
how we change or edit android HW rev? baseband ? 
i see many changes devices with changed. i want to know that how can we 
change it?

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 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/8b43c4f7-5158-4b40-915a-36658b295d63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Hello World App not running on emulator

2017-01-15 Thread Reevs Cota
When ever I decide to run the hello world app on the emulator, It fails as 
android studio cannot create directory 
Problem occurred configuring project..

-- 
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/a935a8b8-1337-40de-8ee6-e43d843ac8c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Hello from Raj - THOUGHT BYTE - HOTLIST

2016-10-07 Thread shekhar Reddy
Good Morning,



THOUGHT BYTE consultants are problem solvers and team players who thrive on
challenges. They provide technical leadership and possess exemplary
interpersonal skills. They display a professional demeanor with strong
trouble-shooting ability, a strong work ethic and the highest levels of
professional integrity.



Please let me know if you have any opportunities for listed resources.



*UI*

*DevOps*

*Ruby On Rails*

*Oracle Apps Techno-Functional*

*QA Analyst*

*.Net*

*Java/J2ee/Full-stack*

*Oracle Database*

*OBIEE / OBIA Developer*

*QA Analyst *

*Salesforce *





I look forward to hearing from you!





Thank you



*Raj *



*Thought Byte Inc | An E-Verified Firm*

Ph: 973-512-7444

Mail: r...@thoughtbyte.com

Hangouts: shekhar.staff...@gmail.com

Address: 1135 Clifton Ave, Suite # 207

Clifton, NJ 07013

-- 
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/CAJp2XbGHc6m%3DY-BtfFupHi0zSPmqmPbmCZ9d3an4pNcKY91-BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Hello I want to publish my first App and have a few questions

2016-08-14 Thread Tobias
I was busy learning and developing my first hobby app project in the last 
few months which is almost ready for release.  
I plan to include ads with AdMob if/when the app reaches enough downloads 
to make it profitable. Then I would need to register a small business in my 
country (Germany).  
Also a inapp purchases to remove the ads are planned, and further an ingame 
coin system where you can buy additional coins through ingame purchases.  

Now my questions:  

1. When I publish the app as a free app in the beginning, can I include and 
add inapp-purchases anytime after the release?  
2. Can I change my Developer Name that is shown in the Play Store?  
3. What account information do I have to specify when I register for the 
Google Play Developer Console and does something need to be changed after I 
register my small business (/is it changable)?  
4. Is what I plan to do generally possible or did I miss something (I mean 
to add business information after the release and make the app profitable)? 
:)  


I would be really thankful if you could help me (as I could not find any 
Google support yet)! :)

-- 
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/f9f63870-21a2-4e0c-8403-70b9f754cc75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Hello to All my partners

2016-07-05 Thread ScheffsBlend
ok..

-- 
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/9aacf2aa-af46-41bf-b051-ff422b64cda6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Hello to All my partners

2016-07-04 Thread Mark Phillips
please don't do that

On Sun, Jul 3, 2016 at 9:40 PM, Hari Raj  wrote:

> ok..
>
> On Sun, Jul 3, 2016 at 12:50 AM, naseer bhat 
> wrote:
>
>> Hi Partners,
>>
>> My name is Naseer Bhat , I am working with Nityo Infotech as a Sr.
>> Technical Recruiter. I am taking care of my two direct clients   i will be
>> sending you daily positions
>>
>>
>>
>>
>> Naseer Bhat
>>
>> --
>> 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/CABHLit%3DJKgNn_S6Vj_ZGFkRUQGgERSX6BF-JW0asQa4yDJ8kgg%40mail.gmail.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 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/CAJ2YoM-ueC1Mc8WypAEeRJ8hwHYD8EptL1DzntC6dv_cZXBMmw%40mail.gmail.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 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/CAEqej2Mv%3Dq-Kp%3DaWc4LxBQRW6q_9qDn6mR7xpnFDtxgrOxgX0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Hello to All my partners

2016-07-03 Thread Hari Raj
ok..

On Sun, Jul 3, 2016 at 12:50 AM, naseer bhat  wrote:

> Hi Partners,
>
> My name is Naseer Bhat , I am working with Nityo Infotech as a Sr.
> Technical Recruiter. I am taking care of my two direct clients   i will be
> sending you daily positions
>
>
>
>
> Naseer Bhat
>
> --
> 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/CABHLit%3DJKgNn_S6Vj_ZGFkRUQGgERSX6BF-JW0asQa4yDJ8kgg%40mail.gmail.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 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/CAJ2YoM-ueC1Mc8WypAEeRJ8hwHYD8EptL1DzntC6dv_cZXBMmw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Hello to All my partners

2016-07-02 Thread naseer bhat
Hi Partners,

My name is Naseer Bhat , I am working with Nityo Infotech as a Sr.
Technical Recruiter. I am taking care of my two direct clients   i will be
sending you daily positions




Naseer Bhat

-- 
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/CABHLit%3DJKgNn_S6Vj_ZGFkRUQGgERSX6BF-JW0asQa4yDJ8kgg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Hello, I need an advice regarding my game publishing on Google Play.

2016-05-20 Thread TreKing
On Thu, May 19, 2016 at 6:43 AM, Сергей Кальманович 
wrote:

> (1) Is it acceptable to publish free demo version the game when the full
> version is not ready yet?
>

Sure, why not?


> (2) Can I publish the free demo version without creating the merchant
> account, then finalize the game, create merchant account, and publish the
> full version?
>

Sure, why not?


> (3) What % of full game's content must the free demo have to be approved?
>

0.00%


> (4) How exactly Google approves submitted apps?
>

They don't.

-
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 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/CANCScghBJCKdmWt7b%2B4YBSWp9v%2BwgVkScCMDf6wjA8zP8vQuMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Hello, I need an advice regarding my game publishing on Google Play.

2016-05-19 Thread Сергей Кальманович
Hello.

I'm new to the Google Play development and don't know all the details 
regarding publishing on Google Play. I'm creating my game alone, and have 
to go through all the procedures by myself to learn how it works in 
practice.

I created a standard Google Play Developer account some time ago, but 
didn't create the merchant account yet. I'm still developing my game, and 
thinking about publishing its demo version soon. The problem is that I 
don't know where to find any info regarding the matter, so a have some 
questions. The final version of the game will be paid (but without any 
in-app purchases or ads), but demo, obviously, will be free. So, my 
questions are:

(1) Is it acceptable to publish free demo version the game when the full 
version is not ready yet?
(2) Can I publish the free demo version without creating the merchant 
account, then finalize the game, create merchant account, and publish the 
full version?
(3) What % of full game's content must the free demo have to be approved?
(4) How exactly Google approves submitted apps?

Any direction on where can I find the answers, or actual answers are 
welcome.
Thanks in advance.

-- 
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/dffdf76c-cb17-4008-86d5-a2f9b169318b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Hello World! I've decided to start dabbling in Android Development, mainly to get more out of my personal devices. If anyone has tips on getting started let me know!

2016-05-15 Thread Scrub Plays
Finally got Total Commander to work with the ADB plugin. Looks like I won't
be needing the developer specific software now! yay... Now to see how many
rom files I can delete without bootlooping. :D

On Sun, May 15, 2016 at 4:09 AM,  wrote:

> After several disappointing attempts at finding a File Explorer capable of
> accessing EVERY file and partition of my S5's internal storage in a Windows
> environment, I've decided to install Android Studio and check out their
> Monitor feature to see if it is able to do this. I read there is a File
> Explorer feature in there somewhere so hopefully it is robust and sees
> everything.
>
> At some point in the future I might actively register and try my hand at
> publishing an app, but that really isn't my primary goal right now.
>
> I'm mainly looking for tips on how I can get the most out of my device
> using Android Studio from an end-user perspective. I've read the entire AS
> guide online, but every single line was about coding and compiling, etc.
> which isn't a surprise honestly, but I just figure someone out there knows
> a few features to recommend for my case.
>
> Another thing I'd like to get into is somehow creating a ROM directly from
> my internal storage or using a TWRP backup. This way I can share various
> stages of my current installation with others without having to become a
> fully fledged ROM developer.
>
> --
> 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/f3bd85f8-3a4d-4d6c-8b6c-fc3ce68f018a%40googlegroups.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 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/CABS4pDg_k2S%2B-sP79bLHL4Wh5JOHukUhRamk87n7GCh0O_BYug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Hello World! I've decided to start dabbling in Android Development, mainly to get more out of my personal devices. If anyone has tips on getting started let me know!

2016-05-15 Thread freephone281
After several disappointing attempts at finding a File Explorer capable of 
accessing EVERY file and partition of my S5's internal storage in a Windows 
environment, I've decided to install Android Studio and check out their 
Monitor feature to see if it is able to do this. I read there is a File 
Explorer feature in there somewhere so hopefully it is robust and sees 
everything.

At some point in the future I might actively register and try my hand at 
publishing an app, but that really isn't my primary goal right now.

I'm mainly looking for tips on how I can get the most out of my device 
using Android Studio from an end-user perspective. I've read the entire AS 
guide online, but every single line was about coding and compiling, etc. 
which isn't a surprise honestly, but I just figure someone out there knows 
a few features to recommend for my case.

Another thing I'd like to get into is somehow creating a ROM directly from 
my internal storage or using a TWRP backup. This way I can share various 
stages of my current installation with others without having to become a 
fully fledged ROM developer.

-- 
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/f3bd85f8-3a4d-4d6c-8b6c-fc3ce68f018a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Hello everybody

2016-04-13 Thread Android developers new
I am a novice learning android development, I come from China, now learning 
JavaWEB, excuse me everybody to learn android should pay attention to 
something. The resources of our country is less, can learn give me some 
advice

-- 
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/f7a9d1e2-07bb-4bfa-9439-642ebd571a3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Hello. I am Japanese. Is it possible to divide View used using a conditional expression within a xml file?

2013-06-03 Thread android.makilette
Hello.
I am Japanese.
Is it possible to divide View used using a conditional expression within
a xml file?
The boolean value used by a conditional expression wants then to use
what the java side defines.
Thank you for your consideration.

--

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




Re: [android-developers] Hello. I am Japanese. Is it possible to divide View used using a conditional expression within a xml file?

2013-06-03 Thread TreKing
On Mon, Jun 3, 2013 at 9:15 PM, android.makilette 
android.makile...@gmail.com wrote:

 Is it possible to divide View used using a conditional expression within
 a xml file?

No. Use different qualifiers on your resource files or load different
layouts using runtime logic to create different layouts.

-
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Hello IMPORTANT!

2013-04-23 Thread TreKing
On Tue, Apr 16, 2013 at 11:04 AM, Adrien Picard
adrianpicard...@gmail.comwrote:

 Is it possible to remove the current noise outside, and add the noise you
 want while talking?


As far as I know, no, you cannot inject or play a sound while there is a
call going on.


 also how long does it take normally to create?


That depends on the scope and difficulty of the app, and the skill and
knowledge of the developer.


 Example of App: Im supposed to be in traffic right, and instead I'm at a
 movie, well lets say my friend calls me, ill have the option to put street
 background noise while talking to friend... does that work ?


How about you ignore the call since a) since you're supposed to be in
traffic you're not supposed to be on your phone and b) if you're really in
a movie answering your phone would make you a douche =P

-
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 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] hello andriond

2013-04-22 Thread Bell Jhon
hello andriond

-- 
-- 
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] Hello Google Development

2012-08-29 Thread Magnavex
Hello Google development I contact you because I have good idea that I don't 
see in your Android OS for Tablet Edition if you do my idea you can beat Apple 
OS because they don't have these. Please let me know to who I need to contact. 

-- 
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] Hello Everyone, i am developing an android App with Bluetooth.

2012-08-27 Thread kari
On Thursday, February 16, 2012 10:10:36 AM UTC-6, Kostya Vasilyev wrote:
 I'm having a sense of deja vu all over again :)
 
 The issue is in your layout XML.
 
 The first ListView android:id=@+id/paired_devices... has children
 - a TextView and another ListView. ListView does not allow child views
 (other than those it creates itself).
 
 To resolve this, move the TextView and the second ListView from inside
 the first ListView to outside.
 
 -- K
 
 16 февраля 2012 г. 20:06 пользователь Soyer mblack...@gmail.com написал:
  Hello Everyone, i am developing an app on android to catch bluetooth,
  and i am facing an error which i couldn't understand what its source
  can be, the error is on the logcat as the following:
 
  02-13 13:02:11.538: E/AndroidRuntime(196):
  java.lang.RuntimeException: Unable to start activity
  ComponentInfo{android.mgo.helloandroid/
  android.mgo.helloandroid.BTDdetecetwithV7Activity}:
  java.lang.UnsupportedOperationException: addView(View, LayoutParams)
  is not supported in AdapterView

Hey kosta can you develop me an app with bluetooth? Where are 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


Re: [android-developers] Hello Everyone, i am developing an android App with Bluetooth.

2012-08-27 Thread kari
On Thursday, February 16, 2012 10:10:36 AM UTC-6, Kostya Vasilyev wrote:
 I'm having a sense of deja vu all over again :)
 
 The issue is in your layout XML.
 
 The first ListView android:id=@+id/paired_devices... has children
 - a TextView and another ListView. ListView does not allow child views
 (other than those it creates itself).
 
 To resolve this, move the TextView and the second ListView from inside
 the first ListView to outside.
 
 -- K
 
 16 февраля 2012 г. 20:06 пользователь Soyer mblack...@gmail.com написал:
  Hello Everyone, i am developing an app on android to catch bluetooth,
  and i am facing an error which i couldn't understand what its source
  can be, the error is on the logcat as the following:
 
  02-13 13:02:11.538: E/AndroidRuntime(196):
  java.lang.RuntimeException: Unable to start activity
  ComponentInfo{android.mgo.helloandroid/
  android.mgo.helloandroid.BTDdetecetwithV7Activity}:
  java.lang.UnsupportedOperationException: addView(View, LayoutParams)
  is not supported in AdapterView

Are you in the states?

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


[android-developers] hello All developers bro....

2012-07-10 Thread formatXX
hi all im new so if i need help help me.thanksss

-- 
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] hello All developers bro....

2012-07-10 Thread Justin Anderson
http://catb.org/esr/faqs/smart-questions.html

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, Jul 2, 2012 at 3:29 AM, formatXX jokerxxxb...@gmail.com wrote:

 hi all im new so if i need help help me.thanksss

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

2012-06-13 Thread iconapp 2010
Hello android people,
   I want to write a program in andriod for unlock the phone with out
touching it,
how can i do it.. can u please send me some idea and if some sample code
means it ll quite helping to me..

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

Re: [android-developers] hello

2012-06-13 Thread Madhur Gupta
hello
you can do it via shaking phone .finger sacnning.


On Wed, Jun 13, 2012 at 4:32 PM, iconapp 2010 iconapp2...@gmail.com wrote:
 Hello android people,
    I want to write a program in andriod for unlock the phone with out
 touching it,
 how can i do it.. can u please send me some idea and if some sample code
 means it ll quite helping to me..

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



-- 
Madhur PremG

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


[android-developers] Hello all..

2012-06-12 Thread Sandeep Venkat
I am working on bookstore application where when we run the application
books should be display with thumbnails when we click thumbnail it
ridirects to preview of the book and it should show book
name,author,summary etc...with the help of JSON...could any one
send me sample code for it as i am the beginner to 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

[android-developers] Hello all..

2012-06-12 Thread lbendlin
Did you know that each time you ask this list to do your homework a little 
unicorn dies?

(Unicorn = your teacher's hope)

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


[android-developers] hello all~

2012-05-09 Thread 김선도
Anyone try the free app development tool called m-bizmaker?
I found this free app develop tool but it seems not many ppl use it yet.
Let me know if anyone tried this program and how good is that.
you can go download www.mbizmaker.com
Thx

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

[android-developers] Hello Everyone---a Quick question please

2012-04-14 Thread Soyer
Hello everybody, i am trying to split a line to a set of strings, and
i am using the following bunch of code:

str = hello welcome to your application
text= X, A

 String t1[]=str.split( );
 String t2[]=text.split( );


the problem is that the strings (the original ones) are printed
correctly but once it's splatted, it gets printed something like:


04-14 21:29:56.985: W/System.err(3427):
===132[Ljava.lang.String;@4462ac88


before splitting method was: 04-14 21:29:56.985: W/System.err(3427):
===133A, X



Please any help will be very appreciated.

cheers.

-- 
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] Hello Everyone---a Quick question please

2012-04-14 Thread Justin Anderson
This isn't an android question...  This is more of a really beginner java
question.

That being said, what are you doing to print out the strings?
http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html#split%28java.lang.String%29

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Sat, Apr 14, 2012 at 2:49 PM, Soyer mblack...@gmail.com wrote:

 Hello everybody, i am trying to split a line to a set of strings, and
 i am using the following bunch of code:

 str = hello welcome to your application
 text= X, A

 String t1[]=str.split( );
 String t2[]=text.split( );


 the problem is that the strings (the original ones) are printed
 correctly but once it's splatted, it gets printed something like:


 04-14 21:29:56.985: W/System.err(3427):
 ===132[Ljava.lang.String;@4462ac88


 before splitting method was: 04-14 21:29:56.985: W/System.err(3427):
 ===133A, X



 Please any help will be very appreciated.

 cheers.

 --
 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] Hello Everyone, Is there anyway we can pass a listView from one activity to another

2012-04-01 Thread Soyer
I am trying to pass a list view from one activity to another and use
it as a Text_to_speech.

I converted the list view to a string (Using toString()) in the first
activity and did work, but it's not so convenient since i can't
manipulate the elements in the list(I can't use them)...i thought of
convert the String back to a listview but i thing no such method can
do that.




Any ideas ?

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


[android-developers] Hello everyone, what i have done so far regarding passing a ListView from one activity to another

2012-04-01 Thread Soyer
Hello everyone,


i posted a question about passing a listview from one activity to
another and this is what i did so far..

the first activity is this:

  Bundle bundle = new Bundle(1);

bundle.putStringArrayList(fromLat, fromLat);



Intent intent1=new
Intent(piecesActivity.this,ttsActivity.class);

intent1.putStringArrayListExtra(fromLat, fromLat);

startActivity(intent1);
   startActivityForResult(intent1, 2);

in The Second Activity is:


 ArrayList StringfLat = new ArrayListString ();

Intent intent=new Intent();
 fLat=intent.getStringArrayListExtra(fromLat);

System.out.println(=38+fLat);



and in the second activity i am trying to make the list as a
text_to_speach:

@Override
public void onClick(View v) {


  if (fLat!=null  ((CharSequence) fLat).length()0) {
   Toast.makeText(ttsActivity.this, Saying:  + fLat,
Toast.LENGTH_LONG).show();
   tts.speak(fLat, TextToSpeech.QUEUE_ADD, null);
  }




i don't know why the second activity is giving me NullPointerException
(the fLat is returning Null) and the .speak method is not accepting a
list view... :S


I really need an advice...any Idea will be very 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] Hello Everyone, i have a small Question.about Text_to_Speech activity.

2012-03-31 Thread Soyer
Hello everyone,



I am using a Text_To_Speech in my application, which is detecting
bluetooth signal and give it as a vocal feedback, the application is
perfectly working, is just the given list of devices are given in
brackets hence the text_to_speech is saying: Left Bracket,...,
Right bracket.


I wonder if there is a way to remove the brackets ?






-- 
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] Hello Everyone, i have a small Question.about Text_to_Speech activity.

2012-03-31 Thread Anirudh Loya
Use If else.. !! When there is braces it shouldnt speak out !

On Sat, Mar 31, 2012 at 5:23 PM, Soyer mblack...@gmail.com wrote:

 Hello everyone,



 I am using a Text_To_Speech in my application, which is detecting
 bluetooth signal and give it as a vocal feedback, the application is
 perfectly working, is just the given list of devices are given in
 brackets hence the text_to_speech is saying: Left Bracket,...,
 Right bracket.


 I wonder if there is a way to remove the brackets ?






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




-- 

Thank you

Anirudh Loya | Android Developer**

Desk: +9140-30681824 | Mobile: +91*9246561265*

*Love your Job but don't Love your company, Because you may not know when
your company stops loving you.--  Voice Of Love*

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

[android-developers] Hello everyone:), About USB Debugging driver.

2012-03-23 Thread Soyer
Hello there,


Does anyone knows from where can i download the driver to use the USB
Debugging ?




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] Hello everyone:), About USB Debugging driver.

2012-03-23 Thread Mark Murphy
http://developer.android.com/sdk/oem-usb.html

On Fri, Mar 23, 2012 at 8:54 AM, Soyer mblack...@gmail.com wrote:
 Hello there,


 Does anyone knows from where can i download the driver to use the USB
 Debugging ?




 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



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

_Android Programming Tutorials_ Version 4.1 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


Re: [android-developers] Hello everyone:), About USB Debugging driver.

2012-03-23 Thread Mohamed Gougam
Thanks a lot. :)




On Fri, Mar 23, 2012 at 5:03 PM, Mark Murphy mmur...@commonsware.comwrote:

 http://developer.android.com/sdk/oem-usb.html

 On Fri, Mar 23, 2012 at 8:54 AM, Soyer mblack...@gmail.com wrote:
  Hello there,
 
 
  Does anyone knows from where can i download the driver to use the USB
  Debugging ?
 
 
 
 
  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



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

 _Android Programming Tutorials_ Version 4.1 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

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

[android-developers] Hello everyone, i couldn't figure out what this error in the logcat means!!!

2012-03-22 Thread Soyer
03-22 06:23:21.295: E/AndroidRuntime(1941):
java.lang.IllegalStateException: ArrayAdapter requires the resource ID
to be a TextView



the problem is in this couple of lines:

  mNewDevicesArrayAdapter = new ArrayAdapterString(this,
R.layout.textviewlayout);



// Find and set up the ListView for newly discovered devices
   ListView newDevicesListView = (ListView)
findViewById(R.id.new_devices);
//TextView newDevicesListView = (TextView)
findViewById(R.id.title_paired_devices);
   newDevicesListView.setAdapter(mNewDevicesArrayAdapter);


now when i try to set the arrayadapter for a list view, it says that
the arrayadapter requires a textview, and this message appear asking
to assign an ID for the textView though the ID is assigned, so i did
is i put the textview in a separate file, however the arrayadapter is
still assigned to a list view...when i try to assign it to a textview,
the method setAdapter won't be in the list of the methods supported by
the textview element.



-- 
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] Hello everyone, i couldn't figure out what this error in the logcat means!!!

2012-03-22 Thread Justin Anderson
Did you bother to look at the documentation?  An ArrayAdapter constructor
takes more than just one argument...  One of them happens to be the id of a
text view:

http://developer.android.com/reference/android/widget/ArrayAdapter.html#ArrayAdapter%28android.content.Context,%20int%29

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Mar 22, 2012 at 4:31 AM, Soyer mblack...@gmail.com wrote:

 03-22 06:23:21.295: E/AndroidRuntime(1941):
 java.lang.IllegalStateException: ArrayAdapter requires the resource ID
 to be a TextView



 the problem is in this couple of lines:

  mNewDevicesArrayAdapter = new ArrayAdapterString(this,
 R.layout.textviewlayout);



// Find and set up the ListView for newly discovered devices
   ListView newDevicesListView = (ListView)
 findViewById(R.id.new_devices);
//TextView newDevicesListView = (TextView)
 findViewById(R.id.title_paired_devices);
   newDevicesListView.setAdapter(mNewDevicesArrayAdapter);


 now when i try to set the arrayadapter for a list view, it says that
 the arrayadapter requires a textview, and this message appear asking
 to assign an ID for the textView though the ID is assigned, so i did
 is i put the textview in a separate file, however the arrayadapter is
 still assigned to a list view...when i try to assign it to a textview,
 the method setAdapter won't be in the list of the methods supported by
 the textview element.



 --
 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] Hello everyone, i couldn't figure out what this error in the logcat means!!!

2012-03-22 Thread Justin Anderson
Sorry... Didn't notice your ArrayAdapter constructor... You have more the
correct NUMBER of arguments, but you are specifying the layout... not the
id of the textview.

If your textview looks like this:

textView android:id=@+id/my_textView /

then the second parameter in your constructor should be R.id.my_textView

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Mar 22, 2012 at 11:13 AM, Justin Anderson magouyaw...@gmail.comwrote:

 Did you bother to look at the documentation?  An ArrayAdapter constructor
 takes more than just one argument...  One of them happens to be the id of a
 text view:


 http://developer.android.com/reference/android/widget/ArrayAdapter.html#ArrayAdapter%28android.content.Context,%20int%29

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware



 On Thu, Mar 22, 2012 at 4:31 AM, Soyer mblack...@gmail.com wrote:

 03-22 06:23:21.295: E/AndroidRuntime(1941):
 java.lang.IllegalStateException: ArrayAdapter requires the resource ID
 to be a TextView



 the problem is in this couple of lines:

  mNewDevicesArrayAdapter = new ArrayAdapterString(this,
 R.layout.textviewlayout);



// Find and set up the ListView for newly discovered devices
   ListView newDevicesListView = (ListView)
 findViewById(R.id.new_devices);
//TextView newDevicesListView = (TextView)
 findViewById(R.id.title_paired_devices);
   newDevicesListView.setAdapter(mNewDevicesArrayAdapter);


 now when i try to set the arrayadapter for a list view, it says that
 the arrayadapter requires a textview, and this message appear asking
 to assign an ID for the textView though the ID is assigned, so i did
 is i put the textview in a separate file, however the arrayadapter is
 still assigned to a list view...when i try to assign it to a textview,
 the method setAdapter won't be in the list of the methods supported by
 the textview element.



 --
 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] hello for all

2012-03-18 Thread Yasser Mossa
i thank android for all thing in android but i'm looking for android
with arabic language ,i mean i can read and write arabic ,becouse i
see all language in android but ARABIC i dont fond it.
WHY
i hope you answer me
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] Hello, just a quick question.

2012-03-15 Thread Soyer
Hello all,



I am trying to use USB debugger on the phone, to debug my App, so i
did activate it after attach it to the laptop, but i didn't know what
next, isn't it suppose to show the reference of the phone on eclipse
when you want to run the App (i.e just like when you try to run it on
a virtual machine...)?



Thanks in advance.
my kind 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] Hello, just a quick question.

2012-03-15 Thread Mark Murphy
On Thu, Mar 15, 2012 at 6:48 AM, Soyer mblack...@gmail.com wrote:
 I am trying to use USB debugger on the phone, to debug my App, so i
 did activate it after attach it to the laptop, but i didn't know what
 next, isn't it suppose to show the reference of the phone on eclipse
 when you want to run the App (i.e just like when you try to run it on
 a virtual machine...)?

You need to have the USB Debugging setting enabled in the Settings
app on the device.

If you are using Windows, you also need to have the ADB USB driver
installed (see http://developer.android.com/sdk/oem-usb.html).

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

Android App Developer 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


Re: [android-developers] Hello, just a quick question.

2012-03-15 Thread Mohamed Gougam
i did that, and what should i get ?


On Thu, Mar 15, 2012 at 2:50 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Thu, Mar 15, 2012 at 6:48 AM, Soyer mblack...@gmail.com wrote:
  I am trying to use USB debugger on the phone, to debug my App, so i
  did activate it after attach it to the laptop, but i didn't know what
  next, isn't it suppose to show the reference of the phone on eclipse
  when you want to run the App (i.e just like when you try to run it on
  a virtual machine...)?

 You need to have the USB Debugging setting enabled in the Settings
 app on the device.

 If you are using Windows, you also need to have the ADB USB driver
 installed (see http://developer.android.com/sdk/oem-usb.html).

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

 Android App Developer 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

-- 
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] Hello, just a quick question.

2012-03-15 Thread Mark Murphy
On Thu, Mar 15, 2012 at 7:44 AM, Mohamed Gougam mblack...@gmail.com wrote:
 i did that, and what should i get ?

- The device should appear in the list generated by running adb
devices from the command line

- The device should appear in DDMS

- When you run an app from Eclipse, depending on your run
configuration, you may be prompted to install the app on the device or
an emulator, if you have one of each

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

Android App Developer 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


Re: [android-developers] Hello, just a quick question.

2012-03-15 Thread Mohamed Gougam
what i am doing is: adb logcat, and i am getting the logcat messages when
the app is running on the phone, am i getting it right? i thought some
screen would appear on the phone.

On Thu, Mar 15, 2012 at 3:47 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Thu, Mar 15, 2012 at 7:44 AM, Mohamed Gougam mblack...@gmail.com
 wrote:
  i did that, and what should i get ?

 - The device should appear in the list generated by running adb
 devices from the command line

 - The device should appear in DDMS

 - When you run an app from Eclipse, depending on your run
 configuration, you may be prompted to install the app on the device or
 an emulator, if you have one of each

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

 Android App Developer 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


-- 
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] Hello, just a quick question.

2012-03-15 Thread Mark Murphy
On Thu, Mar 15, 2012 at 8:30 AM, Mohamed Gougam mblack...@gmail.com wrote:
 what i am doing is: adb logcat, and i am getting the logcat messages when
 the app is running on the phone, am i getting it right? i thought some
 screen would appear on the phone.

adb logcat does not cause anything to appear on the phone, just as it
does not cause anything to appear in the emulator.

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

Android App Developer 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


Re: [android-developers] Hello, just a quick question.

2012-03-15 Thread Mohamed Gougam
ok, so this is the USB Debugging feature !!

Could you please instruct me how to use,i plugged the phone--
activated the feature-- opened CMD and rooted to the platform-tools-- run
the application on the phone -- what next?
On Thu, Mar 15, 2012 at 4:41 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Thu, Mar 15, 2012 at 8:30 AM, Mohamed Gougam mblack...@gmail.com
 wrote:
  what i am doing is: adb logcat, and i am getting the logcat messages when
  the app is running on the phone, am i getting it right? i thought some
  screen would appear on the phone.

 adb logcat does not cause anything to appear on the phone, just as it
 does not cause anything to appear in the emulator.

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

 Android App Developer 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


-- 
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] Hello, just a quick question.

2012-03-15 Thread Mark Murphy
On Thu, Mar 15, 2012 at 8:48 AM, Mohamed Gougam mblack...@gmail.com wrote:
 ok, so this is the USB Debugging feature !!

 Could you please instruct me how to use,i plugged the phone-- activated
 the feature-- opened CMD and rooted to the platform-tools-- run the
 application on the phone -- what next?

You can do whatever you want next. At this point, your phone will
behave in many respects like your emulator:

- Use adb logcat, DDMS, or the LogCat view in Eclipse to examine LogCat
- Set breakpoints in Eclipse
- Etc.

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

Android App Developer 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


Re: [android-developers] Hello, just a quick question.

2012-03-15 Thread Mohamed Gougam
Alright, thanks a lot :)

On Thu, Mar 15, 2012 at 4:55 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Thu, Mar 15, 2012 at 8:48 AM, Mohamed Gougam mblack...@gmail.com
 wrote:
  ok, so this is the USB Debugging feature !!
 
  Could you please instruct me how to use,i plugged the phone--
 activated
  the feature-- opened CMD and rooted to the platform-tools-- run the
  application on the phone -- what next?

 You can do whatever you want next. At this point, your phone will
 behave in many respects like your emulator:

 - Use adb logcat, DDMS, or the LogCat view in Eclipse to examine LogCat
 - Set breakpoints in Eclipse
 - Etc.

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

 Android App Developer 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


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

[android-developers] Hello Everyone, i just have a quick question:

2012-02-19 Thread Soyer
Hello everyone, Can anyone explain to me what this following error
means? have anyone faced the same?

ERROR:


02-19 18:10:41.321: E/AndroidRuntime(319): java.lang.RuntimeException:
Unable to start activity ComponentInfo{android.mgo.helloandroid/
android.mgo.helloandroid.BTDdetecetwithV7Activity}:
java.lang.NullPointerException

-- 
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] Hello Everyone, i just have a quick question:

2012-02-19 Thread TreKing
On Sun, Feb 19, 2012 at 1:26 PM, Soyer mblack...@gmail.com wrote:

 Hello everyone, Can anyone explain to me what this following error means?


When you get an exception you don't understand, do this:
http://bit.ly/yYw7F7

-
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] Hello Everyone, i just have a quick question:

2012-02-19 Thread Mohamed Gougam
wow mate tht exactly what i needed, a genius to help me out, lol thanks for
the advice mate but i already passed by that door ...

On Mon, Feb 20, 2012 at 12:44 AM, TreKing treking...@gmail.com wrote:

 On Sun, Feb 19, 2012 at 1:26 PM, Soyer mblack...@gmail.com wrote:

 Hello everyone, Can anyone explain to me what this following error means?


 When you get an exception you don't understand, do this:
 http://bit.ly/yYw7F7


 -
 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] Hello Everyone, i just have a quick question:

2012-02-19 Thread Kristopher Micinski
On Sun, Feb 19, 2012 at 4:12 PM, Mohamed Gougam mblack...@gmail.com wrote:
 wow mate tht exactly what i needed, a genius to help me out, lol thanks for
 the advice mate but i already passed by that door ...


What more did you want?  Anyone who's programmed in Java for more than
a few days should have seen this exception: you've got a null
reference somewhere, you're trying to deference it..  This means that
something in your source code is not being set correctly.  For
example, you might not have allocated space for some variable, you
might not have checked the return value from some function, etc..

kris

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


[android-developers] Hello Everyone, i am developing an android App with Bluetooth.

2012-02-16 Thread Soyer
Hello Everyone, i am developing an app on android to catch bluetooth,
and i am facing an error which i couldn't understand what its source
can be, the error is on the logcat as the following:

02-13 13:02:11.538: E/AndroidRuntime(196):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{android.mgo.helloandroid/
android.mgo.helloandroid.BTDdetecetwithV7Activity}:
java.lang.UnsupportedOperationException: addView(View, LayoutParams)
is not supported in AdapterView

My code is bellow, please tell me where the bug is coming from because
i can't see where this is coming from.

package android.mgo.helloandroid;

import java.util.Set;

import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ListView;

public class BTDdetecetwithV7Activity extends Activity {
   /** Called when the activity is first created. */
   // Debugging
   private static final String TAG = DeviceListActivity;
   private static final boolean D = true;

   // Return Intent extra
   public static String EXTRA_DEVICE_ADDRESS = device_address;

   // Member fields
   private BluetoothAdapter mBtAdapter;
   private ArrayAdapterString mPairedDevicesArrayAdapter;
   private ArrayAdapterString mNewDevicesArrayAdapter;




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

   // Setup the window
   requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
   setContentView(R.layout.main);


   // Set result CANCELED in case the user backs out
   setResult(Activity.RESULT_CANCELED);

   // Initialize the button to perform device discovery
   Button scanButton = (Button) findViewById(R.id.button_scan);
   scanButton.setOnClickListener(new OnClickListener() {
   public void onClick(View v) {
   doDiscovery();
   v.setVisibility(View.GONE);
   }
   });

   // Initialize array adapters. One for already paired devices
and
   // one for newly discovered devices
   mPairedDevicesArrayAdapter = new ArrayAdapterString(this,
R.layout.main);
   mNewDevicesArrayAdapter = new ArrayAdapterString(this,
R.layout.main);

   // Find and set up the ListView for paired devices
   ListView pairedListView = (ListView)
findViewById(R.id.paired_devices);
   pairedListView.setAdapter(mPairedDevicesArrayAdapter);

   // Find and set up the ListView for newly discovered devices
   ListView newDevicesListView = (ListView)
findViewById(R.id.new_devices);
   newDevicesListView.setAdapter(mNewDevicesArrayAdapter);


   // Register for broadcasts when a device is discovered
   IntentFilter filter = new
IntentFilter(BluetoothDevice.ACTION_FOUND);
   this.registerReceiver(mReceiver, filter);


   // Register for broadcasts when discovery has finished
   filter = new
IntentFilter(BluetoothAdapter.ACTION_DISCOVERY_FINISHED);
   this.registerReceiver(mReceiver, filter);

   // Get the local Bluetooth adapter
   mBtAdapter = BluetoothAdapter.getDefaultAdapter();


   // Get a set of currently paired devices
   SetBluetoothDevice pairedDevices =
mBtAdapter.getBondedDevices();


   // If there are paired devices, add each one to the
ArrayAdapter
   if (pairedDevices.size()  0) {

findViewById(R.id.title_paired_devices).setVisibility(View.VISIBLE);

   for (BluetoothDevice device : pairedDevices) {
   mPairedDevicesArrayAdapter.add(device.getName() + \n
+ device.getAddress());
   }

   } else {
   String noDevices =
getResources().getText(R.string.none_paired).toString();
   mPairedDevicesArrayAdapter.add(noDevices);
   }
   }

   @Override
   protected void onDestroy() {
   super.onDestroy();


   // Make sure we're not doing discovery anymore
   if (mBtAdapter != null) {
   mBtAdapter.cancelDiscovery();
   }


   // Unregister broadcast listeners
   this.unregisterReceiver(mReceiver);
   }

   /**
* Start device discover with the BluetoothAdapter
*/
   private void doDiscovery() {
   if (D) Log.d(TAG, doDiscovery());


   // Indicate scanning in the title
   setProgressBarIndeterminateVisibility(true);
   setTitle(R.string.scanning);


   // Turn on sub-title for new devices

findViewById(R.id.title_new_devices).setVisibility(View.VISIBLE);

   // If we're already discovering, stop it
   if (mBtAdapter.isDiscovering()) {
   mBtAdapter.cancelDiscovery();
   }



   // Request discover from 

Re: [android-developers] Hello Everyone, i am developing an android App with Bluetooth.

2012-02-16 Thread Kostya Vasilyev
I'm having a sense of deja vu all over again :)

The issue is in your layout XML.

The first ListView android:id=@+id/paired_devices... has children
- a TextView and another ListView. ListView does not allow child views
(other than those it creates itself).

To resolve this, move the TextView and the second ListView from inside
the first ListView to outside.

-- K

16 февраля 2012 г. 20:06 пользователь Soyer mblack...@gmail.com написал:
 Hello Everyone, i am developing an app on android to catch bluetooth,
 and i am facing an error which i couldn't understand what its source
 can be, the error is on the logcat as the following:

 02-13 13:02:11.538: E/AndroidRuntime(196):
 java.lang.RuntimeException: Unable to start activity
 ComponentInfo{android.mgo.helloandroid/
 android.mgo.helloandroid.BTDdetecetwithV7Activity}:
 java.lang.UnsupportedOperationException: addView(View, LayoutParams)
 is not supported in AdapterView

-- 
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] Hello Everyone, i am developing an android App with Bluetooth.

2012-02-16 Thread Mohamed Gougam
loll yeah, thanks, i'll try it right away, thanks alot :)

On Thu, Feb 16, 2012 at 8:10 PM, Kostya Vasilyev kmans...@gmail.com wrote:

 I'm having a sense of deja vu all over again :)

 The issue is in your layout XML.

 The first ListView android:id=@+id/paired_devices... has children
 - a TextView and another ListView. ListView does not allow child views
 (other than those it creates itself).

 To resolve this, move the TextView and the second ListView from inside
 the first ListView to outside.

 -- K

 16 февраля 2012 г. 20:06 пользователь Soyer mblack...@gmail.com написал:
  Hello Everyone, i am developing an app on android to catch bluetooth,
  and i am facing an error which i couldn't understand what its source
  can be, the error is on the logcat as the following:
 
  02-13 13:02:11.538: E/AndroidRuntime(196):
  java.lang.RuntimeException: Unable to start activity
  ComponentInfo{android.mgo.helloandroid/
  android.mgo.helloandroid.BTDdetecetwithV7Activity}:
  java.lang.UnsupportedOperationException: addView(View, LayoutParams)
  is not supported in AdapterView

 --
 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] Hello everyone, i am developing an android bluetooth App

2012-02-14 Thread TreKing
On Sun, Feb 12, 2012 at 12:22 PM, Mohamed Gougam mblack...@gmail.comwrote:

 Thanks for the reply Kostya, what could the following error refer to,
 relating to my code:


The error tells you the exact problem.


 02-12 16:33:33.763: E/AndroidRuntime(512): java.lang.RuntimeException:
 Unable to start activity
 ComponentInfo{android.mgo.helloandroid/android.mgo.helloandroid.BTDdetecetwithV7Activity}:
 java.lang.*UnsupportedOperation*Exception: *addView(View, LayoutParams)
 is not supported in AdapterView*


What more do you need to know / don't understand?

-
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] Hello everyone, i am developing an android bluetooth App

2012-02-14 Thread Mohamed Gougam
Hello pall, it is saying about some addView not supported by AdapterView in
where both keywords are not in the code, so i went for the main.xml file
and start checking the parameters used for each, and i can't what can be
wrong with anyone of them...


Soyer

On Tue, Feb 14, 2012 at 5:44 PM, TreKing treking...@gmail.com wrote:

 On Sun, Feb 12, 2012 at 12:22 PM, Mohamed Gougam mblack...@gmail.comwrote:

 Thanks for the reply Kostya, what could the following error refer to,
 relating to my code:


 The error tells you the exact problem.


 02-12 16:33:33.763: E/AndroidRuntime(512): java.lang.RuntimeException:
 Unable to start activity
 ComponentInfo{android.mgo.helloandroid/android.mgo.helloandroid.BTDdetecetwithV7Activity}:
 java.lang.*UnsupportedOperation*Exception: *addView(View, LayoutParams)
 is not supported in AdapterView*


 What more do you need to know / don't understand?


 -
 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] Hello Everybody, i am developing an android App with Bluetooth.

2012-02-13 Thread Soyer
Hello Everyone, i am developing an app on android to catch bluetooth,
and i am facing an error which i couldn't understand what its source
can be, the error is on the logcat as the following:

02-13 13:02:11.538: E/AndroidRuntime(196):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{android.mgo.helloandroid/
android.mgo.helloandroid.BTDdetecetwithV7Activity}:
java.lang.UnsupportedOperationException: addView(View, LayoutParams)
is not supported in AdapterView

My code is bellow, please tell me where the bug is coming from because
i can't see where this is coming from.

package android.mgo.helloandroid;

import java.util.Set;

import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ListView;

public class BTDdetecetwithV7Activity extends Activity {
/** Called when the activity is first created. */
// Debugging
private static final String TAG = DeviceListActivity;
private static final boolean D = true;

// Return Intent extra
public static String EXTRA_DEVICE_ADDRESS = device_address;

// Member fields
private BluetoothAdapter mBtAdapter;
private ArrayAdapterString mPairedDevicesArrayAdapter;
private ArrayAdapterString mNewDevicesArrayAdapter;




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

// Setup the window
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.main);


// Set result CANCELED in case the user backs out
setResult(Activity.RESULT_CANCELED);

// Initialize the button to perform device discovery
Button scanButton = (Button) findViewById(R.id.button_scan);
scanButton.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
doDiscovery();
v.setVisibility(View.GONE);
}
});

// Initialize array adapters. One for already paired devices
and
// one for newly discovered devices
mPairedDevicesArrayAdapter = new ArrayAdapterString(this,
R.layout.main);
mNewDevicesArrayAdapter = new ArrayAdapterString(this,
R.layout.main);

// Find and set up the ListView for paired devices
ListView pairedListView = (ListView)
findViewById(R.id.paired_devices);
pairedListView.setAdapter(mPairedDevicesArrayAdapter);

// Find and set up the ListView for newly discovered devices
ListView newDevicesListView = (ListView)
findViewById(R.id.new_devices);
newDevicesListView.setAdapter(mNewDevicesArrayAdapter);


// Register for broadcasts when a device is discovered
IntentFilter filter = new
IntentFilter(BluetoothDevice.ACTION_FOUND);
this.registerReceiver(mReceiver, filter);


// Register for broadcasts when discovery has finished
filter = new
IntentFilter(BluetoothAdapter.ACTION_DISCOVERY_FINISHED);
this.registerReceiver(mReceiver, filter);

// Get the local Bluetooth adapter
mBtAdapter = BluetoothAdapter.getDefaultAdapter();


// Get a set of currently paired devices
SetBluetoothDevice pairedDevices =
mBtAdapter.getBondedDevices();


// If there are paired devices, add each one to the
ArrayAdapter
if (pairedDevices.size()  0) {
 
findViewById(R.id.title_paired_devices).setVisibility(View.VISIBLE);

for (BluetoothDevice device : pairedDevices) {
mPairedDevicesArrayAdapter.add(device.getName() + \n
+ device.getAddress());
}

} else {
String noDevices =
getResources().getText(R.string.none_paired).toString();
mPairedDevicesArrayAdapter.add(noDevices);
}
}

@Override
protected void onDestroy() {
super.onDestroy();


// Make sure we're not doing discovery anymore
if (mBtAdapter != null) {
mBtAdapter.cancelDiscovery();
}


// Unregister broadcast listeners
this.unregisterReceiver(mReceiver);
}

/**
 * Start device discover with the BluetoothAdapter
 */
private void doDiscovery() {
if (D) Log.d(TAG, doDiscovery());


// Indicate scanning in the title
setProgressBarIndeterminateVisibility(true);
setTitle(R.string.scanning);


// Turn on sub-title for new devices
 
findViewById(R.id.title_new_devices).setVisibility(View.VISIBLE);

// If we're already discovering, stop it
if (mBtAdapter.isDiscovering()) {
   

[android-developers] Hello Everybody, i am developing an android App with Bluetooth.

2012-02-13 Thread Soyer
Hello Everyone, i am developing an app on android to catch bluetooth,
and i am facing an error which i couldn't understand what its source
can be, the error is on the logcat as the following:

02-13 13:02:11.538: E/AndroidRuntime(196):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{android.mgo.helloandroid/
android.mgo.helloandroid.BTDdetecetwithV7Activity}:
java.lang.UnsupportedOperationException: addView(View, LayoutParams)
is not supported in AdapterView

My code is bellow, please tell me where the bug is coming from because
i can't see where this is coming from.

package android.mgo.helloandroid;

import java.util.Set;

import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ListView;

public class BTDdetecetwithV7Activity extends Activity {
/** Called when the activity is first created. */
// Debugging
private static final String TAG = DeviceListActivity;
private static final boolean D = true;

// Return Intent extra
public static String EXTRA_DEVICE_ADDRESS = device_address;

// Member fields
private BluetoothAdapter mBtAdapter;
private ArrayAdapterString mPairedDevicesArrayAdapter;
private ArrayAdapterString mNewDevicesArrayAdapter;




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

// Setup the window
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.main);


// Set result CANCELED in case the user backs out
setResult(Activity.RESULT_CANCELED);

// Initialize the button to perform device discovery
Button scanButton = (Button) findViewById(R.id.button_scan);
scanButton.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
doDiscovery();
v.setVisibility(View.GONE);
}
});

// Initialize array adapters. One for already paired devices
and
// one for newly discovered devices
mPairedDevicesArrayAdapter = new ArrayAdapterString(this,
R.layout.main);
mNewDevicesArrayAdapter = new ArrayAdapterString(this,
R.layout.main);

// Find and set up the ListView for paired devices
ListView pairedListView = (ListView)
findViewById(R.id.paired_devices);
pairedListView.setAdapter(mPairedDevicesArrayAdapter);

// Find and set up the ListView for newly discovered devices
ListView newDevicesListView = (ListView)
findViewById(R.id.new_devices);
newDevicesListView.setAdapter(mNewDevicesArrayAdapter);


// Register for broadcasts when a device is discovered
IntentFilter filter = new
IntentFilter(BluetoothDevice.ACTION_FOUND);
this.registerReceiver(mReceiver, filter);


// Register for broadcasts when discovery has finished
filter = new
IntentFilter(BluetoothAdapter.ACTION_DISCOVERY_FINISHED);
this.registerReceiver(mReceiver, filter);

// Get the local Bluetooth adapter
mBtAdapter = BluetoothAdapter.getDefaultAdapter();


// Get a set of currently paired devices
SetBluetoothDevice pairedDevices =
mBtAdapter.getBondedDevices();


// If there are paired devices, add each one to the
ArrayAdapter
if (pairedDevices.size()  0) {
 
findViewById(R.id.title_paired_devices).setVisibility(View.VISIBLE);

for (BluetoothDevice device : pairedDevices) {
mPairedDevicesArrayAdapter.add(device.getName() + \n
+ device.getAddress());
}

} else {
String noDevices =
getResources().getText(R.string.none_paired).toString();
mPairedDevicesArrayAdapter.add(noDevices);
}
}

@Override
protected void onDestroy() {
super.onDestroy();


// Make sure we're not doing discovery anymore
if (mBtAdapter != null) {
mBtAdapter.cancelDiscovery();
}


// Unregister broadcast listeners
this.unregisterReceiver(mReceiver);
}

/**
 * Start device discover with the BluetoothAdapter
 */
private void doDiscovery() {
if (D) Log.d(TAG, doDiscovery());


// Indicate scanning in the title
setProgressBarIndeterminateVisibility(true);
setTitle(R.string.scanning);


// Turn on sub-title for new devices
 
findViewById(R.id.title_new_devices).setVisibility(View.VISIBLE);

// If we're already discovering, stop it
if (mBtAdapter.isDiscovering()) {
   

Re: [android-developers] Hello Everybody, i am developing an android App with Bluetooth.

2012-02-13 Thread Kostya Vasilyev
Rather than posting your entire code and then bumping the thread three times...

...you could have tried reading the error message. It spells out the
error quite clearly:

 java.lang.UnsupportedOperationException: addView(View, LayoutParams)
 is not supported in AdapterView

-- K

13 февраля 2012 г. 18:08 пользователь Soyer mblack...@gmail.com написал:
 Hello Everyone, i am developing an app on android to catch bluetooth,
 and i am facing an error which i couldn't understand what its source
 can be, the error is on the logcat as the following:

 02-13 13:02:11.538: E/AndroidRuntime(196):
 java.lang.RuntimeException: Unable to start activity
 ComponentInfo{android.mgo.helloandroid/
 android.mgo.helloandroid.BTDdetecetwithV7Activity}:
 java.lang.UnsupportedOperationException: addView(View, LayoutParams)
 is not supported in AdapterView

-- 
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] Hello Everybody, i am developing an android App with Bluetooth.

2012-02-13 Thread Mohamed Gougam
I know mate, i can't see what View it's talking about here, how is that
it's not supported, i tried on Version14 it faced problems with the
emulator both on Wind and Linux (Different versions) so i tried the
Version7...

 this is a part of a big project, i have been working on it since 5 months
now, i got stacked once i reached to the bluetooth detection part,
(Unsupported bluetooth), anyway, any guidance or help would be
very appreciated...



On Mon, Feb 13, 2012 at 6:46 PM, Kostya Vasilyev kmans...@gmail.com wrote:

 Rather than posting your entire code and then bumping the thread three
 times...

 ...you could have tried reading the error message. It spells out the
 error quite clearly:

  java.lang.UnsupportedOperationException: addView(View, LayoutParams)
  is not supported in AdapterView

 -- K

 13 февраля 2012 г. 18:08 пользователь Soyer mblack...@gmail.com написал:
  Hello Everyone, i am developing an app on android to catch bluetooth,
  and i am facing an error which i couldn't understand what its source
  can be, the error is on the logcat as the following:
 
  02-13 13:02:11.538: E/AndroidRuntime(196):
  java.lang.RuntimeException: Unable to start activity
  ComponentInfo{android.mgo.helloandroid/
  android.mgo.helloandroid.BTDdetecetwithV7Activity}:
  java.lang.UnsupportedOperationException: addView(View, LayoutParams)
  is not supported in AdapterView

 --
 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] Hello Everybody, i am developing an android App with Bluetooth.

2012-02-13 Thread Kostya Vasilyev
It's talking about the views you've put in the layout XML as children
of ListView.

13 февраля 2012 г. 19:11 пользователь Mohamed Gougam
mblack...@gmail.com написал:
 I know mate, i can't see what View it's talking about here, how is that it's
 not supported, i tried on Version14 it faced problems with the emulator both
 on Wind and Linux (Different versions) so i tried the Version7...

  this is a part of a big project, i have been working on it since 5 months
 now, i got stacked once i reached to the bluetooth detection part,
 (Unsupported bluetooth), anyway, any guidance or help would be
 very appreciated...



 On Mon, Feb 13, 2012 at 6:46 PM, Kostya Vasilyev kmans...@gmail.com wrote:

 Rather than posting your entire code and then bumping the thread three
 times...

 ...you could have tried reading the error message. It spells out the
 error quite clearly:

  java.lang.UnsupportedOperationException: addView(View, LayoutParams)
  is not supported in AdapterView

 -- K

 13 февраля 2012 г. 18:08 пользователь Soyer mblack...@gmail.com написал:
  Hello Everyone, i am developing an app on android to catch bluetooth,
  and i am facing an error which i couldn't understand what its source
  can be, the error is on the logcat as the following:
 
  02-13 13:02:11.538: E/AndroidRuntime(196):
  java.lang.RuntimeException: Unable to start activity
  ComponentInfo{android.mgo.helloandroid/
  android.mgo.helloandroid.BTDdetecetwithV7Activity}:
  java.lang.UnsupportedOperationException: addView(View, LayoutParams)
  is not supported in AdapterView

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

-- 
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] Hello Everybody, i am developing an android App with Bluetooth.

2012-02-13 Thread Mohamed Gougam
isn't it related to being using Version 7 ? would it make sense if i try
the code on a API Version8?

PS: no there is nothing such as line number, everything was displayed on
the LogCat screen is posted.



On Mon, Feb 13, 2012 at 7:39 PM, Kostya Vasilyev kmans...@gmail.com wrote:

 It's talking about the views you've put in the layout XML as children
 of ListView.

 13 февраля 2012 г. 19:11 пользователь Mohamed Gougam
 mblack...@gmail.com написал:
  I know mate, i can't see what View it's talking about here, how is that
 it's
  not supported, i tried on Version14 it faced problems with the emulator
 both
  on Wind and Linux (Different versions) so i tried the Version7...
 
   this is a part of a big project, i have been working on it since 5
 months
  now, i got stacked once i reached to the bluetooth detection part,
  (Unsupported bluetooth), anyway, any guidance or help would be
  very appreciated...
 
 
 
  On Mon, Feb 13, 2012 at 6:46 PM, Kostya Vasilyev kmans...@gmail.com
 wrote:
 
  Rather than posting your entire code and then bumping the thread three
  times...
 
  ...you could have tried reading the error message. It spells out the
  error quite clearly:
 
   java.lang.UnsupportedOperationException: addView(View, LayoutParams)
   is not supported in AdapterView
 
  -- K
 
  13 февраля 2012 г. 18:08 пользователь Soyer mblack...@gmail.com
 написал:
   Hello Everyone, i am developing an app on android to catch bluetooth,
   and i am facing an error which i couldn't understand what its source
   can be, the error is on the logcat as the following:
  
   02-13 13:02:11.538: E/AndroidRuntime(196):
   java.lang.RuntimeException: Unable to start activity
   ComponentInfo{android.mgo.helloandroid/
   android.mgo.helloandroid.BTDdetecetwithV7Activity}:
   java.lang.UnsupportedOperationException: addView(View, LayoutParams)
   is not supported in AdapterView
 
  --
  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

 --
 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] Hello Everybody, i am developing an android App with Bluetooth.

2012-02-13 Thread Kostya Vasilyev
This has nothing to do with API level.

As for line numbers, here they are:

02-13 13:02:11.538: E/AndroidRuntime(196): Caused by:
java.lang.UnsupportedOperationException: addView(View, LayoutParams)
is not supported in AdapterView
02-13 13:02:11.538: E/AndroidRuntime(196):  at
android.widget.AdapterView.addView(AdapterView.java:*461*)
02-13 13:02:11.538: E/AndroidRuntime(196):  at
android.view.LayoutInflater.rInflate(LayoutInflater.java:*622*)
02-13 13:02:11.538: E/AndroidRuntime(196):  at
android.view.LayoutInflater.rInflate(LayoutInflater.java:*621*)
02-13 13:02:11.538: E/AndroidRuntime(196):  at
android.view.LayoutInflater.inflate(LayoutInflater.java:*407*)
02-13 13:02:11.538: E/AndroidRuntime(196):  at
android.view.LayoutInflater.inflate(LayoutInflater.java:*320*)
02-13 13:02:11.538: E/AndroidRuntime(196):  at
android.view.LayoutInflater.inflate(LayoutInflater.java:*276*)
02-13 13:02:11.538: E/AndroidRuntime(196):  at
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:
*198*)
02-13 13:02:11.538: E/AndroidRuntime(196):  at
android.app.Activity.setContentView(Activity.java:*1622*)
02-13 13:02:11.538: E/AndroidRuntime(196):  at
android.mgo.helloandroid.BTDdetecetwithV7Activity.onCreate(*
BTDdetecetwithV7Activity.java:
44*)

13 февраля 2012 г. 22:33 пользователь Mohamed Gougam mblack...@gmail.com
написал:
 isn't it related to being using Version 7 ? would it make sense if i try
the
 code on a API Version8?

 PS: no there is nothing such as line number, everything was displayed on
the
 LogCat screen is posted.

-- 
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] Hello Everybody, i am developing an android App with Bluetooth.

2012-02-13 Thread Mohamed Gougam
there is no more then 174 line in my code and this is in the .java file,
while the XML files are twenties and 58... so those numbers are not line
numbers...

On Mon, Feb 13, 2012 at 10:56 PM, Kostya Vasilyev kmans...@gmail.comwrote:

 This has nothing to do with API level.

 As for line numbers, here they are:

 02-13 13:02:11.538: E/AndroidRuntime(196): Caused by:

 java.lang.UnsupportedOperationException: addView(View, LayoutParams)
 is not supported in AdapterView
 02-13 13:02:11.538: E/AndroidRuntime(196):  at
 android.widget.AdapterView.addView(AdapterView.java:*461*)
 02-13 13:02:11.538: E/AndroidRuntime(196):  at
 android.view.LayoutInflater.rInflate(LayoutInflater.java:*622*)
 02-13 13:02:11.538: E/AndroidRuntime(196):  at
 android.view.LayoutInflater.rInflate(LayoutInflater.java:*621*)
 02-13 13:02:11.538: E/AndroidRuntime(196):  at
 android.view.LayoutInflater.inflate(LayoutInflater.java:*407*)
 02-13 13:02:11.538: E/AndroidRuntime(196):  at
 android.view.LayoutInflater.inflate(LayoutInflater.java:*320*)
 02-13 13:02:11.538: E/AndroidRuntime(196):  at
 android.view.LayoutInflater.inflate(LayoutInflater.java:*276*)
 02-13 13:02:11.538: E/AndroidRuntime(196):  at

 com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:
 *198*)
 02-13 13:02:11.538: E/AndroidRuntime(196):  at
 android.app.Activity.setContentView(Activity.java:*1622*)
 02-13 13:02:11.538: E/AndroidRuntime(196):  at
 android.mgo.helloandroid.BTDdetecetwithV7Activity.onCreate(*
 BTDdetecetwithV7Activity.java:
 44*)

 13 февраля 2012 г. 22:33 пользователь Mohamed Gougam mblack...@gmail.com
 написал:

  isn't it related to being using Version 7 ? would it make sense if i try
 the
  code on a API Version8?
 
  PS: no there is nothing such as line number, everything was displayed on
 the
  LogCat screen is posted.

 --
 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] Hello everyone, i am developing an android bluetooth App

2012-02-12 Thread Soyer
Hello folks,


I am developing an android app and i am facing a unexpected
error,try again alter error message, could any have a look on it
and please tell me what i missed.

This is my Code, manifest and main files  and the Logcat bellow:


package android.mgo.helloandroid;

import java.util.Set;

import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ListView;

public class BTDdetecetwithV7Activity extends Activity {
/** Called when the activity is first created. */
// Debugging
private static final String TAG = DeviceListActivity;
private static final boolean D = true;

// Return Intent extra
public static String EXTRA_DEVICE_ADDRESS = device_address;

// Member fields
private BluetoothAdapter mBtAdapter;
private ArrayAdapterString mPairedDevicesArrayAdapter;
private ArrayAdapterString mNewDevicesArrayAdapter;




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

// Setup the window
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.main);


// Set result CANCELED in case the user backs out
setResult(Activity.RESULT_CANCELED);

// Initialize the button to perform device discovery
Button scanButton = (Button) findViewById(R.id.button_scan);
scanButton.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
doDiscovery();
v.setVisibility(View.GONE);
}
});

// Initialize array adapters. One for already paired devices
and
// one for newly discovered devices
mPairedDevicesArrayAdapter = new ArrayAdapterString(this,
R.layout.main);
mNewDevicesArrayAdapter = new ArrayAdapterString(this,
R.layout.main);

// Find and set up the ListView for paired devices
ListView pairedListView = (ListView)
findViewById(R.id.paired_devices);
pairedListView.setAdapter(mPairedDevicesArrayAdapter);

// Find and set up the ListView for newly discovered devices
ListView newDevicesListView = (ListView)
findViewById(R.id.new_devices);
newDevicesListView.setAdapter(mNewDevicesArrayAdapter);


// Register for broadcasts when a device is discovered
IntentFilter filter = new
IntentFilter(BluetoothDevice.ACTION_FOUND);
this.registerReceiver(mReceiver, filter);


// Register for broadcasts when discovery has finished
filter = new
IntentFilter(BluetoothAdapter.ACTION_DISCOVERY_FINISHED);
this.registerReceiver(mReceiver, filter);

// Get the local Bluetooth adapter
mBtAdapter = BluetoothAdapter.getDefaultAdapter();


// Get a set of currently paired devices
SetBluetoothDevice pairedDevices =
mBtAdapter.getBondedDevices();


// If there are paired devices, add each one to the
ArrayAdapter
if (pairedDevices.size()  0) {
 
findViewById(R.id.title_paired_devices).setVisibility(View.VISIBLE);

for (BluetoothDevice device : pairedDevices) {
mPairedDevicesArrayAdapter.add(device.getName() + \n
+ device.getAddress());
}

} else {
String noDevices =
getResources().getText(R.string.none_paired).toString();
mPairedDevicesArrayAdapter.add(noDevices);
}
}

@Override
protected void onDestroy() {
super.onDestroy();


// Make sure we're not doing discovery anymore
if (mBtAdapter != null) {
mBtAdapter.cancelDiscovery();
}


// Unregister broadcast listeners
this.unregisterReceiver(mReceiver);
}

/**
 * Start device discover with the BluetoothAdapter
 */
private void doDiscovery() {
if (D) Log.d(TAG, doDiscovery());


// Indicate scanning in the title
setProgressBarIndeterminateVisibility(true);
setTitle(R.string.scanning);


// Turn on sub-title for new devices
 
findViewById(R.id.title_new_devices).setVisibility(View.VISIBLE);

// If we're already discovering, stop it
if (mBtAdapter.isDiscovering()) {
mBtAdapter.cancelDiscovery();
}



// Request discover from BluetoothAdapter
mBtAdapter.startDiscovery();

}
// The BroadcastReceiver that listens for discovered devices
and
// changes the title when discovery is finished
private final BroadcastReceiver mReceiver = new
BroadcastReceiver() {
   

Re: [android-developers] Hello everyone, i am developing an android bluetooth App

2012-02-12 Thread Kostya Vasilyev

Here it is.

12.02.2012 18:17, Soyer пишет:

java.lang.RuntimeException: Binary XML file line #14: You must supply
a layout_width attribute.


--
Kostya Vasilyev

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


Re: [android-developers] Hello everyone, i am developing an android bluetooth App

2012-02-12 Thread Mohamed Gougam
Hello Kostya, sorry i dint get your suggestion, could u instruct me more?

On Sun, Feb 12, 2012 at 7:01 PM, Kostya Vasilyev kmans...@gmail.com wrote:

 Here it is.

 12.02.2012 18:17, Soyer пишет:

  java.lang.RuntimeException: Binary XML file line #14: You must supply
 a layout_width attribute.


 --
 Kostya Vasilyev

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-developers@**googlegroups.comandroid-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=enhttp://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] Hello everyone, i am developing an android bluetooth App

2012-02-12 Thread Kostya Vasilyev

The error message is quite self-descriptive:


   java.lang.RuntimeException: Binary XML file line #14: *You must
   supply a layout_width attribute*.



And it occurrs on line 14 in your XML file.

So, open your XML layout file and make sure you have layout_width (and 
layout_height) attributes for every view.


-- Kostya


On 02/12/2012 08:02 PM, Mohamed Gougam wrote:

Hello Kostya, sorry i dint get your suggestion, could u instruct me more?

On Sun, Feb 12, 2012 at 7:01 PM, Kostya Vasilyev kmans...@gmail.com 
mailto:kmans...@gmail.com wrote:


Here it is.

12.02.2012 18:17, Soyer пишет:

java.lang.RuntimeException: Binary XML file line #14: You must
supply
a layout_width attribute.


-- 
Kostya Vasilyev


-- 
You received this message because you are subscribed to the Google

Groups Android Developers group.
To post to this group, send email to
android-developers@googlegroups.com
mailto:android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
mailto:android-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 


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

[android-developers] Hello Grid View Tutorial don't work

2012-02-12 Thread Asaf Nassi
I tray the Hello Grid View Tutorial, I using eclipse (even to copy and
paste from the android developer site
http://developer.android.com/resources/tutorials/views/hello-gridview.html
),
but its don't work I get to match error , i don't know what else to
do...

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


Re: [android-developers] Hello everyone, i am developing an android bluetooth App

2012-02-12 Thread Mohamed Gougam
Thanks for the reply Kostya, what could the following error refer to,
relating to my code:

02-12 16:33:33.763: E/AndroidRuntime(512): java.lang.RuntimeException:
Unable to start activity
ComponentInfo{android.mgo.helloandroid/android.mgo.helloandroid.BTDdetecetwithV7Activity}:
java.lang.UnsupportedOperationException: addView(View, LayoutParams) is not
supported in AdapterView


On Sun, Feb 12, 2012 at 8:35 PM, Kostya Vasilyev kmans...@gmail.com wrote:

  The error message is quite self-descriptive:



  java.lang.RuntimeException: Binary XML file line #14: *You must supply a
 layout_width attribute*.



 And it occurrs on line 14 in your XML file.

 So, open your XML layout file and make sure you have layout_width (and
 layout_height) attributes for every view.

 -- Kostya



 On 02/12/2012 08:02 PM, Mohamed Gougam wrote:

 Hello Kostya, sorry i dint get your suggestion, could u instruct me more?

 On Sun, Feb 12, 2012 at 7:01 PM, Kostya Vasilyev kmans...@gmail.comwrote:

 Here it is.

 12.02.2012 18:17, Soyer пишет:

  java.lang.RuntimeException: Binary XML file line #14: You must supply
 a layout_width attribute.


   --
 Kostya Vasilyev

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


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


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

[android-developers] Hello everyone, i am developing a bluetooth app.

2012-02-09 Thread Soyer
i am developing a bluetooth app, and i think it's passing  through the
different parts of the code as expected but the issue now is that i
don't know why it is not listing any detected devices.

Any Ideas?

-- 
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] Hello everyone, i am developing a bluetooth app.

2012-02-09 Thread TreKing
On Thu, Feb 9, 2012 at 5:42 AM, Soyer mblack...@gmail.com wrote:

 the issue now is that i don't know why it is not listing any detected
 devices.

 Any Ideas?


Elaborate on your problem. There is almost no information here for anyone
to help you.

-
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] Hello i am developing an App for android using bluetooth.

2012-02-08 Thread Soyer
This is my Code, Please tell me if i am missing something...i am Stuck
with this for more then 2 weeks now, any help will be very
appreciated.
it's short please have a look on it.


package android.mgo.helloandroid;



import java.util.Set;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.Intent;





public class UIdrawingActivity extends Activity implements
OnClickListener {
/** Called when the activity is first created. */

Button startdetectingbtn;
Button clearbtn;
EditText roomnumbertext;
EditText  bluetoothdetect;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
bluetoothdetect = (EditText)findViewById(R.id.detectedsignal);

roomnumbertext =
(EditText)findViewById(R.id.roomnumbertextedit);
  clearbtn = (Button)findViewById(R.id.clearbtn);



View startdetectingbtn = findViewById(R.id.startdetectingbtn);
startdetectingbtn.setOnClickListener(this);


 clearbtn.setOnClickListener(new OnClickListener() {
 // clear the text boxes
 @Override
  public void onClick(View v) {
roomnumbertext.setText();
  bluetoothdetect.setText();

  }


  });}

 @Override
public void onClick(View v) {

switch (v.getId()) {
case R.id.startdetectingbtn:


  EditText bluetoothtext =
(EditText)findViewById(R.id.detectedsignal);


   // Getting the Bluetooth adapter
 BluetoothAdapter adapter =
BluetoothAdapter.getDefaultAdapter();
   bluetoothtext.append(\nAdapter:  + adapter);

 // Check for Bluetooth support in the first place
 // Emulator doesn't support Bluetooth and will return null
 if(adapter==null) {
   bluetoothtext.append(\nBluetooth NOT supported. Aborting.);
  return;
}
 else{
 // Starting the device discovery
 bluetoothtext.append(\nStarting discovery...);
   adapter.startDiscovery();
   bluetoothtext.append(\nDone with discovery...);


 // Listing paired devices
   bluetoothtext.append(\nDevices Paired:);
   SetBluetoothDevice devices = 
adapter.getBondedDevices();
   for (BluetoothDevice device : devices)
   {
   bluetoothtext.append(\nFound device:  + 
device);


 }

 Intent i = new Intent(this, UIdrawingActivity.class);

startActivity(i);

 }
}

 }

}

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


[android-developers] HELLO!

2012-01-30 Thread Ringgo De Jesus
How can i make a battery charging animation in android just like in
any phone, I want to put it in my thesis because my objective is to
know information about the battery. so how can i make it? i don't have
any idea on how to make it. can anyone help me or give me a code for
this? : THANK YOU FOR YOUR HELP!

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


[android-developers] HELLO! :))

2012-01-30 Thread Ringgo De Jesus
How can i make a battery charging animation in android just like in
any phone, I want to put it in my thesis because my objective is to
know information about the battery. so how can i make it? i don't have
any idea on how to make it. can anyone help me or give me a code for
this? : THANK YOU FOR YOUR HELP!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@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] HELLO!

2012-01-30 Thread Jim Graham
On Mon, Jan 30, 2012 at 04:54:28AM -0800, Ringgo De Jesus wrote:

 Subject: [android-developers] HELLO!

Hello.

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)MiSTie #49997   Running FreeBSD 7.0 
spooky1...@gmail.comICBM/Hurr.: 30.44406N 86.59909W

Seen in alt.sysadmin.recovery:  Priceless; that's better than telling
him to use the Read Manual command with the Real Fast option.

Android Apps Listing at http://www.jstrack.org/barcodes.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] HELLO! :))

2012-01-30 Thread TreKing
First, HELLO! :)) is a terrible title for a post. Please choose a title
that clearly illustrates what you're asking. This will help *you* get
answers and will help *others* if and when they search for the same topic.

On Mon, Jan 30, 2012 at 12:37 PM, Ringgo De Jesus
ringgodeje...@yahoo.comwrote:

 How can i make a battery charging animation in android just like in any
 phone


Search the documentation for animation.


 I want to put it in my thesis because my objective is to know information
 about the battery. so how can i make it? i don't have any idea on how to
 make it. can anyone help me or give me a code for this?


This is for your thesis and you want people to *give* you code for this?
That sounds ... wrong ...


  : THANK YOU FOR YOUR HELP!


No need to yell. Also, you smiley needs to lose weight - it appears to have
a triple chin.

-
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] Hello All

2012-01-16 Thread unicus unicus
Hello All,

Today is my first day in this group...
Looking for support  help to enhance my android skills.


Cheers,
Androindu

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

[android-developers] Hello

2012-01-06 Thread Harshit Mapara
 Here's an amazing thing
http://www.cheap-cruises.review-trend.com/inf.php?Christmas Check it!

-- 
Regards,
Harshit Mapara

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


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

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

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

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

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

Please advice me any thing a lot!

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


[android-developers] Hello Grid View Tutorial

2011-10-24 Thread Hopette
Hi!

I've been trying to use the hello grid world tutorial from
developer.android.com at this site
http://developer.android.com/resources/tutorials/views/hello-gridview.html

For some reason, my code debugs, but I get this error at runtime: The
application HelloGridView (process com.example.hellogridview) has
stopped unexpectedly. Please try again.

The code for the HelloGridView.java is

package com.example.hellogridview;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.BaseAdapter;
import android.widget.GridView;
import android.widget.ImageView;
import android.widget.Toast;


public class HelloGridView extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

GridView gridview = (GridView)
findViewById(R.id.gridview);
gridview.setAdapter(new ImageAdapter(this));

gridview.setOnItemClickListener(new OnItemClickListener()
{
public void onItemClick(AdapterView? parent, View v,
int position, long id) {
Toast.makeText(HelloGridView.this,  + position,
Toast.LENGTH_SHORT).show();
}
});
}
}
class ImageAdapter extends BaseAdapter {
private Context mContext;

public ImageAdapter(HelloGridView c) {
mContext = c;
}

public int getCount() {
return mThumbIds.length;
}

public Object getItem(int position) {
return null;
}

public long getItemId(int position) {
return 0;
}

// create a new ImageView for each item referenced by the Adapter
public View getView(int position, View convertView, ViewGroup
parent) {
ImageView imageView;
if (convertView == null) {  // if it's not recycled,
initialize some attributes
imageView = new ImageView(mContext);
imageView.setLayoutParams(new GridView.LayoutParams(85,
85));
imageView.setScaleType(ImageView.ScaleType.CENTER_CROP);
imageView.setPadding(8, 8, 8, 8);
} else {
imageView = (ImageView) convertView;
}

imageView.setImageResource(mThumbIds[position]);
return imageView;
}

// references to our images
private Integer[] mThumbIds = {
R.drawable.pic3, R.drawable.pic4,
R.drawable.pic5, R.drawable.pic5,
R.drawable.pic6, R.drawable.pic8,
R.drawable.pic1, R.drawable.pic2,
R.drawable.pic3, R.drawable.pic4,
R.drawable.pic5, R.drawable.pic6,
R.drawable.pic7, R.drawable.pic8,
R.drawable.pic1, R.drawable.pic2,
R.drawable.pic3, R.drawable.pic4,
R.drawable.pic5, R.drawable.pic5,
R.drawable.pic6, R.drawable.pic8,
};
}

and my code for the main.xml is

?xml version=1.0 encoding=utf-8?
GridView xmlns:android=http://schemas.android.com/apk/res/android;
android:id=@+id/gridview
android:layout_width=fill_parent
android:layout_height=fill_parent
android:columnWidth=90dp
android:numColumns=auto_fit
android:verticalSpacing=10dp
android:horizontalSpacing=10dp
android:stretchMode=columnWidth
android:gravity=center
/

Thanks so much for your help!

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


[android-developers] Hello dears

2011-10-24 Thread BELAL YOUSEF
Hi

Hope this message find you well dears ,

Indeed , i need your help to guide me to the best , shortest way to be
able to build my own Android app.

and the programming language i may have to know first , and other
prerequired background .

Thanks for your help in advance

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] Hello Grid View Tutorial

2011-10-24 Thread TreKing
On Sun, Oct 23, 2011 at 12:11 AM, Hopette chennah.her...@gmail.com wrote:

 For some reason, my code debugs, but I get this error at runtime: The
 application HelloGridView (process com.example.hellogridview) has
 stopped unexpectedly. Please try again.


Your application threw an exception. Use your debugger and LogCat to track
it down, then fix it.

-
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] Hello Grid View Debug output

2011-10-19 Thread TreKing
On Tue, Oct 18, 2011 at 1:10 AM, sidharth garg sidharth.n...@gmail.comwrote:

 My emulator is not able to run this, i have to force close that. Attached
 is the output of my LOGCAT, can you please help me to identify the problem.


If your Activity can't be found, it's usually because you forgot to declare
it in your manifest.

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

2011-10-02 Thread marc dupuich
Sub Activity_Create(FirstTime As Boolean)
Log(Hello world!)
Msgbox(Hello world?, First program)
End Sub

Press F5 to compile and deploy your program to the emulator.
Your program will now be compiled and installed to the emulator
2011/9/29 kuek9118 kuek9...@gmail.com

 i am computer science student ...
 now i am going to do my final project is android application...
 hope i can get some help at here...
 any one can suggest some website for newbie(for me)?
 i searched a software that can use vb to do the android application
 which call basic4android
 is it good for new learning people?

 --
 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.deezer.com/fr/#user/sercomidi

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

[android-developers] hello

2011-09-30 Thread kuek9118
i am computer science student ...
now i am going to do my final project is android application...
hope i can get some help at here...
any one can suggest some website for newbie(for me)?
i searched a software that can use vb to do the android application
which call basic4android
is it good for new learning people?

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


[android-developers] Hello look here!!

2011-09-24 Thread vikas kumar
Dear friend
I am one of the members of www.ausuk.com,and here I will tell you a
good news: this website is holding a 10-year anniversaries now, all
their products sold on discount with free shipping costs.
www.ausuk.com is a reliable online shopping platform and this is a
valuable chance, hope you will grasp it!

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


[android-developers] Hello World Tutorial

2011-09-19 Thread Angelica Gomez
Hi! I am having a problem with the hello world tutorial for android.
I've published the details in my blog post:
http://angelsalvogomez.blogspot.com/2011/09/tinkering-with-android-help-wanted.html.
Please take a look at it.

Any help is highly appreciated. I really want to learn programming in
android. Siggh.

Thanks,
Angelica Gomez

-- 
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] Hello World Tutorial

2011-09-19 Thread J Handal
the emulator is locked.
click the lock icon,dragged to the speaker icon and relesed it.
lo mismo pasa con real phones.
 On Sep 19, 2011 9:33 AM, Angelica Gomez bestsevent...@gmail.com wrote:
 Hi! I am having a problem with the hello world tutorial for android.
 I've published the details in my blog post:

http://angelsalvogomez.blogspot.com/2011/09/tinkering-with-android-help-wanted.html
.
 Please take a look at it.

 Any help is highly appreciated. I really want to learn programming in
 android. Siggh.

 Thanks,
 Angelica Gomez

 --
 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] hello gallery

2011-08-17 Thread zahiritpro
I've worked with the hello gallery application.When an image 4m
gallery  is clicked it is displayed as the main content.But the
gallery doesnt disappear...I want the gallery to disappear and the
selected image alone to be displayed so tat this image can be called
4m ny activity if required.

Im a beginner..Pls guide me..

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


[android-developers] Hello Listview project

2011-08-16 Thread erik wagner
Hi to all,
I am very new to both java and android development so this is probably
a very simple question.  I have been going through the various 'hello'
tutorials on this site.  I've hit a snag on the 'Hello Listview' (this
one http://developer.android.com/resources/tutorials/views/hello-listview.html).
When trying to run it I get a fatal error and the debugger shows me
the following message of

Your content must have a ListView whose id attribute is
'android.R.id.list'

I've seen some similar things on various posts but could not find the
answer to; 1. where is this entry to be made (the
androidmanifest.xml?  the list.xml?) and 2. what the entry actually
should be.
Thanks in advance for any answers.

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


[android-developers] Hello

2011-06-15 Thread eyasu getahun
Hello all,

I am new for android. I want to encrypt sms and send to encrypted message to
the receiver. I am exercising by using two emulators of android. But I
couldn't able to know where to decrypt the message. Should I decrypt it
under registerReceiver() method? Your helps are appreciated!.

-- 
*With Best Regards,
=
Eyasu Getahun,
University of Trento
Via Brennero 150,
**Trento, Italy*
*E-mail:  **eyasu.geta...@studenti.unitn.it*
* eya@gmail.com
Mobile: +393279239907/+393883708627
===
*

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

[android-developers] HELLO WORLD PROBLEM

2011-05-21 Thread Mustafa Elbehery
I was running the Helloworld tutorial, when I had a message on the
emulator saying  the application launcher
(process.com.android.launcher) has stopped unexpectedly. please try
again.


any suggestions coz its my third day on the same problem and im
getting crazy :D

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


  1   2   >