feedburner
Enter your email address:

Delivered by FeedBurner

feedburner count
Showing posts with label App development. Show all posts
Showing posts with label App development. Show all posts

How to enable Eclipse to phone apk deployment

Etiketter: , , , , ,

I wanted to deploy my app to my HTC Desire to see what it looks like on a phone but it wasn't quite as straight forward as I had hoped.

When reading the Android documentation it says that you have to turn on USB debugging by "go to the home screen, press MENU, select Applications > Development, then enable USB debugging".

Now I don't know if it's the Sense UI, me running it localized in swedish or that I'm running Froyo - but the above description proved hard to follow.

The way to do it for me was to open the apps tab, select Settings (Inställningar) then go to Programs (Program) > Development (Utveckling) then select USB debugging (USB-felsökning).

Then changing the current Run configuration and setting the Deploy Target Selection Mode to Manual did the trick. And as I feared my buttons wouldn't work at all, I have to say my black tinted buttons not only worked, but came out even better than I had expected.



maybe missing INTERNET permission?

Etiketter: ,

Had a small problem consuming a REST service in my Android client today, the error message I got was:
java.net.SocketException: Permission denied (maybe missing INTERNET permission)

After trying to figure out if my URI was badly formated I realized it was an Android device issue. To enable your Android app to access the internet (and subsequently use HttpClient calls) you need to add the INTERNET permission to the apps manifest.

Outside of the application tag just add the following:
<uses-permission android:name="android.permission.INTERNET" />



Who would have thought just reading the error message properly would have solved the problem?



Could not find YourApp.apk!

Etiketter: , ,

I've just started some Android development at work. I've never developed for Android before so there is a few things that takes some getting used too, and some stuff is quite a bit different from developing for Windows Phone 7. But it's fun to learn new stuff as allways!

I use Eclipse for development, and one of the few quirks I have run in too so far is the very annoying message of "Could not find YourApp.apk!". The exact output from in the console is as follows:

Android Launch!
adb is running normally.
Could not find YourApp.apk!
The solution was easy for me, just had to clean the project. If you don't know how, just open Project in the menu and select the "Clean..." option.
Then choose "Clean all projects" and click OK.

After this hopefully you can just press run and your project will deploy properly again.



Android Market approaching 100,000 apps

Etiketter: ,

The current statistics graph over released Android apps looks like this according to AndroLib.com:


This coupled with the pace of new app releases means that Android Market will likely pass 100,000 apps this month!

Not bad considering the total number of available apps was around 6000 just a year ago. For reference, June 2010 saw the release of 15288 apps during that month alone!

Froyo - available for developers!

Etiketter: , ,

Are you feeling an urge for better Exchange support, better camera and gallery handling, ability to create portable hotspots, maybe keyboard support for multiple languages or just some plain old increased performance?

If so you might just have the urge for some Froyo!

And now Google are handing out Froyo, at least to us developers. You can access it at the Android Developers page. For an overview of the highlights in the new Android 2.2, check this page out.

Microsoft paving the way for Windows Phone 7

Etiketter: , , ,

According to Pocket Gamer, a source told them that Microsoft are contacting developers of successful apps launched for the iPhone.

And they are apparently willing to pay large sums to get those successful apps ported to the Windows Phone 7 platform in time for launch.

It would indeed be great if the Windows Phone Marketplace was stocked up with apps at launch date (some time this fall?). But according to the same very source, the money Microsoft is willing to pay just isn't enough for the work to port the code from iOS to the WP7 platform.