[android-developers] Re: Any one knows how to setup Eclipse with the newest Andoid SDK on Ubuntu/Linux

2015-10-28 Thread madlymad
Having worked with Android Studio and Eclipse I would suggest to migrate 
your project to Studio and start using it the Gradle build system is so 
much powerful and easy to use at the end of the day when everything is 
setup! 

Studio may be a little bit more demanding in case of memory but works out 
of the box at Windows, Mac and Linux (I tested it only in Ubuntu) it also 
provides Android Java Doc without the Eclipse nightmare of setting it up in 
some cases and a nice UX in UI XMLs and android resources.

I am not sure though if you are facing this problem due to upcoming 
deprecation (end of 2015?), you can browse through this 
http://stackoverflow.com/questions/16617638/will-eclipse-adt-be-deprecated 
for mode details and answers on that.



On Tuesday, October 27, 2015 at 9:28:15 AM UTC+2, Schwartz wrote:
>
> I have noticed that the platform-tool folder is gone from the linux sdk 
> distribution so may it could be hard to get to work with Eclipse, so does 
> anybody know how to do this or have a link where the setup is shown with 
> the newest SDK (android-sdk_r24.4.1-linux.tgz 
> )?
>

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


[android-developers] Re: bulk install apps via android market

2012-02-02 Thread madlymad
Thanks for answering!

checking out AppBrain App I found out that the install function also
opens Android Market App!

So the only way to work with android market is, the unfriendly one to
install 1 by 1 the apps!

If I switch to the solution of downloading apps from my server and
creating a queue of manual installing (http://stackoverflow.com/a/
4969421/944070) do you know if the user has the ability in future to
get app updates from android market service?

My server app & market app are going to be exactly the same files (key
signature & version). And also the user is prompted to enable "Unknown
sources" in my server install app.


On Feb 1, 4:47 pm, Mark Murphy  wrote:
> On Wed, Feb 1, 2012 at 9:18 AM, TreKing  wrote:
> > On Wed, Feb 1, 2012 at 6:44 AM, Mark Murphy  wrote:
>
> >> > but
> >> > still that is not so convenient, so I am looking if there is a way to
> >> > check all wanted apps and then enqueue them in order to download one
> >> > after the other (user accepting terms may also exist if you cannot
> >> > avoid them).
>
> >> No, sorry.
>
> > Actually, AppBrain seems capable of this - you can choose apps toinstall
> > via their site and it triggers an automaticinstall(no prompt) on the
> > device, just like the official Market site. I'm not seeing an option to
> > queue up a bunch of apps andbulkinstall, but I don't see why it wouldn't
> > be possible.
>
> They are exploiting security holes in the Android Market, then. This
> is not advisable.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.4
> Available!

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


[android-developers] bulk install apps via android market

2012-02-01 Thread madlymad
Hi,

I would like to create an application (for not rooted devices) that
will make ti easy for the user to install a group of market
applications in a single click (or as less clicks as possible) is that
possible?

The only way that I could think of is to create a list of the apps and
clicking each one going to market://details?id= but
still that is not so convenient, so I am looking if there is a way to
check all wanted apps and then enqueue them in order to download one
after the other (user accepting terms may also exist if you cannot
avoid them).

Any idea for achieving this is also welcome, thanks in advance.

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


[android-developers] Re: how to use AsyncTask

2012-02-01 Thread madlymad
here is a good example of Asynctask usage!

http://www.androidsnippets.com/grab-a-url-source-with-progressdialog-and-asynctask

