my program it does a comparison after splitting the lines, and The
problem is solved now, it was counting the ',' with the string which
makes the comparison on and off correct, depending on the order of the
strings, so if the string i want to match is in the beginning of the
line then, a comma wi
String string = "This is what i want to split";
String[] tokens = string.split(" ");
for(int i =0;i wrote:
> yes i know its a very beginner question, i even dint expect to be the
> problem with my code, however i tried the other way "String[] t1 =
> str.split(" ");" and for some reason it's still
yes i know its a very beginner question, i even dint expect to be the
problem with my code, however i tried the other way "String[] t1 =
str.split(" ");" and for some reason it's still giving me the same
output.
On Apr 15, 2:22 am, Justin Anderson wrote:
> This isn't an android question... This
Yes i know, it's very beginner, and i dint even expected to be the
problem in my code, until i discovered it, i tried the other way with
"String[] t1 = str.split(" ");" right after posting my thread, but
for some reason its still giving me the same output :S
On Apr 15, 2:22 am, Justin Anderson w
Alright, thanks alot mate :)
Cheers.
On Apr 3, 9:24 pm, tarun sablok wrote:
> Firstly to make tts work in your current activity use init() function
> which initializes the tts engine for you in the current activity .
>
> secondly you can include the speak function in the onListItenClic
Firstly to make tts work in your current activity use init() function
which initializes the tts engine for you in the current activity .
secondly you can include the speak function in the onListItenClick() ,
in which you can get the exat position where it was cllicked and get the
text
thanks a lot mate. that worked, i have to resolve the TTS issue now,
do have any idea about the second part of my thread(Regarding the
TTS)? i think the tts doesn't accept list view, so i thought of making
use of a loop to go through the different elements in the listso
in this way i can manipu
You have to use * flat = getIntent().
getStringArrayListExtra("fromLat"); * to get the arraylist which has been
passed and not create a new Intent object to get the list.
*
*
*Cheers *
*Tarun*
*
*
*
*
On Mon, Apr 2, 2012 at 3:43 PM, Soyer wrote:
> Sorry i don't know if i am getting you pro
Sorry i don't know if i am getting you properly, but this one is
different then the other, i found the method how to pass a list from
one activity to another but still for some reason it's not being
passed and it's returning null.
Don't be so hasty to comment before understanding the thread
proper
Why spam the list with a new thread? Your previous one is just below. If
you do this, NOBODY is going to help you.
On Monday, April 2, 2012 5:52:35 AM UTC+8, Soyer wrote:
>
> Hello everyone,
>
>
> i posted a question about passing a listview from one activity to
> another and this is what i d
Hello there,
the part of my code which dispatch the string form the first activity
to the second is :
if (BluetoothDevice.ACTION_FOUND.equals(action)) {
// Get the BluetoothDevice object from the Intent
BluetoothDevice device =
intent.getParcelableExtra(BluetoothD
Normally a listview is fed by an adapter. There is nothing stopping you
from using the same adapter in different activities.
On Sunday, April 1, 2012 8:53:45 AM UTC-4, Soyer wrote:
>
> I am trying to pass a list view from one activity to another and use
> it as a Text_to_speech.
>
> I converted
Hello Anirudh,
the thing is that i am using two activities, so the string is getting
dispatched from the first activity...the string is an array list but
since for some reason, the list is not getting carried to the second
activity and used in the TTS method i converted the array list to a
string
:):)
--Soyer.
On Mar 28, 9:55 pm, Kostya Vasilyev wrote:
> I second that motion.
>
> Taking Vicodin Ex with a glass of red wine after my own deviated septum
> surgery some twenty years ago was great :)
>
> -- K
>
> On 03/28/2012 09:36 PM, Mark Phillips wrote:
>
>
>
>
>
>
>
>
>
> > Penalty for w
I second that motion.
Taking Vicodin Ex with a glass of red wine after my own deviated septum
surgery some twenty years ago was great :)
-- K
On 03/28/2012 09:36 PM, Mark Phillips wrote:
Penalty for wrong answer: you have to share your pain meds ;)
Mark
On Mar 24, 2012 6:45 PM, "Justi
Penalty for wrong answer: you have to share your pain meds ;)
Mark
On Mar 24, 2012 6:45 PM, "Justin Anderson" wrote:
> Kostya,
>
> Thanks for catching my mistake! I had surgery for a deviated septum a
> couple days ago and I'm on some pretty heavy meds... Serves me right for
> trying to ans
>
> Justin i hope u ll get will soon mate, take care, cheers.
>
Thanks, I'm better now... I can actually breathe and I'm no longer on pain
meds, so hopefully next time my "help" will actually help... :-)
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
2012
Thanks guys for the help, the problem was solved just by making two
different classes, one for buttons and listviews and the other is just
for textview...thanks again...
Justin i hope u ll get will soon mate, take care, cheers.
On Mar 25, 5:43 am, Justin Anderson wrote:
> Kostya,
>
> Thanks for
Kostya,
Thanks for catching my mistake! I had surgery for a deviated septum a
couple days ago and I'm on some pretty heavy meds... Serves me right for
trying to answer some questions while I'm obviously so very loopy! :-)
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/sit
25 марта 2012 г. 0:55 пользователь Justin Anderson
написал:
>> Apen sorry i dint notice ur suggestion, no it's not about the name,
>> hmm i think it's something wrong with the order of the blocks...
>
>
> No, it IS about the name... Apen was correct (and that is what I was trying
> to say before,
>
> Apen sorry i dint notice ur suggestion, no it's not about the name,
> hmm i think it's something wrong with the order of the blocks...
>
No, it IS about the name... Apen was correct (and that is what I was trying
to say before, but was REALLY tired so I apologize for the incoherent
replies).
hmm ok i will try these suggestions out, thanks a lot :)
On Mar 23, 7:21 pm, Kostya Vasilyev wrote:
> Or edit the standard driver's .inf file, entering the UPnP ids for your
> device...
>
> Which is not any different from entering them in the udev rules file on
> Linux...
>
> 23.03.2012 19:14, Ma
Or edit the standard driver's .inf file, entering the UPnP ids for your
device...
Which is not any different from entering them in the udev rules file on
Linux...
23.03.2012 19:14, Mark Murphy пишет:
Contact your device manufacturer for assistance, I guess.
Or, move to OS X or Linux and awa
Contact your device manufacturer for assistance, I guess.
Or, move to OS X or Linux and away from Windows. :-)
On Fri, Mar 23, 2012 at 11:13 AM, Soyer wrote:
> Hello Mark, i found that the issue wasn't with uninstalled driver, the
> driver is installed (Using: Android SDK Manger) but once i want
Hello Mark, i found that the issue wasn't with uninstalled driver, the
driver is installed (Using: Android SDK Manger) but once i want to
update it, it says that the Windows could not find driver software for
your device.
the drivers i have in the folder are: i386 and amd64
On Mar 23, 5:20 pm,
Apen sorry i dint notice ur suggestion, no it's not about the name,
hmm i think it's something wrong with the order of the blocks...
On Mar 23, 12:35 am, Soyer wrote:
> Hello Justin,
>
> thanks for the reply... yes it is in that form,
>
> "extView newDevicesListView = (TextView)
> findViewById(R
I think you should try using id instead of layout.
Like
mNewDevicesArrayAdapter = new ArrayAdapter(this,
R.*Id*.textviewlayout);
hope it works. :)
On Thursday, 22 March 2012 10:31:16 UTC, Soyer wrote:
>
> 03-22 06:23:21.295: E/AndroidRuntime(1941):
> java.lang.IllegalStateException: ArrayAda
Hello Justin,
thanks for the reply... yes it is in that form,
"extView newDevicesListView = (TextView)
findViewById(R.id.title_paired_devices); "
On Mar 22, 9:17 pm, Justin Anderson wrote:
> Sorry... Didn't notice your ArrayAdapter constructor... You have more the
> correct NUMBER of argumen
yes it's:
"// Get a set of currently paired devices
Set pairedDevices = mBtAdapter.getBondedDevices();
"
So i wonder what's about it.
Just a question about the Log.e and Log.d
i added this:
if (D) Log.d(Tag, "in onCreate()");
if (D) Log.e(Tag, "onCreate()");
if (D)
Uhmthe "root" of the error is at that line 87 of your BTD...Activity.
What's at that line?
is it: Set pairedDevices = mBtAdapter.getBondedDevices(); ?
ant it might be that mBtAdapter is null (by reading the docs it says that
BluetoothAdapter.getDefaultAdapter() returns null when bluetooth is n
Sorry i didn't get your question.
On Sun, Feb 26, 2012 at 5:19 AM, lbendlin wrote:
> Detecet ? Really?
>
> --
> 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
Detecet ? Really?
--
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 mor
Just a quick question please, why in my code, i use button but it didn't
ask me to add "implements OnClickListener" and when i try to add, it shows
error...??
On Sun, Feb 26, 2012 at 1:19 AM, Mohamed Gougam wrote:
> Hello,
>
> You mean this part of the log:
>
> "02-23 18:35:35.985: E/AndroidRun
Hello,
You mean this part of the log:
"02-23 18:35:35.985: E/AndroidRuntime(228): Caused by:
java.lang.NullPointerException
02-23 18:35:35.985: E/AndroidRuntime(228): at
android.mgo.helloandroid.BTDdetecetwithV7Activity.onCreate(BTDdetecetwithV7Activity.java:87)"
The program doesn't stop at t
As the log suggests the NullPointerException occurs at line 87 of
BTDdetecetwithV7Activity.java.
Take a look at that line and see what might be wrong..
On Sat, Feb 25, 2012 at 8:21 PM, Mohamed Gougam wrote:
> Hello,
>
> I used The Log.e and Log.d in many places in the code including in the
> on
Hello,
I used The Log.e and Log.d in many places in the code including in the
onCreate method and i found that the error is there and it's not going any
further beyond it...
Still don't know what's wrong though.
On Thu, Feb 23, 2012 at 11:40 PM, Mohamed Gougam wrote:
> Hello Moktarul, sorry fo
Hello Moktarul, sorry for the late reply, i was playing around with the
onCreate since you said you think that the source of the bug most probably
is onCreate method, well i am putting the Logcat error messages and
Activity code bellow,
LogCat:
02-23 18:35:35.935: D/AndroidRuntime(228): Shutting
can u please send me ur activity code and little more log message
Moktarul anam
On Feb 23, 10:18 am, moktarul anam wrote:
> Hi Soyer,
>
> I think problem is in ur oncreate or onstart method. can u please do
> that ...
> remove all code from oncreate and check
>
> Can u please send little more l
Hi Soyer,
I think problem is in ur oncreate or onstart method. can u please do
that ...
remove all code from oncreate and check
Can u please send little more log
Moktarul
On Feb 22, 11:42 pm, Mohamed Gougam wrote:
> Hello moktarul, the thing about manifest.xml, is tht i have only one
> activ
Hello moktarul, the thing about manifest.xml, is tht i have only one
activity so nothing to get confused with. the manifest file is bellow:
http://schemas.android.com/apk/res/android";
package="android.mgo.helloandroid"
android:versionCode="1"
android:versionName="1.0" >
Hello moktarul,
Thanks alot, i will do that, and let you know :)
On Tue, Feb 21, 2012 at 12:10 PM, moktarul anam wrote:
> sorry, its Activity Intent filter not internt filter
> Moktarul
>
> On Feb 21, 12:42 pm, moktarul anam wrote:
> > Hi Soyer,
> > All your activity class has to be there in
sorry, its Activity Intent filter not internt filter
Moktarul
On Feb 21, 12:42 pm, moktarul anam wrote:
> Hi Soyer,
> All your activity class has to be there in your Manifest.xml file
>
> if you call your activity class from other activity then that class
> has to be main( internt filter main) Pl
Hi Soyer,
All your activity class has to be there in your Manifest.xml file
if you call your activity class from other activity then that class
has to be main( internt filter main) Please check these two point and
i think this will solve ur problem.
I am sure some problem in ur Manifest.xml file
Alright will do that.thanks.
On Tue, Feb 21, 2012 at 1:51 AM, Kristopher Micinski wrote:
> On Mon, Feb 20, 2012 at 2:06 PM, Mohamed Gougam
> wrote:
> > This is included in the program...
> > PS: i am not a student i am a hardware person, this is a parallel
> program i
> > am getting into, and
On Mon, Feb 20, 2012 at 2:06 PM, Mohamed Gougam wrote:
> This is included in the program...
> PS: i am not a student i am a hardware person, this is a parallel program i
> am getting into, and yes i did java programming and web designing using
> javaservlet and JSP by using MySQL...you maybe didn'
This is included in the program...
PS: i am not a student i am a hardware person, this is a parallel program i
am getting into, and yes i did java programming and web designing using
javaservlet and JSP by using MySQL...you maybe didn't get my question in
the post or i dint express my self properly
> Thanks guys for the help, Kris is it wrong if somebody try to learn
> something different, out of his field !! Thanks for the help though i really
> appreciate it.
If a NullPointerException is out of your field, then your field
certainly isn't programming Java. Students learn about this extreme
Hi Moktarul, What is in the the manifest file, you mean i have to remove
the "." ? i don't think that's it, the "." has to be there.
Thanks guys for the help, Kris is it wrong if somebody try to learn
something different, out of his field !! Thanks for the help though i
really appreciate it.
On M
Hi
BTDdetecetwithV7Activity in ur android Manifest file
\
Enjoy
moktarul
On Feb 20, 12:26 am, Soyer wrote:
> 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.RuntimeExcepti
alright Thanks for the guidance mate. I will update u, thanks again.
cheers :)
On Feb 9, 8:54 pm, Kristopher Micinski wrote:
> On Thu, Feb 9, 2012 at 11:44 AM, Soyer wrote:
> > so it's an order issue, Could you please instruct me which part should
> > i change?, because honestly i have read load
On Thu, Feb 9, 2012 at 11:44 AM, Soyer wrote:
> so it's an order issue, Could you please instruct me which part should
> i change?, because honestly i have read loads of articles and i don't
> think i am going anywhere which getting more n more frustrating...
>
> That would be Very Appreciated.
>
so it's an order issue, Could you please instruct me which part should
i change?, because honestly i have read loads of articles and i don't
think i am going anywhere which getting more n more frustrating...
That would be Very Appreciated.
On Feb 9, 8:21 pm, Kristopher Micinski wrote:
> Oh, you
Oh, you're not using the BluetoothAdapter correctly... You basically call
"startdiscovery" and then display stuff. That's not how it works. It's an
asynchronous call. You start discovery with .startDiscovery() and then you
have to wait until it's finished. To handle that, you wait for a broadca
Hello Kris, i tried it on a mobile phone (HTC Hero) and no detected
devices were displayed...it's showing the default bluetooth adapter,
and then "Start discovering", "Done with discovery" and at last:
"Devices paired: " and nothing displayed, though my other
mobile phone is next to it.
O
Did you try running this in a debugger to see what's going on?
kris
On Thu, Feb 9, 2012 at 9:58 AM, Soyer wrote:
> Sure, first bluetooth detection on Android emulator is not supported
> on Wind7 so i used VirtualBox to run it on Linux2.4, so the bluetooth
> features are supported by the Host OS
Sure, first bluetooth detection on Android emulator is not supported
on Wind7 so i used VirtualBox to run it on Linux2.4, so the bluetooth
features are supported by the Host OS and the emulator, but the thing
is that the app is not detecting any devices (My phone...)
This is my code:
package andro
"TBM"?
Is that Male or Fem?
One tip, I think
Is to follow this link:
https://market.android.com/details?id=com.poetry.android&feature=search_result
On Apr 16, 3:43 pm, "^TBM^" wrote:
> Hey I'm new to this group you can just call me TBM. I am looking forward to
> learning as much as possible bec
57 matches
Mail list logo