Skip to main content

Posts

Showing posts from May 14, 2012

Get itunes link for app before submitting

I read in another post that you can submit the app without the binary but I based on what I have seen this is no longer possible. It seems you cannot submit without the binary and the binary is submitted through the application loader. Is there any other known way to get the itunes/app store link to my app before I submit the binary?

Could not load nib in bundle on iPhone device

I'm trying to test an app I'm developing on my iPhone. To do that I changed the target from Simulator to Device on Xcode. The application is correctly uploaded to the device and it works, or better, the main view is shown but if I try to open a secondary view, application crash.

List of known differences between "Safari on iPad” and "Safari on iPhone”

My website looks perfect on the iPhone but looks sub-optimal on the iPad. I'm having a lot of trouble finding information on the differences between iPad's webkit/safari rendering engine and iPhones' webkit/safari rendering engine.

Boss says "We need an IPhone app”, What frameworks are similar to Firefox, JQuery, templates, and data linking on an iPhone?

We have a great software foundation based on Microsoft MVC 2, Entity Framework 4, Repositories, POCOs, Service and Control layers, C# Views, JQuery and html. Firefox pulls 100 records in 250 ms, drops it in to a template, links the data to the markup, and we sit back and drink margaritas.

fbDidLogin not called

So, I've been messing around with the Facebook iOS SDK for a bit and as of the latest version I can't get the fbDidLogin method to be called. The login process works fine, with Safari used on the simulator and the Facebook app being used when running it on a device. However, after logging in I get transferred back to my app (as I should be) but as the fbDidLogin method hasn't been called, nothing has changed. As far as my app is concerned I'm not logged in. The demo app that is bundled with the SDK works fine. So I'm obviously doing something wrong, but I have no idea how to check what. I triple-checked all the methods used in the demo app against my own and as far as I can see everything looks the same. Any thoughts or ideas on how to debug this? Or has anyone had similar problems?

java.lang.IllegalStateException: ActionBarImpl can only be used with a compatible window decor layout

Within the last days I do see increasing error messages that sound identical. I don't use tablets ActionBar - I'm developing for phones only.

Android PopupWindow.showAtLocation() and effects of Gravity

I can't find good docs on PopupWindows showAtLocation and Gravity. After hacking for a few hours trying some black magic maths to calculate centers and try to align the view using Gravity.TOP I found a post that used Gravity.CENTER. I'm collecting my findings here in the hopes it saves someone else some pain.

Android how to show notification on screen

I've been working on push notifications and I am able to implement it and display it on status bar, the problem I am facing is that I want to display it even if the phone is lock, Under the lock screen where it says ("drag to unlock"), I have seen notifications like that but cant find any example to that.

Buying Android Device for Development

So I am thinking of getting Sprint Nexus S from ebay to do android development. I am wondering whether getting a locked phone will hinder me from doing any kind of development work on the phone (pushing to app market, connecting to internet(i don't care about 3/4G as long as I can use wifi I am good)). What are some things that I should be worried about when getting a locked phone for development? Will the locked phone even run without SIM?

General Android semi transparent bug

I use anti aliasing to make my images more smooth. When using anti aliasing a dark border will be drawn around the images. This happens because Android uses the color black and mixes it with the yellow from the images. This is a gernal problem! When I draw a rectangle and set the alpha value to 127 the image also gets quiet dark. Instead of using black Android should use white to draw the transparency.

Soft keyboard enter key event handle

i want to do some stuff on soft keyboard enter key press. so i do code like below but it execute twice but i want that only once, so anyone know about this, if know than please give me reply for this. my code and output is like below...

An alternative to Android"s webview

Does anyone knows an alternative to Android's webview component ? For some reasons, it's functionality's are insufficient for me : I need to be able to catch every single request to some url, when i'm browsing a wml page (wap). Anyway, I need to be able to do stuff that Android's webview is not made for. I thought "hey, let's play with the source code, I'm pretty sure that webviews are using apache.org librairies to access internet". Oh boy was I mistaken. Webviews use native code, and that's where I'm stuck.

c2dm 401 error when sending messages after receiving id and auth token

I have seen many similiar questions but no good answer despite some of them being accepted. I have registered for C2DM. I received confirmation email. Then I wrote some simple app to register for C2DM. I get the id (tried on emulator and on real device). Then I got the auth token (with curl) for my email that I used for C2DM registration (the same email that I use in app for acquiring the id).

Null Pointer Exception in combining two Bitmap Images

I am using a method to combine two Bitmap Images and write in the SDCard . The App. works fine in the emulator, but when I tried to execute in on the Real Device it throughs Null Pointer Exception at this line cs = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); that is to create a new Bitmap on which I will draw both the images that are to be combined using Canvas .

Emulator for Amazon Kindle

My app would work very nicely on the new Amazon Kindle Fire, but it would be nice to test it and remove any kinks before they flood onto the market! Is there an emulator of the kindle fire available