On Jan 31, 3:24 pm, aashutosh  wrote:
> Hello,
>
> How can i use Asynctask for the following code:
>
> public static String getXML()  {
>
>                         String line = null;
>
>                         DefaultHttpClient httpClient = new 
> DefaultHttpClient();
>                         HttpPost httpPost = new 
> HttpPost("http://someurl/index.xml";);
>                         try {
>                         HttpResponse httpResponse = 
> httpClient.execute(httpPost);
>                         HttpEntity httpEntity = httpResponse.getEntity();
>                         line = EntityUtils.toString(httpEntity);
>
>                 } catch (UnsupportedEncodingException e) {
>                         line = "Can't connect 
> to server msg>";
>                 } catch (MalformedURLException e) {
>                         line = "Can't connect 
> to server msg>";
>                 } catch (IOException e) {
>                         line = "Can't connect 
> to server msg>";
>                 }
>
>                 return line;
>
>                 }
>
> this basicaly gets an xml from the website
>
> Thanks in advance

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


[android-developers] Re: App installs on emulator but not on device

2011-06-25 Thread madlymad
You could also change the device settings to accept all application
even the developer signed files!

On 25 Ιούν, 09:25, Raghav Sood  wrote:
> I fixed the problem. The apk hadn't been signed correctly.
>
> Thanks
>
> On Sat, Jun 25, 2011 at 11:45 AM, Doug  wrote:
> > What does logcat say?
>
> > On Jun 24, 8:16 am, Raghav Sood  wrote:
> > > Yes I did. It didn't work. Any other 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
>
> --
> Raghav 
> Soodhttp://www.raghavsood.com/http://www.androidappcheck.com/http://www.telstop.tel/

-- 
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] Re: call forwarding programmatically

2011-06-21 Thread madlymad
Ok! I finally figure it out!

Although I didn't really understand why it worked but using the
following code symbols like # are passing to DIAL & CALL Action.

String uri = "**21*30693516000#";   // ##21#
Intent intent = new Intent(Intent.ACTION_DIAL); // ACTION_CALL
Uri uri2 = Uri.fromParts("tel", uri, "#");
intent.setData(uri2);
startActivity(intent);




On Jun 17, 1:15 pm, madlymad  wrote:
> Hi there,
>
> I am trying to make an app that will allow the user to forward his
> calls to voicemail and also disable that option.
>
> In order to do that I am trying to dial
> **21*30693516000#  for activating the call forward
> and ##21# for deactivating
>
> If you try that straight to the keypad the commands work perfect but
> trying to pass them through the Intent extras I am loosing symbols
> like # and the call does not work. :(
>
> Is there any walk-around to dial whatever you want?
>
> I both tried ACTION_DIAL andACTION_CALL
>                                                 String uri = 
> "**21*30693516000#";   // ##21#
>                                                 Intent intent = new 
> Intent(Intent.ACTION_DIAL); //ACTION_CALL
>                                                 
> intent.setData(Uri.parse(uri));
>                                                 startActivity(intent);
> At uri =  "**21*30693516000#"; the passed number =
> **21*30693516000 so you lose the # and at the case of ##21# the
> number is * (just a star symbol)
> In the option ofACTION_CALLafter the call you get an not acceptable
> MMI code but I am sure that if you manage to pass the number right it
> will work.
>
> Any ideas?
> Thanks in advance, sorry for the long post.

-- 
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] call forwarding programmatically

2011-06-17 Thread madlymad
Hi there,

I am trying to make an app that will allow the user to forward his
calls to voicemail and also disable that option.

In order to do that I am trying to dial
**21*30693516000#  for activating the call forward
and ##21# for deactivating

If you try that straight to the keypad the commands work perfect but
trying to pass them through the Intent extras I am loosing symbols
like # and the call does not work. :(

Is there any walk-around to dial whatever you want?


I both tried ACTION_DIAL and ACTION_CALL
String uri = 
"**21*30693516000#";   // ##21#
Intent intent = new 
Intent(Intent.ACTION_DIAL); // ACTION_CALL
intent.setData(Uri.parse(uri));
startActivity(intent);
At uri =  "**21*30693516000#"; the passed number =
**21*30693516000 so you lose the # and at the case of ##21# the
number is * (just a star symbol)
In the option of ACTION_CALL after the call you get an not acceptable
MMI code but I am sure that if you manage to pass the number right it
will work.

Any ideas?
Thanks in advance, sorry for the long post.

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